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: Gui Countdown Problem

Previous Thread :: Next Thread 
Crowne is not online. Crowne
Joined: 17 Nov 2013
Total Posts: 154
24 Dec 2015 10:02 PM
I am trying to make a countdown timer displayed through a Gui, and I can make it countdown but not display the countdown. Basically, the text won't change after I set it once.

gui = game.StarterGui.ScreenGui.TextBox

while true do
i = 30
while true do
gui.Text = ""
wait(3)
i = i - 1
gui.Text = "Intermission: "..i
wait(1)
if i == 0 then
gui.Text = "Game starting..."
end
end
end


Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
24 Dec 2015 10:03 PM
That just inefficient.
Report Abuse
Crowne is not online. Crowne
Joined: 17 Nov 2013
Total Posts: 154
24 Dec 2015 10:04 PM
I've tried it other ways, yet still encounter the same issue. I've tried a for loop, and even setting it up using stringvalues yet the issue stays the same.
Report Abuse
AdvancedObjects is not online. AdvancedObjects
Joined: 11 Dec 2012
Total Posts: 3354
24 Dec 2015 10:04 PM
try this:

timer(intvalue).Value = 30

while wait(1) do
timer.Value = timer.Value - 1
if timertag.Value <=0 then
break
end
end

(localscript):
function onchange()
timerlabel.Text = timertag.Value
end
timer.Changed:connect(onchange)
Report Abuse
metologyaddict is not online. metologyaddict
Joined: 09 Dec 2015
Total Posts: 378
24 Dec 2015 10:06 PM
[ Content Deleted ]
Report Abuse
cbhusker is not online. cbhusker
Joined: 07 Feb 2011
Total Posts: 517
24 Dec 2015 10:09 PM
Well.. if I'm not mistaken the GUI that is located inside of StarterGUI is being changed but the one in the player's inventory isn't.


print("Hello World!")
Report Abuse
metologyaddict is not online. metologyaddict
Joined: 09 Dec 2015
Total Posts: 378
24 Dec 2015 10:11 PM
[ Content Deleted ]
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