Aslum
|
  |
| Joined: 09 Dec 2011 |
| Total Posts: 7937 |
|
|
| 06 Aug 2015 01:06 PM |
This is my code local screenGui = Instance.new("ScreenGui") screenGui.Parent = script.Parent
local frame = Instance.new("Frame") frame.Parent = screenGui frame.Position = UDim2.new(0, 0, -0.25, 0) frame.Size = UDim2.new(1, 0, 1.5, 0) frame.BackgroundColor3 = Color3.new(0, 0, 0)
local imageLabel = Instance.new("ImageLabel") imageLabel.Parent = screenGui imageLabel.Position = UDim2.new(.5,-400,.5,-150) imageLabel.Size = UDim2.new(0, 800, 0, 300) imageLabel.Image = "rbxassetid://280161329" wait(5) for i = 0,100 do frame.BackgroundTransparency = i/100 wait() end
I have both imageLabel and frame. This fades out the frame but the image is still there. for i = 0,100 do imageLabel.BackgroundTransparency = i/100 wait() end
I have also tried to do that above ^ to replace the frame with imageLabel and it doesn't do anything
pls help |
|
|
| Report Abuse |
|
|
Funse
|
  |
| Joined: 11 Jun 2012 |
| Total Posts: 7887 |
|
|
| 06 Aug 2015 01:09 PM |
for i = 0,100 do imageLabel.BackgroundTransparency = i/100 imageLabel.ImageTransparency = i/100 wait() end |
|
|
| Report Abuse |
|
|
Aslum
|
  |
| Joined: 09 Dec 2011 |
| Total Posts: 7937 |
|
|
| 06 Aug 2015 01:11 PM |
funse that removes only the image i still need to remove the frame |
|
|
| Report Abuse |
|
|
Aslum
|
  |
| Joined: 09 Dec 2011 |
| Total Posts: 7937 |
|
|
| 06 Aug 2015 01:15 PM |
| ived ended up making a script that just fades out the image over and over lol |
|
|
| Report Abuse |
|
|
Aslum
|
  |
| Joined: 09 Dec 2011 |
| Total Posts: 7937 |
|
| |
|
FIares
|
  |
| Joined: 07 Nov 2010 |
| Total Posts: 641 |
|
|
| 06 Aug 2015 02:42 PM |
Do what he did, and just put all of the things that need to be faded out inside the for loop.
Check out my in-game scripting tutorial! [ 279086510 ] |
|
|
| Report Abuse |
|
|