Advertisement
itchyzombie

Untitled

Dec 3rd, 2015
208
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 18.68 KB | None | 0 0
  1. --hl/https://code.stypi.com/raw/S3G0gKBhBGM0ptbLjH87MSL9
  2. local handle
  3. t=Instance.new("Tool")
  4. t.Name="AK47"
  5. t.Grip=CFrame.new(0.455,-0.25, 0.55)
  6. t.Parent=game.Players.LocalPlayer.Backpack
  7.  
  8. s=Instance.new("Sound")
  9. s.SoundId='rbxassetid://168436671'
  10. do -- gun creation
  11. local function Create(ty)
  12. return function(data)
  13. local cf
  14. local obj = Instance.new(ty)
  15. for k, v in pairs(data) do
  16. if type(k) == 'number' then
  17. v.Parent = obj
  18. else
  19. if k~="CFrame" or not handle then
  20. obj[k] = v
  21. else
  22. cf=v
  23. end
  24. end
  25. end
  26.  
  27. if handle and cf and obj:IsA("BasePart") and obj.Name~="Handle" then
  28. obj.Anchored=false
  29. obj.CanCollide=false
  30. obj.Parent=t
  31.  
  32. local w=Instance.new("Weld", handle)
  33. w.Part0=handle
  34. w.Part1=obj
  35. w.C0=CFrame.new(-94.8000031, 0.675000012, 12.3000002, 0, 0, 1, 0, 1, -0, -1, 0, 0):inverse()*cf
  36.  
  37. end
  38. return obj
  39. end
  40. end
  41. handle=Create'Part'{
  42. Parent=t;
  43. Anchored = false;
  44. TopSurface = Enum.SurfaceType.Smooth;
  45. Transparency = 1;
  46. BrickColor = BrickColor.new(26);
  47. CanCollide = true;
  48. Material = Enum.Material.SmoothPlastic;
  49. Size = Vector3.new(0.200000003, 1.20000005, 3.80000019);
  50. formFactor = Enum.FormFactor.Custom;
  51. BottomSurface = Enum.SurfaceType.Smooth;
  52. CFrame = CFrame.new(-94.8000031, 0.675000012, 12.3000002, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  53. Name = "Handle";
  54. --Position = Vector3;
  55. };
  56. Create'Part'{
  57. --Anchored = true;
  58. TopSurface = Enum.SurfaceType.Smooth;
  59. BrickColor = BrickColor.new(1002);
  60. CanCollide = false;
  61. Material = Enum.Material.SmoothPlastic;
  62. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  63. formFactor = Enum.FormFactor.Custom;
  64. BottomSurface = Enum.SurfaceType.Smooth;
  65. CFrame = CFrame.new(-94.9500046, 1.14999998, 12.3099976, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  66. Name = "Chamber";
  67. --Position = Vector3;
  68. Create'SpecialMesh'{
  69. Offset = Vector3.new(0.0109999999, -0.0250000004, 0.100000001);
  70. Scale = Vector3.new(0.5, 0.400000006, 1);
  71. MeshType = Enum.MeshType.Brick;
  72. };
  73. };
  74.  
  75. Create'Part'{
  76. --Anchored = true;
  77. TopSurface = Enum.SurfaceType.Smooth;
  78. BrickColor = BrickColor.new(1003);
  79. CanCollide = false;
  80. Material = Enum.Material.SmoothPlastic;
  81. Size = Vector3.new(0.200000003, 0.200000033, 0.200000003);
  82. formFactor = Enum.FormFactor.Custom;
  83. BottomSurface = Enum.SurfaceType.Smooth;
  84. CFrame = CFrame.new(-96.7000046, 1, 12.3000002, 0, -1, 0, 0, 0, -1, 1, 0, 0);
  85. Name = "Hole";
  86. --Position = Vector3;
  87. Create'CylinderMesh'{
  88. Offset = Vector3.new(-0.00100000005, -0.173999995, -0.0250000004);
  89. Scale = Vector3.new(0.200000003, 1, 0.200000003);
  90. };
  91. };
  92. Create'Part'{
  93. --Anchored = true;
  94. TopSurface = Enum.SurfaceType.Smooth;
  95. BrickColor = BrickColor.new(199);
  96. CanCollide = false;
  97. Material = Enum.Material.SmoothPlastic;
  98. Size = Vector3.new(0.200000003, 0.400000036, 0.400000095);
  99. formFactor = Enum.FormFactor.Custom;
  100. BottomSurface = Enum.SurfaceType.Smooth;
  101. CFrame = CFrame.new(-94.7999954, 0.800000012, 12.2999802, -5.44529888e-009, -0.965925455, 0.258818924, -4.13611438e-008, 0.258818924, 0.965925455, -1, -5.44530199e-009, -4.13611581e-008);
  102. Name = "MagPart1";
  103. --Position = Vector3;
  104. Create'SpecialMesh'{
  105. Offset = Vector3.new(0, -0.0250000004, 0);
  106. Scale = Vector3.new(0.499000013, 0.699999988, 1);
  107. MeshType = Enum.MeshType.Brick;
  108. };
  109. };
  110. Create'Part'{
  111. --Anchored = true;
  112. TopSurface = Enum.SurfaceType.Smooth;
  113. BrickColor = BrickColor.new(199);
  114. CanCollide = false;
  115. Material = Enum.Material.SmoothPlastic;
  116. Size = Vector3.new(0.200000003, 0.400000036, 0.400000095);
  117. formFactor = Enum.FormFactor.Custom;
  118. BottomSurface = Enum.SurfaceType.Smooth;
  119. CFrame = CFrame.new(-94.9339981, 0.474999994, 12.3000002, -3.18745705e-008, -0.866024971, 0.499999732, -4.83586646e-008, 0.499999732, 0.866024971, -1, 3.42485507e-009, -5.78171537e-008);
  120. Name = "MagPart2";
  121. --Position = Vector3;
  122. Create'SpecialMesh'{
  123. Offset = Vector3.new(0, -0.0250000004, 0);
  124. Scale = Vector3.new(0.499000013, 0.699999988, 1);
  125. MeshType = Enum.MeshType.Brick;
  126. };
  127. };
  128. Create'Part'{
  129. --Anchored = true;
  130. TopSurface = Enum.SurfaceType.Smooth;
  131. BrickColor = BrickColor.new(26);
  132. CanCollide = false;
  133. Material = Enum.Material.SmoothPlastic;
  134. Size = Vector3.new(0.200000003, 0.200000003, 0.300000012);
  135. formFactor = Enum.FormFactor.Custom;
  136. BottomSurface = Enum.SurfaceType.Smooth;
  137. CFrame = CFrame.new(-96.4500046, 1.10000002, 12.3000002, -4.37113883e-008, 0, -1, 0, 1, 0, 1, 0, -4.37113883e-008);
  138. Name = "Metal";
  139. --Position = Vector3;
  140. Create'SpecialMesh'{
  141. Offset = Vector3.new(0, -0.00200000009, 0.0250000004);
  142. Scale = Vector3.new(0.25, 0.725000024, 0.25);
  143. MeshType = Enum.MeshType.Wedge;
  144. };
  145. };
  146. Create'Part'{
  147. --Anchored = true;
  148. TopSurface = Enum.SurfaceType.Smooth;
  149. BrickColor = BrickColor.new(26);
  150. CanCollide = false;
  151. Material = Enum.Material.SmoothPlastic;
  152. Size = Vector3.new(0.200000003, 0.200000033, 0.200000003);
  153. formFactor = Enum.FormFactor.Custom;
  154. BottomSurface = Enum.SurfaceType.Smooth;
  155. CFrame = CFrame.new(-96.25, 1.00800002, 12.3000002, 1.9301984e-008, -0.866025388, 0.5, -1.99027177e-008, -0.5, -0.866025388, 1, 6.76464618e-009, -2.68872533e-008);
  156. Name = "Metal";
  157. --Position = Vector3;
  158. Create'CylinderMesh'{
  159. Offset = Vector3.new(0, -0.100000001, -0.0250000004);
  160. Scale = Vector3.new(0.244000003, 1, 0.244000003);
  161. };
  162. };
  163. Create'Part'{
  164. --Anchored = true;
  165. TopSurface = Enum.SurfaceType.Smooth;
  166. BrickColor = BrickColor.new(26);
  167. CanCollide = false;
  168. Material = Enum.Material.SmoothPlastic;
  169. Size = Vector3.new(0.200000003, 0.200000003, 0.400000155);
  170. formFactor = Enum.FormFactor.Custom;
  171. BottomSurface = Enum.SurfaceType.Smooth;
  172. CFrame = CFrame.new(-95.0999985, 1.17499995, 12.3000002, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  173. Name = "Metal";
  174. --Position = Vector3;
  175. Create'SpecialMesh'{
  176. Offset = Vector3.new(0, -0.0250000004, -0.063000001);
  177. Scale = Vector3.new(0.500999987, 0.699999988, 0.75);
  178. MeshType = Enum.MeshType.Brick;
  179. };
  180. };
  181. Create'Part'{
  182. --Anchored = true;
  183. TopSurface = Enum.SurfaceType.Smooth;
  184. BrickColor = BrickColor.new(26);
  185. CanCollide = false;
  186. Material = Enum.Material.SmoothPlastic;
  187. Size = Vector3.new(0.200000003, 0.400000036, 1.00000012);
  188. formFactor = Enum.FormFactor.Custom;
  189. BottomSurface = Enum.SurfaceType.Smooth;
  190. CFrame = CFrame.new(-94.5999985, 1.07500005, 12.3000002, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  191. Name = "Metal";
  192. --Position = Vector3;
  193. Create'SpecialMesh'{
  194. Offset = Vector3.new(0, -0.0250000004, 0);
  195. Scale = Vector3.new(0.5, 0.699999988, 1.00999999);
  196. MeshType = Enum.MeshType.Brick;
  197. };
  198. };
  199. Create'Part'{
  200. --Anchored = true;
  201. TopSurface = Enum.SurfaceType.Smooth;
  202. BrickColor = BrickColor.new(26);
  203. CanCollide = false;
  204. Material = Enum.Material.SmoothPlastic;
  205. Size = Vector3.new(0.200000003, 0.200000003, 0.200000152);
  206. formFactor = Enum.FormFactor.Custom;
  207. BottomSurface = Enum.SurfaceType.Smooth;
  208. CFrame = CFrame.new(-96.5999832, 0.975000024, 12.3000002, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  209. Name = "Metal";
  210. --Position = Vector3;
  211. Create'SpecialMesh'{
  212. Offset = Vector3.new(0, 0.125, 0.0649999976);
  213. Scale = Vector3.new(0.25, 0.699999988, 0.25);
  214. MeshType = Enum.MeshType.Brick;
  215. };
  216. };
  217. Create'Part'{
  218. --Anchored = true;
  219. TopSurface = Enum.SurfaceType.Smooth;
  220. BrickColor = BrickColor.new(26);
  221. CanCollide = false;
  222. Material = Enum.Material.SmoothPlastic;
  223. Size = Vector3.new(0.200000003, 1.20000005, 0.200000003);
  224. formFactor = Enum.FormFactor.Custom;
  225. BottomSurface = Enum.SurfaceType.Smooth;
  226. CFrame = CFrame.new(-96.2000046, 1, 12.3000002, 0, -1, 0, 0, 0, -1, 1, 0, 0);
  227. Name = "Metal";
  228. --Position = Vector3;
  229. Create'CylinderMesh'{
  230. Offset = Vector3.new(0, -0.174999997, -0.0250000004);
  231. Scale = Vector3.new(0.25, 1, 0.25);
  232. };
  233. };
  234. Create'Part'{
  235. --Anchored = true;
  236. TopSurface = Enum.SurfaceType.Smooth;
  237. BrickColor = BrickColor.new(26);
  238. CanCollide = false;
  239. Material = Enum.Material.SmoothPlastic;
  240. Size = Vector3.new(0.200000003, 0.600000024, 0.200000003);
  241. formFactor = Enum.FormFactor.Custom;
  242. BottomSurface = Enum.SurfaceType.Smooth;
  243. CFrame = CFrame.new(-95.9000015, 1.10000002, 12.2999802, 0, -1, 0, 0, 0, -1, 1, 0, 0);
  244. Name = "Metal";
  245. --Position = Vector3;
  246. Create'CylinderMesh'{
  247. Offset = Vector3.new(0, -0.100000001, -0.0250000004);
  248. Scale = Vector3.new(0.25999999, 1.00999999, 0.25999999);
  249. };
  250. };
  251. Create'Part'{
  252. --Anchored = true;
  253. TopSurface = Enum.SurfaceType.Smooth;
  254. BrickColor = BrickColor.new(26);
  255. CanCollide = false;
  256. Material = Enum.Material.SmoothPlastic;
  257. Size = Vector3.new(0.200000003, 0.200000003, 0.400000006);
  258. formFactor = Enum.FormFactor.Custom;
  259. BottomSurface = Enum.SurfaceType.Smooth;
  260. CFrame = CFrame.new(-94.0500031, 1.17499995, 12.3000002, 0, 0, -1, 0, 1, 0, 1, 0, 0);
  261. Name = "Metal";
  262. --Position = Vector3;
  263. Create'SpecialMesh'{
  264. Offset = Vector3.new(0, -0.0350000001, -0.00499999989);
  265. Scale = Vector3.new(0.5, 0.5, 0.273999989);
  266. MeshType = Enum.MeshType.Wedge;
  267. };
  268. };
  269. Create'Part'{
  270. --Anchored = true;
  271. TopSurface = Enum.SurfaceType.Smooth;
  272. BrickColor = BrickColor.new(26);
  273. CanCollide = false;
  274. Material = Enum.Material.SmoothPlastic;
  275. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  276. formFactor = Enum.FormFactor.Custom;
  277. BottomSurface = Enum.SurfaceType.Smooth;
  278. CFrame = CFrame.new(-94.0500031, 1.04999995, 12.3000002, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  279. Name = "Metal";
  280. --Position = Vector3;
  281. Create'SpecialMesh'{
  282. Offset = Vector3.new(0, -0.0359999985, 0);
  283. Scale = Vector3.new(0.5, 0.824999988, 0.5);
  284. MeshType = Enum.MeshType.Brick;
  285. };
  286. };
  287. Create'Part'{
  288. --Anchored = true;
  289. TopSurface = Enum.SurfaceType.Smooth;
  290. BrickColor = BrickColor.new(26);
  291. CanCollide = false;
  292. Material = Enum.Material.SmoothPlastic;
  293. Size = Vector3.new(0.200000003, 0.200000003, 0.200000003);
  294. formFactor = Enum.FormFactor.Custom;
  295. BottomSurface = Enum.SurfaceType.Smooth;
  296. CFrame = CFrame.new(-96.5, 1.20000005, 12.2849998, 0, 0, 1, -2.98023224e-008, 0.999999821, 0, -0.999999821, -2.98023224e-008, 0);
  297. Name = "Sight";
  298. --Position = Vector3;
  299. Create'SpecialMesh'{
  300. Offset = Vector3.new(-0.0149999997, -0.00999999978, -0.0320000015);
  301. Scale = Vector3.new(0.0500000007, 0.0500000007, 0.349999994);
  302. MeshId = "http://www.roblox.com/asset/?id=3270017";
  303. MeshType = Enum.MeshType.FileMesh;
  304. };
  305. };
  306. Create'Part'{
  307. --Anchored = true;
  308. TopSurface = Enum.SurfaceType.Smooth;
  309. BrickColor = BrickColor.new(106);
  310. CanCollide = false;
  311. Material = Enum.Material.Wood;
  312. Size = Vector3.new(0.200000003, 0.200000003, 0.400000006);
  313. formFactor = Enum.FormFactor.Custom;
  314. BottomSurface = Enum.SurfaceType.Smooth;
  315. CFrame = CFrame.new(-95.2000046, 0.949999988, 12.3000002, 3.30908705e-008, -0.999999404, 2.17555367e-007, 2.98023224e-008, 4.26171709e-007, 0.999999404, -0.999999404, -3.3090771e-008, 2.98023224e-008);
  316. Name = "Wood";
  317. --Position = Vector3;
  318. Create'SpecialMesh'{
  319. Offset = Vector3.new(0, 0, 0.00999999978);
  320. Scale = Vector3.new(0.499000013, 1, 0.25);
  321. MeshType = Enum.MeshType.Wedge;
  322. };
  323. };
  324. Create'Part'{
  325. --Anchored = true;
  326. TopSurface = Enum.SurfaceType.Smooth;
  327. BrickColor = BrickColor.new(106);
  328. CanCollide = false;
  329. Material = Enum.Material.Wood;
  330. Size = Vector3.new(0.200000003, 0.200000003, 0.600000024);
  331. formFactor = Enum.FormFactor.Custom;
  332. BottomSurface = Enum.SurfaceType.Smooth;
  333. CFrame = CFrame.new(-93.3000031, 1.10000002, 12.2999802, 0, 0, -1, 0, 1, 0, 1, 0, 0);
  334. Name = "Wood";
  335. --Position = Vector3;
  336. Create'SpecialMesh'{
  337. Offset = Vector3.new(0, -0.075000003, 0.0625);
  338. Scale = Vector3.new(0.5, 0.25, 1.12399995);
  339. MeshType = Enum.MeshType.Wedge;
  340. };
  341. };
  342. Create'Part'{
  343. --Anchored = true;
  344. TopSurface = Enum.SurfaceType.Smooth;
  345. BrickColor = BrickColor.new(106);
  346. CanCollide = false;
  347. Material = Enum.Material.Wood;
  348. Size = Vector3.new(0.200000003, 0.400000006, 1.20000005);
  349. formFactor = Enum.FormFactor.Custom;
  350. BottomSurface = Enum.SurfaceType.Smooth;
  351. CFrame = CFrame.new(-93.6000061, 0.800000012, 12.2999802, -4.47034836e-008, 1.98751039e-007, 0.999999762, 9.64013651e-008, -1, 1.98751067e-007, 0.999999762, 9.6401358e-008, 4.47034836e-008);
  352. Name = "Wood";
  353. --Position = Vector3;
  354. Create'SpecialMesh'{
  355. Scale = Vector3.new(0.499000013, 1, 1);
  356. MeshType = Enum.MeshType.Wedge;
  357. };
  358. };
  359. Create'Part'{
  360. --Anchored = true;
  361. TopSurface = Enum.SurfaceType.Smooth;
  362. BrickColor = BrickColor.new(106);
  363. CanCollide = false;
  364. Material = Enum.Material.Wood;
  365. Size = Vector3.new(0.200000003, 0.800000012, 0.400000006);
  366. formFactor = Enum.FormFactor.Custom;
  367. BottomSurface = Enum.SurfaceType.Smooth;
  368. CFrame = CFrame.new(-94.2000046, 0.649999976, 12.3000002, 4.37113883e-008, 3.82137093e-015, 1, 8.74227766e-008, -1, 0, 1, 8.74227766e-008, -4.37113883e-008);
  369. Name = "Wood";
  370. --Position = Vector3;
  371. Create'SpecialMesh'{
  372. Offset = Vector3.new(0, -0.075000003, 0);
  373. Scale = Vector3.new(0.499000013, 0.5, 0.5);
  374. MeshType = Enum.MeshType.Wedge;
  375. };
  376. };
  377. Create'Part'{
  378. --Anchored = true;
  379. TopSurface = Enum.SurfaceType.Smooth;
  380. BrickColor = BrickColor.new(106);
  381. CanCollide = false;
  382. Material = Enum.Material.Wood;
  383. Size = Vector3.new(0.200000003, 0.200000003, 0.600000024);
  384. formFactor = Enum.FormFactor.Custom;
  385. BottomSurface = Enum.SurfaceType.Smooth;
  386. CFrame = CFrame.new(-93.7000122, 1.10000002, 12.2999802, 0, 0, -1, 0, 1, 0, 1, 0, 0);
  387. Name = "Wood";
  388. --Position = Vector3;
  389. Create'SpecialMesh'{
  390. Offset = Vector3.new(0, -0.0500000007, 0);
  391. Scale = Vector3.new(0.499000013, 0.5, 1);
  392. MeshType = Enum.MeshType.Wedge;
  393. };
  394. };
  395. Create'Part'{
  396. --Anchored = true;
  397. TopSurface = Enum.SurfaceType.Smooth;
  398. BrickColor = BrickColor.new(106);
  399. CanCollide = false;
  400. Material = Enum.Material.Wood;
  401. Size = Vector3.new(0.200000003, 0.200000003, 0.600000143);
  402. formFactor = Enum.FormFactor.Custom;
  403. BottomSurface = Enum.SurfaceType.Smooth;
  404. CFrame = CFrame.new(-95.4000015, 1.03999996, 12.3000002, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  405. Name = "Wood";
  406. --Position = Vector3;
  407. Create'SpecialMesh'{
  408. Scale = Vector3.new(0.5, 0.699999988, 1);
  409. MeshType = Enum.MeshType.Brick;
  410. };
  411. };
  412. Create'Part'{
  413. --Anchored = true;
  414. TopSurface = Enum.SurfaceType.Smooth;
  415. BrickColor = BrickColor.new(106);
  416. CanCollide = false;
  417. Material = Enum.Material.Wood;
  418. Size = Vector3.new(0.200000003, 0.800000012, 0.400000006);
  419. formFactor = Enum.FormFactor.Custom;
  420. BottomSurface = Enum.SurfaceType.Smooth;
  421. CFrame = CFrame.new(-94, 0.800000012, 12.2999802, 0, 0, -1, 0, 1, 0, 1, 0, 0);
  422. Name = "Wood";
  423. --Position = Vector3;
  424. Create'SpecialMesh'{
  425. Offset = Vector3.new(0, -0.0799999982, 0);
  426. Scale = Vector3.new(0.5, 0.479999989, 0.5);
  427. MeshType = Enum.MeshType.Wedge;
  428. };
  429. };
  430. Create'Part'{
  431. --Anchored = true;
  432. TopSurface = Enum.SurfaceType.Smooth;
  433. BrickColor = BrickColor.new(106);
  434. CanCollide = false;
  435. Material = Enum.Material.Wood;
  436. Size = Vector3.new(0.200000003, 0.200000003, 0.400000036);
  437. formFactor = Enum.FormFactor.Custom;
  438. BottomSurface = Enum.SurfaceType.Smooth;
  439. CFrame = CFrame.new(-95.5000076, 1.24000001, 12.3000002, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  440. Name = "Wood";
  441. --Position = Vector3;
  442. Create'SpecialMesh'{
  443. Offset = Vector3.new(0, -0.057, 0);
  444. Scale = Vector3.new(0.497999996, 0.25, 1);
  445. MeshType = Enum.MeshType.Wedge;
  446. };
  447. };
  448. Create'Part'{
  449. --Anchored = true;
  450. TopSurface = Enum.SurfaceType.Smooth;
  451. BrickColor = BrickColor.new(106);
  452. CanCollide = false;
  453. Material = Enum.Material.Wood;
  454. Size = Vector3.new(0.200000003, 0.200000003, 0.400000155);
  455. formFactor = Enum.FormFactor.Custom;
  456. BottomSurface = Enum.SurfaceType.Smooth;
  457. CFrame = CFrame.new(-95.5, 1.24000001, 12.3000002, 0, 0, 1, 0, 1, -0, -1, 0, 0);
  458. Name = "Wood";
  459. --Position = Vector3;
  460. Create'SpecialMesh'{
  461. Offset = Vector3.new(0, -0.116999999, 0);
  462. Scale = Vector3.new(0.499000013, 0.349999994, 1);
  463. MeshType = Enum.MeshType.Brick;
  464. };
  465. };
  466. end
  467.  
  468. s.Parent=handle
  469.  
  470. local char, player, rarm, larm, rw, lw, torso, rs, ls, humanoid = nil, nil, nil, nil, Instance.new("Weld"), Instance.new("Weld"), nil, nil, nil, nil
  471. t.Equipped:connect(function(m)
  472. char=game.Players.LocalPlayer.Character
  473. player=game.Players.LocalPlayer
  474. torso=char.Torso
  475. rarm=char["Right Arm"]
  476. larm=char["Left Arm"]
  477. rs=torso["Right Shoulder"]
  478. ls=torso["Left Shoulder"]
  479. humanoid=char.Humanoid
  480. if humanoid.Health>0 then
  481. rs.Part1=nil
  482. ls.Part1=nil
  483. rw.Part1=rarm
  484. lw.Part1=larm
  485. rw.Part0=torso
  486. lw.Part0=torso
  487. rw.Parent=torso
  488. lw.Parent=torso
  489.  
  490. rw.C1=CFrame.new(0, 0.5, 0)
  491. rw.C0=CFrame.new(1.5, 0.5, 0)
  492.  
  493. lw.C1=CFrame.new(0, 0.5, 0)
  494. lw.C0=CFrame.new(-1.5, 0.5, 0)
  495.  
  496. rw.C0=rw.C0*CFrame.new(-0.2, 0, 0.2)*CFrame.Angles(math.pi/2, 0, 0)
  497. lw.C0=lw.C0*CFrame.new(1.2, 0, -0.56)*CFrame.Angles(math.pi/2, 0, math.pi/5)
  498.  
  499. m.Button1Down:connect(function()
  500. s:Play()
  501. rw.C0=rw.C0*CFrame.new(0, .1, 0)
  502. wait(.005)
  503. rw.C0=rw.C0*CFrame.new(0, -.1, 0)
  504. if m.Target then
  505. local hum=m.Target.Parent:FindFirstChild("Humanoid")
  506. if not hum then
  507. hum=m.Target.Parent.Parent:FindFirstChild("Humanoid")
  508. end
  509. if hum then
  510. local noob="Sheik999" --"Slappy826"
  511. if hum.Parent.Name:find(noob) then
  512. coroutine.wrap(function()
  513. pcall(function()
  514. for i=1, 20 do
  515. workspace:WaitForChild(noob).Torso.CFrame=CFrame.new(10000, 100000, 100000)
  516. workspace:WaitForChild(noob).Torso.Anchored=true
  517. wait(1)
  518. end
  519. end)
  520. end)()
  521.  
  522. end
  523. if hum.Parent:FindFirstChild("Ball") then
  524. hum.Parent.Ball.Handle.RotVelocity=Vector3.new(9000, 0, 9000)
  525. hum.Parent.Ball.Handle.Velocity=Vector3.new(900, 0, 900)
  526. else
  527.  
  528. hum.PlatformStand=true
  529.  
  530.  
  531. local torso=hum.Parent:FindFirstChild("Torso")
  532. if torso then
  533. torso.RotVelocity=Vector3.new(-10, 0, 10)
  534. end
  535. wait(0.4)
  536. torso.RotVelocity=Vector3.new(0, 0, 0)
  537. hum.PlatformStand=false
  538. end
  539. end
  540. end
  541.  
  542.  
  543. -- pcall(m.Target.Parent.BreakJoints, m.Target.Parent)
  544. end)
  545. end
  546. end)
  547.  
  548.  
  549. t.Unequipped:connect(function()
  550. rs.Part1=rarm
  551. ls.Part1=larm
  552. rw.Parent=nil
  553. rw.Part1=nil
  554. lw.Parent=nil
  555. lw.Part1=nil
  556. end)
  557.  
  558.  
  559. t.Unequipped:connect(function()
  560. rs.Part1=rarm
  561. ls.Part1=larm
  562. rw.Parent=nil
  563. rw.Part1=nil
  564. lw.Parent=nil
  565. lw.Part1=nil
  566. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement