Script inside of the button:
sp = script.Parent
function GiveTheHat()
GetID = script.Parent.Parent.ID.Text
GiveIt = game:GetService("InsertService"):LoadAsset(GetID)
GiveIt.Parent = game.Workspace
GiveIt:MoveTo(game.Players.LocalPlayer.Character.Head.Position)
end
script.Parent.MouseButton1Down:connect(GiveTheHat)
The hat spawns in Workspace but does not let anyone put it on there head or creates it where the head is. Any help please? (Also if you can explain to me, how would I just ctrl + v the ID into the text instead of typing it?)
