function PlayerCamera.onLeave(v,R,E,e,U)for v,R in pairs(connections)do R:Disconnect()end end return PlayerCamera
--[[
	Function called when leaving the state
]]
function PlayerCamera.onLeave(stateMachine, serverPlayer, event, from, to)
	for _, connection in pairs(connections) do
		connection:Disconnect()
	end
end

return PlayerCamera
