Part is "Not a Valid Member" when it actually is

Do you think it could be because the part is only for that one specific client, and the code is running on the server?

wait the part is made on client?

Yes, since this is just to control placement. How would I pass the client part onto the server script to clone it into the new object.

thats why its not working bcuz the part is client sided, the server wont find it. try uh changing network owner? or deleting the placerange on client?

What would I change the network owner to?

idk never used it maybe server

maybe its like falling out of the map if its unanchored and not welded to the rig, is it there when you test in studio and look for it in explorer

no his problem is that the part is made on client so server cant find it, he wants to make on client and destroy on server im pretty sure

Why would he need to destroy it on the server

idk thats what i think he wants i told him to destroy on client

I am destroying on the server since I want to remove the old tower for all players and replace it with a new tower.

Then how did you get the PlaceRange to local?

The tower itself is placed on the server, however, when I am attempting the place another tower, the PlaceRange, is visible only for the client and doesnā€™t actually exist in the server object of that tower. A remote function places the tower on the server.

just destroy it on the client??

Does that make it vulnerable to exploiters?

It is a tower defense game, if I destroy it on the client, it wouldnā€™t remove for other players. I am not destroying the client ā€œPlaceRangeā€ part, I am destroying the entire tower which is on the server. Destroying on the client would only remove the tower for the client who is destroying it.

1 Like

So the placerange is a part that detects the range of how far the player can place the tower? If thatā€™s the case, then you could destroy it on the local side, then return true from the remote to recreate the placerange.