function Clicked()
script.Parent.Parent.Parent = nil

end

script.Parent.MouseButton1Click:connect(Clicked)

This doesn't work because, when I join the game, it's already gone.

1 comment

0

Put an if statement in to see if the object is there before it sets it to nil.