Hey, I have been trying to do a script that if one of the random minigames in my games appear, it should only appear once then it can't appear again for a few rounds. But I have only managed to do this so the same minigame can't appear the next round. Does anyone know how to fix this problem? I don't want the same minigames to appear all the time and some like once an hour.

function module.ChooseMinigames()

	local minigames = game.ReplicatedStorage.Minigames:GetChildren()
	
	local choose = minigames[math.random(1,#minigames)]	
	local chooseName = game.ServerStorage.ChooseName
	
	if chooseName.Value == choose.Name then

		repeat choose = minigames[math.random(1,#minigames)]
			wait()
		until chooseName.Value ~= choose.Name
	end		
	
	status.Value = choose.Name.." Choosed!"		
	local map = choose:Clone()
	map.Parent = workspace
	map.Name = "Minigame"
	chooseName.Value = choose.Name

end

This is a module script. If you have any questions please write it down here :)

Thanks for the help, Xsodar