How do I make a timer that counts the seconds of a game and converts them into minutes and seconds and seconds?

How do I make a timer that counts the seconds of a game and converts them into minutes?

This is what I have

image

image

You could use a counter that increments every second hooked up to a property, and then divide that value by 60? And then go from there?

Minutes can be calculated with roundDown(seconds/60))

Would anyone be able to provide an example image?

My brain is not functioning right now

It doesn’t show seconds…

Hey your back! Where were you?

1 Like

I just got back to school yesterday.

2 Likes

Maybe try using something like this?

1 Like

To convert seconds into minutes:

floor(seconds into game/60)

I made an in-game timer not realizing that was a block lol

Does that mean it’s resolved? If so, then mark a solution!

1 Like

I need it to include seconds as well. I know this is possible because @mysz made it

This works, but is there an easier way to not use up to 30 blocks?

This works;

image

Nevermind it does not work…

I changed the “equals” to “greater or equal to” and combined them all into one if statement. Then, it finally worked!

Nice! You created and simplified the solution all by yourself! Looks like you didn’t even need us!

1 Like

Yeah, sorry for bringing this to the forums.

1 Like