Advertisement
epicdude6951

Untitled

Dec 16th, 2016
180
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.18 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.CanCollide = false
  65. d.BrickColor = BrickColor.new("Medium stone grey")
  66. d.Shape = "Ball"
  67. d.Parent = t1
  68. d.Size = Vector3.new(1,1,1)
  69. local dm = Instance.new("SpecialMesh")
  70. dm.MeshType = "Sphere"
  71. dm.Parent = d
  72. dm.Scale = Vector3.new(0.4,0.4,0.4)
  73. fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  74. d2 = d:Clone()
  75. d2.Parent = t1
  76. fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  77. local c = Instance.new("Part")
  78. c.TopSurface = 0
  79. c.BottomSurface = 0
  80. c.CanCollide = false
  81. c.BrickColor = BrickColor.new("Pastel brown")
  82. c.Parent = t1
  83. c.formFactor = "Custom"
  84. c.Size = Vector3.new(0.4,1.3,0.4)
  85. cm = Instance.new("CylinderMesh")
  86. cm.Parent = c
  87. a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  88. c2 = d:Clone()
  89. c2.BrickColor = BrickColor.new("Medium stone grey")
  90. c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  91. c2.Parent = t1
  92. fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  93. local bl = Instance.new("Part")
  94. bl.TopSurface = 0
  95. bl.BottomSurface = 0
  96. bl.CanCollide = false
  97. bl.BrickColor = BrickColor.new("Pastel brown")
  98. bl.Shape = "Ball"
  99. bl.Parent = t2
  100. bl.Size = Vector3.new(1,1,1)
  101. local dm = Instance.new("SpecialMesh")
  102. dm.MeshType = "Sphere"
  103. dm.Parent = bl
  104. dm.Scale = Vector3.new(1.2,1.2,1.2)
  105. fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  106. local br = Instance.new("Part")
  107. br.TopSurface = 0
  108. br.BottomSurface = 0
  109. br.CanCollide = false
  110. br.BrickColor = BrickColor.new("Pastel brown")
  111. br.Shape = "Ball"
  112. br.Parent = t2
  113. br.Size = Vector3.new(1,1,1)
  114. local dm = Instance.new("SpecialMesh")
  115. dm.MeshType = "Sphere"
  116. dm.Parent = br
  117. dm.Scale = Vector3.new(1.2,1.2,1.2)
  118. fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  119. local bln = Instance.new("Part")
  120. bln.TopSurface = 0
  121. bln.BottomSurface = 0
  122. bln.CanCollide = false
  123. bln.Shape = "Ball"
  124. bln.Parent = t2
  125. bln.Size = Vector3.new(1,1,1)
  126. local dm = Instance.new("SpecialMesh")
  127. dm.MeshType = "Sphere"
  128. dm.Parent = bln
  129. dm.Scale = Vector3.new(0.2,0.2,0.2)
  130. fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  131. local brn = Instance.new("Part")
  132. brn.TopSurface = 0
  133. brn.BottomSurface = 0
  134. brn.CanCollide = false
  135. brn.Shape = "Ball"
  136. brn.Parent = t2
  137. brn.Size = Vector3.new(1,1,1)
  138. local dm = Instance.new("SpecialMesh")
  139. dm.MeshType = "Sphere"
  140. dm.Parent = brn
  141. dm.Scale = Vector3.new(0.2,0.2,0.2)
  142. fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  143. lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  144. rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  145. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
  146. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
  147. ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
  148. rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
  149. if t1:findFirstChild("weldx") ~= nil then
  150. t1.weldx:Remove()
  151. end
  152. we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  153. n = t2.Neck
  154. n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  155. end)
  156. coroutine.resume(coroutine.create(function()
  157. while wait() do
  158. for i = 1,6 do
  159. we.C1 = we.C1 * CFrame.new(0,-0.3,0)
  160. wait()
  161. end
  162.  
  163. for i = 1,6 do
  164. we.C1 = we.C1 * CFrame.new(0,0.3,0)
  165. wait()
  166. end
  167. end
  168. end))
  169. end
  170. fun("vfgvjhgjhy", "wbaty12345")
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178. Pastebin.com Tools & Applications
  179.  
  180. iPhone/iPad Windows Firefox Chrome WebOS Android Mac Opera Click.to UNIX WinPhone
  181.  
  182.  
  183.  
  184. create new paste | api | trends | syntax languages | faq | tools | privacy | cookies | contact | dmca | advertise on pastebin | shop NEW! | go pro
  185. Follow us: pastebin on facebook | pastebin on twitter | pastebin in the news
  186. Dedicated Server Hosting by Steadfast
  187. Pastebin v3.11 rendered in: 0.006 seconds
  188. Site design & logo © 2015 Pastebin; user contributions (pastes) licensed under cc by-sa 3.0
  189.  
  190.  
  191.  
  192.  
  193. function fWeld(zName, zParent, zPart0, zPart1, zCoco, a, b, c, d, e, f)
  194. local funcw = Instance.new("Weld")
  195. funcw.Name = zName
  196. funcw.Parent = zParent
  197. funcw.Part0 = zPart0
  198. funcw.Part1 = zPart1
  199. if (zCoco == true) then
  200. funcw.C0 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  201. else
  202. funcw.C1 = CFrame.new(a, b, c) * CFrame.fromEulerAnglesXYZ(d, e, f)
  203. end
  204. return funcw
  205. end
  206. function fun(n1, n2)
  207. pcall(function()
  208. t1 = game.Players[n1].Character.Torso
  209. t2 = game.Players[n2].Character.Torso
  210. t2.Parent.Humanoid.PlatformStand = true
  211. t1["Left Shoulder"]:Remove()
  212. ls1 = Instance.new("Weld")
  213. ls1.Parent = t1
  214. ls1.Part0 = t1
  215. ls1.Part1 = t1.Parent["Left Arm"]
  216. ls1.C0 = CFrame.new(-1.5,0,0)
  217. ls1.Name = "Left Shoulder"
  218. t1["Right Shoulder"]:Remove()
  219. rs1 = Instance.new("Weld")
  220. rs1.Parent = t1
  221. rs1.Part0 = t1
  222. rs1.Part1 = t1.Parent["Right Arm"]
  223. rs1.C0 = CFrame.new(1.5,0,0)
  224. rs1.Name = "Right Shoulder"
  225. t2["Left Shoulder"]:Remove()
  226. ls2 = Instance.new("Weld")
  227. ls2.Parent = t2
  228. ls2.Part0 = t2
  229. ls2.Part1 = t2.Parent["Left Arm"]
  230. ls2.C0 = CFrame.new(-1.5,0,0)
  231. ls2.Name = "Left Shoulder"
  232. t2["Right Shoulder"]:Remove()
  233. rs2 = Instance.new("Weld")
  234. rs2.Parent = t2
  235. rs2.Part0 = t2
  236. rs2.Part1 = t2.Parent["Right Arm"]
  237. rs2.C0 = CFrame.new(1.5,0,0)
  238. rs2.Name = "Right Shoulder"
  239. t2["Left Hip"]:Remove()
  240. lh2 = Instance.new("Weld")
  241. lh2.Parent = t2
  242. lh2.Part0 = t2
  243. lh2.Part1 = t2.Parent["Left Leg"]
  244. lh2.C0 = CFrame.new(-0.5,-2,0)
  245. lh2.Name = "Left Hip"
  246. t2["Right Hip"]:Remove()
  247. rh2 = Instance.new("Weld")
  248. rh2.Parent = t2
  249. rh2.Part0 = t2
  250. rh2.Part1 = t2.Parent["Right Leg"]
  251. rh2.C0 = CFrame.new(0.5,-2,0)
  252. rh2.Name = "Right Hip"
  253. local d = Instance.new("Part")
  254. d.TopSurface = 0
  255. d.BottomSurface = 0
  256. d.CanCollide = false
  257. d.BrickColor = BrickColor.new("Medium stone grey")
  258. d.Shape = "Ball"
  259. d.Parent = t1
  260. d.Size = Vector3.new(1,1,1)
  261. local dm = Instance.new("SpecialMesh")
  262. dm.MeshType = "Sphere"
  263. dm.Parent = d
  264. dm.Scale = Vector3.new(0.4,0.4,0.4)
  265. fWeld("weld",t1,t1,d,true,-0.2,-1.3,-0.6,0,0,0)
  266. d2 = d:Clone()
  267. d2.Parent = t1
  268. fWeld("weld",t1,t1,d2,true,0.2,-1.3,-0.6,0,0,0)
  269. local c = Instance.new("Part")
  270. c.TopSurface = 0
  271. c.BottomSurface = 0
  272. c.CanCollide = false
  273. c.BrickColor = BrickColor.new("Pastel brown")
  274. c.Parent = t1
  275. c.formFactor = "Custom"
  276. c.Size = Vector3.new(0.4,1.3,0.4)
  277. cm = Instance.new("CylinderMesh")
  278. cm.Parent = c
  279. a = fWeld("weld",t1,t1,c,true,0,-1,-0.52+(-c.Size.y/2),math.rad(-80),0,0)
  280. c2 = d:Clone()
  281. c2.BrickColor = BrickColor.new("Medium stone grey")
  282. c2.Mesh.Scale = Vector3.new(0.4,0.62,0.4)
  283. c2.Parent = t1
  284. fWeld("weld",c,c,c2,true,0,0+(c.Size.y/2),0,math.rad(-10),0,0)
  285. local bl = Instance.new("Part")
  286. bl.TopSurface = 0
  287. bl.BottomSurface = 0
  288. bl.CanCollide = false
  289. bl.BrickColor = BrickColor.new("Pastel brown")
  290. bl.Shape = "Ball"
  291. bl.Parent = t2
  292. bl.Size = Vector3.new(1,1,1)
  293. local dm = Instance.new("SpecialMesh")
  294. dm.MeshType = "Sphere"
  295. dm.Parent = bl
  296. dm.Scale = Vector3.new(1.2,1.2,1.2)
  297. fWeld("weld",t2,t2,bl,true,-0.5,0.5,-0.6,0,0,0)
  298. local br = Instance.new("Part")
  299. br.TopSurface = 0
  300. br.BottomSurface = 0
  301. br.CanCollide = false
  302. br.BrickColor = BrickColor.new("Pastel brown")
  303. br.Shape = "Ball"
  304. br.Parent = t2
  305. br.Size = Vector3.new(1,1,1)
  306. local dm = Instance.new("SpecialMesh")
  307. dm.MeshType = "Sphere"
  308. dm.Parent = br
  309. dm.Scale = Vector3.new(1.2,1.2,1.2)
  310. fWeld("weld",t2,t2,br,true,0.5,0.5,-0.6,0,0,0)
  311. local bln = Instance.new("Part")
  312. bln.TopSurface = 0
  313. bln.BottomSurface = 0
  314. bln.CanCollide = false
  315. bln.Shape = "Ball"
  316. bln.Parent = t2
  317. bln.Size = Vector3.new(1,1,1)
  318. local dm = Instance.new("SpecialMesh")
  319. dm.MeshType = "Sphere"
  320. dm.Parent = bln
  321. dm.Scale = Vector3.new(0.2,0.2,0.2)
  322. fWeld("weld",t2,t2,bln,true,-0.5,0.5,-1.2,0,0,0)
  323. local brn = Instance.new("Part")
  324. brn.TopSurface = 0
  325. brn.BottomSurface = 0
  326. brn.CanCollide = false
  327. brn.Shape = "Ball"
  328. brn.Parent = t2
  329. brn.Size = Vector3.new(1,1,1)
  330. local dm = Instance.new("SpecialMesh")
  331. dm.MeshType = "Sphere"
  332. dm.Parent = brn
  333. dm.Scale = Vector3.new(0.2,0.2,0.2)
  334. fWeld("weld",t2,t2,brn,true,0.5,0.5,-1.2,0,0,0)
  335. lh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,-0.4,0)
  336. rh2.C1 = CFrame.new(0,-1.5,-0.5) * CFrame.Angles(0.9,0.4,0)
  337. ls2.C1 = CFrame.new(-0.5,-1.3,-0.5) * CFrame.Angles(0.9,-0.4,0)
  338. rs2.C1 = CFrame.new(0.5,-1.3,-0.5) * CFrame.Angles(0.9,0.4,0)
  339. ls1.C1 = CFrame.new(-0.5,0.7,0) * CFrame.Angles(-0.9,-0.4,0)
  340. rs1.C1 = CFrame.new(0.5,0.7,0) * CFrame.Angles(-0.9,0.4,0)
  341. if t1:findFirstChild("weldx") ~= nil then
  342. t1.weldx:Remove()
  343. end
  344. we = fWeld("weldx", t1, t1, t2, true, 0, -0.9, -1.3, math.rad(-90), 0, 0)
  345. n = t2.Neck
  346. n.C0 = CFrame.new(0, 1.5, 0) * CFrame.Angles(math.rad(-210), math.rad(180), 0)
  347. end)
  348. coroutine.resume(coroutine.create(function()
  349. while wait() do
  350. for i = 1,6 do
  351. we.C1 = we.C1 * CFrame.new(0,-0.3,0)
  352. wait()
  353. end
  354.  
  355. for i = 1,6 do
  356. we.C1 = we.C1 * CFrame.new(0,0.3,0)
  357. wait()
  358. end
  359. end
  360. end))
  361. end
  362. fun("nas22443", "SSKADFF23")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement