(SOLVED) Enemy drop chance

How do i make it so everytime i kill an enemy, there is like a fixed 10% chance for a specific Item to spawn? I have literally NO idea how to do this.

Hello,

When the enemy is killed, set a number variable to: RandomInRange(1,10). Then check if the number = 1 → spawn the item.

Thank you, i didnt know the command. It works now :+1: