You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve?
I’m trying to print the players team in a server script -
What is the issue?
Even if I’m on ‘teamA’ it’ll print ‘TeamX’ regardless -
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have tried printing different attributes of the player and they work but it doesn’t understand team names
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!
Players.PlayerAdded:Connect(function(player)
print(player.Team.Name) -- would print TeamA regardless of my team
)
Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.