local a=tick()while wait()do local w=tick()local j=w-a for a,w in ipairs(fallingStuffTable)do if checkIfShouldDrop(w,j)then local a=w.MODEL:Clone()positionFallingObject(a)setupFallingObjectCollisions(a,w.DAMAGE)objectCleanup(a,w.CLEANUP_DELAY_IN_SECONDS)end end a=w end
-- Update loop; on every loop, checks if an object should be made and, if so, creates that object
local last = tick()
while wait() do
	local now = tick()
	local delta = now - last

	for _, object in ipairs(fallingStuffTable) do
		if checkIfShouldDrop(object, delta) then
			local obj = object.MODEL:Clone()
			positionFallingObject(obj)
			setupFallingObjectCollisions(obj, object.DAMAGE)
			objectCleanup(obj, object.CLEANUP_DELAY_IN_SECONDS)
		end
	end

	last = now
end
