generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Could someone help, please?

Previous Thread :: Next Thread 
Distortional is not online. Distortional
Joined: 22 Nov 2011
Total Posts: 6530
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 is not online. 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
Distortional is not online. Distortional
Joined: 22 Nov 2011
Total Posts: 6530
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
Distortional is not online. Distortional
Joined: 22 Nov 2011
Total Posts: 6530
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 is not online. 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 is not online. 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
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image