Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Intro = "{text:\"[\",color:green},{text:\"SERVER\",color:red},{text:\"] \",color:green}"
- commands.tellraw("@a ["..Intro..",{text:\"The server's time controller script is \",color:yellow},{text:\"ONLINE!\",color:green()}]")
- while true do
- print(os.time())
- if os.time() > 19 then
- commands.tellraw("@a ["..Intro..",{text:\"WARNING! \",color:red},{text:\"The time is being fast-forwarded for your convenience. Thank you and have a nice day,\"}]")
- while os.time() < 5 or os.time() > 19 do
- commands.time("add 100")
- sleep(0.01)
- end
- end
- sleep(1)
- end
Add Comment
Please, Sign In to add comment