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 » Scripters
Home Search
 

Re: How to make gui fade in and out

Previous Thread :: Next Thread 
Swivls is not online. Swivls
Joined: 18 Jun 2016
Total Posts: 240
21 Aug 2016 04:54 PM
I have a script that checks if the player already sees the gui and doesnt do anything
and if they dont have it open it will open it wait 5 seconds then close it

but how to I make the gui fade in and out so It doesnt look so stale

script:

function onTouch()
if game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible == true then
end
if game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible == false then
game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = true
wait(5)
game.Players.LocalPlayer.PlayerGui.ScreenGui.Frame.Visible = false
end
end
script.Parent.Touched:connect(onTouch)


༼ノຈل͜ຈ༽ノ︵┻━━━━━━━━━━┻
Report Abuse
ClassicalGod is not online. ClassicalGod
Joined: 26 Sep 2008
Total Posts: 2842
21 Aug 2016 04:56 PM
Frame.BackgroundTransparency
Report Abuse
Swivls is not online. Swivls
Joined: 18 Jun 2016
Total Posts: 240
21 Aug 2016 04:57 PM
Ok thanks


༼ノຈل͜ຈ༽ノ︵┻━━━━━━━━━━┻
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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