I wonder how to make anti require script that runned through devconsole, I need to know because my devs are going krazy using it
You want to stop them from using require
?
use InputBegan from userinputservice and the player.Chatted event to detect the f9 keypress or typing /console in the chat
then kick using player:Kick()
why would you kick for either of those though
stop them from using the console
yes yes yes yes yes yes yes yes yes I want them to stop using require
no, i want something like they can use the console, but if they run require() they’ll be kicked.
Why? What’s so bad about them using require
to make their lives easier?
trolling as some people require module scripts from the market place psa it impossible to stop them from running a require in the dev console but it is possible to remove their server acess to devconsole so they cant run commands
using userinputserice:
start listening on the f9 keypress or a /console message in the chat
listen for ‘r’, ‘e’, ‘q’ keys and so on consecutively
kick if they type require
why not just tell the devs to not use require or else they will lose access to the console
also if you added it as a local script they can still remove it and use the console with exploiting or editing the game and removing the anti require script
You can just read the output of a command in the DevConsole. This allows you to read if “require” was called.
Find more professional developers.