ivanzrer

onRedstone2

Nov 7th, 2024
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.35 KB | None | 0 0
  1. args = {...}
  2.  
  3. while true do
  4.     repeat
  5.         trigger = os.pullEvent("redstone")
  6.     until trigger == "redstone"
  7.  
  8.     col = loadfile("colony.lua")
  9.     col(args[1])
  10.     --dofile("colony.lua")
  11.     print("Colony interaction complete.")
  12.  
  13.     print("Suspending interaction for 60 seconds...")
  14.     os.sleep(60)
  15.     print("Resuming interaction...")
  16. end
Advertisement
Add Comment
Please, Sign In to add comment