Velocity on HumanoidRootPart not moving Players but Npcs?

I’m using velocity with a tool to push a player when they are touched, however it only seems to work on NPCs and won’t work on actual players at all. Here’s a snippet of my script.

			local hrp = player:WaitForChild("HumanoidRootPart")
		local vector = hrp.Position-tip.Position
		if vector.magnitude < .001 then
			vector = Vector3.new(0, 0, -1)
		else
			vector = vector.unit
		end
		hrp.Anchored = false
		for i=1,2 do
			wait()
			hrp.Velocity = vector * ((script.Velocity.Value)+(velocity*5))
		end