Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
1

How to make a "E" to interact on the serverside?

Asked by
PastDays 108
4 years ago
Edited 4 years ago

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?

3
Yes, remote events are the way to go mixgingengerina10 223 — 4y
0
Ok i will do that then, Thank you :) PastDays 108 — 4y
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. Prestory 1395 — 4y
1
Yea thats what i was assuming would be the way to go, thank you :) PastDays 108 — 4y
View all comments (2 more)
0
I suggest you to use ContextActionService. JakyeRU 637 — 4y
0
If the player is too far away from the object, unbind the Fire function. JakyeRU 637 — 4y

Answer this question