Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would I make a line to complete a function if a player is on a certain team?

Asked by 5 years ago

So a line I was using was incorrect and I have no idea how to fix it at it's current state. The script is supposed to damage a player who touches the parent block and is not at a specific team. I moved the script itself to pastebin as it would not load correctly as I am typing this. https://pastebin.com/f1siCrvN Line 5 is the only issue that I cannot fix. I would appreciate any help I can get as I am completely stuck.

1 answer

Log in to vote
0
Answered by 5 years ago

You could check the players team color or set a string value when the player touches the team spawn and check if the player has the tag.

Ad

Answer this question