Hi, I was wondering why the Gui doesn't tick down like it should be, ive checked the number value, its been ticking down, but the Gui has not been updating it.
timer gui local script:
while wait() do
script.Parent.Text = "time left:"..script.Parent.Parent.Time.Value
end
this is the actual timer script its self (this one works feel free to take it, and its in a normal script inside of sss)
game.ReplicatedStorage.RemoteEvents.RemoveCash.OnServerEvent:Connect(function()
local time = game.StarterGui.Events.Time
game.StarterGui.Events.TextLabel.Visible = true
for i = 1,time.Value do
wait(1)
time.Value = time.Value -1
end
if time.Value <= 0 then
time.Value = 300
script.Disabled = true
end
end)

3 comments
You're changing in StarterGui
https://developer.roblox.com/en-us/api-reference/class/StarterGui
https://developer.roblox.com/en-us/api-reference/class/PlayerGui