Hello there,
I'm trying to make a script execute a print on tab key pressend. To bad it doesn't execute. Here's the code:
local player = game.Players.LocalPlayer
local mouse = player:GetMouse()
mouse.KeyDown:connect(function(key)
if key:byte() == 9 then
print("Tab pressed yo")
end
end
end) |