This tutorial will be going over how to properly create an R15 morph rig that is able to be used in conjunction with an R15 auto-morph script. This tutorial is meant for users who wish to properly use working auto-morphs in their genres or game.
You are watching: How to make a morph in roblox
To begin setting up your rig, you’ll need to acquire a default one first. The easiest way of acquiring one is to click on the “Plugins” tab, click on “Rig Builder”, make sure it’s set to R15 and then click on the “Block Rig” option.
You’ll then want to open the dummy model up in Workspace to see this.
Delete all of that for each one. Do not delete the mesh inside of the Head though! You’ll also want to open up the actual mesh inside of the Head and delete the OriginalSize value.
Now you’ll want to rename each of the MeshParts inside of the models to “Middle” (without the quotations).
Screenshot_9.png156×620 6.28 KB
You have successfully set up an R15 morph rig that is ready to be used with an auto-morph script. Auto-morph scripts spawn you in as the morph of your choosing. There are a plethora of ways to design your auto-morph script, but I use a compact and simple one that will work for you.
To begin setting up your auto-morph script, go to ServerStorage, make a new folder and name it “Morphs”. Now inside the Morphs folder you’ll want to make another folder and name it whatever you’d like, but I personally name mine the name of the game I’m working on. Inside of that folder you’ll want to make another folder and name it “PersonalMorphs” All of the morphs you’ll want to use with the auto-morph script will go inside of the PersonalMorphs folder. If you got a morph you want to use, then make another folder inside of the PersonalMorphs folder and name it whatever you like. I personally name mine the name of the character my morph is. It’s easier to find them if you have a lot of them in there.Select all of those (not the dummy itself) then copy and paste them into your folder that you named.
Now let’s move onto the script I have created that you can create yourself with these photos. Start by going into ServerScriptService and making a script. Name that script “Morph”. Now open the script up, delete “print(“Hello world!”)” and we shall begin constructing it.
local Players = game:GetService(“Players”)local Morphs = game:GetService(“ServerStorage”):WaitForChild(“Morphs”) — Looks for the “Morph” folder you”ve created earlier.local visible = falselocal recol = “”function morph(plr, part, location, model, test)if plr ~= nil thenif test == “Morph” thenif plr:FindFirstChild(“Morph”) == nil thenlocal Folder = Instance.new(“Folder”)Folder.Name = “Morph”Folder.Parent = plrendelseif test == “Coat” then — The “Coat” and “Pauld” statements can be completely ignored or removed without harming the script.if plr:FindFirstChild(“Coat”) == nil thenlocal Folder = Instance.new(“Folder”)Folder.Name = “Coat”Folder.Parent = plrendelseif test == “Add” thenif plr:FindFirstChild(“Add”) == nil thenlocal Folder = Instance.new(“Folder”)Folder.Name = “Add”Folder.Parent = plrendelseif test == “Pauld” thenif plr:FindFirstChild(“Pauld”) == nil thenlocal Folder = Instance.new(“Folder”)Folder.Name = “Pauld”Folder.Parent = plrendendlocal Folder = (test == “Morph” and plr:FindFirstChild(“Morph”) or test == “Coat” and plr:FindFirstChild(“Coat”) or test == “Add” and plr:FindFirstChild(“Add”) or test == “Pauld” and plr:FindFirstChild(“Pauld”))if Folder:FindFirstChild(model) == nil thenlocal g = location
if Player:GetRankInGroup(5025607) == 255
^ That line of code is an example of what you can replace the name statement with.
You can also entirely remove the Body(1,1,1,Character) statement if you don’t ever plan on changing the height, width and depth of your morph. Do keep in mind that by changing those values, you’ll have to also properly scale the morph model itself, or you’ll end up spawning in with your arms or legs floating away from your torso. I will explain how to do that in a future advanced tutorial.
On line 190 is where the folders you’ve created previously in ServerStorage come in.MorphUser(Player,“The Void”,“PersonalMorphs”,“CalvinKadir”,“Morph”) should be changed to the name of the folders you have created. “The Void” would be changed and “CalvinKadir” would be changed. The rest should stay the same.
Basically the Finale statements are there to determine which part of the morph is visible and which part isn’t. This is useful at times. Say you want to make a morph, but you don’t want to make a custom head, you can change the Finale statement to make the head on the morph invisible so that you can spawn in with the custom body, but still have your own occupychristmas.org face, accessories and head. Or you can just make it where you have your head and face, but not any accessories.
Finale, Finale1, Finale2 and Finale3 are all the types of Finale statements you can switch between. This won’t mess up the script any, so just experiment and choose which one you’d like. Notice that I have two Finales in the code below. One Finale adds onto or negates the effect of the other Finale. It’s always a good idea to keep the Finale(Character) on there, but it can be switched for different effects like I explained above.
if Player.Name == ‘CalvinKadir’ then – Entire section is changeable.Body(1,1,1,Character)MorphUser(Player,“The Void”,“PersonalMorphs”,“CalvinKadir”,“Morph”)Finale(Character)Finale1(Character)
if Player.Name == ‘’ thenBody(1,1,1,Character)MorphUser(Player,“Map Name”,“PersonalMorphs”,“Morph Name”,“Morph”)Finale(Character)Finale1(Character)
Be sure to change if to elseif on the second one and beyond.
Once you have thoroughly completed each of the steps above, the complicated part is out of the way. When you join the game via test or server, you will spawn in as the morph you placed within the named folder you created. You’ll continue to spawn in as this morph until you change it within Studio.
This setup is particularly useful for roleplaying genres, such as a Star Wars or Game of Thrones genre. With the rig functioning, you can begin building and shaping it into whatever character or person you’d like. For example, me and my friend have built some Dishonored morphs, as well as many others. Your morph will go as far as your creativity.
When you’re building your morph, be sure to put the parts you’re adding into the correct body part model. So if you’re building something on the upper left arm, you’d place those parts within the LeftUpperArm model.
I’d recommend not allowing one part to extend to another body part. If you’re building something on the upper arm, it shouldn’t extend down to the lower arm. It’ll look a bit odd in-game. You can still do it, and I usually build from the torso onto the shoulders of each arm all the time. But areas such as the arms might look a bit off.
If you have any other questions, please toss me a PM. I’ll get back with you as soon as I can.