Robbable Bank Script Timeout problem

So I was trying to make a robbable bank but I got an error that doesn’t make too much sense to me, I tried rescripting the script, but nothing comes up, So I handle this to you guys, I’ll be very grateful to you if you show me whats the error in here.

Hello TheGamerRoblox456!

Change the code on line 41 to while task.wait(.3) do instead of while (0.3) do. This should fix your script exhaustion error.

Please note, you should really look into keeping a ‘touched zone’ and store them there rather than listening every .3 seconds with a region 3, it would be less expensive on performance.

1 Like