I want to send list of instances to be sent to the server via remote function
I don’t know can i do that
I want to send list of instances to be sent to the server via remote function
I don’t know can i do that
You can send the instances to the server and it would work fine as long as the server has access to the instance, so send a server created part in workspace would be fine, but sending an instance that doesn’t have a parent on the client would cause the server to receive nil.
also idk why :GetTouchingParts() returns me empty table
Does the part that you are calling the method on have CanCollide enabled or a TouchIntrest?
it has enabled cantouch property.
But no it doesn’t have cancollide enabled bc it would collide with character on client side
:GetTouchingParts() doesn’t work on parts without CanCollide enabled, but it does work on parts with a TouchIntrest. To create one you can connect a Touched event to the part.
will touchintrest return me table?
If the part has a TouchIntrest then yes. you can keep your previous code but add a Touched connection somewhere when the part is created or used.