local Folder = game.ReplicatedStorage:WaitForChild("MagmaRocks")
for _,model in pairs(Folder:GetChildren()) do
if model:IsA("Model") then
local ModelClone = model:Clone()
local attachment = Instance.new("Attachment")
local attachment2 = Instance.new("Attachment")
local LinearVelocity = Instance.new("LinearVelocity")
LinearVelocity.MaxForce = 100
LinearVelocity.VectorVelocity = Vector3.new(math.random(-1000,1000),math.random(1500,3000),math.random(-1000,1000))
LinearVelocity.Parent = attachment
attachment.Parent = ModelClone.PrimaryPart
ModelClone.Parent = workspace
ModelClone:PivotTo(CFrame.new(-1049.2, 240.934, -3572.3))
LinearVelocity.Attachment0 = attachment
LinearVelocity.Attachment1 = attachment2
end
end