Hello, I have a huge problem that blocks me completely. I am looking to put in half damage the life of the player. The thing I do not understand is that with the variable, the code does not work, and without it works ...
Code doesn't work:
Code work:
Can you help me? x:
Code doesn't work:
code_language.skript:
command /dmg:
trigger:
set {ActualVote} to player
set {ActualVote}'s max health to 5
set {_health} to {ActualVote}'s health / 2
damage {ActualVote} by {_health} hearts #That doesn't work
Code work:
code_language.skript:
command /dmg:
trigger:
set {ActualVote} to player
set {ActualVote}'s max health to 5
set {_health} to {ActualVote}'s health / 2
damage player by {_health} hearts #That work ...
Can you help me? x: