local o=Cart.new(game.Workspace.Cart,1)GameStartEvent.Event:Connect(function()o:start()while wait(.15)and isGameActive.Value do o:onUpdate()end end)GameOverEvent.Event:Connect(function()o:stop()end)

local cart = Cart.new(game.Workspace.Cart, 1)

GameStartEvent.Event:Connect(function()
	cart:start()
	while wait(0.15) and isGameActive.Value do
		cart:onUpdate()
	end
end)

GameOverEvent.Event:Connect(function()
	cart:stop()
end)
