I found this chunk of code in a script
-- -- CHatHotKey is '/'
-- GuiService:AddSpecialKey(Enum.SpecialKey.ChatHotkey)
-- GuiService.SpecialKeyPressed:connect(function(key)
-- if key == Enum.SpecialKey.ChatHotkey then
So I want to add that "/" character instead of "e". As stupid as that sounds just replacing "/" for E wont work.
[MOUSE AND PLAYER ALREADY DEFINED]
--(Not the whole script, just 2 lines of it)
mouse.KeyDown:connect(function (key) -- Run function
if key == "e" then
I tried this:
[MOUSE AND PLAYER ALREADY DEFINED]
--(Not the whole script, just 2 lines of it)
mouse.KeyDown:connect(function(Key)
if key:byte() == 47 then -- 47 is the number code for "/"
But it only works in studio, not online. And yes, it's in a local script.

4 comments
How would I use "userinputservice" ?
https://scriptinghelpers.org/questions/4252/binding-taken-keys
But what if you wanted to replace / with 1? what do I write instead of "Enum.KeyCode.Slash"?
Enum.KeyCode.One