I'm making a shooter mini-game and when I tried to make a hit-reg, for headshots, chest shots, etc. Skript tracks the location of it still as if it went through the player.
I have Skript running on a 1.8 server.
Can someone give me an alternative to this?
I have Skript running on a 1.8 server.
Can someone give me an alternative to this?
code_language.skript:
on damage:
if projectile is set:
set {y1} to y-coordinate of projectile
set {y2} to y-coord of victim
set {y3} to {y1} - {y2}
if {y3} is greater than or equal to 1.375:
broadcast "hs!"