Never mind I fixed my problem
COMMUNITY QUESTION
How do I fix this script?(I fixed it)
2 answers
There is nogame.Workspace.Character.
If this is a LocalScript (e.g., in a GUI object in a PlayerGui), you can use game.Players.LocalPlayer.Character.
If this isn't a LocalScript, you would have to use script.Parent. ... .Character, to refer to the Player from within the PlayerGui.
If this is in a SurfaceGui or BillboardGui in the Workspace, you'll need to rework this to use one of the above combined with the Adornee property
I'm puzzled. Is this supposed to change a Model's appearance whose name is "Character"? Or the player itself?
If it's the player, try this:
script.Parent.MouseButton1Click:connect(function()
game.Workspace.Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=170596150"
game.Workspace.Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=170594552"
end)
1 comment
0
It is supposed to change the clothing of a model in work space called Character
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Heh, you got Ninja'd.