I know how to use keys like
plr = game.Players.LocalPlayer:GetMouse() plr.KeyDown:connect(function(key) if key:lower()=="e" then --Can just change e --Make something happen end end)
So how would I make something happen when I pressed spacebar?
You could also have the script look for the "Jump" property in a humanoid, but otherwise 1waffle1's solution should work.