I'm having issues trying to make a nuke game with a GUI simulating flash blindness while kicking the player (The player has to enter a teleport to another place within the game before the nuke drops, the teleport being a door to a fallout shelter and the place being a fallout shelter). I have a GUI named nucflash in the starterGUI with a white frame meant to be to be hidden until after 3 minutes, but for some reason it shows up at the beginning of the game! The code is shown here. I hope someone can find a way to fix errors in this and tell me how.
game.StarterGui.nucflash.Frame.BackgroundTransparency=1
wait(180)
game.StarterGui.nucflash.Frame.BackgroundTransparency=0
end

1 comment
That's because when you play the game, the Gui is COPIED from the StarterGui to your Player. When a player is playing in the game, ALL guis inside StarterGui get copied into "PlayerGui" inside their player.