A Script request

I see you are using chatgpt and thats incorrect. This is not how you change a property.

I’ll spoon feed you but pls try learning with roblox docs next time or some youtube tutorials like u gotta learn how to actually script in roblox luau instead of making devforum posts for everything you make.

local TextChatService=game:GetService("TextChatService")
local TextBox=Instance.new("TextBox") --make sure this is parented to ScreenGui and ScreenGui parented to PlayerGui

TextChatService:WaitForChild("ChatInputBarConfiguration").TextBox=TextBox
TextBox:GetPropertyChangedSignal("Text"):Connect(function()
        if TextBox.Text:lower():find("/console") then
                TextBox.Text="Haha using devconsole is not allowed!"
        end
end)

again sorry and im still learning lua chatgpt is the worse for me because it never does what i request it to

AI just sucks for coding thats why i recommend youtube tutorials over AI and maybe try looking for some already existing devforum posts that might also help you learn coding

yeah ik chatgpt doesnt let me give a certaiin thing like i asked it to give me a script that disables devconsole and they said its against their tos and i said no it isnt? because theirs a thing called setcorenabled:Devconsoledisabled i think

1 Like

Yes, you can hide dev console with SetCore. (one-time this code example doesn’t disable it permanently)

StarterGui:SetCore("DevConsoleVisible",false)

i remember a game called boombox hangout and it disabled devconsole completely

You can also do that by spamming SetCore with loop

while true do
       StarterGui:SetCore("DevConsoleVisible",false)
       task.wait()
end

thank you also i figured out the leavebutton mechanic

As @TestyLike3 mentioned, it is against the rules to ask for entire scripts on these forums.

Yeah, that’s against the rules and I do not recommend you recreate it, doing so will get you banned. They are using some kind of system to detect before you leave probably using Rects.

Also i tried this and it wont let me parent it to textbox