|
I'm afraid it'll crash.
for i = math.huge, 0, -1 do
print(i)
wait()
end
|
|
|
math.huge is not a number.
But assuming it were, that would do nothing, since you have a wait in there. |
|
|
math.huge is a number.. It's infinite. if you used this loop, it would forever count up.
for i = 1, math.huge do
print(i)
wait()
end
And the wait is to prevent it from trying to do an infinite number of loops all at once. |
|
|
for i = 1, #game.Workspace:GetChildren()^math.random(1, math.huge) do
print(i)
end |
|
|
while 12*12==144 do
local cool = 0
print(cool)
cool = cool+1
end |
|
|
forgot to put a wait, but you get the point. |
|
LacrymaJoin Date: 2010-02-15 Post Count: 22696 |
infinity is not a number |
|
|
Infinity is indeed not a number, but rather an idea. |
|
|
Try your script, I guarantee that math.huge is not a number. |
|
128GBJoin Date: 2014-04-17 Post Count: 8056 |
It'll print inf over and over |
|
|
icy, you crashed my studio
support now |
|
|
Did you not read my post after it. You have to add a wait() after the while statement. |
|
|
A_FerretJoin Date: 2016-02-15 Post Count: 8432 |
No this will crash:
while true do
Instance.new('Part', workspace)
end
Defeating a sandwich only makes it tastier. |
|