Infinite yield possible on 'Game:WaitForChild("leaderstats")'

I’m not sure what your trying to do my script should of 100% worked. Put a script INSIDE the part you want touched then copy and paste what I put.

I want it so if you know a tycoon and if a part touches the end of the conveyer then it destroys it maybe give a leaderstats i have one but that might be the problem

The part does not have a humanoid im making a tycoon a tycoon is a basically spell up tycoon and play one idk how to define it

Ok i now know how to define tycoon a tycoon is a business sorry if i spelt that wrong but its a business and they make lots of money and they go higher and higher, its kind of a simulator

Im also just gonna try and just put them in diffrent scripts one for destroying and one for token giving