On rightclick of item crashes the server

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

Gonzalo506

Member
Jun 20, 2019
2
0
0
Hello! I really need help..
I've tried everything to fix this but it went even worse
No matter the stack even if its 1 or 10 it crashes the server..

on rightclick:
if player's tool is enchanted:
if name of player's tool is "&5Beta Juice":
remove item named "&5Beta Juice" from player's tool
add 50 to {manamax::%player%}
add 25 to {mana::%player%}
stop

(The item is a Player Head)
I would really need some help to fix this! :emoji_slight_frown:
 
Hello! I really need help..
I've tried everything to fix this but it went even worse
No matter the stack even if its 1 or 10 it crashes the server..

on rightclick:
if player's tool is enchanted:
if name of player's tool is "&5Beta Juice":
remove item named "&5Beta Juice" from player's tool
add 50 to {manamax::%player%}
add 25 to {mana::%player%}
stop

(The item is a Player Head)
I would really need some help to fix this! :emoji_slight_frown:
This may not work, but remove the 'stop' from your code. And what is the message that appears on the console when it crashes?
 
Status
Not open for further replies.