Here's the scripts to the pellets.
wait(3) --Code 1 g = Instance.new("Explosion") g.Parent = game.Workspace g.Position = script.Parent.Position g.BlastRadius = 5 g.BlastPressure = 100000 script.Parent:remove()
--Code 2 pellet = script.Parent function onTouched(hit) humanoid = hit.Parent:findFirstChild("Humanoid") if humanoid~=nil then g = Instance.new("Explosion") g.Parent = game.Workspace g.Position = script.Parent.Position g.BlastRadius = 5 g.BlastPressure = 1000 pellet:remove() else script.Parent.PelletScript2.Disabled = false script.Parent.PelletScript:remove() end end connection = pellet.Touched:connect(onTouched)
Include this amongst the "g." code that sets up the explosion:
g.ExplosionType = Enum.ExplosionType.NoCraters