Timer not changing value

Hello everyone,
So I’m trying to create a timer for my game but it doesn’t update.
I’ve searched everywhere but couldn’t find a fix, so I was wondering if any of you see where the problem is.
Script1
Script2
ReplicatedStorage Gui Timer

In 3rd picture both of the values are IntValues and their value is set to 0.
Error: no errors
Thank you!

P.S. I’m going to sleep now but I will reply to all comments tomorrow.

Try removing the while wait() do. For what is it used for?

1 Like

for one I’m confused why you would want to create a separate thread with spawn and why your using a while wait in that which will cause it to continuously loop.

if you want to you should likely look into corotines as its much more effective

you should read through this

besides the while wait do i dont truly see anything else in this script that should cause it to bug out

1 Like

Oh, I wrote it instead of true, such a stupid mistake.
Thanks!

No problems. Happy to be able to help!

1 Like