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

How do you put a hat on a player?

Not an actual hat, a hat you have created with a handle (It's basic object is a hat) when it is in the lighting?

2 comments

0

Just clone it and weld it to the player.

0

How would you do that?

1 answer

Hmm, I'd probly do this;

repeat wait(0)until game and game:FindService("Lighting")and game.Lighting:FindFirstChild("HATNAME") --Replace HATNAME with the name of the hat
local lighting=game:GetService("Lighting")
local hat=lighting:FindFirstChild("HATNAME") --Replace HATNAME with the name of the hat
if hat then
givehat=hat:Clone()
givehat.Parent=PARENTHERE --Switch this out with that Parent you want the hat to be in
end

Hope this helped!

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