So I made a script that changed the character appearance, so depending on team, it would change your torso, and your other parts would have the same color. The script doesn't seem to work though.
01 | supporter = game:GetService( "Teams" ).Supporter |
02 | army = game:GetService( "Teams" ).Army |
03 | royalg = game:GetService( "Teams" ) [ "Royal Guard" ] |
04 | royalty = game:GetService( "Teams" ) [ "Royalty" ] |
05 | burner = game:GetService( "Teams" ) [ "Burner" ] |
06 | picking = game:GetService( "Teams" ) [ "Picking" ] |
07 | outsider = game:GetService( "Teams" ) [ "Outsider" ] |
08 |
09 | game.Players.PlayerAdded:Connect( function (plr) |
10 | char = plr.Character or plr.CharacterAdded:Wait() |
11 | plr.CanLoadCharacterAppearance = false |
12 | plr:ClearCharacterAppearance() |
13 | local rightarm = char:FindFirstChild( "Right Arm" ) |
14 | local leftarm = char:FindFirstChild( "Left Arm" ) |
15 | local rightleg = char:FindFirstChild( "Right Leg" ) |
Hi OhManLolLol.
From my observation, this is possibly a simple mistake.
While I'm not definite, I think you forgot a few "local"'s.
Try replacing the top bit of your script with this and get back to me:
1 | local supporter = game:GetService( "Teams" ).Supporter |
2 | local army = game:GetService( "Teams" ).Army |
3 | local royalg = game:GetService( "Teams" ) [ "Royal Guard" ] |
4 | local royalty = game:GetService( "Teams" ) [ "Royalty" ] |
5 | local burner = game:GetService( "Teams" ) [ "Burner" ] |
6 | local picking = game:GetService( "Teams" ) [ "Picking" ] |
7 | local outsider = game:GetService( "Teams" ) [ "Outsider" ] |