Advertisement
SmokeDelsin

dunno

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