So in fornite they only send player information to the client if they are in a visible range to prevent esp hacks, is this possible in roblox? If it is possible how do I go about doing it?
Never attempted something like this but couldn’t you use a raycast on the server to determine if the player is visible and is in range?
Ah, one of the major lacking pieces of security in Roblox games. While we can restrict ACTIONS a player can take using remote functions / events and stopping insecure exceptions to filtering like character movement, games may also include as part of their game mechanics hidden information. Roblox provides terrible support for preventing these OBSERVATIONS even though they are a large part of game security.
There is no easy way to do what you want. The only way I can think of off the top if my head is custom character / vehicle movement. I began at one point to add authoritative server movement to Luanoids but I’m working on other projects now and would gain nothing from it. If you implement it, I’d build on the Luanoid system and submit a pull request on GitHub.
You can create your own Player position transfer system which would send CFrames using remove events. Otherwise, I don’t see a better solution to this.
One thing that I believe they may do in some therodical sense is check the radius from a certain player and get anything that could be within this range of the player send the player the data and the player displays it on their side.