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

How do i change clothing of a localplayer in workspace?

Asked by 7 years ago

I am trying to change the clothing of a localplayer everytime you click a different button, for example i have my normal outfit when i click a button it changes, another button it changes to a different outfit if you click the same one then it goes back to the outfit you had before, but i wanna find localplayer in workspace? this is what i have so far: script.Parent.MouseButton1Click:connect(function() local player = game.Players.LocalPlayer local humanoid = game.Workspace.player:FindFirstChild(player) humanoid.Shirt.ShirtTemplate = "rbxassetid://260326166" humanoid.Pants.PantsTemplate = "rbxassetid://260326202" end)

0
If you want to find the character of the player try player.Character Bluemonkey132 194 — 7y

1 answer

Log in to vote
0
Answered by 7 years ago

Nvm guys i fixed it myself with something i never tried b4 :D im so happy

Ad

Answer this question