How would i go about making an explosion effects with parts, where they spread out from the grenade
Im not too sure if the 1st method works but give it a try.
1st Method
- Create about 20 anchored parts or more and place them in 1 position
- Unanchor them all at the same time
2nd Method
- Use BodyVelocity or BodyPosition
- CODE:
local MovementSpeed = 30 --You can modify this
while true do
local part = Instance.new("Part",workspace)
part.Orientation = Vector3.new(math.random(-90,90),math.random(-90,90),math.random(-90,90)) --Were randomizing the orientation to make it spread to other directions rather than just 1
local BV = Instance.new("BodyVelocity",part)
BV.MaxForce = Vector3.new(100,100,100)
BV.Velocity = part.CFrame.LookVector * MovementSpeed --Were setting the velocity by the LookVector of the part which is why we randomized the orientation
wait() --change it to whatever you want although I recommend that
end
You can add few burning unanchored parts before it explodes. Then destroy them if they touch the ground.