Hi, I'm trying to remove parts on the client for only 1 person. I've used RemoteEvents, but it didn't work. What is the best way to do this?
server local Remote = path.to.remote local PartToDestroy = path.to.part local PlayersToRemovePart = {'Player1', 'Player2'} function foundValueInTable(tbl, value) for i,v in pairs(tbl) do if v == value then return tbl[i] end end end function send() for i,v in pairs(game.Players:GetPlayers()) do if foundValueInTable(PlayersToRemovePart, v.Name) then Remote:FireClient(v, PartToDestroy) end end end ----------------------------- client local Remote = path.to.remote Remote.OnClientEvent:Connect(function(part) part:Destroy() end)