Hey, so I’m trying to figure out how to do morph system thing. You know, for my game where we’ve got teams with different ranks, and each rank’s supposed to have its own morph. Right now, I’ve got it all set up with welds, but my friend dev says that’s not the way to go. And it’s kinda annoying cause all the morph parts just disappear when a player dies. Any ideas on how to make this work better?
Maybe clone the Morph and set the player’s character to the Morph:
local Morph = ModelMorph:Clone()
player.Character = Morph
When you say morphs, I am going to assume that you mean things such as helmets, body armour/clothes etc. I will just share with you what I have done in my game and has worked pretty well.
Once you have created your morph accessories correctly and all named, you could place them all in repstorage.
Then create a script in StarterCharacterScripts. You need to clone the morph accessory in repstorage and put the accessory in the player’s model when the character is added. Make sure you check the players team and their rank variable.
Hope this helps.
Yeah, that’s clear and it’s has already been done. The question was about two things:
- Using weld, is there a better alternative?
- Morphs disappearing after death
So, for the first one, I kept with welding but improved the system to make it work better. As for the second question, I used BreakJointsOnDeath and ragdoll