Help on Pet Hatching System and More

I’m trying to work on a basic simulator concept but I’m struggling to make a non-bugged egg hatching system and pet multiplier for each click. I tried a few scripts but it was still buggy and laggy and required you to leave and rejoin for it to work. Feedback?

I think we need more information about these buggy and laggy scripts that seem to be the problem can you list out the problems in bullet points as well as provide snippets of the code and where you think the problem may be. I’m not sure how we can give feedback without anything to review.