Just like the tittle says. I've got two those functions working, however they lag. They lag because If I want to add 60 ml to some1, its using loop from 1 to 60 and it's retarded. Isn't there some simpler way to do that? doPlayerAddLevel is not lagging at all because it's just a 1 command. AddingLevel is using getExperienceForLevel so it doesn't has to count it all over again, just once.
What do you guys think about it? Is there somewhere an already written script that can help me?
What do you guys think about it? Is there somewhere an already written script that can help me?