|
| 30 Jul 2014 12:47 PM |
local frame = script.Parent while frame.Transparency >= 1 do repeat frame.Transparency = frame.Transparency-.1 wait(.1) until frame.Transparency == 0 end
while frame.Transparency >= 0 do repeat frame.Transparency = frame.Transparency+.1 wait(.1) until frame.Transparency == 0 end
basically, it should make the gui repeatedly "flash"
Caaaactus. Prov 3:5: Trust in the LORD with all your heart and lean not on your own understanding. |
|
|
| Report Abuse |
|
|
Cheeso135
|
  |
| Joined: 13 Apr 2013 |
| Total Posts: 2016 |
|
|
| 30 Jul 2014 12:49 PM |
| You did repeat while transparency is above 1. In the 4th line you subtracted by .1, making the "1", .9, stopping the script. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2014 12:56 PM |
local frame = script.Parent while frame.Transparency >= .1 do repeat frame.Transparency = frame.Transparency-.1 wait(.1) until frame.Transparency == 0 end
while frame.Transparency <= 1 do repeat frame.Transparency = frame.Transparency+.1 wait(.1) until frame.Transparency == 1 end
Caaaactus. Prov 3:5: Trust in the LORD with all your heart and lean not on your own understanding. |
|
|
| Report Abuse |
|
|
|
| 30 Jul 2014 01:04 PM |
while true do a=5 repeat local frame = script.Parent frame:TweenPosition(UDim2.new(0, 100, 0, 500), "Out", "Quad", 2, false) wait(2) frame.Position = UDim2.new(0, 100, 0, 300) until a==2 end
Caaaactus. Prov 3:5: Trust in the LORD with all your heart and lean not on your own understanding. |
|
|
| Report Abuse |
|
|
ezt12
|
  |
| Joined: 09 Jul 2014 |
| Total Posts: 1531 |
|
|
| 30 Jul 2014 01:55 PM |
local frame = script.Parent
while wait() do while frame.Transparency >= .1 do repeat frame.Transparency = frame.Transparency-.1 wait(.1) until frame.Transparency == 0 end while frame.Transparency < 1 do repeat frame.Transparency = frame.Transparency+.1 wait(.1) until frame.Transparency == 1 end end
try that :) |
|
|
| Report Abuse |
|
|
ezt12
|
  |
| Joined: 09 Jul 2014 |
| Total Posts: 1531 |
|
|
| 30 Jul 2014 02:02 PM |
-- try now
local frame = script.Parent
while wait() do while wait(0.05) do repeat frame.Transparency = frame.Transparency - 0.1 until frame.Transparency == 0 end while wait(0.05) do repeat frame.Transparency = frame.Transparency + 0.1 until frame.Transparency == 1 end end |
|
|
| Report Abuse |
|
|