Solved Help with making my item look enchanted

  • 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!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

JarBinks

Member
Jun 28, 2023
17
0
1
24
Hi, I need some help fixing this code:

code_language.skript:
on death of zombie:
    chance of 50%:
        give player 2 sunflower glowing hidden named "&e&lCoin"
        stop
    else:
        give player 3 sunflower glowing hidden named "&e&lCoin"
        stop

Everything works but the the glowing doesn't. I'm trying to make when you kill a zombie, it will drop a sunflower with a custom name which looks enchanted.
Can you please help me.
 
Code:
give glowing 3 sunflower named "&e&lCoin" to player

or

give 3 sunflower of infinity with hidden enchants flag named "&e&lCoin" to player

with event "on death" you must use Attacker or Victim

Code:
on death of zombie:
    chance of 50%:
        give glowing 2 sunflower named "&e&lCoin" to attacker
        stop
    else:
        give glowing 3 sunflower named "&e&lCoin" to attacker
        stop
 
  • Like
Reactions: JarBinks