Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Thanks for using this script
- --This script is made by Joriangames/Problox Studio Scripts
- --Want to know how to use this? Watch my tutorial: https://youtu.be/yTggbpPRULQ
- local launchEvent = workspace.RocketModel.Launch
- local EventStart = 1615996980
- local EventStop = 1615997040
- local EventTime = workspace.EventText.TextPart.SurfaceGui.EventTime
- while wait(1) do
- local currentTime = os.time()
- if currentTime >= EventStop then
- break
- end
- if currentTime >= EventStart then
- launchEvent:Fire()
- EventTime.Text = "Starting live event!"
- break
- else
- local secondsleft = EventStart - currentTime
- local days = math.floor(secondsleft % (60*60*24*30) / (60*60*24))
- local hours = math.floor(secondsleft % (60*60*24) / (60*60))
- local minutes = math.floor(secondsleft % (60*60) / 60)
- local seconds = secondsleft % 60
- EventTime.Text = "Time till live-event: "..days.." Days "..hours.." Hours "..minutes.." Minutes "..seconds.." seconds!"
- end
- end
Add Comment
Please, Sign In to add comment