RyanDaCoder

r

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