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

which word PART is the variable in this script?

I'm trying to make a npc move from position to position but I can't figure out how to do so

Heres my script

while true do
	script.Parent.Humanoid:MoveTo(part.Position, part)
	wait(5)
	script.Parent.Humanoid:MoveTo(part.Position, part)
	end

which word *Part is the variable?

1 answer

Well that could be any variable, its better to change the part's name or do something like this

local Part1 = game.Workspace.Part

1 comment

0

i already got that i'm making a npc move from pos to pos 2 then to pos 3 but I can't because the area with (part.Positon, Part) doesn't really help me I got this script off of a roblox tutorial and they didn't explain anything about it

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