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

ImageTransparency lowers down on wait (time)?

Do I have to put this in a folder? Workspace, StarterGui, etc Wouldn't work, do I have to do StarterGui.ImageName.ImageTransparency?

wait(5)
ImageName.ImageTransparency = 0.75
wait (10)
ImageName.ImageTransparency = 0.6125
wait (15)
ImageName.ImageTransparency = 0.5
wait (25)
ImageName.ImageTransparency = 0.25
wait (27.5)
ImageName.ImageTransparency = 0.125
wait (30)
ImageName.ImageTransparency = 0
end)
end

1 comment

0

Are this is your entire script..?

1 answer

✓ Accepted answer

Put the 'ImageName' into StarterGui.ScreenGui and do this :

local ImageName = game.StarterGui.ScreenGui.ImageName -- local the ImageName

ImageName.ImageTransparency = 1 -- When you started the game, the ImageTransparency
wait(5)
ImageName.ImageTransparency = 0.75
wait (10)
ImageName.ImageTransparency = 0.6125
wait (15)
ImageName.ImageTransparency = 0.5
wait (25)
ImageName.ImageTransparency = 0.25
wait (27.5)
ImageName.ImageTransparency = 0.125
wait (30)
ImageName.ImageTransparency = 0
end

IMPORTANT: Make sure you have a ScreenGui, if your ScreenGui changed the name, replace the script 'ScreenGui' to become your ScreenGui's name.

Hope I helped, have a nice day, happy coding :D

NOTE: I've already upvoted :P

4 comments

0

I was sleeping when you made this, I’ll check this later

0

Where to place? Workspace?

0

So, you marked this as the solution before checking if it works? You're supposed to confirm that it works first (spoiler: it doesn't)

0

@yogamer13294456 Put the 'ImageName' into StarterGui.ScreenGui, or add ImageName.Parent = game.StarterGui.ScreenGui into the FIRST LINE

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