AlexTheScripter

Untitled

Dec 23rd, 2017
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.01 KB | None | 0 0
  1. function armor(ms)
  2. me = ms.Character
  3. me2 = ms
  4. mod = Instance.new("Model")
  5. mod.Name = "peepee"
  6. mod.Parent = me
  7.  
  8. part = Instance.new("Part")
  9. part.Parent = mod
  10. part.Size = Vector3.new(1, 1, 1)
  11. part.Position = Vector3.new(1, 1, 1)
  12. part.BrickColor = BrickColor.new("Light orange")
  13. part:BreakJoints()
  14. mesh = Instance.new("SpecialMesh")
  15. mesh.Parent = part
  16. mesh.MeshType = "Sphere"
  17. mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  18. we = Instance.new("Weld")
  19. we.Parent = mod
  20. we.Part0 = part
  21. we.Part1 = me.Torso
  22. we.C0 = CFrame.fromEulerAnglesXYZ(0.15, 0, 0) + Vector3.new(0.15, 1.25, 0.75)
  23. we.C1 = CFrame.new()
  24. part = Instance.new("Part")
  25. part.Parent = mod
  26. part.Size = Vector3.new(1, 1, 1)
  27. part.Position = Vector3.new(1, 1, 1)
  28. part.BrickColor = BrickColor.new("Light orange")
  29. part:BreakJoints()
  30. mesh = Instance.new("SpecialMesh")
  31. mesh.Parent = part
  32. mesh.MeshType = "Sphere"
  33. mesh.Scale = Vector3.new(0.5, 0.5, 0.5)
  34. we = Instance.new("Weld")
  35. we.Parent = mod
  36. we.Part0 = part
  37. we.Part1 = me.Torso
  38. we.C0 = CFrame.fromEulerAnglesXYZ(0.15, 0, 0) + Vector3.new(-0.15, 1.25, 0.75)
  39. we.C1 = CFrame.new()
  40. part = Instance.new("Part")
  41. part.Parent = mod
  42. part.Size = Vector3.new(1, 3, 1)
  43. part.Position = Vector3.new(1, 1, 1)
  44. part.BrickColor = BrickColor.new("Light orange")
  45. part:BreakJoints()
  46. mesh3 = Instance.new("SpecialMesh")
  47. mesh3.Parent = part
  48. mesh3.MeshType = "Head"
  49. mesh3.Scale = Vector3.new(0.5, 1, 0.5)
  50. we3 = Instance.new("Weld")
  51. we3.Parent = mod
  52. we3.Part0 = part
  53. we3.Part1 = me.Torso
  54. we3.C0 = CFrame.fromEulerAnglesXYZ(1, 0, 0) + Vector3.new(0, -0.8, 1.25)
  55. we3.C1 = CFrame.new()
  56.  
  57. function cmds(msg)
  58. if msg == "grow" then
  59. for i = 0, 1, 0.1 do
  60. mesh3.Scale = mesh3.Scale + Vector3.new(0, i, 0)
  61. we3.C0 = we3.C0 - Vector3.new(0, i, 0)
  62. wait()
  63. end
  64. end
  65. if msg == "shrink" then
  66. for i = 0, 1, 0.1 do
  67. mesh3.Scale = mesh3.Scale - Vector3.new(0, i, 0)
  68. we3.C0 = we3.C0 + Vector3.new(0, i+0.1, 0)
  69. wait()
  70. end
  71. end
  72. end
  73.  
  74. end
  75. --damn
  76. for _, v in pairs(Game.Players:GetChildren()) do
  77. armor(v)
  78. end
Add Comment
Please, Sign In to add comment