What's an event for when someone presses a "key", on the keyboard?
mouse = game.Players.LocalPlayer:GetMouse() --Put in localscript in starterpack mouse.KeyDown:connect(function(key) if key == "z" then print("z was pressed") end end)
For more on this go here: Here
Here you can learn it.