How do I use the "play effect" effect?

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

    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!

Status
Not open for further replies.

Idiosyncratic

Member
Feb 21, 2017
62
0
0
USA
I'm trying to make a spell that has a purple firework explosion as it's animation, but I can't figure out how to use the "play effect" effect. Can someone help me? Here is my current code:

code_language.skript:
on right click on zombie or skeleton or wolf or wither or slime or creeper or zombie pigman or wither skeleton:
 player is holding a book named "&2Ultima"
 player has 300 redstone
 remove 300 redstone from the player
 play effect "purple firework explosion" at target entity
 wait 2 seconds
 damage entity by 4999.5 hearts
 
Status
Not open for further replies.