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

Changinplayers shirt and pants by clicking a GUI button?

Asked by 10 years ago

Im thinking for a long time bout this but I don't know how to make it.I would like to hear some sugestons. I want that the player's shirt and pant to be changed by pressing an wear button.

1 answer

Log in to vote
0
Answered by
Subbix -5
10 years ago
function onClick()
    Game.Players.LocalPlayer.Character.Shirt = "rbxassetid://000" --Change 000 to the number of your asset same to below.
    Game.Players.LocalPlayer.Character.Pants = "rbxassetid://000"
end
script.Parent.MouseButton1Down:connect(onClick)
Ad

Answer this question