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.
COMMUNITY QUESTION
How would I make a line to complete a function if a player is on a certain team?
1 answer
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.
This discussion is preserved as it was. New answers, comments, and votes are closed.
