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

Why won't this intro work?

Asked by
Asirix 15
10 years ago

So I know by all means this should absolutely without a doubt work, because I'M USISNG A NEARLY IDENTICAL SCRIPT FOR A DIFFERENT PROJECT. I've tried it using a regular script, and localscript. I've tried using Base = script.Parent.Base and also Base = script.Parent["Base"'], but no matter what I do, this will not work Its absurd!

Here's the script:

game.StarterGui:SetCoreGuiEnabled("All", false)

Base = script.Parent["Base"]
Base.Visible = true
IDF = Base["IdentityTheif"]
C = Base["Creator"]

Base.backgroundTransparency = 0
Wait(2)
IDF.TextTransparency = 1
Wait(0.1)
IDF.TextTransparency = .8
C.TextTransparency = 1
Wait(0.1)
IDF.TextTransparency = .5
C.TextTransparency = .8
Wait(0.1)
IDF.TextTransparency = .2
C.TextTransparency = .5
Wait(0.1)
IDF.TextTransparency = 0
C.TextTransparency = .2
Wait(0.1)
C.TextTransparency = 0
Wait(5)
IDF.TextTransparency = .2
Wait(0.1)
IDF.TextTransparency = .5
C.TextTransparency = .2
Wait(0.1)
IDF.TextTransparency = .8
C.TextTransparency = .5
Wait(0.1)
IDF.TextTransparency = 1
C.TextTransparency = .8
Wait(0.1)
C.TextTransparency = 1
Wait(2)
Base.BackgroundTransparency = .2
Wait(0.01)
Base.BackgroundTransparency = .5
Wait(0.01)
Base.BackgroundTransparency = .8
Wait(0.01)
Base.BackgroundTransparency = 1
Base.Visible = false
0
Line 8, capitalize `BackgroundTransparency` Ekkoh 635 — 10y
0
Oh my god. XD Asirix 15 — 10y

1 answer

Log in to vote
1
Answered by 10 years ago

ok here the deal try this..

script.Parent:WaitForChild("Base")

What :WaitForChild does is it waits until the base is in that parent directory

0
THANK YOU SO MUCH, I've been so frustrated, but my question is, why does it not work here, but worked in a different project I'm doing? Asirix 15 — 10y
0
Now all I get is a black screen (Which is the Base), and the script does not run. :/ Asirix 15 — 10y
0
its because it is still waiting maybe Base is nill DragonSkyye 517 — 10y
Ad

Answer this question