#I'm making a Basketball match round system with four quarters.

1 messages · Page 1 of 1 (latest)

untold spade
#

I have a feeling it is the timer that is not getting added on time (RemainingTime)

#

What im actually asking for is how to kinda "reset" or add more time to the tick():

                    print("Break started")
                    
                    IsBreakTime = true
                    task.wait(2)
                    
                    print("Break ended")

                    currentTime = tick()
                    remainingTime = 5 + currentTime
                    
                    IsBreakTime = false
                end```
sterile swallow
#

You could mark an "endTick" by adding the match duration (in seconds) to the startTick when the game starts. Anytime there is a match extension, increment endTick by the time extension. You can get time left in the match by doing endTick - tick()