So basically I’m making a Tag game the name is still work in progress but I need help with ending the game when there’s no people on team 1 and everyone on team 2 its a tag game where if your tagged u get transported to team 2 to catch other team1 people (and if your asking hide and seek EXTREME is done I’m grinding coins rn lol)
but I need help D:
so, is this basically snowy survival?
Ina sense yes Lol
but it is a tag game with a kinda similar game with snowy survival
W pfp tho
Lifecycle game start → relay: Everyone on specific team → increment a counter
When player gets tagged → decrement counter
when counter hits target 0 → end game
You’ll need a lifecycle that listens for game start. Make it trigger a relay for all players. When the relay is triggered, make it increment a counter. Make this counter set a property (I’ll call it PlayersTotal). Now use the tag zone and when a player is tagged, then it triggers a trigger. Add a block to the trigger. Make a new property (I’ll call this one PlayersTagged) and make sure the starting value is 1. In the trigger, use the set property block.
set property "PlayersTagged" = (get property "PlayersTagged" + 1)
Then check if PlayersTagged is equal to PlayersTotal.
if "PlayersTagged" == "PlayersTotal":
> end game
ok I’ll try
see if it works it prob will but lemme see if it fits with the game
I’m gonna make a guide on that soon.
I realized there isn’t a guide about it…
I hope it works for you, @Spinjitzufordays99!
Also another good way to do it!
(Im bad at using blocks so I dont do block ways)
could u show me photos? thanks I’m bad at reading stuff like this I can do code pretty well but I need a visual aid to help lol thx
Sure
On game start:
Wire it to relay:
All players team 1 increment counter:
Everyone got end game:
Make counter go down by one:
If you want to wait a few seconds for the counter to increment, you can use a wire repeater (or trigger) with a delay.
Tsym! I will edit it a bit a tiny bit which is adding 2 triggers which will turn off the endgame widget which is Runners wins! and leave Taggers Wins on and delay it by 2 sec so it has a time to register
I also have a timer on 599 sec for 10 min and it stops on 2 sec to turn off The Taggers win! and leave runners wins on but either way tsym! this is just what I need
it wasn’t letting me say this I dunno why it said 500 error so I re-said it?
(idk)
means server error I think (server overload?)
sm ain’t right
the counter keeps going up
and it doesn’t stop D: idk wut 2 do
There isn’t anything repeating that relay right?
idk lemme check
and what would it say if it was repeating?
I meant you arent using a repeater or a wire relay that goes in circles with the relay:
Kinda like this:
Like a infinite loop where it keeps activating the relay
show us it maybe then we can help better, pictures always help (I’m getting it instantly ends?)