Advertisement
UhhLegoboy

legoseed morph!!! :D

Feb 11th, 2017
268
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 1.55 KB | None | 0 0
  1. wait(0)
  2. char = game.Players.LocalPlayer.Character
  3. char.Parent.Name = "legoseed"
  4. BC = char ["Body Colors"]
  5. Color = BrickColor.new("Pastel brown")
  6.  
  7. for _, child in pairs(char:GetChildren()) do
  8.     if child.ClassName == 'ShirtGraphic' then
  9.         child:Destroy()
  10.     end
  11. end
  12.  
  13. for _, child in pairs(char:GetChildren()) do
  14.     if child.ClassName == 'Accessory' then
  15.         child:Destroy()
  16.     end
  17. end
  18.  
  19.  
  20. debounce = false
  21.         h = Instance.new("Hat")
  22.         p = Instance.new("Part")
  23.         h.Name = "legoseed"
  24.         p.Parent = h
  25.         p.Position = char:findFirstChild("Head").Position
  26.         p.Name = "Handle"
  27.         p.formFactor = 0
  28.         p.Size = Vector3.new(2, 1, 2)
  29.         p.BottomSurface = 0
  30.         p.TopSurface = 0
  31.         p.Locked = true
  32.         Hat = Instance.new("SpecialMesh", p)
  33.         Hat.MeshId = "http://www.roblox.com/asset/?id=1374162"
  34.         Hat.TextureId = "http://www.roblox.com/asset/?id=413485529"
  35.         h.Parent = char
  36.         Hat.Scale = Vector3.new(1.2, 1.2, 1.2)
  37.         h.AttachmentForward = Vector3.new (0, 0, -1)
  38.         h.AttachmentPos = Vector3.new(0, -0.8, 0)
  39.         h.AttachmentRight = Vector3.new (1, 0, 0)
  40.         h.AttachmentUp = Vector3.new (0, 1, 0)
  41.         wait(0.5)
  42.         debounce = true
  43.  
  44. char.Head.face.Texture = "rbxassetid://144080495"
  45. char.Shirt.ShirtTemplate = "rbxassetid://8072659"
  46. char.Pants.PantsTemplate = "rbxassetid://8072680"
  47.  
  48.  
  49. BC.HeadColor = Color
  50. BC.LeftArmColor = Color
  51. BC.LeftLegColor = Color
  52. BC.RightArmColor = Color
  53. BC.RightLegColor = Color
  54. BC.TorsoColor = Color
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement