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

I made a script to move a character to a target?

Asked by 6 years ago

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
0
The second argument of MoveTo is a BasePart, not a number: http://wiki.roblox.com/index.php?title=API:Class/Humanoid/MoveTo mattscy 3725 — 6y
0
can you edit the script my script isn't good :d FrezeTagger 75 — 6y

Answer this question