How to equip hat?

Is there anything I can do to debug?

change it to a server script.

local hat = game:GetService("ReplicatedStorage").Helmet
local handle = hat.Handle
local att = handle.HairAttachment
local ps = game:GetService("Players")

ps.PlayerAdded:Connect(function(plr)
plr.CharacterAdded:Connect(function(char)	
        plr.CharacterAppearanceLoaded:Wait()
	hat.Parent = char
end)
end)

When I do that the script won’t go past: plr.CharacterAppearanceLoaded:Wait()

remove that line and try agian.

1 Like

Yes it works! Thank you! (charlimit)

1 Like

Great! I also just read the docs and to use ```
humanoid:AddAccessory(helmet)
``you are to put it in a regular script and parent said regular script to startercharaterscirpt (not a local script)

2 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.