So i created a function that when called would create bossbar with text and red color etc.. And would stay on the players screen for specified period of time and then delete it self..
But when i call the funtion too fast (autoclicker) it will stay on the players screen even tho it should delete it self.
https://pastebin.com/y7hFXrz2
Any suggestions to rewrite it are also welcome.
Showcase Vid of the problem
https://upload.depstr.eu/
Pastebin
Pastebin.com is the number one paste tool since 2002. Pastebin is a website where you can store text online for a set period of time.