What is wrong with my jumppack

Ok so i got the Jumppack and it wont work any fixes?

Uhh?
Try jumping?
Be specific.

It doesnt Function properly it doesnt lower The gravity of the player using it

[editline]2nd February 2014[/editline]

i think there is something wrong with the lua code and i dont know whats wrong

How can we help if you don’t post the code?

ITEM.Name = ‘Jump Pack’
ITEM.Price = 1000
ITEM.Model = ‘models/xqm/jetengine.mdl’
ITEM.Bone = ‘ValveBiped.Bip01_Spine2’

function ITEM:OnEquip(ply, modifications)
ply:PS_AddClientsideModel(self.ID)
end

function ITEM:OnHolster(ply)
ply:PS_RemoveClientsideModel(self.ID)
end

function ITEM:ModifyClientsideModel(ply, model, pos, ang)
model:SetModelScale(0.5, 0)
pos = pos + (ang:Right() * 7) + (ang:Forward() * 6)

return model, pos, ang
end

function ITEM:Think(ply, modifications)
if ply:KeyDown(IN_JUMP) then
ply:SetVelocity(ply:GetUp() * 6)
end
end

[editline]2nd February 2014[/editline]

i just need to know how to make the jumppack lower gravity

This is what you’re looking for: http://wiki.garrysmod.com/page/Entity/SetGravity

Currently, that code modifies the velocity.

Hold Space when jumping
You’ll notice more Airtime

This is done on purpose

[LUA]
function ITEM:Think(ply, modifications)
if ply:KeyDown(IN_JUMP) then
ply:SetVelocity(ply:GetUp() * 6)
end
end
[/LUA]

change the six the change the factor of which the jump is multiplied