function ProjectileReplication.ReplicateProjectile(S,z,J,U)if RunService:IsServer()then RE_CreateProjectile:FireAllClients(S:GetIDName(),z,J,U)end end
-- @Context Server
-- Given a weapon definition, position, and direction. A projectile will be simulated on all clients.
-- @param WeaponDefinition weaponDefinition
-- @param Vector3 position
-- @param Vector3 direction
-- @param Player _owner
function ProjectileReplication.ReplicateProjectile(weaponDefinition, position, direction, _owner)
	if RunService:IsServer() then
		--print("Sending visual to all clients",weaponDefinition, position, direction, _owner)
		-- If the server makes the request to replicate a projectile then then this is sent to everyone besides the sender
		RE_CreateProjectile:FireAllClients(weaponDefinition:GetIDName(), position, direction, _owner)
	end
end
