I am a developer for a game, and they want me to fix a tank for them, I believe I know what the problem is, but I don't know how to fix it. The problem is that when you fire the cannon on the tank, it has an explosion but that explosion doesn't do damage. I just need help adding something to the script so that it does damage. Here is the script:
local Explo = Instance.new ("Sound") Explo.SoundId = "rbxassetid://689314212" Explo.PlayOnRemove = false Explo.Parent = Engine Explo:play() wait() local Explosion = Instance.new("Explosion") Explosion.BlastRadius = 5 Explosion.BlastPressure = 1 Explosion.Parent = game.Workspace Explosion.Position = Engine.Position Explosion.DestroyJointRadiusPercent = 0