function PlayerGame.onLeave(I,b,V,p,h)for I,b in pairs(connections)do b:Disconnect()end end return PlayerGame
--[[
	Function called when leaving the state
]]
function PlayerGame.onLeave(stateMachine, serverPlayer, event, from, to)
	for _, connection in pairs(connections) do
		connection:Disconnect()
	end
end

return PlayerGame
