upgrades.Changed:Connect(function()Level.Text=upgrades.Value end)points.Changed:Connect(updateUpgrades);(GameplayUi:GetPropertyChangedSignal("\069\110\097\098\108\101\100")):Connect(toggleEnabled)LobbyButton.Activated:Connect(toggleLobby)humanoid.Died:Connect(function()ChangeController:FireServer(true)toggleLobby()end)
-- Listen to level changes
upgrades.Changed:Connect(function()
	Level.Text = upgrades.Value
end)

points.Changed:Connect(updateUpgrades)
GameplayUi:GetPropertyChangedSignal("Enabled"):Connect(toggleEnabled)
LobbyButton.Activated:Connect(toggleLobby)
humanoid.Died:Connect(function()
	ChangeController:FireServer(true)
	toggleLobby()
end)
