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
If you go on the wiki and scroll down to the properties, it says that x, y, and z are read only, meaning that you can't change them
-- Local script -- -- Put this script into your StarterGui wait() game.Players.LocalPlayer.Character.Humanoid:MoveTo(Vector3.new(-100,100))