So I've tried and made a repeating explosion, but it doesnt work, I don't really understand whats not working with it, may I get some help?
while true do local explosion = Instance.new('Explosion', Workspace) explosion.Position = Vector3.new(0.525, 48.188, 175.8) explosion.BlastPressure = 0 explosion.Radius = 6 explosion.ExplosionType = Enum.ExplosionType.NoCraters wait(0.2) end
The problem is just a silly little syntax error.
On line 8 in the original script, you set the Radius
of the explosion to 6, but that's wrong.
The Explosion
object has no property called Radius
, but rather a property called BlastRadius
.
So we can fix your script like so:
while true do local explosion = Instance.new('Explosion', Workspace) explosion.Position = Vector3.new(0.525, 48.188, 175.8) explosion.BlastPressure = 0 explosion.BlastRadius = 6 explosion.ExplosionType = Enum.ExplosionType.NoCraters wait(0.2) end
Hope this helped!