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

how do i make players wear hats?

Asked by 7 years ago
plr.Head.face.Texture = "rbxassetid://405704912"

how do i modify that so it gives someone a hat

i tried searching for similar questions on scripting hlepers, looked on youtube, checked roblox wiki, no result

1 answer

Log in to vote
3
Answered by 7 years ago

That changes the face texture of the player. You need to insert a hat on the game and place the hat on the character.

Use InsertService if you want to insert a hat from the catalog via script.

You can also insert a hat by searching on the free models, placing the hat in some storage (Ex. ServerStorage, ReplicatedStorage), and via script, clone the hat and parent the clone to the character. Which is far more easier

0
thanks you're the only person who has been helpful to me OzzieOrange -14 — 7y
0
everyone else just downvotes me and not answer my question OzzieOrange -14 — 7y
Ad

Answer this question