You may think this maybe a silly question, but I was making a gas mask for SCP Breakout V.0.0.2 Alpha version, and i got this gasmask you click and it gives you a tool. You have to activate the tool and then you get the mask on your head, but it doesn't work without error. Why?
script.Parent.Parent.Activated:Connect(function(player) local h = Instance.new("Hat") print("hi") --Added to print if it works. h.Parent = game.Players.LocalPlayer.Character script.Parent:Clone() h.AttachmentPos = Vector3.new(-0.21, 0.35, 0.65) h.AttachmentRight = Vector3.new(1, 0, 0) h.AttachmentUp = Vector3.new(0, 1, 0) h.AttachmentForward = Vector3.new(-0, -0, -1) end)