Jump to content
  • 0

skript how to remove hunger effect


eargoijfdgrjhnbjhf

Question

3 answers to this question

Recommended Posts

  • 0

on off hand switch:
 cancel event
 if {phantom::%player%} is 1:
 if {invisible::%player%} is 0:
  apply invisibility of tier 1 without particles to player for 99999 seconds
  apply hunger of tier 1 without particles to player for 99999 seconds
  set {invisible::%player%} to 1
 else:
  remove invisibility from player
  remove hunger effect from player
  set {invisible::%player%} to 0

Link to comment
Share on other sites

  • 0

on off hand switch:
 cancel event
 if {phantom::%player%} is 1:
 if {invisible::%player%} is 0:
  apply invisibility of tier 1 without particles to player for 99999 seconds
  apply hunger of tier 1 without particles to player for 99999 seconds
  set {invisible::%player%} to 1
 else:
  remove invisibility from player
  remove hunger from player
  set {invisible::%player%} to 0

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
×
×
  • Create New...