Jump to content
  • 0

Disabling Ender Pearl damage with Skript?


DerpyJack21
 Share

Question

5 answers to this question

Recommended Posts

  • 0
on damage:
 if damage cause is fall:
  if {enderpearl::%uuid of victim%} is set:
   cancel event
 
on script load:
 delete {enderpearl::*}
 
on projectile hit:
 if event-entity is a ender pearl:
  set {enderpearl::%uuid of shooter%} to true  
  wait 1 tick
  delete {enderpearl::%uuid of shooter%}

Credit: https://forums.skunity.com/threads/enderpearl-damage.5415/

tumblr_lqahoaPLkC1ql1l0v.gif

Feel free to add me on discord if you:

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with plugins

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need help with skripts

dc3456c-e0ec58e8-c807-43e3-b986-5224b91a need to vent about something

tumblr_lqahoaPLkC1ql1l0v.gif

>[ ‧₊˚꒰ʚ Starshine ɞ ‧✦ *#2683 ]<

Link to comment
Share on other sites

  • 0
27 minutes ago, Starshinex3 said:

on damage:
 if damage cause is fall:
  if {enderpearl::%uuid of victim%} is set:
   cancel event
 
on script load:
 delete {enderpearl::*}
 
on projectile hit:
 if event-entity is a ender pearl:
  set {enderpearl::%uuid of shooter%} to true  
  wait 1 tick
  delete {enderpearl::%uuid of shooter%}

Credit: https://forums.skunity.com/threads/enderpearl-damage.5415/

Didn't work

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share



×
×
  • Create New...