Actually, this script is very poorly coded. It looks pretty but has a lot of glitches that could've been easily fixed. That fucking hitbox code was a whole bunch of bullshit and I'll hate whoever made this script forever for even thinking of it, but in addition to that:
That visible hitbox code is absolutely fucked. It jiggles like Micheal J. Fox on drugs, and improperly shows at random times when unfocused.
As Drake just mentioned, almost all of the tasks are so horribly coded it makes my eyes bleed. What the fuck is this:
let a = [0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];
let i;
let p1_h = [0,32];
let p2_h = [-7.12067,31.197693,7.12067,31.197693];
let p3_h = [0,32,-13.884279,28.831003,13.884279,28.831003];
let p4_h = [-7.12067,31.197693,7.12067,31.197693,-19.951674,25.018608,19.951674,25.018608];
let p5_h = [0,32,-13.884279,28.831003,13.884279,28.831003,-25.018608,19.951674,25.018608,19.951674];
let p6_h = [-7.12067,31.197693,7.12067,31.197693,-19.951674,25.018608,19.951674,25.018608,-28.831003,13.884279,28.831003,13.884279];
let p7_h = [0,32,-13.884279,28.831003,13.884279,28.831003,-25.018608,19.951674,25.018608,19.951674,-31.197693,7.12067,31.197693,7.12067];
let p8_h = [-7.12067,31.197693,7.12067,31.197693,-19.951674,25.018608,19.951674,25.018608,-28.831003,13.884279,28.831003,13.884279,-32,0,32,0];
let p1_l = [0,32];
let p2_l = [7.12067,31.197693,-7.12067,31.197693];
let p3_l = [0,32,13.884279,28.831003,-13.884279,28.831003];
let p4_l = [7.12067,31.197693,-7.12067,31.197693,19.951674,25.018608,-19.951674,25.018608];
let p5_l = [0,32,13.884279,28.831003,-13.884279,28.831003,25.018608,19.951674,-25.018608,19.951674];
let p6_l = [7.12067,31.197693,-7.12067,31.197693,19.951674,25.018608,-19.951674,25.018608,28.831003,13.884279,-28.831003,13.884279];
let p7_l = [0,32,13.884279,28.831003,-13.884279,28.831003,25.018608,19.951674,-25.018608,19.951674,31.197693,7.12067,-31.197693,7.12067];
let p8_l = [7.12067,31.197693,-7.12067,31.197693,19.951674,25.018608,-19.951674,25.018608,28.831003,13.884279,-28.831003,13.884279,32,0,-32,0];
What is this? What the fuck is this?
The upside is it's very pretty looking. That's about it.
One last thing before I brb suicide, my computer got to 45fps on the last spellcard... That does not fly.
EDIT: And yeah, I immediately changed the player code, as well as played it with other player characters. It's better, but still has wierd glitches.