Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

I was asked to rewrite my question. About writing a code about team appearances?

Hello I am trying to make my teams spawn with there own set of clothes and hats. I have this one script that works only if I put it in workspace ( shirt and pants work but hat id doesnt), but it doesnt work with the seperate teams. If anyone knows a script that is able to assign shirts, pants, and hats to a certain team, please let me know thank you. I am new to scripting so please be specific in telling me what to do thank you. I am just looking for help in making a script that makes each team have there own shirt, pants, and hat. Thanks

1 answer

You use an if statement and check if the player is inside a team

if Player.Team == game.Teams.RedTeam then
  --give stuff
else if Player.Team == game.Teams.BlueTeam then
  --givestuff
end'
end

3 comments

0

Thank you for the help, but how would I write the code for giving the clothes, hats, and pants. Thanks

0

dont request

0

Sorry but this is probably the most help you will get from the community, no one is going to make a script for you, this community isnt about requesting people to do things for you

This discussion is preserved as it was. New answers, comments, and votes are closed.