Basicly I’m Developing a football game, I made it so that when a player touch a ball, the ball get attached to the player, But I noticed some Delay and a lot of bugs and ball physics lagging especially when a player is lagging
since the Ball Script is inside the ball and each player can spawn a ball, just imagine the lag with 20 balls in workspace with a touch script event inside of each ball…
so what im thinking about is making the ball weld client side and send data to the server using remotes, this way the gameplay is smooth, less stress on the server, but there is something that is stopping me from doing that : Cheaters
they can easily Send False messages to the remotes and start cheating and ruin experience for others in matches
now what should i do to make a smooth gameplay and make it hard for cheaters to cheat? I don’t have experience at making an Anti Exploit since i’m new to scripting in Lua
Well Yes, you shoudl worry about cheaters in your game, Now not evry one would be cheater only 0.1% or less than that but sometimes they can also do major damage to the game.
so just to prevent any thing try to secure your game!
Well the script is used so when a player get tackled , the ball script remove the ball weld from the player that got tackled and weld it to the other player, and also used to detect if the ball is welded or not