iRefixed

Untitled

May 20th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 16.12 KB | None | 0 0
  1. local Me = game.Players.LocalPlayer
  2. local char = Me.Character
  3. local Torso = char.Torso
  4. local Rarm = char["Right Arm"]
  5. local Larm = char["Left Arm"]
  6. local Attkin = true
  7. pcall(function() char[":P"]:remove() end)
  8. pcall(function() char["Parts"]:remove() end)
  9. local Model = Instance.new("Model",char)
  10. Model.Name = ":P"
  11. local prts = Instance.new("Model", char)
  12. prts.Name = "Parts"
  13. local RAB = Instance.new("Part") -- Right Arm Brick
  14. RAB.formFactor = "Custom"
  15. RAB.Size = Vector3.new(0.2, 0.2, 0.2)
  16. RAB.Transparency = 1
  17. RAB.Parent = Model
  18. RAB:BreakJoints()
  19. local RABW = Instance.new("Weld",RAB) -- Right Arm Brick Weld
  20. RABW.Part0 = Torso
  21. RABW.Part1 = RAB
  22. RABW.C1 = CFrame.new(-1.5, -0.5, 0)
  23. local LAB = Instance.new("Part") -- Right Arm Brick
  24. LAB.formFactor = "Custom"
  25. LAB.Size = Vector3.new(0.2, 0.2, 0.2)
  26. LAB.Transparency = 1
  27. LAB.Parent = Model
  28. LAB:BreakJoints()
  29. local LABW = Instance.new("Weld",LAB) -- Left Arm Brick Weld
  30. LABW.Part0 = Torso
  31. LABW.Part1 = LAB
  32. LABW.C1 = CFrame.new(1.5, -0.5, 0)
  33. local RAW = Instance.new("Weld",RAB) -- Right Arm Weld
  34. RAW.Part0 = RAB
  35. RAW.Part1 = nil
  36. RAW.C1 = CFrame.new(0, 0.5, 0)
  37. local LAW = Instance.new("Weld",LAB) -- Left Arm Weld
  38. LAW.Part0 = LAB
  39. LAW.Part1 = nil
  40. LAW.C1 = CFrame.new(0, 0.5, 0)
  41. Handle = Instance.new("Part")
  42. Handle.Transparency = 0
  43. Handle.Parent = prts
  44. Handle.formFactor = "Custom"
  45. Handle.Size = Vector3.new(0.25,1.2,0.25) -- Om nom nom
  46. Handle.BrickColor = BrickColor.new("Medium stone grey")
  47. Handle:BreakJoints()
  48. mesh = Instance.new("CylinderMesh")
  49. mesh.Parent = Handle
  50. mesh.Scale = Vector3.new(1,1,1)
  51. weld = Instance.new("Weld")
  52. weld.Parent = Handle
  53. weld.Part0 = Handle
  54. weld.Part1 = Torso
  55. weld.C0 = CFrame.new(0, 0, -0.6) * CFrame.Angles(0, 0, 0.8)
  56. Handle.CanCollide = false
  57. --
  58. end1 = Instance.new("Part")
  59. end1.Transparency = 0
  60. end1.Parent = prts
  61. end1.formFactor = "Custom"
  62. end1.Size = Vector3.new(0.25,0.4,0.25) -- Om nom nom
  63. end1.BrickColor = BrickColor.new("New Yeller")
  64. end1:BreakJoints()
  65. mesh2 = Instance.new("CylinderMesh")
  66. mesh2.Parent = end1
  67. mesh2.Scale = Vector3.new(1,1,1)
  68. weld2 = Instance.new("Weld")
  69. weld2.Parent = end1
  70. weld2.Part0 = end1
  71. weld2.Part1 = Handle
  72. weld2.C0 = CFrame.new(0, -1, 0) * CFrame.Angles(0, 0, 0)
  73. end1.CanCollide = false
  74. --
  75. black1 = Instance.new("Part")
  76. black1.Transparency = 0
  77. black1.Parent = prts
  78. black1.formFactor = "Custom"
  79. black1.Size = Vector3.new(0.3,0.3,0.3) -- Om nom nom
  80. black1.BrickColor = BrickColor.new("Really black")
  81. black1:BreakJoints()
  82. mesh2 = Instance.new("CylinderMesh")
  83. mesh2.Parent = black1
  84. mesh2.Scale = Vector3.new(1,1,1)
  85. weld2 = Instance.new("Weld")
  86. weld2.Parent = black1
  87. weld2.Part0 = black1
  88. weld2.Part1 = end1
  89. weld2.C0 = CFrame.new(0, 0.3, 0) * CFrame.Angles(0, 0, 0)
  90. black1.CanCollide = false
  91. --
  92. back1 = Instance.new("Part")
  93. back1.Transparency = 0
  94. back1.Parent = prts
  95. back1.formFactor = "Custom"
  96. back1.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  97. back1.BrickColor = BrickColor.new("New Yeller")
  98. back1:BreakJoints()
  99. mesh2 = Instance.new("SpecialMesh")
  100. mesh2.MeshType = 'Sphere'
  101. mesh2.Parent = back1
  102. mesh2.Scale = Vector3.new(1,1,1)
  103. weld2 = Instance.new("Weld")
  104. weld2.Parent = back1
  105. weld2.Part0 = back1
  106. weld2.Part1 = end1
  107. weld2.C0 = CFrame.new(0, -0.2, 0) * CFrame.Angles(0, 0, 0)
  108. back1.CanCollide = false
  109. --
  110. st1 = Instance.new("Part")
  111. st1.Transparency = 0
  112. st1.Parent = prts
  113. st1.formFactor = "Custom"
  114. st1.Size = Vector3.new(0.3,0.3,0.3) -- Om nom nom
  115. st1.BrickColor = BrickColor.new("Really red")
  116. st1:BreakJoints()
  117. mesh2 = Instance.new("CylinderMesh")
  118. mesh2.Parent = st1
  119. mesh2.Scale = Vector3.new(1,1,1)
  120. weld2 = Instance.new("Weld")
  121. weld2.Parent = st1
  122. weld2.Part0 = st1
  123. weld2.Part1 = Handle
  124. weld2.C0 = CFrame.new(0, 0.1, 0) * CFrame.Angles(0, 0, 0)
  125. st1.CanCollide = false
  126. ---
  127. st2 = Instance.new("Part")
  128. st2.Transparency = 0
  129. st2.Parent = prts
  130. st2.formFactor = "Custom"
  131. st2.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  132. st2.BrickColor = BrickColor.new("Medium stone grey")
  133. st2:BreakJoints()
  134. mesh2 = Instance.new("BlockMesh")
  135. mesh2.Parent = st2
  136. mesh2.Scale = Vector3.new(1.2,8,1.2)
  137. weld2 = Instance.new("Weld")
  138. weld2.Parent = st2
  139. weld2.Part0 = st2
  140. weld2.Part1 = Handle
  141. weld2.C0 = CFrame.new(0, 1.25, 0) * CFrame.Angles(0, 0, 0)
  142. st2.CanCollide = false
  143. --
  144. st23 = Instance.new("Part")
  145. st23.Transparency = 0
  146. st23.Parent = prts
  147. st23.formFactor = "Custom"
  148. st23.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  149. st23.BrickColor = BrickColor.new("Medium stone grey")
  150. st23:BreakJoints()
  151. mesh2 = Instance.new("BlockMesh")
  152. mesh2.Parent = st23
  153. mesh2.Scale = Vector3.new(4,4,4)
  154. weld2 = Instance.new("Weld")
  155. weld2.Parent = st23
  156. weld2.Part0 = st23
  157. weld2.Part1 = st2
  158. weld2.C0 = CFrame.new(0, 1, 0) * CFrame.Angles(0, 0, 0)
  159. st23.CanCollide = false
  160. --------Bottom of Brick----------------------------------------
  161. st24 = Instance.new("Part")
  162. st24.Transparency = 0
  163. st24.Parent = prts
  164. st24.formFactor = "Custom"
  165. st24.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  166. st24.BrickColor = BrickColor.new("Medium stone grey")
  167. st24:BreakJoints()
  168. mesh2 = Instance.new("BlockMesh")
  169. mesh2.Parent = st24
  170. mesh2.Scale = Vector3.new(3,1,3)
  171. weld2 = Instance.new("Weld")
  172. weld2.Parent = st24
  173. weld2.Part0 = st24
  174. weld2.Part1 = st23
  175. weld2.C0 = CFrame.new(0, 0.6, 0) * CFrame.Angles(0, 0, 0)
  176. st24.CanCollide = false
  177. --
  178. st25 = Instance.new("Part")
  179. st25.Transparency = 0
  180. st25.Parent = prts
  181. st25.formFactor = "Custom"
  182. st25.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  183. st25.BrickColor = BrickColor.new("Medium stone grey")
  184. st25:BreakJoints()
  185. mesh2 = Instance.new("BlockMesh")
  186. mesh2.Parent = st25
  187. mesh2.Scale = Vector3.new(2,1,2)
  188. weld2 = Instance.new("Weld")
  189. weld2.Parent = st25
  190. weld2.Part0 = st25
  191. weld2.Part1 = st24
  192. weld2.C0 = CFrame.new(0, 0.2, 0) * CFrame.Angles(0, 0, 0)
  193. st25.CanCollide = false
  194. --
  195. st26 = Instance.new("Part")
  196. st26.Transparency = 0
  197. st26.Parent = prts
  198. st26.formFactor = "Custom"
  199. st26.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  200. st26.BrickColor = BrickColor.new("Medium stone grey")
  201. st26:BreakJoints()
  202. mesh2 = Instance.new("BlockMesh")
  203. mesh2.Parent = st26
  204. mesh2.Scale = Vector3.new(1,1,1)
  205. weld2 = Instance.new("Weld")
  206. weld2.Parent = st26
  207. weld2.Part0 = st26
  208. weld2.Part1 = st25
  209. weld2.C0 = CFrame.new(0, 0.2, 0) * CFrame.Angles(0, 0, 0)
  210. st26.CanCollide = false
  211. -----------Next Side---------------------
  212. st30 = Instance.new("Part")
  213. st30.Transparency = 0
  214. st30.Parent = prts
  215. st30.formFactor = "Custom"
  216. st30.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  217. st30.BrickColor = BrickColor.new("Medium stone grey")
  218. st30:BreakJoints()
  219. mesh2 = Instance.new("BlockMesh")
  220. mesh2.Parent = st30
  221. mesh2.Scale = Vector3.new(3,1,3)
  222. weld2 = Instance.new("Weld")
  223. weld2.Parent = st30
  224. weld2.Part0 = st30
  225. weld2.Part1 = st23
  226. weld2.C0 = CFrame.new(0, 0.6, 0) * CFrame.Angles(0, 0, 1.5)
  227. st30.CanCollide = false
  228. --
  229. st31 = Instance.new("Part")
  230. st31.Transparency = 0
  231. st31.Parent = prts
  232. st31.formFactor = "Custom"
  233. st31.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  234. st31.BrickColor = BrickColor.new("Medium stone grey")
  235. st31:BreakJoints()
  236. mesh2 = Instance.new("BlockMesh")
  237. mesh2.Parent = st31
  238. mesh2.Scale = Vector3.new(2,1,2)
  239. weld2 = Instance.new("Weld")
  240. weld2.Parent = st31
  241. weld2.Part0 = st31
  242. weld2.Part1 = st30
  243. weld2.C0 = CFrame.new(0, 0.2, 0) * CFrame.Angles(0, 0, 0)
  244. st31.CanCollide = false
  245. --
  246. st32 = Instance.new("Part")
  247. st32.Transparency = 0
  248. st32.Parent = prts
  249. st32.formFactor = "Custom"
  250. st32.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  251. st32.BrickColor = BrickColor.new("Medium stone grey")
  252. st32:BreakJoints()
  253. mesh2 = Instance.new("BlockMesh")
  254. mesh2.Parent = st32
  255. mesh2.Scale = Vector3.new(1,1,1)
  256. weld2 = Instance.new("Weld")
  257. weld2.Parent = st32
  258. weld2.Part0 = st32
  259. weld2.Part1 = st31
  260. weld2.C0 = CFrame.new(0, 0.2, 0) * CFrame.Angles(0, 0, 0)
  261. st32.CanCollide = false
  262. -----FINAL SIDE-------------
  263. st40 = Instance.new("Part")
  264. st40.Transparency = 0
  265. st40.Parent = prts
  266. st40.formFactor = "Custom"
  267. st40.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  268. st40.BrickColor = BrickColor.new("Medium stone grey")
  269. st40:BreakJoints()
  270. mesh2 = Instance.new("BlockMesh")
  271. mesh2.Parent = st40
  272. mesh2.Scale = Vector3.new(3,1,3)
  273. weld2 = Instance.new("Weld")
  274. weld2.Parent = st40
  275. weld2.Part0 = st40
  276. weld2.Part1 = st23
  277. weld2.C0 = CFrame.new(0, 0.6, 0) * CFrame.Angles(0, 0, -1.5)
  278. st40.CanCollide = false
  279. --
  280. st41 = Instance.new("Part")
  281. st41.Transparency = 0
  282. st41.Parent = prts
  283. st41.formFactor = "Custom"
  284. st41.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  285. st41.BrickColor = BrickColor.new("Medium stone grey")
  286. st41:BreakJoints()
  287. mesh2 = Instance.new("BlockMesh")
  288. mesh2.Parent = st41
  289. mesh2.Scale = Vector3.new(2,1,2)
  290. weld2 = Instance.new("Weld")
  291. weld2.Parent = st41
  292. weld2.Part0 = st41
  293. weld2.Part1 = st40
  294. weld2.C0 = CFrame.new(0, 0.2, 0) * CFrame.Angles(0, 0, 0)
  295. st41.CanCollide = false
  296. --
  297. st42 = Instance.new("Part")
  298. st42.Transparency = 0
  299. st42.Parent = prts
  300. st42.formFactor = "Custom"
  301. st42.Size = Vector3.new(0.25,0.25,0.25) -- Om nom nom
  302. st42.BrickColor = BrickColor.new("Medium stone grey")
  303. st42:BreakJoints()
  304. mesh2 = Instance.new("BlockMesh")
  305. mesh2.Parent = st42
  306. mesh2.Scale = Vector3.new(1,1,1)
  307. weld2 = Instance.new("Weld")
  308. weld2.Parent = st42
  309. weld2.Part0 = st42
  310. weld2.Part1 = st41
  311. weld2.C0 = CFrame.new(0, 0.2, 0) * CFrame.Angles(0, 0, 0)
  312. st42.CanCollide = false
  313. if script.Parent.className ~= "HopperBin" then
  314. local h = Instance.new("HopperBin", Me.Backpack)
  315. h.Name = "PWNHAMMA"
  316. script.Parent = h
  317. end
  318. local bin = script.Parent
  319. --specs
  320. function damg(part, damag, magn)
  321. for _, v in pairs(game.Players:GetChildren()) do
  322. if (v.Character.Torso.Position - part.Position).magnitude < magn then
  323. if v.Name ~= Me.Name then
  324. v.Character.Humanoid.Health = v.Character.Humanoid.Health - damag
  325. end
  326. end
  327. end
  328. end
  329. function damgp(part, damag, magn)
  330. for _, v in pairs(game.Players:GetChildren()) do
  331. if (v.Character.Torso.Position - part.Position).magnitude < magn then
  332. if v.Name ~= Me.Name then
  333. v.Character.Humanoid.Health = v.Character.Humanoid.Health - damag
  334. v.Character.Humanoid.PlatformStand = true
  335. end
  336. end
  337. end
  338. end
  339. function wave(part2, color, size2)
  340. local part = Instance.new("Part")
  341. part.Parent = part2
  342. part.Anchored = true
  343. part.CanCollide = false
  344. part.Transparency = 0.25
  345. part.Size = Vector3.new(1, 1, 1)
  346. part.BrickColor = BrickColor.new(color)
  347. part.CFrame = part2.CFrame * CFrame.Angles(0, 0, 3.5)
  348. local mesh = Instance.new("SpecialMesh")
  349. mesh.Parent = part
  350. mesh.MeshType = "FileMesh"
  351. mesh.Scale = Vector3.new(size2/2, 3, size2/2)
  352. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  353. for i = 0, 1, 0.1 do
  354. mesh.Scale = mesh.Scale + Vector3.new(i, i, i)
  355. part.Transparency = i
  356. damg(part, 10, 2+i)
  357. wait()
  358. end
  359. pcall(function() part:remove() end)
  360. end
  361. --[[
  362. note to viewers,
  363. copy the function below and paste it/ edit it and add to key below,
  364. easy attacks :P
  365. --acb227
  366. --not saying any more names xD
  367. ]]
  368. function spimash()
  369. bv = Instance.new("BodyAngularVelocity")
  370. bv.Parent = Torso
  371. bv.angularvelocity = Vector3.new(0, math.random(-50, 50), 0)
  372. bv.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  373. bg = Instance.new("BodyGyro")
  374. bg.Parent = Torso
  375. bg.maxTorque = Vector3.new(0, 0, 0)
  376. for i = 0, 5, 0.1 do
  377. damgp(st42, 10, 2.5)
  378. wait()
  379. end
  380. bv:remove()
  381. bg:remove()
  382. end
  383. function dodge()
  384. Torso.Anchored = true
  385. for i = 0, 1, 0.1 do
  386. Torso.CFrame = Torso.CFrame * CFrame.Angles(0, 0, math.rad(65*i)) + Vector3.new(0, 0, 0.5)
  387. wait()
  388. end
  389. Torso.Anchored = false
  390. end
  391. function midair() --math.rad(65*i) * CFrame.Angles(0, 0, 0)
  392. bv(Torso)
  393. end
  394. function shield()
  395. for i = 0, 5, 0.1 do
  396. char.Humanoid.Health = 100
  397. wait()
  398. end
  399. end
  400. function onSelected(mouse)
  401. RAW.Part1 = Rarm
  402. RAW.C0 = CFrame.new(0, 0, 0)
  403. LAW.Part1 = Larm
  404. LAW.C0 = CFrame.new(0, 0, 0)
  405. for i = 0, 1, 0.1 do
  406. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-75*i), 0, math.rad(-55*i))
  407. wait()
  408. end
  409. weld.Part1 = Rarm
  410. weld.C0 = CFrame.new(0, 1.25, 0) * CFrame.Angles(-0.25, -1, -0.25)
  411. for i = 0, 1, 0.1 do
  412. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-75+150*i), 0, math.rad(-55+110*i))
  413. wait()
  414. end
  415. for i = 0, 1, 0.1 do
  416. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(75+0*i), 0, math.rad(55-110*i))
  417. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(75*i), 0, math.rad(25*i))
  418. wait()
  419. end
  420. Attkin = false
  421. mouse.Button1Down:connect(function()
  422. if Attkin == false then
  423. Attkin = true
  424. for i = 0, 1, 0.15 do
  425. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(75+65*i), 0, math.rad(-55+0*i))
  426. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(75+65*i), 0, math.rad(25-10*i))
  427. wait()
  428. end
  429. for i = 0, 1, 0.15 do
  430. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(140-125*i), 0, math.rad(-55+0*i))
  431. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(140-125*i), 0, math.rad(15+10*i))
  432. damg(st42, 10, 1)
  433. wait()
  434. end
  435. wave(st42, "Bright blue", 4)
  436. for i = 0, 1, 0.15 do
  437. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(15+50*i), 0, math.rad(-55+0*i))
  438. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(15+50*i), 0, math.rad(15+10*i))
  439. wait()
  440. end
  441. Attkin = false
  442. end
  443. end)
  444. mouse.KeyDown:connect(function(key)
  445. if key == "q" and Attkin == false then
  446. Attkin = true
  447. for i = 0, 1, 0.15 do
  448. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(75+55*i), 0, math.rad(-55+0*i))
  449. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(75+55*i), 0, math.rad(25-10*i))
  450. wait()
  451. end
  452. spimash()
  453. for i = 0, 1, 0.15 do
  454. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(130-55*i), 0, math.rad(-55+0*i))
  455. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(130-55*i), 0, math.rad(15+10*i))
  456. wait()
  457. end
  458. Attkin = false
  459. end
  460. if key == "e" and Attkin == false then
  461. Attkin = true
  462. for i = 0, 1, 0.15 do
  463. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(75+55*i), 0, math.rad(-55+0*i))
  464. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(75+55*i), 0, math.rad(25-10*i))
  465. wait()
  466. end
  467. dodge()
  468. for i = 0, 1, 0.15 do
  469. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(130-55*i), 0, math.rad(-55+0*i))
  470. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(130-55*i), 0, math.rad(15+10*i))
  471. wait()
  472. end
  473. Attkin = false
  474. end
  475. if key == "r" and Attkin == false then
  476. Attkin = true
  477. for i = 0, 1, 0.15 do
  478. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(75-55*i), 0, math.rad(-55+0*i))
  479. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(75-55*i), 0, math.rad(25-10*i))
  480. wait()
  481. end
  482. shield()
  483. for i = 0, 1, 0.15 do
  484. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(20+55*i), 0, math.rad(-55+0*i))
  485. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(20+55*i), 0, math.rad(15+10*i))
  486. wait()
  487. end
  488. Attkin = false
  489. end
  490. end)
  491. end
  492. function onDesel(mouse)
  493. for i = 0, 1, 0.1 do
  494. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(75-150*i), 0, math.rad(-55+75*i))
  495. wait()
  496. end
  497. weld.Part1 = Torso
  498. weld.C0 = CFrame.new(0, 0, -0.6) * CFrame.Angles(0, 0, 0.8)
  499. for i = 0, 1, 0.1 do
  500. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-75+75*i), 0, math.rad(20-20*i))
  501. LAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-75+75*i), 0, math.rad(20-20*i))
  502. wait()
  503. end
  504. LAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  505. RAW.Part1 = nil
  506. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  507. LAW.Part1 = nil
  508. LAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  509. end
  510. bin.Selected:connect(onSelected)
  511. bin.Deselected:connect(onDesel)
  512. while true do
  513. if Attkin == false then
  514. for i = 0, 1, 0.1 do
  515. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(75+10*i), 0, math.rad(-55+0*i))
  516. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(75+10*i), 0, math.rad(25+0*i))
  517. wait()
  518. end
  519. for i = 0, 1, 0.1 do
  520. RAW.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(85-10*i), 0, math.rad(-55+0*i))
  521. LAW.C0 = CFrame.new(0, 0, -0.25) * CFrame.Angles(math.rad(85-10*i), 0, math.rad(25+0*i))
  522. wait()
  523. end
  524. end
  525. wait()
  526. end
Add Comment
Please, Sign In to add comment