local Noob = script.Parent
local Part = workspace.Part
local Part2 = workspace.Part1
local Fighting = script.Parent.FoundPlayer.Value
----------------------------
while Fighting == false do
print("Still...")
if Fighting == false then
Noob.Humanoid:MoveTo(Part.Position)
Noob.Humanoid.MoveToFinished:wait()
end
if Fighting == false then
Noob.Humanoid:MoveTo(Part2.Position)
Noob.Humanoid.MoveToFinished:wait()
end
end
I have another script to control Fighting, But i think it's unnecessary to put it.
Then that is by question, Why this code still running?

1 comment
Ooh~ Damn it Lua! Thanks for help!!!