Advertisement
Guest User

Roblox | Game Character Customization Tutorial

a guest
Oct 28th, 2016
805
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.84 KB | None | 0 0
  1. shirtid = 0
  2. pantsid = 0
  3. faceid = 0
  4. function charcter(plr)
  5. repeat wait()until plr.Character
  6. while true do
  7. local shirt = plr.Character:WaitForChild('Shirt')
  8. local pants = plr.Character:WaitForChild('Pants')
  9. shirt.ShirtTemplate = 'http://www.roblox.com/asset/?id='..shirtid
  10. plr.Character.Head.face.Texture = 'http://www.roblox.com/asset/?id='..faceid
  11. pants.PantsTemplate = 'http://www.roblox.com/asset/?id='..pantsid
  12.  
  13.  
  14.  
  15. -- Remove hats
  16. local children = plr.Character:GetChildren()
  17. for a=1, #children do
  18. if children[a].className == 'Hat' then
  19. if children[a].Name == 'Wings' or children[a].Name == 'HATNAME' then
  20. else
  21. children[a]:remove()
  22. end
  23.  
  24. end
  25. end
  26.  
  27. script.Wings:Clone().Parent = plr.Character
  28.  
  29.  
  30.  
  31.  
  32. wait(.1)
  33. end
  34. end
  35. game.Players.PlayerAdded:connect(character)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement