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

Problem with Humanoid:Move to() on custom creatures/mobs (NOT NPC's)?

Greetings everyone.

I am working on the MMORPG project this winter and spring and I got one problem. I made a goblin with run and idle animation for now. I put a script inside of it, named Animate and put the ID's and idle animation works. But I want my goblin walk around. I made a new script using Humanoid:Move to() and he won't move to specific point I typed inside of brackets. I tried the script on NPC'S and it works. But for custom mobs or creatures it won't work. There are no errors in output... If I just run the game goblin will just stay and play an idle animation. That's my problem for now. I will probably send a lot of questions after I get a good solution to this one.

Edit: The problem is fixed. I just made a mistake. I anchored HumanoidRootPart. Goblin and animations are working excellent now. Thanks to Xeilot and thanks to all who tried to help me!

1 comment

0

Have you tried using the same rigs as the NPCs? And can you please show some code? We can't help if we don't have something to work with. :/

1 answer

Hey , not 100% on this but instead of moving the humanoid within the goblin or mod move the goblin model itself.

For example try this

goblin = script.Parent

golbin:MoveTo(teleport.Position)

1 comment

0

Well I think animation won't work, but I will try it.

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