local player = game.Players.LocalPlayer local playergui = player.PlayerGui --settings local savedPosition = nil local respawnEnabled = false local frame = Instance.new("ScreenGui") frame.Parent = playergui frame.Enabled = true frame.ResetOnSpawn = false local reframe = Instance.new("Frame") reframe.Size = UDim2.new(0, 450, 0, 500) reframe.AnchorPoint = Vector2.new(0.5, 0.5) reframe.Position = UDim2.new(0.5, 0, 0.5, 0) reframe.Parent = frame reframe.BackgroundColor3 = Color3.new(0.05, 0.05, 0.05) reframe.BackgroundTransparency = 0.1 local drag = Instance.new("UIDragDetector") drag.Parent = reframe local text = Instance.new("TextLabel") text.Parent = reframe text.Position = UDim2.new(0.5, -300, 0.05, 0) text.Text = "1+ skill hub" text.Size = UDim2.new(1, 0, 0, 40) text.TextColor3 = Color3.fromRGB(255, 255, 255) text.Font = Enum.Font.Merriweather text.TextScaled = true text.BackgroundTransparency = 1 local text = Instance.new("TextLabel") text.Parent = reframe text.Position = UDim2.new(0.5, -300, 0, 0) text.Text = "Made by Riverlvabuildin" text.Size = UDim2.new(1, 0, 0, 40) text.TextColor3 = Color3.fromRGB(255, 255, 255) text.Font = Enum.Font.Merriweather text.TextScaled = false text.BackgroundTransparency = 1 local ui = Instance.new("UICorner") ui.Parent = reframe ui.CornerRadius = UDim.new(0, 6) local X = Instance.new("TextButton") X.Parent = reframe X.Position = UDim2.new(1, -50, 0, 0) X.Size = UDim2.new(0, 50, 0, 50) X.Text = "X" X.BackgroundTransparency = 0.4 X.BackgroundColor3 = Color3.new(1, 0, 0) local ui1 = Instance.new("UICorner") ui1.Parent = X ui1.TopRightRadius = UDim.new(0, 6) --close local function close() frame:Destroy() end X.MouseButton1Click:Connect(function() close() end) local button = Instance.new("TextButton") button.Parent = reframe button.Size = UDim2.new(0, 300, 0, 35) button.Position = UDim2.new(0.5, -150, 0.3, 0) button.Text = "AutoFarm gui" button.BackgroundTransparency = 0.5 button.BackgroundColor3 = Color3.fromRGB(200, 200, 200) local ui3 = Instance.new("UICorner") ui3.Parent = button ui3.CornerRadius = UDim.new(0, 7) button.MouseButton1Click:Connect(function() local autofarmgui = playergui:WaitForChild("Auto Farm") if autofarmgui.Enabled == true then autofarmgui.Enabled = false else autofarmgui.Enabled = true end end) local speed = Instance.new("TextBox") speed.Parent = reframe speed.Position = UDim2.new(0.5, -150, 0.45, 0) speed.Size = UDim2.new(0, 300, 0, 35) speed.PlaceholderText = "Speed here:" speed.Text = "" speed.ZIndex = 10 speed.BackgroundTransparency = 0 speed.BackgroundColor3 = Color3.fromRGB(50, 50, 50) speed.Active = true speed.TextEditable = true local ui4 = Instance.new("UICorner") ui4.Parent = speed ui4.CornerRadius = UDim.new(0, 7) local button1 = Instance.new("TextButton") button1.Parent = reframe button1.Position = UDim2.new(0.5, -150, 0.55, 0) button1.Size = UDim2.new(0, 300, 0, 35) button1.Text = "Respawn at last location: Off" button1.Visible = true button1.BackgroundTransparency = 0 button1.ZIndex = 100 local savedPosition = nil local respawnEnabled = false button1.MouseButton1Click:Connect(function() respawnEnabled = not respawnEnabled if respawnEnabled then button1.Text = "Respawn at last location: On" else button1.Text = "Respawn at last location: Off" savedPosition = nil end end) local function setupCharacter(character) local humanoid = character:WaitForChild("Humanoid") local root = character:WaitForChild("HumanoidRootPart") humanoid.Died:Connect(function() if respawnEnabled then savedPosition = root.CFrame end end) end if player.Character then setupCharacter(player.Character) end player.CharacterAdded:Connect(function(character) setupCharacter(character) if respawnEnabled and savedPosition then task.wait(0.0001) character:WaitForChild("HumanoidRootPart").CFrame = savedPosition end end) local RunService = game:GetService("RunService") local speedValue = 16 speed.FocusLost:Connect(function() local number = tonumber(speed.Text) if number then speedValue = number print("Speed changed to:", speedValue) end end) RunService.RenderStepped:Connect(function() local character = player.Character if character then local humanoid = character:FindFirstChildOfClass("Humanoid") if humanoid then humanoid.WalkSpeed = speedValue end end end)