Advertisement
pa1nx9

Red Light, Green Light Script | OP AUTOFARM SCRIPT, INSTANT WIN

Oct 1st, 2021
4,105
-1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.96 KB | None | 0 1
  1. if not syn then rconsoleclear = function() end; rconsoleprint = function(a) print(a) end; rconsolename = function() end end
  2. rconsoleclear()
  3. rconsolename('RedLight GreenLight autofarm')
  4. local positions = {
  5. win = Vector3.new(-346, 3, 415)
  6. }
  7. local storage = {
  8. gameRunning = false,
  9. player = game:GetService('Players').LocalPlayer
  10. }
  11. rconsoleprint('Starting AutoFarm')
  12. function checkIfGameStart()
  13. local wall = game:GetService("Workspace").Mechanics.Preventer
  14. if wall.CanCollide then
  15. return false
  16. else
  17. return true
  18. end
  19. end
  20. while wait() do
  21. pcall(function()
  22. if checkIfGameStart() then
  23. if storage.gameRunning == false then
  24. storage.gameRunning = true
  25. wait(.1)
  26. storage.player.Character:MoveTo(positions.win)
  27. rconsoleprint('\nWon game instantly.')
  28. end
  29. else
  30. --rconsoleprint('\nDetected game End.') spammy
  31. storage.gameRunning = false
  32. end
  33. end)
  34. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement