Hello guys, while i was modifying my game anticheat, this error ocurred while sending logs to my server.
Here is the script to fix it
Hello guys, while i was modifying my game anticheat, this error ocurred while sending logs to my server.
Here is the script to fix it
This could be one of two things imo. Discord put blocks on their webhooks that stop you from posting to them from roblox servers. If I’m incorrect about this, someone may correct me, but I’m 99% sure this has been a thing for years. That could be the cause of the error, but the other cause I can think of is the anticheat flagging a player as cheating at a rate of over 500 times per minute.
The way you could test whether or not it’s either of these things:
I will also comment that it is bad practice to allow a remote event to be fired that posts to a webhook, since someone with a basic remote spy could see this remote and fire it hundreds of times and cause your discord account to be terminated for webhook spamming.
I will make the test that you said right now, But uh i gotta ask, how can improve the security of this so the people with remote spy cant see this or fire it lots of times.
Edit: I tested it with the print and now it sent the information to webhook.
Just make a data store or a table with all the player ID’s of people who are allowed to fire it. After you get the player who fired the event check if their user id is within the table then proceed on with your code