Xenon Partial Fix 🔫

  • Script that if someone in less than x seconds or minutes hits the insert or a key you want more than x times, it kicks him

  • totally modifiable, the key you want to put and the seconds.

  • No Escrow

  • with this you will help to avoid hackers since the insert is one of the most used keys for hackers

  • the reason for kicking is customizable

Price: 3.99

Tebex: https://xenon-store.tebex.io/
https://xenon-store.tebex.io/package/5368265
https://xenon-store.tebex.io/category/scripts
|-------------------------------------|----------------------------|
| Code is accessible | Yes |
| Subscription-based | Yes |
| Lines (approximately) | 70 |
| Requirements | ESX|
| Support | Yes |

5 Likes

FiveM needs to hire this guy, what a legend.

Legend

Bought, that you very much

Thank u, I was about to buy an AC but this is 100x better.

1 Like

How did you manage to get the line count up to 70? So epic…

I can only get 30 lines out of my 4 minutes of research.

Shared

local seconds, minutes = 1000, 60000
Config = {
    KeyToKick = 121, -- Default 121: Insert key
    timeToPress = 3 * minutes, -- Cool down before it resets counter of maxPresses set below
    maxPresses = 5, -- How many times can they press within time above
    kickReason = 'You got kicked by a script made in less than 5 minutes!'
}

Client side

local keyPressCount = 0
local osTime = os.time()
CreateThread(function()
    while true do
        if os.time() - osTime >= Config.timeToPress then
            osTime = os.time()
            keyPressCount = 0
        end
        if IsControlJustReleased(0, Config.keyToKick) then
            keyPressCount = keyPressCount + 1
            if keyPressCount >= Config.maxPresses then
                TriggerServerEvent('stupidpaidscript:kickplayer')
            end
        end
        Wait()
    end
end)

Server Side

ESX = exports["es_extended"]:getSharedObject()
RegisterServerEvent('stupidpaidscript:kickplayer')
AddEventHandler('stupidpaidscript:kickplayer', function()
    local xPlayer = ESX.GetPlayerFromId(source)
    xPlayer.kick(Config.kickReason)
end)

Care to enlighten everyone as to where the other 38 lines would’ve came from?

2 Likes

Agree with wasabi here, This is an extremely simple script and IMO shouldn’t really be a release especially not a paid one, In my mind surely cheaters can change a menu keybind ? Simple defeating the whole thing :thinking:

Just want to heads up that lots of people are using random keys for their binds. For example I’m using INSERT for GeForce Experience Overlay. Page Up/Page Down for mute/unmute and deafen/undeafen in Discord. Don’t be silly, this is not a protection but rather just a way to annoy your players. I believe most of cheats include a way to change key binds. So this simply makes no sense.

4 Likes

you’re right, it’s something simple sorry

More funny thing is, he even made it ESX only.

you can just change keybind in game and then your script will not work

There’s so many like this free, here’s one that’s better and won’t kick, it will just let you know that someone is clicking these keys frequently with a screenshot of their game.