|
| 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 |
|
|
| |
|
|
| 05 Jan 2013 08:42 PM |
| No... but it's in coroutine and there different numbers for players... |
|
|
| Report Abuse |
|
|
|
| 05 Jan 2013 08:44 PM |
| Can you be more specific on how you want this to work? |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 05 Jan 2013 08:50 PM |
| Maybe there is a lag issue between players? |
|
|
| Report Abuse |
|
|
|
| 05 Jan 2013 08:50 PM |
| No, the numbers are off completely. |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Jan 2013 09:09 PM |
| Sorry, but I have no idea. |
|
|
| Report Abuse |
|
|
|
| 05 Jan 2013 09:11 PM |
| D: It's okay, hopefully some one will come upon this and know. |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|
| |
|
| |
|
| |
|