Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

My character appearance script isn't working?

Asked by
OhManXDXD 445 Moderation Voter
5 years ago

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.

01supporter = game:GetService("Teams").Supporter
02army = game:GetService("Teams").Army
03royalg = game:GetService("Teams")["Royal Guard"]
04royalty = game:GetService("Teams")["Royalty"]
05burner = game:GetService("Teams")["Burner"]
06picking = game:GetService("Teams")["Picking"]
07outsider = game:GetService("Teams")["Outsider"]
08 
09game.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")
View all 42 lines...
0
Anything in the output? MmadProgrammer 35 — 5y
0
Nope. Nothing in Client or Server. OhManXDXD 445 — 5y
0
I'm assuming you're using a script and not a localscript? And also that you're using an R6 rig? robloxianmirror 57 — 5y
0
Yes and Yes OhManXDXD 445 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

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:

1local supporter = game:GetService("Teams").Supporter
2local army = game:GetService("Teams").Army
3local royalg = game:GetService("Teams")["Royal Guard"]
4local royalty = game:GetService("Teams")["Royalty"]
5local burner = game:GetService("Teams")["Burner"]
6local picking = game:GetService("Teams")["Picking"]
7local outsider = game:GetService("Teams")["Outsider"]
0
Nothing changed. OhManXDXD 445 — 5y
Ad

Answer this question