CompCrafter

Detect Time to set day CC

May 29th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2. if os.time() >= 6.20 then
  3. commands.exec("/time set 0")
  4. sleep(1)
  5. commands.exec("/weather clear")
  6. sleep(5)
  7. else
  8. sleep(5)
  9. end
  10. end
Add Comment
Please, Sign In to add comment