Hello, I'm having a problem with a script I made: I made a script to move a character to a target. Here's the script I use (the script is in the character's model) :
local list = workspace:FindFirstChild("PlrHolder"):Children() --For my anti-exploit
lel = script.Parent
h = lel.Enemy
lorso = lel.Torso
range = 20
wait(3.5)
while wait() do
h:MoveTo(list.Character.Torso.Position,range)
wait(2.5)
end

2 comments
The second argument of MoveTo is a BasePart, not a number: http://wiki.roblox.com/index.php?title=API:Class/Humanoid/MoveTo
can you edit the script my script isn't good :d