How To add 2006 explosions

Hello There.

Now this is urgent. I need someone to help make 2006 explosion and they look like this:


Please could you help me it would be appreciated. But I need the person to explain it
CLEARLY and PROPERLY and it should be ACURATE otherwise I will be struggling. Or send me the video and tell me step by step how to create or just tell me a script or how to make it either way. Thank You.

2 Likes

I don’t like spoonfeeding and someone will probably just give you the script anyway

use TweenService it basically smoothly increases/decreases a value to a specified value

You would use
(this would be on a local script btw)

local player = game.Players.LocalPlayer
local mouse = player:GetMouse()

local ExplosionLength = 10 -- how long and big the explosion shoukd become

local TweenService = game:GetService('TweenService')

mouse.Button1Down:Connect(function()
  -- creates the explosion part
  local Explosion = Instance.new('Part')
  Explosion.Shape =  Enum.PartType.Sphere
  Explosion.BrickColor = BrickColor.new('Really red')
  Explosion.Position = mouse.Hit.p
  Explosion.Size = Vector3.new(1,1,1)
  Explosion.Anchored = true
  -- expands the size of the explosion
  TweenService:Create(Explosion, TweenInfo.new(ExplosionLength), {Size = Vector3.new(ExplosionLength, ExplosionLength, ExplosionLength)}):Play()
  Explosion.Parent = workspace
  wait(ExplosionLength)
  Explosion:Destroy()
end)  
3 Likes

I’m about to test it but do I put in workspace or were?

1 Like

put the local script in StarterPlayerScripts

1 Like

I did it but the explosion was the modern explosion? A mistake in the script?

1 Like

What, send the script that you used. And what do you mean by “modern explosion”

1 Like

The script @legs_v sent you should create an ‘2006’ explosion. It’s a simple sphere that grows when you click. You should me more clear with what you mean by modern and old explosions.

1 Like

Here is the image


Video to what I mean by (MODERN explosion). I used the script but when I shoot it dosen’t seem to work here is the video: robloxapp-20210509-1808509.wmv (747.6 KB)

1 Like

Here is the image


Video to what I mean by (MODERN explosion). I used the script but when I shoot it dosen’t seem to work here is the video: robloxapp-20210509-1808509.wmv (747.6 KB)

1 Like

Also what to you mean by click? It has to be an explosion item and when you shoot and hits any object it should show the old explosion (red sphere)

1 Like

Does the red sphere just appear and disappear or does it appear, get larger slowly and then disappear? (You can show me a video of it since I don’t really know how 2006 explosions look like)

1 Like

Video (i recorded at super nostalgia zone) robloxapp-20210509-1816449.wmv (5.2 MB)

1 Like

So do you have the rocket tool set and ready because I’ll only be providing the explosion code.

1 Like
workspace.DescendantAdded:Connect(function(ex)
    if ex:IsA("Explosion") then
        ex.Visible = false
        local exPart = Instance.new("Part",workspace)
        exPart.Size = Vector3.new(4,4,4)
        exPart.Shape = Enum.PartType.Ball
        exPart.BrickColor = BrickColor.new(--[[relatively red brickcolor here]])
        exPart.Position = ex.Position
        exPart.CanCollide = false;exPart.Anchored = false
        game:GetService("Debris"):AddItem(exPart,--[[duration]])
    end
end)

Wrote this from the top of my head. Should turn every explosion into a legacy explosion.

2 Likes

You could do

 Game:GetService("Debris"):AddItem(Explosion,ExplosionLength)
1 Like

Local script or script and were does it go in workspace starter player or were?

1 Like

It should be a LocalScript (to minimize stress on the server) and should be placed in StarterPlayerScripts. Try testing it and tell me how it works.

1 Like

Keeps showing modern. Video: robloxapp-20210509-1918102.wmv (1.1 MB)

Also I put it in the right place but it shows there erros in scripts. Look: ![image|690x452]

1 Like

My bad, it was an issue with the quotation marks. Try this code:

workspace.DescendantAdded:Connect(function(ex)
    if ex:IsA("Explosion") then
        ex.Visible = false
        local exPart = Instance.new("Part",workspace)
        exPart.Size = Vector3.new(4,4,4)
        exPart.Shape = Enum.PartType.Ball
        exPart.BrickColor = BrickColor.new(--[[relatively red brickcolor here]])
        exPart.Position = ex.Position
        exPart.CanCollide = false;exPart.Anchored = false
        game:GetService("Debris"):AddItem(exPart,--[[duration]])
    end
end)

Side note, you’re supposed to replace the block comments with your own variables.

For example, you could replace ‘relatively red brickcolor here’ with ‘Really Red’. Duration should be a number.

1 Like

If you put the shape type to sphere, you’ll get an error that sphere is not a valid member of Enum.PartType. Try putting the part type to ball.

   local player = game.Players.LocalPlayer
   local mouse = player:GetMouse()

   local ExplosionLength = 10 -- how long and big the explosion shoukd become

   local TweenService = game:GetService('TweenService')

   mouse.Button1Down:Connect(function()
     	local Explosion = Instance.new('Part')
       Explosion.Shape =  Enum.PartType.Ball
   	Explosion.BrickColor = BrickColor.new('Really red')
     	Explosion.Position = mouse.Hit.p
   	Explosion.Size = Vector3.new(1,1,1)
Explosion.Anchored = true
Explosion.TopSurface = Enum.SurfaceType.Smooth
Explosion.BottomSurface = Enum.SurfaceType.Smooth
Explosion.CanCollide = false
-- expands the size of the explosion
TweenService:Create(Explosion, TweenInfo.new(ExplosionLength), {Size =        Vector3.new(ExplosionLength, ExplosionLength, ExplosionLength)}):Play()
   	Explosion.Parent = workspace
   	wait(ExplosionLength)
   	TweenService:Create(Explosion, TweenInfo.new(ExplosionLength), {Transparency = 1}):Play()
   	wait(ExplosionLength)
   	Explosion:Destroy()
   end)
2 Likes