Learn
Engine Class
Hat
Deprecated

Summary
Inherited Members
Code Samples
Manually Position Hats
local hat = script.Parent
local character = hat.Parent
hat.Handle.CFrame = character.Head.CFrame * CFrame.new(0, character.Head.Size.Y / 2, 0) * hat.AttachmentPoint:inverse()
©2026 Roblox Corporation. Roblox, the Roblox logo and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.