game.Workspace.Hat:Clone().Parent = char
Please Help I try to clone this part 1 time but it doesent let me. it clones it but like 500 times.
a little bit more code:
local weld = Instance.new("WeldConstraint")
local hat = game.Workspace.Hat
local ClonedOBject = game.Workspace.Hat:Clone()
local char = plr.Character
ClonedOBject.Parent = char
weld.Parent = char
weld.Part0 = char.Head
weld.Part1 = game.Workspace.Hat.Handle
hat.Handle.Position = char.Head.Position
game.Workspace.Hat.Handle.Anchored = false

5 comments
Why is it doing this?
Make sure you've defined a max limit if you're doing this in a "for" loop. If this is in a while loop make sure you replace "while true do" with "while clonetimes<1 do" or something like that.
add some script so we can figure it out
That's odd. Are you on mac? Studio is known to be buggy on Mac, this might be one.
no im on windows