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: Please Help...

Previous Thread :: Next Thread 
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 08:38 PM
Why wont this work the way I want it to work? It's different times for different players...

local changeTime = coroutine.wrap(function()
for i = 10000, 1, -1 do
wait(0.1)
script.Parent.Text = i
end
end)


changeTime()
Report Abuse
YellowBrick1 is not online. YellowBrick1
Joined: 06 May 2009
Total Posts: 865
05 Jan 2013 08:40 PM
Any output errors?
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 08:42 PM
No... but it's in coroutine and there different numbers for players...
Report Abuse
YellowBrick1 is not online. YellowBrick1
Joined: 06 May 2009
Total Posts: 865
05 Jan 2013 08:44 PM
Can you be more specific on how you want this to work?
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 08:48 PM
I want a gui to count down from 10000 to 1 and I want it to look the same for all players but the numbers are different...
Report Abuse
YellowBrick1 is not online. YellowBrick1
Joined: 06 May 2009
Total Posts: 865
05 Jan 2013 08:50 PM
Maybe there is a lag issue between players?
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 08:50 PM
No, the numbers are off completely.
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 09:08 PM
Bump.
Report Abuse
YellowBrick1 is not online. YellowBrick1
Joined: 06 May 2009
Total Posts: 865
05 Jan 2013 09:09 PM
Sorry, but I have no idea.
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 09:11 PM
D: It's okay, hopefully some one will come upon this and know.
Report Abuse
MassiveGman is not online. MassiveGman
Joined: 23 Jan 2011
Total Posts: 2019
05 Jan 2013 09:11 PM
http://wiki.roblox.com/index.php/Coroutine.wrap#coroutine.wrap_.28f.29



|Paradoxical|
I shun thy heathen, dost thou not know that flames will devour thy mind?
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 09:31 PM
-_-
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
05 Jan 2013 09:37 PM
There is no need for coroutines.

local textName = "" -- Put the name of the textlabel in here. Make sure there is no other objects with the same name.

for i = 10000,1,-1 do
for k,v in next, game.Players:GetChildren() do
v.PlayerGui:FindFirstChild(textName,true).Text = i
end
end
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 09:45 PM
Didn't work... sorry.
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 10:00 PM
Ok if I use a script in Workspace It kind of works... I gets a number and stays there how do I make it continue to count down?

for i = 60, 1, -1 do
game.StarterGui.ScreenGui.Time.Text = i
wait(1)
end
Report Abuse
IamAwesome777 is not online. IamAwesome777
Joined: 18 Jul 2011
Total Posts: 2640
05 Jan 2013 10:03 PM
for i = 10000,1,-1 do
for k,v in next, game.Players:GetChildren() do
v.PlayerGui.ScreenGui.Time.Text = i
end
end

Put in workspace.
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 10:06 PM
Still not working D:
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 10:12 PM
Bump.
Report Abuse
mattandjeffhardy619 is not online. mattandjeffhardy619
Joined: 21 Jul 2008
Total Posts: 510
05 Jan 2013 10:19 PM
Bump.
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