if _G.AFKGuardSetup then print("AFK Guard already setup! You do not need to run this script again.") return end _G.AFKGuardSetup = true local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local topleft = Vector2.new() local VirtualUser = game:GetService("VirtualUser") --Anti AFK LocalPlayer.Idled:Connect(function() VirtualUser:CaptureController() VirtualUser:ClickButton2(topleft) end)