D
Deleted member 6377
Using Skript on 1.8.9 with no add-ons. Would like to keep it this way.
^^^
This is a bit simpler version of the code since I’m trying to recall it all from memory (I’m using my phone atm)
No errors.
Problem:
The damage part works, but it doesn’t push the target.
code_language.skript:
on leftclick:
if player’s target is a player;
if {reach.%player%} is true:
set {_loc} to location of player’s target
set {_dis} to distance between player and {_loc}
if {_dis} > 3:
damage player’s target by 1
push player’s target upwards with force 0.5
This is a bit simpler version of the code since I’m trying to recall it all from memory (I’m using my phone atm)
No errors.
Problem:
The damage part works, but it doesn’t push the target.