Unable to fix Gmod Gamemode Lua Error

Hi. I’ve been having a problem with my gamemode. I keep on getting this lua error: [ERROR] gamemodes/jetpack/gamemode/init.lua:21: attempt to index a string value with bad key
Here’s the code it’s referring to:

[LUA]
if ply:KeyDown (IN_JUMP) then

	ply:SetVelocity(ply:EyeAngles():Up() ,8 * 40)
	
	end[/LUA]

Thanks in advance.