Advertisement
lunox039

ANTIAFK

Jun 11th, 2025
999
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 3.01 KB | Gaming | 0 0
  1. local Rice = Instance.new("ScreenGui")
  2. local Main = Instance.new("Frame")
  3. local Title = Instance.new("TextLabel")
  4. local Credits = Instance.new("TextLabel")
  5. local Activate = Instance.new("TextButton")
  6. local UICorner = Instance.new("UICorner")
  7. local OpenClose = Instance.new("TextButton")
  8. local UICorner_2 = Instance.new("UICorner")
  9.  
  10. Rice.Name = "Rice"
  11. Rice.Parent = game.CoreGui
  12. Rice.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
  13.  
  14. Main.Name = "Main"
  15. Main.Parent = Rice
  16. Main.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  17. Main.BorderSizePixel = 0
  18. Main.Position = UDim2.new(0.321207851, 0, 0.409807354, 0)
  19. Main.Size = UDim2.new(0, 295, 0, 116)
  20. Main.Visible = false
  21. Main.Active = true
  22. Main.Draggable =  true
  23.  
  24. Title.Name = "Title"
  25. Title.Parent = Main
  26. Title.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  27. Title.BorderSizePixel = 0
  28. Title.Size = UDim2.new(0, 295, 0, 16)
  29. Title.Font = Enum.Font.GothamBold
  30. Title.Text = "MenyanetyHUB Anti-Afk"
  31. Title.TextColor3 = Color3.fromRGB(255, 255, 255)
  32. Title.TextScaled = true
  33. Title.TextSize = 12.000
  34. Title.TextWrapped = true
  35.  
  36. Credits.Name = "Credits"
  37. Credits.Parent = Main
  38. Credits.BackgroundColor3 = Color3.fromRGB(35, 35, 35)
  39. Credits.BorderSizePixel = 0
  40. Credits.Position = UDim2.new(0, 0, 0.861901641, 0)
  41. Credits.Size = UDim2.new(0, 295, 0, 16)
  42. Credits.Font = Enum.Font.GothamBold
  43. Credits.Text = "Made by menyanety"
  44. Credits.TextColor3 = Color3.fromRGB(255, 255, 255)
  45. Credits.TextScaled = true
  46. Credits.TextSize = 12.000
  47. Credits.TextWrapped = true
  48.  
  49. Activate.Name = "Activate"
  50. Activate.Parent = Main
  51. Activate.BackgroundColor3 = Color3.fromRGB(50, 50, 50)
  52. Activate.BorderColor3 = Color3.fromRGB(27, 42, 53)
  53. Activate.BorderSizePixel = 0
  54. Activate.Position = UDim2.new(0.0330629945, 0, 0.243326917, 0)
  55. Activate.Size = UDim2.new(0, 274, 0, 59)
  56. Activate.Font = Enum.Font.GothamBold
  57. Activate.Text = "Activate"
  58. Activate.TextColor3 = Color3.fromRGB(0, 255, 127)
  59. Activate.TextSize = 43.000
  60. Activate.TextStrokeColor3 = Color3.fromRGB(102, 255, 115)
  61. Activate.MouseButton1Down:connect(function()
  62.     local vu = game:GetService("VirtualUser")
  63.     game:GetService("Players").LocalPlayer.Idled:connect(function()
  64.         vu:Button2Down(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  65.         wait(1)
  66.         vu:Button2Up(Vector2.new(0,0),workspace.CurrentCamera.CFrame)
  67.     end)
  68. end)
  69.  
  70.  
  71. UICorner.Parent = Activate
  72.  
  73. OpenClose.Name = "Open/Close"
  74. OpenClose.Parent = Rice
  75. OpenClose.BackgroundColor3 = Color3.fromRGB(45, 45, 45)
  76. OpenClose.Position = UDim2.new(0.353924811, 0, 0.921739101, 0)
  77. OpenClose.Size = UDim2.new(0, 247, 0, 35)
  78. OpenClose.Font = Enum.Font.GothamBold
  79. OpenClose.Text = "Open/Close"
  80. OpenClose.TextColor3 = Color3.fromRGB(255, 255, 255)
  81. OpenClose.TextSize = 14.000
  82.  
  83. UICorner_2.Parent = OpenClose
  84.  
  85. local function NERMBF_fake_script() -- OpenClose.LocalScript
  86.     local script = Instance.new('LocalScript', OpenClose)
  87.  
  88.     local frame = script.Parent.Parent.Main
  89.    
  90.     script.Parent.MouseButton1Click:Connect(function()
  91.         frame.Visible = not frame.Visible
  92.     end)
  93. end
  94. coroutine.wrap(NERMBF_fake_script)()
Tags: aNTIafk
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement