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)
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
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.
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.