I’m having trouble with trying to make my model move
![Screenshot 2022-02-16 at 11.14.07 PM](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/4X/7/3/0/7307ff3664ddae7f3c9017965db14a13b93fd471.png)
This script works for Normal Roblox Dummies but not my model
![Screenshot 2022-02-16 at 11.11.08 PM](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/4X/e/1/c/e1c64dbcf3e2f6ecf988f4cb42a0c2206d556717.png)
![Screenshot 2022-02-16 at 11.10.31 PM](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/4X/4/a/0/4a0e64fa9a86300a63ee770956f62919360e4952.png)
I keep getting this error code when trying to test the script
![Screenshot 2022-02-16 at 11.10.53 PM](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/4X/9/2/3/9235a0304e2e0d551d4a03fc74901dcac3a2be3c.png)
Is there anything i can do to modify this script and make my model move?
iluvtcr
(SpookyDeveloper)
#2
its because the Humanoid is in the Part “Cube” and its looking for Humanoid in the Model “Fish”
2 Likes
Yeah, he is right, you meant the Model.Humanoid, not the Part.Humanoid
it still doesn’t work, i got another error
![Screenshot 2022-02-16 at 11.47.52 PM](//devforum-uploads.s3.dualstack.us-east-2.amazonaws.com/uploads/original/4X/f/4/f/f4f4d23b97522c98f1c7215baff062fc06148a56.png)
iluvtcr
(SpookyDeveloper)
#5
move the humanoid to the model and try
Forummer
(Forummer)
#7
Make sure you fix the script’s reference to the humanoid.
Should be something like.
local npc = script.Parent
local humanoid = npc.Humanoid