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: issue with wait

Previous Thread :: Next Thread 
TheDuckOfYork is not online. TheDuckOfYork
Joined: 07 Jan 2012
Total Posts: 6599
03 Nov 2013 05:08 PM
I am really puzzled by this, have never had a problem like this before

Pretty much, this script works perfect, but the GUI it makes visible at the end not only takes too long to appear, but just stays up.

I have no idea

local Info = script.Parent.Parent.Information
local player = script.Parent.Parent.Parent.Parent.Parent
local tool = game.Lighting:FindFirstChild("JetPack")
local clone = tool:Clone()

function OnClick()
if player.leaderstats.Cash.Value <= 30 then
player.leaderstats.Cash.Value = player.leaderstats.Cash.Value - 30
clone.Parent = player.Backpack
Info.Text = "Congratulations! You Rented a JetPack!"
Info.Visible = false
wait(1)
Info.Visible = true
else
Info.Text = "Not Enough Cash!"
Info.Visible = false
wait(1)
Info.Visible = true
end
end

script.Parent.MouseButton1Down:connect(OnClick)
Report Abuse
notsopwnedg is not online. notsopwnedg
Joined: 07 Nov 2010
Total Posts: 4182
03 Nov 2013 05:10 PM
Really...Why do you make multiple threads...
Report Abuse
TheDuckOfYork is not online. TheDuckOfYork
Joined: 07 Jan 2012
Total Posts: 6599
03 Nov 2013 05:10 PM
This is a completely different issue, although with the same script.
Report Abuse
TheDuckOfYork is not online. TheDuckOfYork
Joined: 07 Jan 2012
Total Posts: 6599
03 Nov 2013 05:12 PM
Nevermind, I'm an idiot.

had it swapped.
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