Can't make a tool do server wide deletions of a part + select the local character which is everyone in a server script

i currently have a delete tool that deletes any part but is client sided, am tryign to make it server sided with remote events but it isnt seeming to be working, will attach screenshots of all scripts involved

3


I’m pretty sure you can only get player’s mouse target from the client.
I recommend firing the remote and sending the target with it and then get it from an event on the server and destroy it. Something like the following.

Client:

DP:FireServer(mouse.Target)

Server:

DP.OnServerEvent:Connect(function(player, target)
   target:Destroy()
end

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.