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

Why won't this intro work?

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

2 comments

0

Line 8, capitalize BackgroundTransparency

0

Oh my god. XD

1 answer

✓ Accepted answer

ok here the deal try this..

script.Parent:WaitForChild("Base")

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

3 comments

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?

0

Now all I get is a black screen (Which is the Base), and the script does not run. :/

0

its because it is still waiting maybe Base is nill

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