✓ Accepted answer
You don't.
Server model time
Thing is, Roblox stopped things like the player's mouse from replicating to the server automatically a while ago when they introduced filtering. Good, perfect - Now everyone's scripts are broken. The solution? RemoteEvents.
Thing is, you can just get the player's mouse locally and then keep telling the server the information you need from it, such as where it is pointing, or which parts it is touching.
But, we can do one better - We can just ignore the server entirely until everyone needs to know about the mouse. Placement scripts? Just say where you're placing it, and do all of the positioning locally. Server never has to know. Build tools? Same deal. Guns? Yep. The server is dumb. Keep it that way.
3 comments
u simply cant
the mouse object does not replicate to the server
You can fire the Mouse Position through the arguments in the local script to the server