Advertisement
mathmasterphil

Red

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