nazco
Hey, what's up. Still looking for help?
So, what did you do with the script?
Did you use the suggestion; HurtPlayer(-1,1) ?
When you use a script, you must assign it to an entity (object) on the map.
Place a rock/ box or something small on the map in the location (very close) to
where you want the player to get hurt.
Assign that rock/ box to the script mentioned in the first response.
A> Just download it,
B> go to downloads, copy it and paste it into your scriptbank of Steam GG folder.
C> On the map, right click the rock/ box that you will use to trigger the script.
D> On that menu click properties...
E> under General set (Static Mode) = no
F> under AI System (main) click the right side of 'default.lua' box / menu down,
and find the script you just downloaded in the files, click it.
G> under Statistics set (Is Immobile) = yes
H> click Apply changes -- test it.
Bonus: line >11< of the script might work better if you change it to;
if math.abs(g_PlayerPosY - g_Entity[e]['y']) < 40 then