-- Repeat every 5 seconds

while wait(5) do
	-- Create a new explosion object with the 'Example' template
	local NewExplosion = Explosion.new("Example")
	
	-- Set the explosion lifetime to 4 seconds so that the sound (3.75s long) can finish playing.
	NewExplosion.Lifetime = 4
	
	-- Set the explosion's position
	NewExplosion:SetPosition(Vector3.new(-25, 5, 0))
	
	-- EffectFunction will be called after this.
	NewExplosion:SetParent(workspace)
end
