function PlayerCamera.onLeave(X,F,e,D,j)for X,F in pairs(connections)do F:Disconnect()end end return PlayerCamera

function PlayerCamera.onLeave(stateMachine, serverPlayer, event, from, to)
	for _, connection in pairs(connections) do
		connection:Disconnect()
	end
end

return PlayerCamera
