local function SafePlayerGui() local success, coregui = pcall(function() return game:GetService("CoreGui") end) if success and coregui then return coregui end return game:GetService("Players").LocalPlayer:WaitForChild("PlayerGui") end local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local UICorner = Instance.new("UICorner") local Title = Instance.new("TextLabel") local Container = Instance.new("ScrollingFrame") local UIListLayout = Instance.new("UIListLayout") local UIGradient = Instance.new("UIGradient") ScreenGui.Parent = SafePlayerGui() ScreenGui.Name = "GraceHubFinal" ScreenGui.ResetOnSpawn = false MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(20, 20, 20) MainFrame.Position = UDim2.new(0.5, -150, 0.5, -100) MainFrame.Size = UDim2.new(0, 300, 0, 250) MainFrame.Active = true local UserInputService = game:GetService("UserInputService") local dragging, dragInput, dragStart, startPos local function update(input) local delta = input.Position - dragStart MainFrame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y) end MainFrame.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then dragging = true dragStart = input.Position startPos = MainFrame.Position input.Changed:Connect(function() if input.UserInputState == Enum.UserInputState.End then dragging = false end end) end end) MainFrame.InputChanged:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then dragInput = input end end) UserInputService.InputChanged:Connect(function(input) if input == dragInput and dragging then update(input) end end) UICorner.CornerRadius = UDim.new(0, 12) UICorner.Parent = MainFrame UIGradient.Color = ColorSequence.new{ ColorSequenceKeypoint.new(0, Color3.fromRGB(60, 60, 60)), ColorSequenceKeypoint.new(1, Color3.fromRGB(20, 20, 20)) } UIGradient.Rotation = 45 UIGradient.Parent = MainFrame Title.Name = "Title" Title.Parent = MainFrame Title.BackgroundTransparency = 1 Title.Position = UDim2.new(0, 15, 0, 12) Title.Size = UDim2.new(0, 270, 0, 30) Title.Font = Enum.Font.GothamBold Title.Text = "GRACE HUB" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 18 Title.TextXAlignment = Enum.TextXAlignment.Left Container.Name = "Container" Container.Parent = MainFrame Container.BackgroundTransparency = 1 Container.Position = UDim2.new(0, 10, 0, 55) Container.Size = UDim2.new(0, 280, 0, 180) Container.ScrollBarThickness = 0 Container.CanvasSize = UDim2.new(0, 0, 1.5, 0) UIListLayout.Parent = Container UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 10) local function CreateButton(text, callback) local Button = Instance.new("TextButton") local BtnCorner = Instance.new("UICorner") Button.Parent = Container Button.BackgroundColor3 = Color3.fromRGB(35, 35, 35) Button.Size = UDim2.new(1, -10, 0, 40) Button.Font = Enum.Font.GothamMedium Button.Text = text Button.TextColor3 = Color3.fromRGB(255, 255, 255) Button.TextSize = 14 Button.AutoButtonColor = true BtnCorner.CornerRadius = UDim.new(0, 6) BtnCorner.Parent = Button Button.MouseButton1Click:Connect(callback) end CreateButton("Auto Farm Kill", function() print("Feature Enabled") end) CreateButton("Teleport Players", function() print("Feature Enabled") end) CreateButton("Destroy GUI", function() ScreenGui:Destroy() end)