cam_vel=20 cam_vel2=-20 while true do wait(.1)head=script.Parent:findFirstChild("\072\101\097\100")local h=script.V3V h.Value=head.Velocity local n,i,o=h.Value.x,h.Value.y,h.Value.z n,i,o=n,i,o if h.Value.x>=cam_vel or h.Value.y>=cam_vel or h.Value.z>=cam_vel or h.Value.x<=cam_vel2 or h.Value.y<=cam_vel2 or h.Value.z<=cam_vel2 then script.Tween.Zoom.Value=true print("\116\114\117\101")else script.Tween.Zoom.Value=false print("\102\097\108\115\101")end end
--This script enables the zoom value that the tween script checks every .1 seconds if a c.ertain velocity is reached
--Simbuilder and TheAmazeman--|--June 23 2012--|

cam_vel = 20
cam_vel2 = -20

while true do
	wait(0.1)
	head = script.Parent:findFirstChild("Head")
	local vel = script.V3V
	vel.Value = head.Velocity
	local x, y, z = vel.Value.x, vel.Value.y, vel.Value.z
	x, y, z = x, y, z
	if
		vel.Value.x >= cam_vel
		or vel.Value.y >= cam_vel
		or vel.Value.z >= cam_vel
		or vel.Value.x <= cam_vel2
		or vel.Value.y <= cam_vel2
		or vel.Value.z <= cam_vel2
	then
		script.Tween.Zoom.Value = true
		print("true")
	else
		script.Tween.Zoom.Value = false
		print("false")
	end
end
