So, if you want to kick someone out after spending too much time in one place, this is all you have to do!
Get a repeater device, zone device, and counter. Oh, and also a teleporter.
Set the zone to wherever you want to spawn push.
Connect a wire to the zone to the repeater: When player enters zone----------start repeater. (Also, make it so the repeater stops when receiving on a channel, this will be important later on.
Set the repeater to repeat every second.
Hook up the repeater to the counter: When repeater runs task---------increment counter
Set a target for your counter:This will be how much time they can spend in there.(in seconds)
7.Hook up the counter to the teleporter: When counter reaches target----------teleport player to teleporter.
Make the zone transmit a channel when the player leaves.
Make it so the repeater stops when receiving on said channel when player leaves the zone.
Wire the zone to the counter: When player leaves zone-------reset counter.
That should be it, I feel like I’m missing something, so tell me if I am, and
Don’t forget to like and subscribe! (lol)
I subscribed more than 3 times, liked and slapped the bell. I followed your socials and came to your house. I gave you all the secrets to Zapper Royale and i followed you from minecraft.