This is supposed to spawn parts randomly in, well, random positions, but in a limited space, but it only spawns in one place.
local max = 2100
local Met = script.Projectile:Clone()
local Boom = script.Impact:Clone()
script.Projectile:Destroy()
script.Impact:Destroy()
function DropMeteor()
print("Dropped")
local newMet = Met:Clone()
newMet.Parent = game.Workspace
newMet.CFrame= CFrame.new(Vector3.new(math.random(max), math.random(500,666),math.random(max)))
newMet.Anchored = false
wait(math.random(5,33))
DropMeteor()
end
DropMeteor()
for i = 1,math.random(25) do
DropMeteor()
end

1 comment
FTFY