game.Players.PlayerAdded:Connect(function(plr)
local char = plr.Character or plr.CharacterAdded:Wait()
local hum = char.Humanoid
local mouse = plr:GetMouse()
mouse.KeyDown:connect(function(key)
if key:byte() == 32 then --Since you cannot type [[key == "Space"]] just use byte.
plr.Character.Humanoid.JumpPower = plr.Character.Humanoid.JumpPower +1
end
end)
end)
ServerScriptService.Script:6: attempt to index local 'mouse' (a nil value)
