Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- for i = 1, 1000 do
- local P = Instance.new("Part")
- P.Anchored = true
- P.CanCollide = false
- P.Transparency = 1
- P.Position = game.Workspace.Baseplate.Position
- P.Parent = game.Workspace.Terrain
- local EXPLOSION = Instance.new("Sound")
- EXPLOSION.SoundId = "rbxassetid://4583102108"
- EXPLOSION.Volume = 5
- EXPLOSION.Parent = P
- local FIRE = Instance.new("Fire")
- FIRE.Color = Color3.new(
- math.random(255) / 255,
- math.random(255) / 255,
- math.random(255) / 255
- )
- FIRE.Size = 7
- FIRE.Heat = 20
- FIRE.Parent = P
- local TW = game.TweenService:Create(P, TweenInfo.new(5), {Position = P.Position + Vector3.new(Random.new():NextInteger(-100, 100), Random.new():NextInteger(100, 200), Random.new():NextInteger(-100, 100))})
- TW:Play()
- SPAWN(function()
- TW.Completed:Wait()
- EXPLOSION:Play()
- local BALL = Instance.new("Part")
- BALL.Anchored = true
- BALL.CanCollide = false
- BALL.Material = Enum.Material.Neon
- BALL.Color = Color3.new(1, 1, 1)
- BALL.Size = Vector3.new(0, 0, 0)
- BALL.Shape = "Ball"
- BALL.Position = P.Position
- BALL.Parent = game.Workspace.Terrain
- game.TweenService:Create(BALL, TweenInfo.new(0.5), {Size = Vector3.new(20, 20, 20), Transparency = 1}):Play()
- game.Debris:AddItem(BALL, 1.5)
- for i = 1, math.random(5, 20) do
- local SPARK = Instance.new("Part")
- SPARK.Size = Vector3.new(0.5, 0.5, 0.5)
- SPARK.Position = P.Position
- SPARK.CanCollide = false
- SPARK.Velocity = Vector3.new(math.random(-100, 100), math.random(-100, 100), math.random(-100, 100))
- SPARK.Parent = game.Workspace.Terrain
- P.Fire.Enabled = false
- game.Debris:AddItem(P, 2)
- local FIRE = Instance.new("Fire")
- FIRE.Color = Color3.new(
- math.random(255) / 255,
- math.random(255) / 255,
- math.random(255) / 255
- )
- FIRE.Size = 7
- FIRE.Parent = SPARK
- end
- end)
- task.wait(Random.new():NextNumber(0.2, 1))
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement