addHook("PlayerThink", function(player)
	if (player.rings > 99 and player.mo and player.mo.skin == "frontiersclassic" and player.boosting == true and emeralds > 31) then
		player.powers[pw_invulnerability] = 15
	end
end)