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