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 4 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?

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

0
Are this is your entire script..? Xapelize 2658 — 4y

1 answer

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

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

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

Answer this question