I’m sorry if my question is worded wrong, I think locally is the right term to use. How would you go about destroying an object when it is touched, but only for the player that touches it? It will still be there for other players until they touch it.
Thanks in advance so much
I created this LocalScript
local part = game:GetService("Workspace"):WaitForChild("Part") -- change "Part" to the part name part.Touched:Connect(function(touch) local player = game:GetService("Players"):GetPlayerFromCharacter(touch.Parent) if player ~= nil then if player == game:GetService("Players").LocalPlayer then part:Destroy() end end end)
Also, place this localscript in StarterPack
Just Change the Part in the local part to your parts name and you should be fine.