If you change something on the Client (like setting a gun's damage to 100), only that player sees it. The Server doesn't know about it. Therefore, critical game logic must always happen on the Server.
The script above uses (instant hit). Real airsoft guns use projectiles.
If you change something on the Client (like setting a gun's damage to 100), only that player sees it. The Server doesn't know about it. Therefore, critical game logic must always happen on the Server.
The script above uses (instant hit). Real airsoft guns use projectiles.