null
nil
-
[RBX1]
0
0
0
0
1
0
0
0
1
0
0
0
1
Workspace
[null]
-
[null]
0
-7.61764526
4.5688386
23.4447365
0.951056659
0.0563137829
-0.303842068
3.72529074e-009
0.98325485
0.182235479
0.309016585
-0.17331627
0.935131073
70
-1.54080391
0.924129009
4.74211502
1
0
0
0
1
0
0
0
1
Camera
-
true
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.5
0.300000012
-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
-
1000
Debris
-
Instance
-
Instance
-
CookiesService
-
Teleport Service
-
true
Players
-
Selection
-
4286611584
1
4278190080
4278190080
4290822336
100000
0
41.7332993
Lighting
4289967032
14:00:00
-
ChangeHistoryService
-
true
false
false
true
TestService
600
-
false
TestScript
local numSecondsToRunFor = 5 -- number of physics seconds to run for (for stress tests, could take much longer in realtime)
local numParts = 5000
local partSizeMultiplier = 10 -- for big parts, use 10 maybe
local parts = {}
for i = 1, numParts do
local newPart = Instance.new("Part")
newPart.Anchored = true
newPart.formFactor = "Custom"
newPart.Size = newPart.Size * partSizeMultiplier
newPart.CFrame = CFrame.Angles(math.random()*math.pi*2, math.random()*math.pi*2, math.random()*math.pi*2) + 2000 * Vector3.new(math.random()-.5, math.random()+.01, math.random()-.5)
newPart.Parent = game.Workspace
table.insert(parts, newPart)
end
start = tick()
r = game:service("RunService")
t = r.Stepped:wait()
local startT = t
while (t - startT) < numSecondsToRunFor do
-- set CFrames randomly all the time
for i = 1, #parts do
parts[i].CFrame = CFrame.Angles(math.random()*math.pi*2, math.random()*math.pi*2, math.random()*math.pi*2) + 2000 * Vector3.new(math.random()-.5, math.random()+.01, math.random()-.5)
end
t = r.Stepped:wait()
end
stop = tick() - start
-- just making it here without getting timed out is the win
print(script.Parent.Name .. " passed in " .. stop .. " seconds.")
script.Parent:Check(true, "passed in " .. stop .. " seconds.")