Custom Rig not moving

I made a custom animal for my game and put a humanoid and animate script in it. I tried making a script to make it move 5 studs but nothing happened. can’t figure out why.

please note it is one part

Screenshot 2025-03-31 192029


NOTE: I’ve also never made a rig before, so please keep that in mind.

1 Like

ALSO: heres a copy place with the problem

–NOW FIXED

FYI: the script is in the humanoid

You can put the script underneath the humanoid into starterCharacterScripts so that it will be added upon the characters creation assuming its the starterCharacter, alternatively you can add it on afterwards or do the action from a different location such as ServerScriptService, you also need to set the Humanoids hip height so that it won’t be relying on collisions with the goose’s mesh and the ground, you also have the Humanoids health set to 0 which is a bit weird but seems unrelated.

Set the duck’s Humanoid.HipHeight to 1.4 and then move the script into the duck’s Model instead of it’s Humanoid, then change the code to this.

while not game:IsLoaded() do
	wait()
end

local character = script:FindFirstAncestorWhichIsA('Model')
local humanoid = character:WaitForChild('Humanoid', 5)

if humanoid then
	humanoid:MoveTo(character:GetPivot().Position + Vector3.xAxis)
end

Here’s the associated fix:

CopyPlace.rbxl (108.8 KB)


Edit

I should explain that Vector3.xAxis is just Vector3.new(1, 0, 0), I just did that to shorten the line a little. You can do whatever you want there though obviously.

1 Like

Thank youuuuu, is there anything else you did beside adjusting the hip height and the script to make it work???

I did not make any other changes.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.