I have made one in the past that worked locally but i cant seem to find any tutorials or posts regarding this for serverside, Would the way to do it be locally then have it fire a remote event and make the server script run when that is fired? Or is there a way to do it wholly serverside?

6 comments

3

Yes, remote events are the way to go

0

Ok i will do that then, Thank you :)

1

On the client check for the distance between the player and the object they are trying to interact with if they are in distance and press e then fire the remote.

1

Yea thats what i was assuming would be the way to go, thank you :)

0

I suggest you to use ContextActionService.

0

If the player is too far away from the object, unbind the Fire function.