magnetos

youtube simulator x - autoclick

Oct 9th, 2021 (edited)
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.65 KB | None | 0 0
  1. --press y to autoclick, press y again to not autoclick :smirk:
  2. --https://web.roblox.com/games/7453798168/YouTube-Simulator-X
  3. --supports krnl/synapse/scriptware functions im pretty sure, unsure about others (proto, fluxus, jjsploit, nihon, etc.)
  4.  
  5. local Mouse = game.Players.LocalPlayer:GetMouse()
  6.  
  7. Mouse.KeyUp:Connect(
  8.     function(Key)
  9.         if Key == "y" then
  10.             _G.Enabled = not _G.Enabled
  11.             while _G.Enabled == true do
  12.                 mouse1click()
  13.                 wait()
  14.             end
  15.  
  16.             if _G.Enabled == false then
  17.                 warn("disabled")
  18.                 return
  19.             end
  20.         end
  21.     end
  22. )
Add Comment
Please, Sign In to add comment