Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by 6 years ago
Edited 6 years ago

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!

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. :/ TheeDeathCaster 2368 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

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)
0
Well I think animation won't work, but I will try it. DevAwesomely 15 — 6y
Ad

Answer this question