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: Timer

Previous Thread :: Next Thread 
brennisawesome is not online. brennisawesome
Joined: 26 Oct 2012
Total Posts: 1658
22 Dec 2014 06:42 PM
Can someone help me a make a timer as a HINT, where the script won't be a thousand lines long, or it won't flash every second? Thanks!
Report Abuse
masternick95363 is not online. masternick95363
Joined: 04 Feb 2012
Total Posts: 292
22 Dec 2014 06:49 PM
for i = 1,10 do
h = Instance.new("Hint",game.Workspace)
h.Text = i
wait(1)

end
end
Report Abuse
Tynezz is not online. Tynezz
Joined: 28 Apr 2014
Total Posts: 4945
22 Dec 2014 06:50 PM
^ Create 10 hints, nice idea.
Report Abuse
masternick95363 is not online. masternick95363
Joined: 04 Feb 2012
Total Posts: 292
22 Dec 2014 06:59 PM
lol :)
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
22 Dec 2014 07:28 PM
local hint = Instance.new("Hint", workspace)
for x = 1000, 0, -1 do
wait(1)
hint.Text = math.floor(x / 60) .. ":" .. ((x % 60) > 9 and (x % 60) or ("0" .. (x % 60)))
end
hint:Destroy()
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
22 Dec 2014 07:29 PM
function time()

H = Instance.new("Hint", game.Workspace)

timeLimit = 0 -- edit this

for i = 1, timeLimit do
H.Text = tostring(i)
end

H:remove()

end
Report Abuse
devTools is online. devTools
Joined: 06 Sep 2014
Total Posts: 7950
22 Dec 2014 07:30 PM
Use 128's
Report Abuse
brennisawesome is not online. brennisawesome
Joined: 26 Oct 2012
Total Posts: 1658
22 Dec 2014 08:07 PM
How do I get it for 5 minutes?
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
22 Dec 2014 08:53 PM
Change this
for x = 1000, 0, -1 do


to this
for x = 300, 0, -1 do
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