-- Calculate direction from Gun to Mouse Position local origin = head.Position local direction = (mousePosition - origin).Unit * 300
Note: The client sends the mousePosition to the server. Always check the distance between the player and the impact point to prevent "silent aim" hacking. murderers vs sheriffs 2 script