-
What do you want to achieve? I want to make my custom rig take damage etc. like Roblox’s normal rigs.
-
What is the issue? I have no idea how.
-
What solutions have you thought of so far? I tried adding a humanoid etc. but it’s not working
Only thing you need is:
- value, representing rig health and max health
- function which will kill rig if it’s health <=0
And after, just change that value how you need.
The rig can’t die because it’s not like roblox’s rigs
That’s why I stated that you need function which will kill it. Make it yourself!
yeah but it has no humanoid so how will it die?
Roblox humanoid represents death with destroying all Motor6Ds of model, but a lot of games instead want it to ragdoll, evaporate, shrink.
But primary thing that you need understand is that it all about MODEL instance, which contains parts and constraints (not always, in some cases only parts or even just 1-2 values)
Try your own way to represent death over model.
- Model got <= 0 health
- Smth related to death displayed
- Prob model respawned.
With things like custom rigs, you need make EVERYTHING yourself. No any easy functions like Humanoid:Kill(), Humanoid.TakeDamage(), Humanoid:Move() and etc.
I’m only a beginner at scripting so this is too complicated for me.
add a part named HumanoidRootPart and then a Humanoid instance
I already tried but it didn’t work
as i remember, last time i tried it worked, make sure to add the humanoidrootpart
yeah but mine’s not a normal rig it’s rigged in blender
mine wasnt either, it was custom rig from mixamo
Is this correct?
yeah looks correct, resize it so it will be same size as mesh
Do you mean resize the root part?
ok seems like i might be wrong and it might not work for non rigs, sorry for wasting time
you can theoretically add the mesh to a normal rig’s rootpart and make the original parts invisible, then script your animations for that exact animator, but the easiest way would probably be making your own humanoid script
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.