i have a gun that has bolt (the thing you pull back on a gun before shooting it) and because i am unable to animate tools with the animation editor, i decided lerping would be my best option. i wanted it to pull the bolt back 2 studs. but for some reason it's not working this script takes place in the tool. since filtering is enabled, i have 2 scripts.

localscript:

mouse.KeyDown:Connect(function(KeyDown)
	if KeyDown == "r" then 
		gun.Reload:FireServer()
	end
end)

(Reload is the remote event found inside the tool)
YES i know KeyDown is deprecated. i am just really tired and was the easiest option for me.

serverscript:

gun.Reload.OnServerEvent:Connect(function(plr)
	for i = 0,1,.001 do
		gun["Receiver&stock"].Bolt.C0:lerp(gun["Receiver&stock"].Bolt.C0 * CFrame.new(-2,0,0), i)
	end
end)