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: does roblox still support hints?

Previous Thread :: Next Thread 
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
01 Mar 2015 10:26 AM
i have this script
between = 30
hint =game.Workspace.Hint
hint.Text = (wait(between))
wait(between)
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
01 Mar 2015 10:27 AM
@Title Yes

@Script waaat?
Are you trying to make a countdown?
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
01 Mar 2015 10:29 AM
im trying to display the wait time for wait(between)
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
01 Mar 2015 10:30 AM
between = 30
hint = game.Workspace.Hint
hint.Text = between
wait(between)


Like that?
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
01 Mar 2015 10:36 AM
it wont count it still displays 30 though
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
01 Mar 2015 10:45 AM
'Are you trying to make a countdown?'
You could have just said "yes".

You need to use a loop.

http://wiki.roblox.com/index.php?title=Loops#For
Report Abuse
Joe11Joe99 is not online. Joe11Joe99
Joined: 22 May 2011
Total Posts: 34458
01 Mar 2015 10:46 AM
that script
made my head hurt
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
01 Mar 2015 10:52 AM
oh ok i get it know
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
01 Mar 2015 11:06 AM
doesn't work
there has to be a way to display a wait
Report Abuse
Prehistoricman is not online. Prehistoricman
Joined: 20 Sep 2008
Total Posts: 12490
01 Mar 2015 11:07 AM
What's your current script?
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
01 Mar 2015 11:09 AM
wait will return the seconds it waited, which is pretty much never exactly what you specified. Displaying wait(30) will probably be a 30 with something like eight decimal places.
Report Abuse
Joe11Joe99 is not online. Joe11Joe99
Joined: 22 May 2011
Total Posts: 34458
01 Mar 2015 11:11 AM
for i=1, 30 do
hint.Text = 30-i
wait(1)
end
Report Abuse
JarodOfOrbiter is not online. JarodOfOrbiter
Joined: 17 Feb 2011
Total Posts: 20029
01 Mar 2015 11:12 AM
Joe11Joe99, you can simplify that like this
for i=30,0,-1 do
hint.Text = i
wait(1)
end
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
01 Mar 2015 11:13 AM
local between = 30
local round = 180
local zombies = game.ServerStorage.Zombies
local hint = game.Workspace.Hint
while true do
hint.Text = (wait(between))
wait(between)
print("started")
local player = game.Players:GetPlayers()
for i = 1, #player do
player[i].Character:MoveTo(Vector3.new(-100, -164.5, 1118))--map
end
zombies.Parent = game.Workspace
wait(round)
zombies.Parent = game.ServerStorage
print("ended")
end
Report Abuse
FalconLoverGiraffe is not online. FalconLoverGiraffe
Joined: 24 Jun 2014
Total Posts: 456
01 Mar 2015 11:16 AM
Make sure you don't state anymore things after the loop, the script won't pick it up so you'll have to use a coroutine.
Report Abuse
tekkr is not online. tekkr
Joined: 30 Dec 2013
Total Posts: 3570
01 Mar 2015 11:19 AM
thank you jar and joe it works now!
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