I was making my potions script when suddenly I found out that infinite loops are not welcome by TPT. I was making a levitation potion and that requires me to give STKM a constant VY of -3. How can I make infinite loops work without having the game lag?
There is an update function for that.
How can I add an extra update function to an already existing element?
But now my code to stop the person from levitating after they have died becomes obsolete because the function will not run while the STKM is dead, therefore, the STKM will levitate with no code to stop it.