Added PercentChance for calculating random outcomes and SpawnOnceDelayed for spawning prefabs after a certain time.