Basically, I want to make it so. When I join my game if I am in this certain group. With a certain rank, it would give me a hat.
I already have the hat in my workspace. The hat is not created by roblox. It is created using meshparts and a mesh [http://prntscr.com/m7n7rt]
I have already created my auto uniform and this is the last thing I need to do to finish this.
Place your hat model in ServerStorage. Make sure the hat model is unanchored and welded together, here is a plugin you may use for this.
Clone it, and then weld the PrimaryPart
of the clone onto the Character's head.
local hatModel = game.ServerStorage.CustomHat --This is your hat local head = workspace.Goulstem.Head --This is your head local hat = hatModel:Clone() --Clone it local weld = Instance.new("Weld") --Create a weld weld.Part0 = head --Configure properties weld.Part1 = hat.PrimaryPart --Make sure you set the PrimaryPart weld.Parent = head
You may set the weld object's C0
property in case the orientation is off.