Explosion Help

So I am making a entity that explodes and when it explodes it does 0 damage and I don’t know why


function ENT:Use( activator, caller)
	if ( activator:IsPlayer() ) then

		
		self:Ignite(igniteForSeconds,0)

        	local explosion = ents.Create( "env_explosion" ) 
        	explosion:SetKeyValue( "spawnflags", 144 ) 
        	explosion:SetKeyValue( "iMagnitude", 15 ) 
        	explosion:SetKeyValue( "iRadiusOverride", 256 ) 
        	explosion:SetPos(self:GetPos()) 
        	explosion:Spawn( ) 
        	explosion:Fire("Explode", 0, 0)      	
        	self.Entity:Remove() 

	end
end

It took me two seconds to find this. Come on, it’s like you guys don’t even try anymore.

http://forum.facepunch.com/showthread.php?t=960580

Yes notice how I have magnitude and it has a value but it does 0 damage

@Koolaidmini so much hate on so many threads. Whatsup dude take a chill pill.


explosion:SetPos(self:GetPos()

Thats all I needed to add lol