{$CLEO}
0000:
:BHEEEEEE
wait 0
03CF: load_wav 17802 as 1
:A
wait 0
if and
03D0: wav 1 loaded
0AD2: 0@ = player $PLAYER_CHAR targeted_actor
051A: actor $PLAYER_ACTOR damaged_by_actor 0@
jf @A
0467: clear_actor $ACTOR_RYDER last_weapon_damage
054E: clear_actor 0@ damage
03D1: play_wav 1
goto @B
:B
wait 0
if
03D2: wav 1 ended
jf @B
040D: unload_wav 1
jump @BHEEEEEE
I don't know where is the error, anyone can help me? Im trying to do HitSound in 0.3z