I’ve got a remote event, which gives items when fired.
I wanna protect my game from exploiters, so the main problem is exploiters can fire the remote event and get free items, or something. How do I check if remote events were falsely fired?
You can’t check if an exploiter fired the remote but what you can do is add some sanity checks on the server. (Example: if you make a sword then you might want to add a denounce unique for each player on the server)
What if i have a remote event that bans on server side?
A Exploiter can falsely ban someone.
When you do :FireServer() the server gets the first argument as the Player that fired it always so you could check that it was fired by yourself or an admin.
local function ban(PlayerWhoFired, PlayerToBan) if PlayerWhoFired.Name == "YourName or Admin" then -- Perform ban end end BanSomeone.OnServerEvent:Connect(ban)
Thanks, gonna use it!!!