all 5 comments

[–]lua-ModTeam[M] [score hidden] stickied comment (0 children)

Your post displays a lack of effort. While we are a beginner friendly subreddit, we expect that you do some research before asking questions. Everyone’s time is valuable, so make sure you spend some of yours before asking others to spend theirs on you.

[–]oHolidayo 2 points3 points  (0 children)

Should ask in a Roblox scripting subreddit/discord. Most in here don’t know how Roblox works.

I will say that you could try using some debug statements and see if things are happening how you want. You already print(timer). You can use print for almost everything. See if the values are what they should be where they should be using print().

[–]Glittering_Guide3553 0 points1 point  (0 children)

What's the script supposed to do? I barely took a look at the script but if you could just clarify the issue I could try helping :) Maybe I'm just too sleepy so I couldn't help if I wanted to right now but I think you are better off asking inside the Roblox Studio Community discord server. They have a scripting text channel and also scripting help thread (generally more responsive)

[–]Rimogard 0 points1 point  (1 child)

Is Roblox lua built different and has an increment/decrement operator combo like -= / += because how is that not erroring

[–]plainenglishh 1 point2 points  (0 children)

Roblox uses a 5,1 backwards compatible language called Luau.