Humanoid:MoveTo() is intended for walkin for rigs, and my rig (for some reason) isnt walking despite the fact it’s:
Unanchored
Works ; Animatiable
Goal: Allow it to walk to the Attachment World Position
Why is my script not working?
Script
local PW = script.Parent.Parent.Folder.Pathways
local One = PW.One.WorldPosition
local Two = PW.Two.WorldPosition
local Three = PW.Three.WorldPosition
local Four = PW.Four.WorldPosition
local Five = PW.Five.WorldPosition
local Six = PW.Six.WorldPosition
local Seven = PW.Seven.WorldPosition
local Eight = PW.Eight.WorldPosition
local Nine = PW.Nine.WorldPosition
-- Testing!!!
task.wait()
script.Parent.Humanoid:MoveTo(Two)
script.Parent.Humanoid.MoveToFinished:Wait()
This is defineatly strange, your code looks fine. I tried it myself(using very unclean code) and it worked. I think your main issue is either something like the humanoid walk speed is set to 0, or the script needs to be cleaner(no offence).
Structre
This script doesn’t work, so it all lies to the rig. Is anyone able to help with the structure of the rig?
Rig: The white outline is the HumanoidRootPart.
More:
Mask, Teeth, Hand, Head, LowerHand, UpperHand has CanCollide turned to false.
Torso & HumanoidRootPart has CanCollide turned to true.
Script:
local PW = script.Parent.Parent.Folder.Pathways
local Two = PW.Two.WorldPosition
task.wait(10)
print("what is that!")
script.Parent.Humanoid:MoveTo(Two)
local PW = script.Parent.Parent.Folder.Pathways
local Two = PW.Two.WorldPosition
task.wait(10)
print("what is that!")
script.Parent.Humanoid:MoveTo(Two)
script.Parent.Humanoid.MoveToFinished:Wait()
works with a normal standard Roblox rig, but not my current rig ( >:( )