The question is a bit confusing but basically I want to give custom animations to each different team and for them all not to have the same one. I'm making a game with groups and roles so knowing how to separate different groups of players for fighting skills and such would be helpful.
COMMUNITY QUESTION
How to make certain things for certain teams?
1 answer
Simple. Every time a character is added, you check the player's current team and insert items accordingly.
game.Players.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(function(character)
local humanoid = character:WaitForChild("Humanoid")
if player.Team == game.Teams.Example then
elseif player.Team == game.Teams.Example2 then
end)
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
there should be an 'end' at line 9, i forgot sorry