Rhysical

lap exp antiafk

Nov 25th, 2022
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification", {
  2. Title = "Anti-Afk";
  3. Text = "heheheha no more afk";
  4. Icon = ""})
  5. Duration = 16;
  6. local LP = game:GetService("Players").LocalPlayer
  7. local args = {
  8. [1] = "CycleSetting",
  9. [2] = "AFK"
  10. }
  11. while true do
  12. wait(1)
  13. if LP.PlayerGui.MainUI["AFK_Screen"].Visible==true then
  14. game:GetService("ReplicatedStorage").Comm.RemoteEvent:FireServer(unpack(args))
  15. elseif LP.PlayerGui.MainUI["AFK_Screen"].Visible==false then
  16. wait(2)
  17. end
  18. end
Advertisement
Add Comment
Please, Sign In to add comment