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

Is there a reason this npc is moving to my desired location???

I simply put this script:

local function walkAlien()
local alien = game.Workspace.NasaMap.CaptiveAlien
local MoveToHere = game.Workspace.NasaMape.AlienWalksToo		

alien.Humanoid:MoveTo(MoveToHere.Position)
end

walkAlien()

And then nothing happened, I've tried just tweening its position, I tried remote events, I tried deleting it and making a new one, nothing worked, it's not even anchored...

plz help.

2 comments

0

one moment, not all the script loaded in

0

ok done editing

1 answer

Instead, unanchor the alien and set its walktopoint

local function walkAlien()
	local alien = game.Workspace.NasaMap.CaptiveAlien
	local MoveToHere = game.Workspace.NasaMape.AlienWalksToo       
	 
	alien.Humanoid.WalkToPoint = MoveToHere.Position
	end
	 
	walkAlien()

Tell me if it doesnt work

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