local function L()local L=-motorFR.Attachment1.WorldAxis:Dot(motorFR.Attachment1.Parent.RotVelocity)local C=-motorBR.Attachment1.WorldAxis:Dot(motorBR.Attachment1.Parent.RotVelocity)local t=motorFL.Attachment1.WorldAxis:Dot(motorFL.Attachment1.Parent.RotVelocity)local l=motorBL.Attachment1.WorldAxis:Dot(motorBL.Attachment1.Parent.RotVelocity)return.25*(((L+t)+C)+l)end

local function getAverageVelocity()
	local vFR = -motorFR.Attachment1.WorldAxis:Dot(motorFR.Attachment1.Parent.RotVelocity)
	local vRR = -motorBR.Attachment1.WorldAxis:Dot(motorBR.Attachment1.Parent.RotVelocity)
	local vFL = motorFL.Attachment1.WorldAxis:Dot(motorFL.Attachment1.Parent.RotVelocity)
	local vRL = motorBL.Attachment1.WorldAxis:Dot(motorBL.Attachment1.Parent.RotVelocity)
	return 0.25 * ( vFR + vFL + vRR + vRL )
end

