eargoijfdgrjhnbjhf Posted July 20, 2022 Share Posted July 20, 2022 when i try to remove hunger effect from player with skript it gives this error can someone help Link to comment Share on other sites More sharing options...
0 geheimagentteun Posted July 20, 2022 Share Posted July 20, 2022 can you send your code? Link to comment Share on other sites More sharing options...
0 eargoijfdgrjhnbjhf Posted July 20, 2022 Author Share Posted July 20, 2022 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 More sharing options...
0 geheimagentteun Posted July 20, 2022 Share Posted July 20, 2022 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 More sharing options...
Question
eargoijfdgrjhnbjhf
when i try to remove hunger effect from player with skript it gives this error
can someone help
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now