I am looking for a way to write it in Lua. I am kind of new to scripting, so I may be a bit off with the request. I have looked for an answer for hours and I never found what I was looking for.
COMMUNITY QUESTION
How do I write a function that works as "If player is in [TEAM NAME] then...."?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Well, I don't know if you found nothing on this looking for HOURS. This is something you could find very easily on the wiki.
This might be helpful: https://developer.roblox.com/en-us/api-reference/property/Player/Team