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

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