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

Changin humanoid color cliking when I have a tool equiped?

I did a script but it won't work

t = script.Parent player = game.Players.LocalPlayer

t.Activated:connect(function() player.Character.Torso.BrickColor = BrickColor.new("Alder") player.Character.LeftLeg.BrickColor = BrickColor.new("Alder") player.Character.RightLeg.BrickColor = BrickColor.new("Alder") end)

What I have to do ?

1 comment

0

Edit your post and use Lua code formatting.

1 answer

Try this, and make sure it's a LocalScript.

t = script.Parent ; plr = game.Players.LocalPlayer

t.Activated:connect(function()
	plr.Character.Torso.BrickColor = BrickColor.new("Alder")
	plr.Character["Right Leg"].BrickColor = BrickColor.new("Alder")
	plr.Character["Left Leg"].BrickColor = BrickColor.new("Alder")
end)

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