Hey so I made this wall summon script that only appeared on the local character and then I made it again so it replicated for each player using a server script. However when the player turns their camera around fast the wall does not get summoned in front of them like intended and instead gets summoned at the location they were last looking at before turning around. I know this is because its not just locally handled but is there anyway to make it faster and handling the players current camera location.
This is how I want it to work: (only using local script)
Yes. Roblox has an extra 0.05-0.1s latency after the ping for replicating the player character CFrame to the server. I fixed this issue in my battlegrounds game by sending every 1/40th of a second the exact HumanoidRootPart CFrame from the client to the server. Remember that this was to fix a significant issue in my game and that it spends 2kb/s of upload memory.
I’ve seen the videos and you can simply send the HRP CFrame from client to server when summoning a wall, no need of firing 40 remote events/s