local ChatBar = script.Parent
game:GetService("UserInputService").InputBegan:connect(function(input,proc)
if not proc and input.KeyCode == Enum.KeyCode.Slash then
if ChatBar.Transparency == .5 then
ChatBar.Transparency = .25
end
end
end)
How do I make it so that it will detect the next keys until enter is pressed? then insert them into the chat bar as text? Unless you guys know how to disable Roblox's chat commands like /w and stuff like that.
Note It's A local script, and Chatbar is a Textbook.

1 comment
Thanks. I didn't read this until I finished the script myself from help from Community Chat, but my script is pretty similar to this, except its more touch devices compatible. :)