Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How to make an expanding part? [closed]

Asked by 7 years ago
Edited 7 years ago

So i am creating a nuke and i already made the nuke itself but I want to make an explosive wave that expands outwards. I have no idea how to create a part that expands. Until I figure this out im just gonna go with this:

nuke = script.Parent
cooldown = 10
canExplode = true

function boom(custom)
    timer = game.ServerStorage.beep
    timer:play()
    wait(1)
    timer:play()
    wait(1)
    timer:play()
    wait(1)
    pew = Instance.new("Explosion")
    pew.Parent = nuke
    pew.Position = nuke.Position
    pew.BlastRadius = 100
    pew.ExplosionType = "NoCraters"
end

nuke.Parent.Button.ClickDetector.MouseClick:connect(boom)

Closed as Not Constructive by hiimgoodpack, PyccknnXakep, and TheDeadlyPanther

This question has been closed because it is not constructive to others or the asker. Most commonly, questions that are requests with no attempt from the asker to solve their problem will fall into this category.

Why was this question closed?