TextLabel not changing with server script

So, i was making a real time titanic game, and theres a time on the top right corner that changes. but it doesnt seem to update. here is the code. its quite simple and basic

wait(60)
script.Parent.Text = "2:17 AM"
wait(60)
script.Parent.Text = "2:18 AM"
wait(60)
script.Parent.Text = "2:19 AM"
wait(60)
script.Parent.Text = "2:20 AM"
wait(10)
script.Parent.Text = "Titanic has fully sunken"

heres how it looks in explorer
image

Server Scripts dont run in Guis

This code needs to be in a localscript - server scripts don’t run in StarterGui

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.