You can write your topic however you want, but you need to answer these questions:
- What do you want to achieve? Keep it simple and clear!
Basically, I’m making a game with two teams. For this example let’s have Team 1 and Team 2. I want a script where; when a player on Team 2 dies from a player from Team 1, the dead Team 2 player respawns on Team 1. But, I do not want it to work the other way around… Like if a Team 2 player kills a Team 1 Player, I don’t want that to affect the Team 1’s team, so they’ll still respawn as Team 1, as they were originally.
- What is the issue? Include screenshots / videos if possible!
Well, to me, this seems like a complicated script, and I’m not quite sure where to start.
- What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I did surf the developer hub and google, and couldn’t quite find any similar scripts which tend to what I’m trying to achieve.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
I don’t want player reset’s or just death from like falling off map etc, to have any affect. I only want Team 2 players to switch to Team 1 if a Team 1 player kills them.