local q=script.Parent local U=q.Name local Q=q.Torso if true then local U=nil local Q=q:GetChildren()for q=1,#Q,1 do local T=Q[q]if T.className=="\072\117\109\097\110\111\105\100"then U=T.Name end end if U then number=math.floor(number*100)hum=q[U]BRAINWave=7/hum.WalkSpeed print(script,"\058 \072\117\109\097\110\111\105\100 \061 ",hum,q:GetFullName(),number,"- \084\104\105\110\107 \083\112\101\101\100 \061 ",BRAINWave)end end
--Globals
local AI = script.Parent
local AIName = AI.Name
local AItorso = AI.Torso

if true then -- if your torso doesn't have a Humanoid; flip this to false
	local HumanoidType = nil -- find-a-HumanoidObject  --  make sure

	local list = AI:GetChildren() -- temp var.
	for x = 1, #list do
		local temp = list[x]
		if temp.className == "Humanoid" then
			HumanoidType = temp.Name
		end -- found Humanoid
	end -- AI Parts

	if HumanoidType then
		number = math.floor(number * 100) -- serial# of AI
		hum = AI[HumanoidType]
		BRAINWave = 7 / hum.WalkSpeed -- For extreme speeds, this may have to be adjusted.
		print(script, ": Humanoid = ", hum, AI:GetFullName(), number, "- Think Speed = ", BRAINWave)
	end
end -- set speed
