So I have this radio to where when you click on it it destroys, but the problem is is that it destroys for everyone. Anybody have any idea on how to fix this
local model = game.workspace.Joe2 local plr = game.Players.LocalPlayer
game.Workspace.Radio.ClickDetector.MouseClick:Connect(function()
game.Workspace.Radio:Destroy()
for _,part in pairs(model:GetChildren()) do
if part : IsA("BasePart") then
part.Anchored = false
wait(10)
part.Anchored = true
end
end
end)

3 comments
Make use of your plr variable?
do you have an example?
just use a localscript