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

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

Asked by
Prioxis 673 Moderation Voter
10 years ago

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)
0
In the humanoid:moveto what does (**part**.Position, **part**) what does the bolded words stand for I Prioxis 673 — 10y
0
In the script? Like which one is the variable for part Prioxis 673 — 10y

1 answer

Log in to vote
0
Answered by 10 years ago

The local part is the one that is the variable.

Ad

Answer this question