Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I fix this script?

Asked by 10 years ago

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)
0
What is "Hmm" Tempestatem 884 — 10y
0
Did you define what the variable "hmm" is? FearMeIAmLag 1161 — 10y
0
Oh my bad, 'Hmm' is the waiting time. I forgot to put it in this message. DesignerDavid 0 — 10y

1 answer

Log in to vote
-1
Answered by 10 years ago

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

0
How do I do that? DesignerDavid 0 — 10y
0
specify what game.Workspace.Flash is. TochiWasHere 10 — 10y
0
'Flash' is the local script so I am calling the game to workspace to make the disable false DesignerDavid 0 — 10y
0
The local script 'Flash' is a script when is make the GUI in the starterGui fade white. DesignerDavid 0 — 10y
View all comments (2 more)
0
Local scripts don't even work in Worksapce. TochiWasHere 10 — 10y
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. TochiWasHere 10 — 10y
Ad

Answer this question