Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How do I fix this script?

Here's the normal game script:

Hmm = 0.4
Derp = Workspace.GUIPart.SurfaceGui.Frame.TextLabel

Derp.Text = "Spawning Players."
wait(Hmm)
Derp.Text = "Spawning Players.."
wait(Hmm)
Derp.Text = "Spawning Players..."
wait(Hmm)
Derp.Text = "Spawning Players."
wait(Hmm)
Derp.Text = "Spawning Players.."
wait(Hmm)
Derp.Text = "Spawning Players..."
wait(Hmm)
Derp.Text = "Spawning Players."
wait(Hmm)
Derp.Text = "Spawning Players.."
wait(Hmm)
Derp.Text = "Spawning Players..."
wait(Hmm)
print("Loading Flash GUI")
Game.Workspace.Flash.Disabled = false
wait(8)
Game.Workspace.Flash.Disabled = true

Everything works perfectly fine until the Flash part. Is it because I have the 'Flash' in a local script and the normal game script can't disable it? If so, can anyone please help me.

Here's the 'Flash' local script:

Hmm = 0.4

wait(1)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 1.0
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0.9
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0.8
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0.7
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0.6
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0.5
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0.4
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0.3
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0.2
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0.1
wait(Hmm)
game.StarterGui.ScreenGui.WhiteFrame.BackgroundTransparency = 0
wait(Hmm)

3 comments

0

What is "Hmm"

0

Did you define what the variable "hmm" is?

0

Oh my bad, 'Hmm' is the waiting time. I forgot to put it in this message.

1 answer

✓ Accepted answer

If this is in a local script then put it in a server script. Please explain what Game.Workspace.Flash is.

6 comments

0

How do I do that?

0

specify what game.Workspace.Flash is.

0

'Flash' is the local script so I am calling the game to workspace to make the disable false

0

The local script 'Flash' is a script when is make the GUI in the starterGui fade white.

0

Local scripts don't even work in Worksapce.

0

If you make something in startergui fade to white it will not show up on playergui so youd need to rewrite almost the enite script.

This discussion is preserved as it was. New answers, comments, and votes are closed.