Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why isn't my script working? It's for a Soldier walking to one side and then the other.

Asked by 10 years ago

The soldier automatically falls into the ground, and his head stays there. Here is the script:

while wait() do
    if script.Parent.Humanoid ~= nil then
        script.Parent.Humanoid.WalkToPoint = Vector3.new(42.945, 5.87, -7.659)
wait(10)
script.Parent.Humanoid.WalkToPoint = Vector3.new(6.415, 5.87, -7.659)
wait(10)
    end
    end

Answer this question