-- ELPIYO HUB | EVADE AFK FARM local Players = game:GetService("Players") local UIS = game:GetService("UserInputService") local TweenService = game:GetService("TweenService") local VirtualUser = game:GetService("VirtualUser") local RunService = game:GetService("RunService") local player = Players.LocalPlayer -- SUPER ANTI AFK player.Idled:Connect(function() VirtualUser:CaptureController() VirtualUser:ClickButton2(Vector2.new()) end) RunService.RenderStepped:Connect(function() pcall(function() local char = player.Character if char and char:FindFirstChild("Humanoid") then char.Humanoid:Move(Vector3.new(), true) end end) end) task.spawn(function() while true do task.wait(60) pcall(function() workspace.CurrentCamera.CFrame *= CFrame.Angles(0, math.rad(1), 0) end) end end) -- GUI local gui = Instance.new("ScreenGui", game.CoreGui) gui.Name = "ElpiyoHub" local frame = Instance.new("Frame", gui) frame.Position = UDim2.new(0,15,0,15) frame.Size = UDim2.new(0,240,0,110) frame.BackgroundColor3 = Color3.fromRGB(12,12,12) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true Instance.new("UICorner", frame).CornerRadius = UDim.new(0,10) local stroke = Instance.new("UIStroke", frame) stroke.Color = Color3.fromRGB(35,35,35) -- Title local title = Instance.new("TextLabel", frame) title.BackgroundTransparency = 1 title.Position = UDim2.new(0,12,0,8) title.Size = UDim2.new(1,-12,0,20) title.Font = Enum.Font.GothamBold title.Text = "Elpiyo Hub" title.TextColor3 = Color3.fromRGB(255,255,255) title.TextSize = 15 title.TextXAlignment = Enum.TextXAlignment.Left -- Status local status = Instance.new("TextLabel", frame) status.BackgroundTransparency = 1 status.Position = UDim2.new(0,12,0,30) status.Size = UDim2.new(1,-12,0,20) status.Font = Enum.Font.Gotham status.Text = "Evade AFK : OFF" status.TextColor3 = Color3.fromRGB(140,140,140) status.TextSize = 13 status.TextXAlignment = Enum.TextXAlignment.Left -- Toggle local toggle = Instance.new("Frame", frame) toggle.Position = UDim2.new(0,12,0,65) toggle.Size = UDim2.new(0,50,0,22) toggle.BackgroundColor3 = Color3.fromRGB(25,25,25) toggle.BorderSizePixel = 0 Instance.new("UICorner", toggle).CornerRadius = UDim.new(1,0) local circle = Instance.new("Frame", toggle) circle.Size = UDim2.new(0,18,0,18) circle.Position = UDim2.new(0,2,0.5,-9) circle.BackgroundColor3 = Color3.fromRGB(100,100,100) circle.BorderSizePixel = 0 Instance.new("UICorner", circle).CornerRadius = UDim.new(1,0) -- Label local label = Instance.new("TextLabel", frame) label.BackgroundTransparency = 1 label.Position = UDim2.new(0,70,0,65) label.Size = UDim2.new(0,150,0,22) label.Font = Enum.Font.Gotham label.Text = "Toggle AFK" label.TextColor3 = Color3.fromRGB(180,180,180) label.TextSize = 13 label.TextXAlignment = Enum.TextXAlignment.Left local afk = false -- TP Freeze local function tpFreeze() local char = player.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.Anchored = false char.HumanoidRootPart.CFrame = CFrame.new(0,5000,0) task.wait(0.2) char.HumanoidRootPart.Anchored = true end end -- Unfreeze local function unfreeze() local char = player.Character if char and char:FindFirstChild("HumanoidRootPart") then char.HumanoidRootPart.Anchored = false end end -- Toggle local function toggleAFK() afk = not afk TweenService:Create(circle, TweenInfo.new(0.25), { Position = afk and UDim2.new(1,-20,0.5,-9) or UDim2.new(0,2,0.5,-9), BackgroundColor3 = afk and Color3.fromRGB(0,200,255) or Color3.fromRGB(100,100,100) }):Play() TweenService:Create(toggle, TweenInfo.new(0.25), { BackgroundColor3 = afk and Color3.fromRGB(0,60,90) or Color3.fromRGB(25,25,25) }):Play() status.Text = "Evade AFK : "..(afk and "ON" or "OFF") status.TextColor3 = afk and Color3.fromRGB(0,200,255) or Color3.fromRGB(140,140,140) UIS.MouseBehavior = Enum.MouseBehavior.Default if afk then tpFreeze() else unfreeze() end end -- Toggle click toggle.InputBegan:Connect(function(input) if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then toggleAFK() end end) -- PC key UIS.InputBegan:Connect(function(input,gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.R then toggleAFK() end end) -- Auto Jump Spam (Tahan Space) local holding = false UIS.InputBegan:Connect(function(input,gpe) if gpe then return end if input.KeyCode == Enum.KeyCode.Space then holding = true while holding do task.wait() local char = player.Character if char and char:FindFirstChild("Humanoid") then char.Humanoid:ChangeState(Enum.HumanoidStateType.Jumping) end end end end) UIS.InputEnded:Connect(function(input) if input.KeyCode == Enum.KeyCode.Space then holding = false end end) -- Loop task.spawn(function() while task.wait(3) do if afk then pcall(tpFreeze) end end end) -- Respawn player.CharacterAdded:Connect(function() task.wait(2) if afk then tpFreeze() end end)