Hey everyone!
I've starting with scripting on a Trinitycore Server and now i'm facing a little bit of a Problem. I've created a custom boss and sometimes when you attack the boss, the whole server crashes and sometimes it doesn't - other than that he works completely fine. So it's just the Problem, that sometimes the Server crashes on pulling him. So i think it has something to do with the Initialize i believe?
The Boss is on a custom instance map.
This is my first Boss script so i'm sorry when it's a bit messy.
Open the Spoiler for more Informations and the Script of the Boss: