Advertisement
brznt

Untitled

Jul 16th, 2018
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.78 KB | None | 0 0
  1. function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f)
  2. local funcw = Instance.new("Weld")
  3. funcw.Name = zName
  4. funcw.Parent = zParent
  5. funcw.Part0 = zPart0
  6. funcw.Part1 = zPart1
  7. if (zCoco == true) then
  8. funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  9. else
  10. funcw.C1 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  11. end
  12. return funcw
  13. end
  14. function fun(n1, n2)
  15. pcall(function()
  16. t1 = game.Players[n1].Character.Torso
  17. t2 = game.Players[n2].Character.Torso
  18. t2.Parent.Humanoid.PlatformStand = true
  19. t1["Left Shoulder"]:Remove()
  20. ls1 = Instance.new("Weld")
  21. ls1.Parent = t1
  22. ls1.Part0 = t1
  23. ls1.Part1 = t1.Parent["Left Arm"]
  24. ls1.C0 = CFrame.new(-1.5,0,0)
  25. ls1.Name = "Left Shoulder"
  26. t1["Right Shoulder"]:Remove()
  27. rs1 = Instance.new("Weld")
  28. rs1.Parent = t1
  29. rs1.Part0 = t1
  30. rs1.Part1 = t1.Parent["Right Arm"]
  31. rs1.C0 = CFrame.new(1.5,0,0)
  32. rs1.Name = "Right Shoulder"
  33. t2["Left Shoulder"]:Remove()
  34. ls2 = Instance.new("Weld")
  35. ls2.Parent = t2
  36. ls2.Part0 = t2
  37. ls2.Part1 = t2.Parent["Left Arm"]
  38. ls2.C0 = CFrame.new(-1.5,0,0)
  39. ls2.Name = "Left Shoulder"
  40. t2["Right Shoulder"]:Remove()
  41. rs2 = Instance.new("Weld")
  42. rs2.Parent = t2
  43. rs2.Part0 = t2
  44. rs2.Part1 = t2.Parent["Right Arm"]
  45. rs2.C0 = CFrame.new(1.5,0,0)
  46. rs2.Name = "Right Shoulder"
  47. t2["Left Hip"]:Remove()
  48. lh2 = Instance.new("Weld")
  49. lh2.Parent = t2
  50. lh2.Part0 = t2
  51. lh2.Part1 = t2.Parent["Left Leg"]
  52. lh2.C0 = CFrame.new(-0.5,-2,0)
  53. lh2.Name = "Left Hip"
  54. t2["Right Hip"]:Remove()
  55. rh2 = Instance.new("Weld")
  56. rh2.Parent = t2
  57. rh2.Part0 = t2
  58. rh2.Part1 = t2.Parent["Right Leg"]
  59. rh2.C0 = CFrame.new(0.5,-2,0)
  60. rh2.Name = "Right Hip"
  61. local d = Instance.new("Part")
  62. d.TopSurface = 0
  63. d.BottomSurface = 0
  64. d.BrickColor = BrickColor.new("Medium stone grey")
  65. d.Shape = "Ball"
  66. d.Parent = t1
  67. d.Size = Vector3.new(1,1,1)
  68. local dm = Instance.new("SpecialMesh")
  69. dm.MeshType = "Sphere"
  70. dm.Parent = d
  71. dm.Scale = Vector3.new(0.4,0.4,0.4)
  72. fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  73. d2 = d:Clone()
  74. d2.Parent = t1
  75. fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  76. local c = Instance.new("Part")
  77. c.TopSurface = 0
  78. c.BottomSurface = 0
  79. c.CanCollide = false
  80. c.BrickColor = BrickColor.new("Pastel brown")
  81. c.Parent = t1
  82. c.formFactor = "Custom"
  83. c.Size = Vector3.new(0.4,1.3,0.4)
  84. cm = Instance.new("CylinderMesh")
  85. cm.Parent = c
  86. a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  87. c2 = d:Clone()
  88. c2.BrickColor = BrickColor.new("Medium stone grey")
  89. c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  90. c2.Parent = t1
  91. fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  92. local bl = Instance.new("Part")
  93. bl.TopSurface = 0
  94. bl.BottomSurface = 0
  95. bl.CanCollide = false
  96. bl.BrickColor = BrickColor.new("Pastel brown")
  97. bl.Shape = "Ball"
  98. bl.Parent = t2
  99. bl.Size = Vector3.new(1,1,1)
  100. local dm = Instance.new("SpecialMesh")
  101. dm.MeshType = "Sphere"
  102. dm.Parent = bl
  103. dm.Scale = Vector3.new(1.2,1.2,1.2)
  104. fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  105. local br = Instance.new("Part")
  106. br.TopSurface = 0
  107. br.BottomSurface = 0
  108. br.CanCollide = false
  109. br.BrickColor = BrickColor.new("Pastel brown")
  110. br.Shape = "Ball"
  111. br.Parent = t2
  112. br.Size = Vector3.new(1,1,1)
  113. local dm = Instance.new("SpecialMesh")
  114. dm.MeshType = "Sphere"
  115. dm.Parent = br
  116. dm.Scale = Vector3.new(1.2,1.2,1.2)
  117. fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  118. local bln = Instance.new("Part")
  119. bln.TopSurface = 0
  120. bln.BottomSurface = 0
  121. bln.CanCollide = false
  122. bln.Shape = "Ball"
  123. bln.Parent = t2
  124. bln.Size = Vector3.new(1,1,1)
  125. local dm = Instance.new("SpecialMesh")
  126. dm.MeshType = "Sphere"
  127. dm.Parent = bln
  128. dm.Scale = Vector3.new(0.2,0.2,0.2)
  129. fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  130. local brn = Instance.new("Part")
  131. brn.TopSurface = 0
  132. brn.BottomSurface = 0
  133. brn.CanCollide = false
  134. brn.Shape = "Ball"
  135. brn.Parent = t2
  136. brn.Size = Vector3.new(1,1,1)
  137. local dm = Instance.new("SpecialMesh")
  138. dm.MeshType = "Sphere"
  139. dm.Parent = brn
  140. dm.Scale = Vector3.new(0.2,0.2,0.2)
  141. fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  142. lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  143. rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  144. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
  145. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
  146. ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
  147. rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
  148. if t1:findFirstChild("weldx") ~= nil then
  149. t1.weldx:Remove()
  150. end
  151. we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  152. n = t2.Neck
  153. n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  154. end)
  155. coroutine.resume(coroutine.create(function()
  156. while wait() do
  157. for i = 1,6 do
  158. we.C1 = we.C1 * CFrame.new(0,-0.3,0)
  159. wait()
  160. end
  161.  
  162. for i = 1,6 do
  163. we.C1 = we.C1 * CFrame.new(0,0.3,0)
  164. wait()
  165. end
  166. end
  167. end))
  168. end
  169. fun("Brznt", "Korblox_YT")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement