After finishing my first entrance animation, which I was surprised I got working in the first place, I've started on my second but quickly hit a brick wall. Based on the original scripts that work but with new parameters and variable names, I added some new functions that returned the Unexpected identifier and Unexpected var token errors. After going through as much debugging as I could, I decided to take a step back. I copied the original entrance sequence, changed the chat event trigger from "!entr1" to "!entr2" and disabled the original. "Unexpected identifier". There shouldn't be any problem here. Nothing else has changed. Nothing else depends on the chat event but this.