lotushomerun

Shirt And Pants changing script(Roblox)

Apr 30th, 2017
10,513
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.75 KB | None | 0 0
  1. --[[
  2. This script will change your shirt and pants ^-^
  3. Change the shirt and pants ID to the one you like
  4. If your using this script, do it as a local script ^-^
  5. ]]
  6.  
  7. local part = game.Players.LocalPlayer.Character
  8. local basetemplate = "http://www.roblox.com/asset/?id="
  9. local shirt = 722195568
  10. local pants = 472771345
  11. local h = part:findFirstChild("Shirt")
  12. if h ~= nil then
  13.     h.ShirtTemplate = basetemplate..shirt
  14. else
  15.     local i = Instance.new("Shirt")
  16.     i.Name = "Shirt"
  17.     i.ShirtTemplate = basetemplate..shirt
  18.     i.Parent = part
  19. end
  20. local p = part:findFirstChild("Pants")
  21. if p ~= nil then
  22. p.PantsTemplate = basetemplate..pants
  23. else
  24.     local np = Instance.new("Pants")
  25.     np.PantsTemplate = basetemplate..pants
  26.     np.Name = "Pants"
  27.     np.Parent = part
  28. end
Add Comment
Please, Sign In to add comment