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

ImageTransparency lowers down on wait (time)?

Asked by 5 years ago

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

01wait(5)
02ImageName.ImageTransparency = 0.75
03wait (10)
04ImageName.ImageTransparency = 0.6125
05wait (15)
06ImageName.ImageTransparency = 0.5
07wait (25)
08ImageName.ImageTransparency = 0.25
09wait (27.5)
10ImageName.ImageTransparency = 0.125
11wait (30)
12ImageName.ImageTransparency = 0
13end)
14end
0
Are this is your entire script..? Xapelize 2658 — 5y

1 answer

Log in to vote
0
Answered by
Xapelize 2658 Moderation Voter Community Moderator
5 years ago

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

01local ImageName = game.StarterGui.ScreenGui.ImageName -- local the ImageName
02 
03ImageName.ImageTransparency = 1 -- When you started the game, the ImageTransparency
04wait(5)
05ImageName.ImageTransparency = 0.75
06wait (10)
07ImageName.ImageTransparency = 0.6125
08wait (15)
09ImageName.ImageTransparency = 0.5
10wait (25)
11ImageName.ImageTransparency = 0.25
12wait (27.5)
13ImageName.ImageTransparency = 0.125
14wait (30)
15ImageName.ImageTransparency = 0
16end

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

0
I was sleeping when you made this, I’ll check this later yogamer13294456 13 — 5y
0
Where to place? Workspace? yogamer13294456 13 — 5y
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) EmilyBendsSpace 1025 — 5y
0
@yogamer13294456 Put the 'ImageName' into StarterGui.ScreenGui, or add ImageName.Parent = game.StarterGui.ScreenGui into the FIRST LINE Xapelize 2658 — 5y
Ad

Answer this question