first thing first, set your text in luau mode :
if ChosenMap:FindFirstChild("InstructionsGui") then
local players = game:GetService("Teams"):FindFirstChild(SacrificeTeam):GetPlayers()
local guis = {} -- Table to store the cloned GUIs
for _, player in ipairs(players) do
local gui = ChosenMap.InstructionsGui:Clone() -- Assuming "InstructionsGui" is the name of the GUI containing the instructions
gui.Parent = player.PlayerGui
gui.Enabled = true
table.insert(guis, gui) -- Add the cloned GUI to the table
end
wait(9)
-- Destroy all the cloned GUIs simultaneously
for _, gui in ipairs(guis) do
gui:Destroy()
end
end