Hey guys!, are you a poor man trying to make 2D skins that are not morphs? So, i’m here to help you!
All you are gonna need is:
- Roblox Studio
- R6/R15 rig with HumanoidRootPart, Humanoid and a Torso (i recommend r6)
- decal.
So, to start, create a any type rig for your skin. Use the rig builder plugin thats pre-installed in your studio.
After that, unanchor the HumanoidRootPart in the rig and create a BillboardGui with any name in your UpperTorso (R15)/Torso (R6).
Now, in the BillboardGui properties, put the size as {8,2},{8,0} and StudsOffsetWorld as 0,-0.1,0.
After that, create a imagelabel with {1, 5},{1, 5} of size. Put the image and let’s get scripting!
SCRIPTING PART
Create a normal Script in your UpperTorso (R15)/Torso (R6) called “WalkFrames”.
Copy and paste the script for your script:
DECAL = script.Parent.BillboardGui.Image -- put your directory
humanoid = script.Parent.Parent.Humanoid
running = false
DecalId = "http://www.roblox.com/asset/?id=7705314681" -- idle
DecalId2 = "http://www.roblox.com/asset/?id=7705320552" -- walk 1
DecalId3 = "http://www.roblox.com/asset/?id=7705330727" -- walk 2
DecalJump = "http://www.roblox.com/asset/?id=7705314681" -- jumping
jumping = false
function Run(speed)
if speed > 0 then
running = true
else
running = false
DECAL.Image = DecalId
end
end
function Jump()
DECAL.Image = DecalJump
end
humanoid.Jumping:connect(Jump)
humanoid.Running:connect(Run)
while true do
wait(0.3)
if running then
if DECAL.Image == DecalId then
DECAL.Image = DecalId2
elseif DECAL.Image == DecalId2 then
DECAL.Image = DecalId3
else
DECAL.Image = DecalId2
end
end
end
After this, make all the rig invisible, and test!
THE FINAL RESULT
(CRITICAL WARNING: Walks MAYBE do not work, so if i make a solution, i will post here.)
I hope that you enjoyed the tutorial, good luck if you use this in any game!