game.Players.PlayerRemoving:Connect(removeActivePlayer)AddActivePlayer.OnServerEvent:Connect(addActivePlayer)RemoveActivePlayer.OnServerEvent:Connect(removeActivePlayer)

game.Players.PlayerRemoving:Connect(removeActivePlayer)

AddActivePlayer.OnServerEvent:Connect(addActivePlayer)
RemoveActivePlayer.OnServerEvent:Connect(removeActivePlayer)