How Can I see If A Player Opens DevConsole?

So I know this is kinda useless but I want to check to see if a player opens their dev console.

this is what I have but it doesn’t work:

local input = game:GetService("UserInputService")
if input:IsKeyDown(Enum.KeyCode.F9) then
print("Player Opened Console")
end
1 Like
local UserInputServices = game:GetService("UserInputService")

UserInputServices.InputBegan:Connect(function(Key)
   if Key.KeyCode == Enum.KeyCode.F9 then
 print('Player Opened Console.')
end
end)

Make sure you using Local script, put it on StarterPlayer scripts.
Feel free to make another post, @Mystery_Devx.

2 Likes

Hello. This question has already been answered. The aforementioned topic may help you. Also, please ensure to search the DevForum for related questions before posting topics. Thank you.

1 Like

Alright I’m testing them both out, I’ll see witch one works and mark it as the solution, thanks.

2 Likes