What's the better way to set up the types of minigames? I have a table in my Main script chosing the game mode.
gameModes = {"Falling Bricks","Color Plates"}
Now I could either script all the gamemodes into the main script
chosenGamemode = math.random(1,#gameModes)
if gameModes[chosenGamemode] == "Falling Bricks" then
--GameRunsHere
elseif gameModes[chosenGamemode] == "Color Plates" then
--Game runs here
end
Like that, or make a separate script for each gamemode and run them like this,
chosenGamemode = math.random(1,#gameModes)
gamemodeClone = game.ReplicatedStorage.games[gameModes[chosenGamemode]]:Clone()
gamemodeClone = game.ServerScriptStorage
And do it that way?

2 comments
Thank you!
No problemo :)