Help with reapeater

so I have a timer system so that /player enters portal → start reapeater → decreament counter. but if multiple players enter the portal it will count down faster (for example 3 players = 3 seconds counted down every real second

anyone know how to fix this?

I can. Just wait a few minutes lemme get my pictures.

Make sure the scope of the counter is player.

As well as the trigger loop.

He’s using a repeater.
And yeah scope should work.

Yeah, and i’d recommend that you change the title, we have no clue what you want until we click it.

1 Like

The counter should also be counting up… unless it’s a stopwatch. But up is still usually a good way to get your number and then just do some maths in the block code.

1 Like

i mean thats kinda the point

because then people click on it :sweat_smile:

but I’ll change it if that’s not ok

1 Like

Well, technically it’s fine, but I’d change it.

I’ve ran into this problem when making my map before. It was counting down by how many players were in the server. I don’t have the system I alternatively used, but it might not be the scope.

More people entered = decrement by 1 more

is there a way to make it so that like the repeater is only activated once? like idk some wire reapeater in between that can only be triggered one time?

Here is a timer countdown I made, it mainly is the overlay device, property, the trigger loop, and counter:

Countdown


woah


right now mine is player enters that portal it starts that repeater which every second tells the counter to go down by one

no repeater, repeater bad.

instead

[ Trigger ]
when triggered, broadcast on channel x
trigger when receiving on channel x

delay is whatever you want the interval to be

but then how do i get it to repeat over and over?

With the trigger loop.
It repeats infinitely unless programmed to do otherwise.

Yeah, what everyone else is saying here. Trigger loops cost 460 less memory than repeaters, do the same thing, and can repeat up to 10 times a second (repeater can repeat up to 2 times a second. so a trigger loop is clearly the better option.

2 Likes