Hello, this issue is ongoing for a few months now and I was trying to fix it a lot of times, but nothing worked, anyone knows any way how to fix it and get rid of the error?
COMMUNITY QUESTION
My ServerInvoke function sometimes sends out TooManyRequests error or just works, how do I fix it?
1 answer
The script is this;
local worlddeb=true
local bcount=game.ReplicatedStorage.getBadgeCount:InvokeServer()
local badgeCount=bcount.badge
local UniqueTowerCount=bcount.tower
With the 2nd line being the one sending the TooManyRequests error.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Having more detail will help this question. Without it, all we can tell you is that you're invoking the server too much.
Yeah, that is the issue, it just invokes too much and I dont know how to make sure it doesnt invoke, the script is this;