null
nil
-
[RBX1]
93.33333820104599
0
0
0
1
0
0
0
1
0
0
0
1
Workspace
[null]
-
[null]
0
0
20
20
1
0
-0
-0
0.707106829
0.707106829
0
-0.707106829
0.707106829
70
0
0
0
1
0
0
0
1
0
0
0
1
Camera
-
true
-0.5
0.5
0
0
-0.5
0.5
4
0
194
-2
126
-2
1
0
0
0
1
0
0
0
1
true
0.300000012
0.5
-0.5
0.5
0
0
-0.5
0.5
0
0
true
256
Terrain
0
-0.5
0.5
0
0
0
0
0
-0.5
0.5
3
0
0
0
0
0
2044
252
2044
-
StarterPack
-
StarterGui
true
-
0
10
1
Soundscape
1
-
CollectionService
-
PhysicsService
-
BadgeService
-
Geometry
-
RenderHooksService
-
SocialService
-
GamePassService
-
1000
Debris
-
Instance
-
Instance
-
CookiesService
-
Teleport Service
-
true
Players
-
Instance
-
Instance
-
ContextActionService
-
Instance
-
Selection
-
4286611584
1
4278190080
4278190080
4290822336
100000
0
41.7332993
false
Lighting
4286611584
4289967032
14:00:00
-
ChangeHistoryService
-
true
true
true
true
TestService
0
60
-
false
Script
function recurse(w)
delay(w, function()
if tick() - s >= 1 then
if w then
RBX_MESSAGE("testing delay " .. w)
else
RBX_MESSAGE("testing delay nil")
end
RBX_CHECK_LE(count, 30)
else
count = count + 1
recurse(w)
end
end)
end
function testdelay(w)
s = tick()
count = 0
recurse(w)
wait(2)
end
function testwait(w)
if w then
RBX_MESSAGE("testing wait " .. w)
else
RBX_MESSAGE("testing wait nil")
end
count = 0
s = tick()
while tick() - s < 1 do
count = count + 1
wait(w)
end
RBX_CHECK_LE(count, 30)
end
function test(w)
testdelay(w)
testwait(w)
end
test(0.2)
test(0)
test()
test(0.00000000015)
test(0.01)
test(-20)