|
for i=45,1, -1 do
wait(1)
script.Parent.Value = i
end
?I have no idea why this wont work! It just stays at 45! |
|
Quasar99Join Date: 2009-11-21 Post Count: 9328 |
for i=45, -1 do
wait(1)
script.Parent.Value = i
end |
|
Quasar99Join Date: 2009-11-21 Post Count: 9328 |
wait no dont use htat |
|
|
Did you try printing out i? It works when I do that. |
|
|
Nope, but i dont really want to print i, i want the value to be i.
Siggy enough for you m8? |
|
|
Bump
Siggy enough for you m8? |
|
Bebee2Join Date: 2009-05-17 Post Count: 3985 |
Is FilteringEnabled on?
Is this a LocalScript? If so, where is this script positioned? |
|
|
This is a server script in starterGui inside a gui, inside a value inside that gui.
Siggy enough for you m8? |
|
Bebee2Join Date: 2009-05-17 Post Count: 3985 |
Server scripts shouodnt run inside anything inside the player.
Try a LocalScript and add
repeat wait() until game.Players.LocalPlayer
On the first line. |
|
|
Nopr, didnt work .-.
Siggy enough for you m8? |
|
|
Bump
Siggy enough for you m8? |
|
|
Bump
Siggy enough for you m8? |
|
GoulstemJoin Date: 2012-07-04 Post Count: 7177 |
Server scripts shouldn't be client sided. Lol.. that's what LocalScripts are for.
Change it to a localscript and add like ' wait(2) ' to the top.
If that doesn't work post whole script, you're probably goofin' up on something else. |
|
|
Im already doing that goulstem, you got any ideas what im goofing up on?
Siggy enough for you m8? |
|
|
Bump [Help]
Siggy enough for you m8? |
|
|
Bump
Siggy enough for you m8? |
|
OrtronJoin Date: 2013-07-19 Post Count: 1297 |
Try
for i=1,45,-1 |
|
|
Wont do anything, i need the do, and lua doesn't care about whitespace.
Siggy enough for you m8? |
|
OrtronJoin Date: 2013-07-19 Post Count: 1297 |
I meant for i=1,45,-1 do |
|
|
Lua ignores whitespace, that would not do a thing
Siggy enough for you m8? |
|
|
Sorry didnt look close enough, that still would not work though, that would make it start at , 1 go to 45, using -1. that isn't even possible, my code pretty much means start at 45, go to 1, using -1, which does not happen
Siggy enough for you m8? |
|
|
|
The IntValue
Siggy enough for you m8? |
|
|
What is the parent of the parent of the script (script.Parent.Parent) |
|
|
A TextLabel
Siggy enough for you m8? |
|