function wander()local Q=math.random(script.Parent.Head.Position.X-50,script.Parent.Head.Position.X+50)local A=math.random(script.Parent.Head.Position.Z-50,script.Parent.Head.Position.Z+50)GoTo(Vector3.new(Q,script.Parent.Head.Position,A))wait(wandertime)end
--wander
function wander()
	local x = math.random(script.Parent.Head.Position.X - 50, script.Parent.Head.Position.X + 50)
	local z = math.random(script.Parent.Head.Position.Z - 50, script.Parent.Head.Position.Z + 50)
	GoTo(Vector3.new(x, script.Parent.Head.Position, z))
	wait(wandertime)
end
