Advertisement
Honansik

Mechanica Lag Server Script

Sep 8th, 2022
1,472
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.36 KB | None | 0 0
  1. -- utilizes spawning and despawning to lag the server
  2. local toggleremote = game:GetService("Players").LocalPlayer.PlayerGui.MainGui.Events.SpawnToggle
  3.  
  4. function toggle(bool)
  5.     toggleremote:FireServer(bool)
  6. end
  7.  
  8. _G.Enabled = true
  9. while _G.Enabled do
  10.     coroutine.wrap(toggle)(true)
  11.     task.wait(.2)
  12.     coroutine.wrap(toggle)(false)
  13.     task.wait(.2)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement