Why dos this script work in studio mode not player mode. I was assured before that it was because the script has a bug, but I cant find it. I'm new to scripting btw!
Next = script.Parent
Frame = Next.Parent
function onClicked(GUI)
Frame:Remove()
end
script.Parent.MouseButton1Click:Connect(onClicked)

1 comment
Are you using a Local Script?