Assume Mouse is already defined...
Mouse.KeyUp:connect(function(K)
if K=="1" then print("Pressed 1")
end
I'm actually not using this for printing an output but for a custom tool equip system. Sometimes my tool (or gun is this case) would glitch and once I unequip it(press 1) it would stay in my character and I'd have to press it again for it to go back to Backpack. Is there a more effective way for linking Number buttons?

1 comment
I never thought about that! Thank you! You're a life saver.