Whats up with the custom enchants, does it no longer work? Here is my code
[C]# Lucky
on skript load:
register a new custom enchantment with id name "Lucky"
set {_luckenchant} to "Lucky" parsed as custom enchantment
set max level of {_luckenchant} to 5000
set rarity of {_luckenchant} to 5
set accepted items for {_luckenchant} to "Pickaxe"
set lore name of {_luckenchant} to "&a&l〙Lucky:"
on script load:
set {randomlucktokens} to a random integer between 10000 and 500000
on mine:
if player's tool has custom enchantment Lucky:
chance of {luckychance}%:
add {randomlucktokens} to {tokenbal}
[/C]
Copied from documentation btw
-
Welcome to skUnity!
Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.
If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!
Now, what are you waiting for? Join the community now!
Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Addon TuSKe - Custom Enchantments, GUI Manager and more! 1.8.2
A Skript addon which brings custom things to help you to improve your scripts.