Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

what does the 2nd "part" represent in this script and what does the first one represent?

I'm making a script that will make npc's move from 1 position to the next one but I don't understand what the first part and 2nd part represent in this script? the npc moves to the first position but not the 2nd one

here's my script

local part = game.Workspace.Part
game.Players.LocalPlayer.Character.Humanoid:MoveTo(part.Position, part)

2 comments

0

In the humanoid:moveto what does (part.Position, part) what does the bolded words stand for I

0

In the script? Like which one is the variable for part

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.