Advertisement
hacimiks

Anti AFK

Apr 15th, 2024 (edited)
914
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 2.06 KB | None | 0 0
  1. --Roblox Anti Afk Script--
  2. -- Made by aoki0x--
  3. --RemiAPE On Top!--
  4.  
  5. wait(0.5)
  6. local Main = Instance.new("ScreenGui")
  7. local Title = Instance.new("TextLabel")
  8. local MainFrame = Instance.new("Frame")
  9. local EndTItle = Instance.new("TextLabel")
  10. local AfkStatus = Instance.new("TextLabel")
  11.  
  12. Main.Parent = game.CoreGui
  13.  
  14. Main.ZIndexBehavior = Enum.ZIndexBehavior.Sibling;
  15.  
  16. Title.Parent = Main;
  17.  
  18. Title.Active = true
  19. Title.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  20. Title.BorderColor3 = Color3.fromRGB(0, 0, 255)
  21. Title.Draggable = true
  22. Title.Position = UDim2.new(0.698610067, 0, 0.098096624, 0)
  23. Title.Size = UDim2.new(0, 370, 0, 52)
  24. Title.Font = Enum.Font.SourceSansBold;
  25. Title.Text = "Anti Afk | by aoki0x"
  26. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  27. Title.TextSize = 22;
  28.  
  29. MainFrame.Parent = Title
  30.  
  31. MainFrame.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  32. MainFrame.BorderColor3 = Color3.fromRGB(0, 0, 255)
  33. MainFrame.Position = UDim2.new(0, 0, 1.0192306, 0)
  34. MainFrame.Size = UDim2.new(0, 370, 0, 107)
  35.  
  36. EndTItle.Parent = MainFrame
  37. EndTItle.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  38. EndTItle.BorderColor3 = Color3.fromRGB(0, 0, 255)
  39. EndTItle.Position = UDim2.new(0, 0, 0.800455689, 0)
  40. EndTItle.Size = UDim2.new(0, 370, 0, 21)
  41. EndTItle.Font = Enum.Font.SourceSansBold;
  42. EndTItle.Text = "RemiAPE"
  43. EndTItle.TextColor3 = Color3.fromRGB(255, 255, 255)
  44. EndTItle.TextSize = 20;
  45.  
  46. AfkStatus.Parent = MainFrame
  47.  
  48. AfkStatus.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
  49. AfkStatus.BorderColor3 = Color3.fromRGB(0, 0, 255)
  50. AfkStatus.Position = UDim2.new(0, 0, 0.158377, 0)
  51. AfkStatus.Size = UDim2.new(0, 370, 0 ,44)
  52. AfkStatus.Font = Enum.Font.SourceSansBold;
  53. AfkStatus.Text = "Anti Afk Status: Active"
  54. AfkStatus.TextColor3 = Color3.fromRGB(255, 255, 255)
  55. AfkStatus.TextSize = 20;
  56.  
  57. local abc = game:service'VirtualUser'
  58.  
  59. game:service'Players'.LocalPlayer.Idled:connect(function()
  60.  
  61.     AfkStatus:CaptureController()
  62.     AfkStatus:ClickButton2(Vector2.new())
  63.  
  64.     AfkStatus.Text = "Roblox Tried To Kick You."
  65.     wait(2)
  66.     AfkStatus.Text = "Anti Afk Status: Active"
  67. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement