Vladha

Untitled

Oct 22nd, 2016
38
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.76 KB | None | 0 0
  1. local p = game.Players.LocalPlayer
  2. local Mpc = p.Character
  3. local mouse = p:GetMouse()
  4. visible=false
  5. function fgeld(zName,zParent,zPart0,zPart1,zCoco,a,b,c,d,e,f)
  6. local funcw = Instance.new("Weld")
  7. funcw.Name = zName
  8. funcw.Parent = zParent
  9. funcw.Part0 = zPart0
  10. funcw.Part1 = zPart1
  11. if (zCoco == true) then
  12. funcw.C0 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  13. else
  14. funcw.C1 = CFrame.new(a,b,c) *CFrame.fromEulerAnglesXYZ(d,e,f)
  15. end
  16. return funcw
  17. end
  18. -------------------
  19. size = 3
  20. t2 = game.Players.LocalPlayer.Character.Torso
  21. pcall(function() game.Players.LocalPlayer.Character.Torso["Something Beautiful"]:Remove() end)
  22. mdl = Instance.new("Model",t2)
  23. mdl.Name = ("Something Beautiful")
  24. local bl = Instance.new("Part")
  25. bl.TopSurface = 0
  26. bl.BottomSurface = 0
  27. bl.CanCollide = false
  28. bl.BrickColor = Mpc.Torso.BrickColor
  29. bl.Shape = "Ball"
  30. bl.Parent = mdl
  31. bl.Size = Vector3.new(1,1,1)
  32. local dm = Instance.new("SpecialMesh")
  33. dm.MeshType = "Sphere"
  34. dm.Parent = bl
  35. dm.Scale = Vector3.new(1.2,1.2,1.2)
  36. fgeld("weld",mdl,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  37. local br = Instance.new("Part")
  38. br.TopSurface = 0
  39. br.BottomSurface = 0
  40. br.CanCollide = false
  41. br.BrickColor = Mpc.Torso.BrickColor
  42. br.Shape = "Ball"
  43. br.Parent = mdl
  44. br.Size = Vector3.new(1,1,1)
  45. local dm = Instance.new("SpecialMesh")
  46. dm.MeshType = "Sphere"
  47. dm.Parent = br
  48. dm.Scale = Vector3.new(1.2,1.2,1.2)
  49. fgeld("weld",mdl,t2,br,true,0.5,0.5,-0.6,0,0,0)
  50. local bln = Instance.new("Part")
  51. bln.BrickColor = BrickColor.new("Pink")
  52. bln.TopSurface = 0
  53. bln.BottomSurface = 0
  54. bln.CanCollide = false
  55. bln.Shape = "Ball"
  56. bln.Parent = mdl
  57. bln.Size = Vector3.new(1,1,1)
  58. local dm = Instance.new("SpecialMesh")
  59. dm.MeshType = "Sphere"
  60. dm.Parent = bln
  61. dm.Scale = Vector3.new(0.2,0.2,0.2)
  62. fgeld("weld",mdl,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  63. local brn = Instance.new("Part")
  64. brn.BrickColor = BrickColor.new("Pink")
  65. brn.TopSurface = 0
  66. brn.BottomSurface = 0
  67. brn.CanCollide = false
  68. brn.Shape = "Ball"
  69. brn.Parent = mdl
  70. brn.Size = Vector3.new(1,1,1)
  71. local dm = Instance.new("SpecialMesh")
  72. dm.MeshType = "Sphere"
  73. dm.Parent = brn
  74. dm.Scale = Vector3.new(0.2,0.2,0.2)
  75. fgeld("weld",mdl,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  76.  
  77. for i,v in pairs(mdl:children()) do
  78. if v:IsA("Part") then
  79. v.Transparency=0
  80. end
  81. end
  82. end
  83.  
  84. mouse.KeyDown:connect(function(key)
  85. if key == "n" and visible==true then
  86. for i,v in pairs(mdl:children()) do
  87. if v:IsA("Part") then
  88. v.Transparency=1
  89. end
  90. end
  91. end
  92. visible=false
  93. end)
  94. mouse.KeyDown:connect(function(key)
  95. if key == "n" and visible==false then
  96. for i,v in pairs(mdl:children()) do
  97. if v:IsA("Part") then
  98. v.Transparency=0
  99. end
  100. end
  101. end
  102. visible=true
  103. end)
  104.  
  105. local V = Instance.new("Part", Mpc)
  106. V.Size = Vector3.new(0.5,1,0.25)
  107. V.BrickColor = Mpc.Torso.BrickColor
  108. Instance.new("SpecialMesh",V).MeshType = "Sphere"
  109. local VW = Instance.new("Weld", V)
  110. VW.Part0 = Mpc.Torso
  111. VW.Part1 = V
  112. VW.C0 = CFrame.new(0,-1,-0.5)
  113. local GH = Instance.new("Part", V)
  114. GH.Size = Vector3.new(0.25,0.5,0.25)
  115. GH.BrickColor = BrickColor.new("Pink")
  116. Instance.new("SpecialMesh",GH).MeshType = "Sphere"
  117. local GHW = Instance.new("Weld", GH)
  118. GHW.Part0 = V
  119. GHW.Part1 = GH
  120. GHW.C0 = CFrame.new(0, 0,-0.1)
  121. local V = Instance.new("Part", Mpc)
  122. V.Size = Vector3.new(0.5,1,0.25)
  123. V.BrickColor = Mpc.Torso.BrickColor
  124. Instance.new("SpecialMesh",V).MeshType = "Sphere"
  125. local VW = Instance.new("Weld", V)
  126. VW.Part0 = Mpc.Torso
  127. VW.Part1 = V
  128. VW.C0 = CFrame.new(0,-1,-0.5)
  129. local GH = Instance.new("Part", V)
  130. GH.Size = Vector3.new(0.25,0.5,0.25)
  131. GH.BrickColor = BrickColor.new("Pink")
  132. Instance.new("SpecialMesh",GH).MeshType = "Sphere"
  133. local GHW = Instance.new("Weld", GH)
  134. GHW.Part0 = V
  135. GHW.Part1 = GH
  136. GHW.C0 = CFrame.new(0, 0,-0.1)
Add Comment
Please, Sign In to add comment