Advertisement
Guest User

Untitled

a guest
Feb 6th, 2016
46
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.13 KB | None | 0 0
  1. function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f)
  2.  
  3. local funcw = Instance.new("Weld")
  4.  
  5. funcw.Name = zName
  6.  
  7. funcw.Parent = zParent
  8.  
  9. funcw.Part0 = zPart0
  10.  
  11. funcw.Part1 = zPart1
  12.  
  13. if (zCoco == true) then
  14.  
  15. funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  16.  
  17. else
  18.  
  19. funcw.C1 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  20.  
  21. end
  22.  
  23. return funcw
  24.  
  25. end
  26.  
  27. function fun(n1, n2)
  28.  
  29. pcall(function()
  30.  
  31. t1 = game.Players[n1].Character.Torso
  32.  
  33. t2 = game.Players[n2].Character.Torso
  34.  
  35. t2.Parent.Humanoid.PlatformStand = true
  36.  
  37. t1["Left Shoulder"]:Remove()
  38.  
  39. ls1 = Instance.new("Weld")
  40.  
  41. ls1.Parent = t1
  42.  
  43. ls1.Part0 = t1
  44.  
  45. ls1.Part1 = t1.Parent["Left Arm"]
  46.  
  47. ls1.C0 = CFrame.new(-1.5,0,0)
  48.  
  49. ls1.Name = "Left Shoulder"
  50.  
  51. t1["Right Shoulder"]:Remove()
  52.  
  53. rs1 = Instance.new("Weld")
  54.  
  55. rs1.Parent = t1
  56.  
  57. rs1.Part0 = t1
  58.  
  59. rs1.Part1 = t1.Parent["Right Arm"]
  60.  
  61. rs1.C0 = CFrame.new(1.5,0,0)
  62.  
  63. rs1.Name = "Right Shoulder"
  64.  
  65. t2["Left Shoulder"]:Remove()
  66.  
  67. ls2 = Instance.new("Weld")
  68.  
  69. ls2.Parent = t2
  70.  
  71. ls2.Part0 = t2
  72.  
  73. ls2.Part1 = t2.Parent["Left Arm"]
  74.  
  75. ls2.C0 = CFrame.new(-1.5,0,0)
  76.  
  77. ls2.Name = "Left Shoulder"
  78.  
  79. t2["Right Shoulder"]:Remove()
  80.  
  81. rs2 = Instance.new("Weld")
  82.  
  83. rs2.Parent = t2
  84.  
  85. rs2.Part0 = t2
  86.  
  87. rs2.Part1 = t2.Parent["Right Arm"]
  88.  
  89. rs2.C0 = CFrame.new(1.5,0,0)
  90.  
  91. rs2.Name = "Right Shoulder"
  92.  
  93. t2["Left Hip"]:Remove()
  94.  
  95. lh2 = Instance.new("Weld")
  96.  
  97. lh2.Parent = t2
  98.  
  99. lh2.Part0 = t2
  100.  
  101. lh2.Part1 = t2.Parent["Left Leg"]
  102.  
  103. lh2.C0 = CFrame.new(-0.5,-2,0)
  104.  
  105. lh2.Name = "Left Hip"
  106.  
  107. t2["Right Hip"]:Remove()
  108.  
  109. rh2 = Instance.new("Weld")
  110.  
  111. rh2.Parent = t2
  112.  
  113. rh2.Part0 = t2
  114.  
  115. rh2.Part1 = t2.Parent["Right Leg"]
  116.  
  117. rh2.C0 = CFrame.new(0.5,-2,0)
  118.  
  119. rh2.Name = "Right Hip"
  120.  
  121. local d = Instance.new("Part")
  122.  
  123. d.TopSurface = 0
  124.  
  125. d.BottomSurface = 0
  126.  
  127. d.CanCollide = false
  128.  
  129. d.BrickColor = BrickColor.new("Medium stone grey")
  130.  
  131. d.Shape = "Ball"
  132.  
  133. d.Parent = t1
  134.  
  135. d.Size = Vector3.new(1,1,1)
  136.  
  137. local dm = Instance.new("SpecialMesh")
  138.  
  139. dm.MeshType = "Sphere"
  140.  
  141. dm.Parent = d
  142.  
  143. dm.Scale = Vector3.new(0.4,0.4,0.4)
  144.  
  145. fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  146.  
  147. d2 = d:Clone()
  148.  
  149. d2.Parent = t1
  150.  
  151. fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  152.  
  153. local c = Instance.new("Part")
  154.  
  155. c.TopSurface = 0
  156.  
  157. c.BottomSurface = 0
  158.  
  159. c.CanCollide = false
  160.  
  161. c.BrickColor = BrickColor.new("Pastel brown")
  162.  
  163. c.Parent = t1
  164.  
  165. c.formFactor = "Custom"
  166.  
  167. c.Size = Vector3.new(0.4,1.3,0.4)
  168.  
  169. cm = Instance.new("CylinderMesh")
  170.  
  171. cm.Parent = c
  172.  
  173. a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  174.  
  175. c2 = d:Clone()
  176.  
  177. c2.BrickColor = BrickColor.new("Medium stone grey")
  178.  
  179. c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  180.  
  181. c2.Parent = t1
  182.  
  183. fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  184.  
  185. local bl = Instance.new("Part")
  186.  
  187. bl.TopSurface = 0
  188.  
  189. bl.BottomSurface = 0
  190.  
  191. bl.CanCollide = false
  192.  
  193. bl.BrickColor = BrickColor.new("Pastel brown")
  194.  
  195. bl.Shape = "Ball"
  196.  
  197. bl.Parent = t2
  198.  
  199. bl.Size = Vector3.new(1,1,1)
  200.  
  201. local dm = Instance.new("SpecialMesh")
  202.  
  203. dm.MeshType = "Sphere"
  204.  
  205. dm.Parent = bl
  206.  
  207. dm.Scale = Vector3.new(1.2,1.2,1.2)
  208.  
  209. fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  210.  
  211. local br = Instance.new("Part")
  212.  
  213. br.TopSurface = 0
  214.  
  215. br.BottomSurface = 0
  216.  
  217. br.CanCollide = false
  218.  
  219. br.BrickColor = BrickColor.new("Pastel brown")
  220.  
  221. br.Shape = "Ball"
  222.  
  223. br.Parent = t2
  224.  
  225. br.Size = Vector3.new(1,1,1)
  226.  
  227. local dm = Instance.new("SpecialMesh")
  228.  
  229. dm.MeshType = "Sphere"
  230.  
  231. dm.Parent = br
  232.  
  233. dm.Scale = Vector3.new(1.2,1.2,1.2)
  234.  
  235. fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  236.  
  237. local bln = Instance.new("Part")
  238.  
  239. bln.TopSurface = 0
  240.  
  241. bln.BottomSurface = 0
  242.  
  243. bln.CanCollide = false
  244.  
  245. bln.Shape = "Ball"
  246.  
  247. bln.Parent = t2
  248.  
  249. bln.Size = Vector3.new(1,1,1)
  250.  
  251. local dm = Instance.new("SpecialMesh")
  252.  
  253. dm.MeshType = "Sphere"
  254.  
  255. dm.Parent = bln
  256.  
  257. dm.Scale = Vector3.new(0.2,0.2,0.2)
  258.  
  259. fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  260.  
  261. local brn = Instance.new("Part")
  262.  
  263. brn.TopSurface = 0
  264.  
  265. brn.BottomSurface = 0
  266.  
  267. brn.CanCollide = false
  268.  
  269. brn.Shape = "Ball"
  270.  
  271. brn.Parent = t2
  272.  
  273. brn.Size = Vector3.new(1,1,1)
  274.  
  275. local dm = Instance.new("SpecialMesh")
  276.  
  277. dm.MeshType = "Sphere"
  278.  
  279. dm.Parent = brn
  280.  
  281. dm.Scale = Vector3.new(0.2,0.2,0.2)
  282.  
  283. fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  284.  
  285. lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  286.  
  287. rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  288.  
  289. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
  290.  
  291. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
  292.  
  293. ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
  294.  
  295. rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
  296.  
  297. if t1:findFirstChild("weldx") ~= nil then
  298.  
  299. t1.weldx:Remove()
  300.  
  301. end
  302.  
  303. we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  304.  
  305. n = t2.Neck
  306.  
  307. n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  308.  
  309. end)
  310.  
  311. coroutine.resume(coroutine.create(function()
  312.  
  313. while wait() do
  314.  
  315. for i = 1,6 do
  316.  
  317. we.C1 = we.C1 * CFrame.new(0,-0.3,0)
  318.  
  319. wait()
  320.  
  321. end
  322.  
  323.  
  324.  
  325. for i = 1,6 do
  326.  
  327. we.C1 = we.C1 * CFrame.new(0,0.3,0)
  328.  
  329. wait()
  330.  
  331. end
  332.  
  333. end
  334.  
  335. end))
  336.  
  337. end
  338.  
  339. fun("YOURNAME", "THE VICTIM")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement