So I have a test dummy, and I want to to move around randomly.
I put this script into the Humanoid, but It comes with an error:
X cannot be assigned to
This is the script
while true do
local Humanoid = script.Parent
Humanoid.WalkToPoint.X = Vector3.new(math.random(100,100))
Humanoid.WalkToPoint.Z = Vector3.new(math.random(100,100))
wait (math.random(1,5))
end

1 comment
I don't think you can change the x,y, or the z by itself, but I'll make sure.