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

How to make local player equip (not classic) clothing?

Asked by 1 year ago

How do I make a script, where after clicking a button, my localplayer is equipping a shirt or any clothing/accessory (not classic clothing) (Cloning one shirt from replicatedstorage and giving it to a player)

1 answer

Log in to vote
0
Answered by 1 year ago

Can't you just make a Shirt in ReplicatedStorage, and then you put the shirt ID inside the instance's (in this case the instance is the shirt in ReplicatedStorage) ID value.

After that, can't you delete the currentshirt in the player character

Player.Character:WaitForChild("Shirt"):Destroy

and then

game.ReplicatedStorage.Shirt:Clone().Parent = Player.Character
Ad

Answer this question