Advertisement
plytalent

_NOCD

Dec 24th, 2020
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. (function()
  2. --// Variables
  3. local module = {}
  4.  
  5. module.Options = {
  6. Enabled = false,
  7. }
  8.  
  9. local RunService = game:GetService("RunService")
  10. local Players = game:GetService("Players")
  11. local Player = Players.LocalPlayer
  12.  
  13. function module:Enable()
  14. module.Options.Enabled = true
  15. end
  16.  
  17. function module:Disable()
  18. module.Options.Enabled = false
  19. end
  20. game:GetService("RunService").Stepped:Connect(function()
  21. if module.Options.Enabled then
  22. local A_1 = "LL"
  23. local Event = game:GetService("ReplicatedStorage").Events.Event1
  24. Event:InvokeServer(A_1)
  25. end
  26. end)
  27. return module
  28. end)()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement