ROBLOX Studio Tutorial – Making a Clothing Morph – 2016


Clothing Morphing When programming in Studio you will almost always need most of them Also, the clothing doesn’t have to be from an NPC; It can also just be used alone (you just want to make sure that you have a Shirt and Pants) Remember that functions can be written in more than one way (this is my favorite way to do it). Again, keeping in mind that there is more than one way to check and see if there is a player who touched. This local plr will be used later.

49 comments

  1. Is there any possible way to make the "NPC" give a player hats as well? Or is that something separate?

  2. it didnt work!!! ;( i checked the script and its all the same and im on an empty baseplate so i dont know why its not working ;(

  3. Can you please type the script in the description I have this fashion group in roblox and since I can't find a working catalog having a clothing morph would be better // easier but I can't really understand the full script. Thank you! ^0^

  4. How do you change what clothes the model/npc has so your charachter changes into them. For example here you have a shirt with blue sleeves, what if i didnt want that particular shirt. How would I change it?

  5. This script worked for me, I wonder if it will work with you:
    script.Parent.Touched:connect(function(hit)
    if (hit.Parent:findFirstChild("Humanoid"))then
    –local plr = game.Players:FindFirstChild(hit.Parent.Name)

    local plrPants = hit.Parent:findFirstChild("Pants")
    if (plrPants) then
    plrPants:remove()

    local plrShirt = hit.Parent:findFirstChild("Shirt")
    if (plrShirt) then
    plrShirt:remove()
    end

    local newClothingPants = script.Parent.Parent.NPC.Pants:Clone()
    local newClothingShirt = script.Parent.Parent.NPC.Shirt:Clone()

    newClothingPants.Parent = hit.Parent
    newClothingShirt.Parent = hit.Parent

    end
    end
    end)
    This tutorial helped a lot! ๐Ÿ˜ƒ

  6. Good day Mr. I'm having a little problem here…The script only removed my shirt but didn't clone the new shirt. What possibly happened? May I have your reply please ๐Ÿ˜€

    The output said pants is not a valid member…is that the problem?

  7. thx for the model

    you are the first one did that

    ๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘๐Ÿ‘

  8. I tried this and it worked the first time when I used only both pants and shirt but when I tried to use a similar method only with just pants, it did not work and even though it had no errors, my character would not get the outfit that the npc had. I then tried to just get rid of anything pertaining to shirts and then I got a bunch of errors that I still can not figure out… What do I do because this is f***ing ridiculous.

  9. I already have a leaderborad following this script

    game.Players.PlayerAdded:connect(function(player)
    local leaderstats = Instance.new("IntValue")
    leaderstats.Name = "leaderstats"
    leaderstats.Parent = plr

    local cash = Instance.new("IntValue",leaderstats)
    cash.Name = "Cash"
    cash.Value = 3000
    end)

    I would like to keep this leaderboard to buy the clothes how would I do this.
    and you've just gained a subscriber because even though I cant do it with my leaderbaord it still work so yeah
    HOPE SOMEONE CAN HELP ME

  10. It did not work me and remove is not a script and bro even tho your model does not work in game I checked everything

  11. Lol he has the model of the morph he made I the model meaning that I spent about 36 minutes of my time going back and forth trying to go with what he was doing to find out I could just buy the model and have the morph right there. This channel is underrated, this guy's good at scripting.

  12. I see that a lot of people says that it doesnโ€™t work and there seems to be a problem with it… on the script 2 nd and 3 rd line itโ€™s says FindFirstChild the secound line says findFirstChild with the โ€œfโ€ in find not capitalized and the third line says FindFirstChild with the โ€œfโ€ in find capitalized… do they need to be the same?

  13. Very Helpful, iv'e needed to know how to make a clothes morph. i can also use the cash script idea to help make a tycoon of my own. You need to make a script to remove the tshirt too though.

  14. thank you i have been making a roblox battle royale and i wanted skins but i did not know how now i can finish off this game when it is finished i will give you code to give you unlimited cash because i am using your model ๐Ÿ™‚

Leave a Reply

(*) Required, Your email will not be published