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

How do i change clothing of a localplayer in workspace?

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)

1 comment

0

If you want to find the character of the player try player.Character

1 answer

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

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