I have a simple script:
local cd = script.Parent.ClickDetector
cd.MouseHoverEnter:Connect(function(plr)
script.Parent:Destroy()
end)
It's in a local script because I plan on making do some other stuff later which I only want on the client. The script works fine when I put it in a regular script, but it doesn't work in a local script. Why?
