Advertisement
Guest User

Untitled

a guest
Jan 21st, 2018
65
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.02 KB | None | 0 0
  1.  
  2. 1.function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f)
  3.  
  4.  
  5. 2.local funcw = Instance.new("Weld")
  6.  
  7.  
  8. 3.funcw.Name = zName
  9.  
  10.  
  11. 4.funcw.Parent = zParent
  12.  
  13.  
  14. 5.funcw.Part0 = zPart0
  15.  
  16.  
  17. 6.funcw.Part1 = zPart1
  18.  
  19.  
  20. 7.if (zCoco == true) then
  21.  
  22.  
  23. 8.funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  24.  
  25.  
  26. 9.else
  27.  
  28.  
  29. 10.funcw.C1 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  30.  
  31.  
  32. 11.end
  33.  
  34.  
  35. 12.return funcw
  36.  
  37.  
  38. 13.end
  39.  
  40.  
  41. 14.function fun(n1, n2)
  42.  
  43.  
  44. 15.pcall(function()
  45.  
  46.  
  47. 16.t1 = game.Players[n1].Character.Torso
  48.  
  49.  
  50. 17.t2 = game.Players[n2].Character.Torso
  51.  
  52.  
  53. 18.t2.Parent.Humanoid.PlatformStand = true
  54.  
  55.  
  56. 19.t1["Left Shoulder"]:Remove()
  57.  
  58.  
  59. 20.ls1 = Instance.new("Weld")
  60.  
  61.  
  62. 21.ls1.Parent = t1
  63.  
  64.  
  65. 22.ls1.Part0 = t1
  66.  
  67.  
  68. 23.ls1.Part1 = t1.Parent["Left Arm"]
  69.  
  70.  
  71. 24.ls1.C0 = CFrame.new(-1.5,0,0)
  72.  
  73.  
  74. 25.ls1.Name = "Left Shoulder"
  75.  
  76.  
  77. 26.t1["Right Shoulder"]:Remove()
  78.  
  79.  
  80. 27.rs1 = Instance.new("Weld")
  81.  
  82.  
  83. 28.rs1.Parent = t1
  84.  
  85.  
  86. 29.rs1.Part0 = t1
  87.  
  88.  
  89. 30.rs1.Part1 = t1.Parent["Right Arm"]
  90.  
  91.  
  92. 31.rs1.C0 = CFrame.new(1.5,0,0)
  93.  
  94.  
  95. 32.rs1.Name = "Right Shoulder"
  96.  
  97.  
  98. 33.t2["Left Shoulder"]:Remove()
  99.  
  100.  
  101. 34.ls2 = Instance.new("Weld")
  102.  
  103.  
  104. 35.ls2.Parent = t2
  105.  
  106.  
  107. 36.ls2.Part0 = t2
  108.  
  109.  
  110. 37.ls2.Part1 = t2.Parent["Left Arm"]
  111.  
  112.  
  113. 38.ls2.C0 = CFrame.new(-1.5,0,0)
  114.  
  115.  
  116. 39.ls2.Name = "Left Shoulder"
  117.  
  118.  
  119. 40.t2["Right Shoulder"]:Remove()
  120.  
  121.  
  122. 41.rs2 = Instance.new("Weld")
  123.  
  124.  
  125. 42.rs2.Parent = t2
  126.  
  127.  
  128. 43.rs2.Part0 = t2
  129.  
  130.  
  131. 44.rs2.Part1 = t2.Parent["Right Arm"]
  132.  
  133.  
  134. 45.rs2.C0 = CFrame.new(1.5,0,0)
  135.  
  136.  
  137. 46.rs2.Name = "Right Shoulder"
  138.  
  139.  
  140. 47.t2["Left Hip"]:Remove()
  141.  
  142.  
  143. 48.lh2 = Instance.new("Weld")
  144.  
  145.  
  146. 49.lh2.Parent = t2
  147.  
  148.  
  149. 50.lh2.Part0 = t2
  150.  
  151.  
  152. 51.lh2.Part1 = t2.Parent["Left Leg"]
  153.  
  154.  
  155. 52.lh2.C0 = CFrame.new(-0.5,-2,0)
  156.  
  157.  
  158. 53.lh2.Name = "Left Hip"
  159.  
  160.  
  161. 54.t2["Right Hip"]:Remove()
  162.  
  163.  
  164. 55.rh2 = Instance.new("Weld")
  165.  
  166.  
  167. 56.rh2.Parent = t2
  168.  
  169.  
  170. 57.rh2.Part0 = t2
  171.  
  172.  
  173. 58.rh2.Part1 = t2.Parent["Right Leg"]
  174.  
  175.  
  176. 59.rh2.C0 = CFrame.new(0.5,-2,0)
  177.  
  178.  
  179. 60.rh2.Name = "Right Hip"
  180.  
  181.  
  182. 61.local d = Instance.new("Part")
  183.  
  184.  
  185. 62.d.TopSurface = 0
  186.  
  187.  
  188. 63.d.BottomSurface = 0
  189.  
  190.  
  191. 64.d.CanCollide = false
  192.  
  193.  
  194. 65.d.BrickColor = BrickColor.new("Medium stone grey")
  195.  
  196.  
  197. 66.d.Shape = "Ball"
  198.  
  199.  
  200. 67.d.Parent = t1
  201.  
  202.  
  203. 68.d.Size = Vector3.new(1,1,1)
  204.  
  205.  
  206. 69.local dm = Instance.new("SpecialMesh")
  207.  
  208.  
  209. 70.dm.MeshType = "Sphere"
  210.  
  211.  
  212. 71.dm.Parent = d
  213.  
  214.  
  215. 72.dm.Scale = Vector3.new(0.4,0.4,0.4)
  216.  
  217.  
  218. 73.fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  219.  
  220.  
  221. 74.d2 = d:Clone()
  222.  
  223.  
  224. 75.d2.Parent = t1
  225.  
  226.  
  227. 76.fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  228.  
  229.  
  230. 77.local c = Instance.new("Part")
  231.  
  232.  
  233. 78.c.TopSurface = 0
  234.  
  235.  
  236. 79.c.BottomSurface = 0
  237.  
  238.  
  239. 80.c.CanCollide = false
  240.  
  241.  
  242. 81.c.BrickColor = BrickColor.new("Pastel brown")
  243.  
  244.  
  245. 82.c.Parent = t1
  246.  
  247.  
  248. 83.c.formFactor = "Custom"
  249.  
  250.  
  251. 84.c.Size = Vector3.new(0.4,1.3,0.4)
  252.  
  253.  
  254. 85.cm = Instance.new("CylinderMesh")
  255.  
  256.  
  257. 86.cm.Parent = c
  258.  
  259.  
  260. 87.a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  261.  
  262.  
  263. 88.c2 = d:Clone()
  264.  
  265.  
  266. 89.c2.BrickColor = BrickColor.new("Medium stone grey")
  267.  
  268.  
  269. 90.c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  270.  
  271.  
  272. 91.c2.Parent = t1
  273.  
  274.  
  275. 92.fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  276.  
  277.  
  278. 93.local bl = Instance.new("Part")
  279.  
  280.  
  281. 94.bl.TopSurface = 0
  282.  
  283.  
  284. 95.bl.BottomSurface = 0
  285.  
  286.  
  287. 96.bl.CanCollide = false
  288.  
  289.  
  290. 97.bl.BrickColor = BrickColor.new("Pastel brown")
  291.  
  292.  
  293. 98.bl.Shape = "Ball"
  294.  
  295.  
  296. 99.bl.Parent = t2
  297.  
  298.  
  299. 100.bl.Size = Vector3.new(1,1,1)
  300.  
  301.  
  302. 101.local dm = Instance.new("SpecialMesh")
  303.  
  304.  
  305. 102.dm.MeshType = "Sphere"
  306.  
  307.  
  308. 103.dm.Parent = bl
  309.  
  310.  
  311. 104.dm.Scale = Vector3.new(1.2,1.2,1.2)
  312.  
  313.  
  314. 105.fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  315.  
  316.  
  317. 106.local br = Instance.new("Part")
  318.  
  319.  
  320. 107.br.TopSurface = 0
  321.  
  322.  
  323. 108.br.BottomSurface = 0
  324.  
  325.  
  326. 109.br.CanCollide = false
  327.  
  328.  
  329. 110.br.BrickColor = BrickColor.new("Pastel brown")
  330.  
  331.  
  332. 111.br.Shape = "Ball"
  333.  
  334.  
  335. 112.br.Parent = t2
  336.  
  337.  
  338. 113.br.Size = Vector3.new(1,1,1)
  339.  
  340.  
  341. 114.local dm = Instance.new("SpecialMesh")
  342.  
  343.  
  344. 115.dm.MeshType = "Sphere"
  345.  
  346.  
  347. 116.dm.Parent = br
  348.  
  349.  
  350. 117.dm.Scale = Vector3.new(1.2,1.2,1.2)
  351.  
  352.  
  353. 118.fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  354.  
  355.  
  356. 119.local bln = Instance.new("Part")
  357.  
  358.  
  359. 120.bln.TopSurface = 0
  360.  
  361.  
  362. 121.bln.BottomSurface = 0
  363.  
  364.  
  365. 122.bln.CanCollide = false
  366.  
  367.  
  368. 123.bln.Shape = "Ball"
  369.  
  370.  
  371. 124.bln.Parent = t2
  372.  
  373.  
  374. 125.bln.Size = Vector3.new(1,1,1)
  375.  
  376.  
  377. 126.local dm = Instance.new("SpecialMesh")
  378.  
  379.  
  380. 127.dm.MeshType = "Sphere"
  381.  
  382.  
  383. 128.dm.Parent = bln
  384.  
  385.  
  386. 129.dm.Scale = Vector3.new(0.2,0.2,0.2)
  387.  
  388.  
  389. 130.fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  390.  
  391.  
  392. 131.local brn = Instance.new("Part")
  393.  
  394.  
  395. 132.brn.TopSurface = 0
  396.  
  397.  
  398. 133.brn.BottomSurface = 0
  399.  
  400.  
  401. 134.brn.CanCollide = false
  402.  
  403.  
  404. 135.brn.Shape = "Ball"
  405.  
  406.  
  407. 136.brn.Parent = t2
  408.  
  409.  
  410. 137.brn.Size = Vector3.new(1,1,1)
  411.  
  412.  
  413. 138.local dm = Instance.new("SpecialMesh")
  414.  
  415.  
  416. 139.dm.MeshType = "Sphere"
  417.  
  418.  
  419. 140.dm.Parent = brn
  420.  
  421.  
  422. 141.dm.Scale = Vector3.new(0.2,0.2,0.2)
  423.  
  424.  
  425. 142.fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  426.  
  427.  
  428. 143.lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  429.  
  430.  
  431. 144.rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  432.  
  433.  
  434. 145.ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
  435.  
  436.  
  437. 146.rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
  438.  
  439.  
  440. 147.ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
  441.  
  442.  
  443. 148.rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
  444.  
  445.  
  446. 149.if t1:findFirstChild("weldx") ~= nil then
  447.  
  448.  
  449. 150.t1.weldx:Remove()
  450.  
  451.  
  452. 151.end
  453.  
  454.  
  455. 152.we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  456.  
  457.  
  458. 153.n = t2.Neck
  459.  
  460.  
  461. 154.n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  462.  
  463.  
  464. 155.end)
  465.  
  466.  
  467. 156.coroutine.resume(coroutine.create(function()
  468.  
  469.  
  470. 157.while wait() do
  471.  
  472.  
  473. 158.for i = 1,6 do
  474.  
  475.  
  476. 159.we.C1 = we.C1 * CFrame.new(0,-0.3,0)
  477.  
  478.  
  479. 160.wait()
  480.  
  481.  
  482. 161.end
  483.  
  484.  
  485. 162.
  486.  
  487.  
  488. 163.for i = 1,6 do
  489.  
  490.  
  491. 164.we.C1 = we.C1 * CFrame.new(0,0.3,0)
  492.  
  493.  
  494. 165.wait()
  495.  
  496.  
  497. 166.end
  498.  
  499.  
  500. 167.end
  501.  
  502.  
  503. 168.end))
  504.  
  505.  
  506. 169.end
  507.  
  508.  
  509. 170.fun("YOURNAME", "THE VICTIM")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement