can someone help me make it so that this script only plays once on the frame that the "if" statement becomes "true"??
Code://Death Routine
if(hp < 1) {
element ("death").play()
}
Printable View
can someone help me make it so that this script only plays once on the frame that the "if" statement becomes "true"??
Code://Death Routine
if(hp < 1) {
element ("death").play()
}
are you forgetting ; after .play? remember the semicolon after commands in scripts!