Galenoir


SUBMITTED BY: Pamlau

DATE: March 8, 2017, 10:17 a.m.

FORMAT: Lua

SIZE: 79.2 kB

HITS: 342

  1. Player = game:GetService("Players").LocalPlayer
  2. cheatsheetplr = game.Players.LocalPlayer
  3. i = Instance.new("NumberValue", cheatsheetplr )
  4. i.Name = "FPSCH"
  5. Bin = Instance.new("HopperBin", cheatsheetplr .Backpack)
  6. script.Parent = Bin
  7. local cf = CFrame.new
  8. local RbxUtility = LoadLibrary("RbxUtility")
  9. local Create = RbxUtility.Create
  10. RWL = Create("Weld")({Name = "Right Shoulder", Part0 = Tor, C0 = CFrame.new(1.5, 0.5, 0), C1 = CFrame.new(0, 0.5, 0), Part1 = RA, Parent = Tor})
  11. LWL = Create("Weld")({Name = "Left Shoulder", Part0 = Tor, C0 = CFrame.new(-1.5, 0.5, 0), C1 = CFrame.new(0, 0.5, 0), Part1 = LA, Parent = Tor})
  12. Character = Player.Character
  13. PlayerGui = Player.PlayerGui
  14. Backpack = Player.Backpack
  15. Torso = Character.Torso
  16. Head = Character.Head
  17. LeftArm = Character["Left Arm"]
  18. LeftLeg = Character["Left Leg"]
  19. RightArm = Character["Right Arm"]
  20. RightLeg = Character["Right Leg"]
  21. LSH = Torso["Left Shoulder"]
  22. LHL = Torso["Left Hip"]
  23. RS = Torso["Right Shoulder"]
  24. RHL = Torso["Right Hip"]
  25. LW = LWL
  26. ModelName = "Weapon"
  27. attack = false
  28. attacktype = 1
  29. Hitdeb = 0
  30. Neck = Torso.Neck
  31. local neckcf0 = Neck.C0
  32. MMouse = nil
  33. shCD = false
  34. bhold = false
  35. local bonusdmg = 0
  36. Aura = 0
  37. local ws = Character.Humanoid.WalkSpeed
  38. mindamage = 8
  39. maxdamage = 12
  40. crtmaxdamage = 20
  41. omindamage = mindamage
  42. omaxdamage = maxdamage
  43. ocrtmaxdamage = crtmaxdamage
  44. crtrate = 22
  45. handlecolor = BrickColor.new("Really black")
  46. bcolor = BrickColor.new("Bright violet")
  47. gemcolor = BrickColor.new("Alder")
  48. ToolName = "Galenoir"
  49. ArtificialHB = Instance.new("BindableEvent", script)
  50. ArtificialHB.Name = "Heartbeat"
  51. script:WaitForChild("Heartbeat")
  52. frame = 0.033333333333333
  53. if game.Players.LocalPlayer.FPSCH.Value == true then
  54. frame = 0.016666666666667
  55. else
  56. frame = 0.033333333333333
  57. end
  58. tf = 0
  59. allowframeloss = false
  60. tossremainder = false
  61. lastframe = tick()
  62. script.Heartbeat:Fire()
  63. game:GetService("RunService").Heartbeat:connect(function(s, p)
  64. tf = tf + s
  65. if frame <= tf then
  66. if allowframeloss then
  67. script.Heartbeat:Fire()
  68. lastframe = tick()
  69. else
  70. for i = 1, math.floor(tf / frame) do
  71. script.Heartbeat:Fire()
  72. end
  73. lastframe = tick()
  74. end
  75. if tossremainder then
  76. tf = 0
  77. else
  78. tf = tf - frame * math.floor(tf / frame)
  79. end
  80. end
  81. end
  82. )
  83. swait = function(num)
  84. if num == 0 or num == nil then
  85. ArtificialHB.Event:wait()
  86. else
  87. for i = 0, num do
  88. ArtificialHB.Event:wait()
  89. end
  90. end
  91. end
  92. if Character:findFirstChild("EquippedVal", true) ~= nil then
  93. Character:findFirstChild("EquippedVal", true).Parent = nil
  94. end
  95. if Player.PlayerGui:findFirstChild("AuraGUI", true) ~= nil then
  96. Player.PlayerGui:findFirstChild("AuraGUI", true).Parent = nil
  97. end
  98. ev = Instance.new("BoolValue", Character)
  99. ev.Name = "EquippedVal"
  100. ev.Value = false
  101. player = nil
  102. RW = Instance.new("Weld")
  103. anim = "none"
  104. player = Player
  105. ch = Character
  106. AoETrue = {}
  107. RSH = ch.Torso["Right Shoulder"]
  108. RWFunc = function()
  109. RW.Part1 = ch["Right Arm"]
  110. RSH.Part1 = nil
  111. end
  112. LWFunc = function()
  113. LW.Part1 = ch["Left Arm"]
  114. LSH.Part1 = nil
  115. end
  116. RWLFunc = function()
  117. RWL.Part1 = ch["Right Leg"]
  118. RHL.Part1 = nil
  119. ch["Right Leg"].Name = "RightLeg"
  120. RightLeg.CanCollide = false
  121. end
  122. LWLFunc = function()
  123. LWL.Part1 = ch["Left Leg"]
  124. LHL.Part1 = nil
  125. ch["Left Leg"].Name = "LeftLeg"
  126. LeftLeg.CanCollide = true
  127. end
  128. RWLRem = function()
  129. RightLeg.Name = "Right Leg"
  130. RWL.Part1 = nil
  131. RHL.Part1 = ch["Right Leg"]
  132. RightLeg.CanCollide = true
  133. end
  134. LWLRem = function()
  135. LeftLeg.Name = "Left Leg"
  136. LWL.Part1 = nil
  137. LHL.Part1 = ch["Left Leg"]
  138. LeftLeg.CanCollide = true
  139. end
  140. RWRem = function()
  141. RW.Part1 = nil
  142. RSH.Part1 = ch["Right Arm"]
  143. end
  144. LWRem = function()
  145. LW.Part1 = nil
  146. LSH.Part1 = ch["Left Arm"]
  147. end
  148. if Character:findFirstChild(ModelName, true) ~= nil then
  149. Character:findFirstChild(ModelName, true).Parent = nil
  150. RHL.Part1 = ch["Right Leg"]
  151. LHL.Part1 = ch["Left Leg"]
  152. RSH.Part1 = ch["Right Arm"]
  153. LSH.Part1 = ch["Left Arm"]
  154. end
  155. local swordholder = Instance.new("Model")
  156. swordholder.Name = ModelName
  157. swordholder.Parent = Character
  158. RW.Part0 = ch.Torso
  159. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  160. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.fromEulerAnglesXYZ(0, 0, 0)
  161. RW.Parent = swordholder
  162. LW.Part0 = ch.Torso
  163. LW.C0 = CFrame.new(-1.5, 0.5, 0)
  164. LW.C1 = CFrame.new(0, 0.5, 0)
  165. LW.Parent = swordholder
  166. RWL.Part0 = ch.Torso
  167. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
  168. RWL.C1 = CFrame.new(0.5, 1, 0)
  169. RWL.Parent = swordholder
  170. LWL.Part0 = ch.Torso
  171. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
  172. LWL.C1 = CFrame.new(-0.5, 1, 0)
  173. LWL.Parent = swordholder
  174. local msh1 = Instance.new("CylinderMesh")
  175. msh1.Scale = Vector3.new(1, 1, 1)
  176. local msh2 = Instance.new("CylinderMesh")
  177. msh2.Scale = Vector3.new(1.1, 1, 1.1)
  178. local msh3 = Instance.new("CylinderMesh")
  179. msh3.Scale = Vector3.new(0.5, 1.075, 0.5)
  180. local msh4 = Instance.new("SpecialMesh")
  181. msh4.Scale = Vector3.new(0.35, 0.85, 0.35)
  182. msh4.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  183. local msh5 = Instance.new("SpecialMesh")
  184. msh5.Scale = Vector3.new(0.35, 0.85, 0.35)
  185. msh5.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  186. local msh6 = Instance.new("SpecialMesh")
  187. msh6.Scale = Vector3.new(0.35, 1.5, 0.35)
  188. msh6.MeshId = "http://www.roblox.com/asset/?id=1051557"
  189. local msh7 = Instance.new("SpecialMesh")
  190. msh7.Scale = Vector3.new(0.35, 1.5, 0.35)
  191. msh7.MeshId = "http://www.roblox.com/asset/?id=1051557"
  192. local msh8 = Instance.new("SpecialMesh")
  193. msh8.Scale = Vector3.new(0.2, 0.3, 0.2)
  194. msh8.MeshId = "http://www.roblox.com/asset/?id=20329976"
  195. local msh9 = Instance.new("SpecialMesh")
  196. msh9.Scale = Vector3.new(0.2, 0.3, 0.2)
  197. msh9.MeshId = "http://www.roblox.com/asset/?id=20329976"
  198. local msh10 = Instance.new("CylinderMesh")
  199. msh10.Scale = Vector3.new(1, 0.1, 1)
  200. local msh11 = Instance.new("CylinderMesh")
  201. msh11.Scale = Vector3.new(1, 0.1, 1)
  202. local prt1 = Instance.new("Part")
  203. prt1.formFactor = 3
  204. prt1.CanCollide = false
  205. prt1.Name = "Handle"
  206. prt1.Locked = true
  207. prt1.Size = Vector3.new(0.2, 6.5, 0.2)
  208. prt1.Parent = swordholder
  209. msh1.Parent = prt1
  210. prt1.BrickColor = handlecolor
  211. local prt2 = Instance.new("Part")
  212. prt2.formFactor = 3
  213. prt2.CanCollide = false
  214. prt2.Name = "Handle2"
  215. prt2.Locked = true
  216. prt2.Size = Vector3.new(0.2, 1, 0.2)
  217. prt2.Parent = swordholder
  218. msh2.Parent = prt2
  219. prt2.BrickColor = bcolor
  220. local prt3 = Instance.new("Part")
  221. prt3.formFactor = 3
  222. prt3.CanCollide = false
  223. prt3.Name = "HandleDesign1"
  224. prt3.Locked = true
  225. prt3.Size = Vector3.new(0.2, 0.2, 0.2)
  226. prt3.Parent = swordholder
  227. msh3.Parent = prt3
  228. prt3.BrickColor = handlecolor
  229. local prt3a = prt3:clone()
  230. prt3a.Parent = swordholder
  231. local prt4 = Instance.new("Part")
  232. prt4.formFactor = 3
  233. prt4.CanCollide = false
  234. prt4.Name = "Tip1"
  235. prt4.Locked = true
  236. prt4.Size = Vector3.new(0.2, msh4.Scale.Y, 0.2)
  237. prt4.Parent = swordholder
  238. prt4.Reflectance = 0.25
  239. msh4.Parent = prt4
  240. prt4.BrickColor = handlecolor
  241. local prt5 = Instance.new("Part")
  242. prt5.formFactor = 3
  243. prt5.CanCollide = false
  244. prt5.Name = "Tip2"
  245. prt5.Locked = true
  246. prt5.Size = Vector3.new(0.2, msh5.Scale.Y, 0.2)
  247. prt5.Parent = swordholder
  248. prt5.Reflectance = 0.25
  249. msh5.Parent = prt5
  250. prt5.BrickColor = handlecolor
  251. local prt6 = Instance.new("Part")
  252. prt6.formFactor = 3
  253. prt6.CanCollide = false
  254. prt6.Name = "TipDesign1"
  255. prt6.Locked = true
  256. prt6.Size = Vector3.new(0.2, 0.2, 0.2)
  257. prt6.Parent = swordholder
  258. prt6.Transparency = 0.2
  259. msh6.Parent = prt6
  260. prt6.BrickColor = bcolor
  261. local prt7 = Instance.new("Part")
  262. prt7.formFactor = 3
  263. prt7.CanCollide = false
  264. prt7.Name = "TipDesign2"
  265. prt7.Locked = true
  266. prt7.Size = Vector3.new(0.2, 0.2, 0.2)
  267. prt7.Parent = swordholder
  268. prt7.Transparency = 0.2
  269. msh7.Parent = prt7
  270. prt7.BrickColor = bcolor
  271. local prt8 = Instance.new("Part")
  272. prt8.formFactor = 3
  273. prt8.CanCollide = false
  274. prt8.Name = "TipDesign3"
  275. prt8.Locked = true
  276. prt8.Size = Vector3.new(0.2, 0.2, 0.2)
  277. prt8.Parent = swordholder
  278. msh8.Parent = prt8
  279. prt8.BrickColor = gemcolor
  280. local prt9 = Instance.new("Part")
  281. prt9.formFactor = 3
  282. prt9.CanCollide = false
  283. prt9.Name = "TipDesign4"
  284. prt9.Locked = true
  285. prt9.Size = Vector3.new(0.2, 0.2, 0.2)
  286. prt9.Parent = swordholder
  287. msh9.Parent = prt9
  288. prt9.BrickColor = gemcolor
  289. local prt10 = Instance.new("Part")
  290. prt10.formFactor = 3
  291. prt10.CanCollide = false
  292. prt10.Name = "TipDesign5"
  293. prt10.Locked = true
  294. prt10.Size = Vector3.new(0.3, 0.2, 0.3)
  295. prt10.Parent = swordholder
  296. msh10.Parent = prt10
  297. prt10.BrickColor = gemcolor
  298. local prt11 = Instance.new("Part")
  299. prt11.formFactor = 3
  300. prt11.CanCollide = false
  301. prt11.Name = "TipDesign6"
  302. prt11.Locked = true
  303. prt11.Size = Vector3.new(0.3, 0.2, 0.3)
  304. prt11.Parent = swordholder
  305. msh11.Parent = prt11
  306. prt11.BrickColor = gemcolor
  307. local w1 = Instance.new("Weld")
  308. w1.Parent = prt1
  309. w1.Part0 = prt1
  310. local w2 = Instance.new("Weld")
  311. w2.Parent = prt2
  312. w2.Part0 = prt2
  313. w2.Part1 = prt1
  314. w2.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  315. w2.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  316. local w3 = Instance.new("Weld")
  317. w3.Parent = prt3
  318. w3.Part0 = prt3
  319. w3.Part1 = prt1
  320. w3.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  321. w3.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), 0, 0)
  322. local w3a = Instance.new("Weld")
  323. w3a.Parent = prt3a
  324. w3a.Part0 = prt3a
  325. w3a.Part1 = prt1
  326. w3a.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  327. w3a.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(90), math.rad(90), 0)
  328. local w4 = Instance.new("Weld")
  329. w4.Parent = prt4
  330. w4.Part0 = prt4
  331. w4.Part1 = prt1
  332. w4.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  333. w4.C0 = CFrame.new(0, 3.25, 0) * CFrame.Angles(0, 0, 0)
  334. local w5 = Instance.new("Weld")
  335. w5.Parent = prt5
  336. w5.Part0 = prt5
  337. w5.Part1 = prt1
  338. w5.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  339. w5.C0 = CFrame.new(0, -3.25, 0) * CFrame.Angles(0, 0, 0)
  340. local w6 = Instance.new("Weld")
  341. w6.Parent = prt6
  342. w6.Part0 = prt6
  343. w6.Part1 = prt1
  344. w6.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  345. w6.C0 = CFrame.new(0, 2.3, 0) * CFrame.Angles(0, 0, 0)
  346. local w7 = Instance.new("Weld")
  347. w7.Parent = prt7
  348. w7.Part0 = prt7
  349. w7.Part1 = prt1
  350. w7.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  351. w7.C0 = CFrame.new(0, 2.3, 0) * CFrame.Angles(math.rad(180), 0, 0)
  352. local w8 = Instance.new("Weld")
  353. w8.Parent = prt8
  354. w8.Part0 = prt8
  355. w8.Part1 = prt1
  356. w8.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  357. w8.C0 = CFrame.new(0, 2.8, 0) * CFrame.Angles(0, 0, 0)
  358. local w9 = Instance.new("Weld")
  359. w9.Parent = prt9
  360. w9.Part0 = prt9
  361. w9.Part1 = prt1
  362. w9.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  363. w9.C0 = CFrame.new(0, 2.8, 0) * CFrame.Angles(math.rad(180), 0, 0)
  364. local w10 = Instance.new("Weld")
  365. w10.Parent = prt10
  366. w10.Part0 = prt10
  367. w10.Part1 = prt1
  368. w10.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  369. w10.C0 = CFrame.new(0, 2.95, 0) * CFrame.Angles(0, 0, 0)
  370. local w11 = Instance.new("Weld")
  371. w11.Parent = prt11
  372. w11.Part0 = prt11
  373. w11.Part1 = prt1
  374. w11.C1 = CFrame.new(0, 0, 0) * CFrame.Angles(0, 0, 0)
  375. w11.C0 = CFrame.new(0, -2.95, 0) * CFrame.Angles(0, 0, 0)
  376. local RAP = Instance.new("Part")
  377. RAP.formFactor = 0
  378. RAP.CanCollide = false
  379. RAP.Name = "RAPart"
  380. RAP.Locked = true
  381. RAP.Size = Vector3.new(1, 1, 1)
  382. RAP.Parent = swordholder
  383. RAP.Transparency = 1
  384. local w = Instance.new("Weld")
  385. w.Parent = RAP
  386. w.Part0 = RAP
  387. w.Part1 = RightArm
  388. w.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  389. w.C0 = CFrame.fromEulerAnglesXYZ(math.rad(0), 0, 0) * CFrame.new(0, 1, 0)
  390. local Aufra = Instance.new("ScreenGui")
  391. Aufra.Parent = Player.PlayerGui
  392. Aufra.Name = "AuraGUI"
  393. AText = Instance.new("TextLabel", Aufra)
  394. AText.Position = UDim2.new(0.5, 0, 0, 0)
  395. AText.Size = UDim2.new(0, 100, 0, 100)
  396. AText.ZIndex = 3
  397. AText.BackgroundTransparency = 1
  398. AText.Font = "Legacy"
  399. AText.TextScaled = true
  400. AText.TextColor3 = Color3.new(0, 0, 0)
  401. AText.TextStrokeColor3 = Color3.new(1, 1, 1)
  402. AText.TextStrokeTransparency = 0
  403. AText.Text = Aura
  404. local Aura1 = Instance.new("ImageLabel")
  405. Aura1.Parent = Aufra
  406. Aura1.Position = UDim2.new(0.5, 0, 0, 0)
  407. Aura1.Size = UDim2.new(0, 100, 0, 100)
  408. Aura1.Image = "http://www.roblox.com/asset/?id=52037432"
  409. Aura1.BackgroundColor3 = Color3.new(Aura / 100 * 255 / 255, Aura / 100 * 170 / 255, Aura / 100 * 255 / 255)
  410. local Aura2 = Instance.new("ImageLabel")
  411. Aura2.Parent = Aufra
  412. Aura2.Position = UDim2.new(0.5, 0, 0, 0)
  413. Aura2.Size = UDim2.new(0, 100, 0, 100)
  414. Aura2.Image = "http://www.roblox.com/asset/?id=52037432"
  415. Aura2.BackgroundColor3 = Color3.new(Aura / 100 * 255 / 255, Aura / 100 * 170 / 255, Aura / 100 * 255 / 255)
  416. Aura2.Rotation = 45
  417. unequipweld = function()
  418. w1.Part1 = Torso
  419. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  420. w1.C0 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(-0.5, -0.5, -0.6)
  421. end
  422. unequipweld()
  423. equipweld = function()
  424. w1.Part1 = RAP
  425. w1.C1 = CFrame.fromEulerAnglesXYZ(0, 0, 0) * CFrame.new(0, 0, 0)
  426. w1.C0 = CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), math.rad(90)) * CFrame.new(0, 0, 0)
  427. end
  428. ss = function(parent, p, v)
  429. local SlashSound = Instance.new("Sound")
  430. SlashSound.SoundId = "rbxasset://sounds\\swordslash.wav"
  431. SlashSound.Parent = parent
  432. SlashSound.Volume = v or 0.7
  433. SlashSound.Pitch = p
  434. SlashSound.PlayOnRemove = true
  435. coroutine.resume(coroutine.create(function()
  436. swait()
  437. SlashSound.Parent = nil
  438. end
  439. ))
  440. end
  441. uss = function(parent, p, v)
  442. local SlashSound = Instance.new("Sound")
  443. SlashSound.SoundId = "rbxasset://sounds\\unsheath.wav"
  444. SlashSound.Parent = parent
  445. SlashSound.Volume = v or 0.7
  446. SlashSound.Pitch = p
  447. SlashSound.PlayOnRemove = true
  448. coroutine.resume(coroutine.create(function()
  449. swait()
  450. SlashSound.Parent = nil
  451. end
  452. ))
  453. end
  454. cs = function(parent, p, v)
  455. local SlashSound = Instance.new("Sound")
  456. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  457. SlashSound.Parent = parent
  458. SlashSound.Volume = v or 0.7
  459. SlashSound.Pitch = p
  460. SlashSound.PlayOnRemove = true
  461. coroutine.resume(coroutine.create(function()
  462. swait()
  463. SlashSound.Parent = nil
  464. end
  465. ))
  466. end
  467. ls = function(parent, p, v)
  468. local SlashSound = Instance.new("Sound")
  469. SlashSound.SoundId = "http://www.roblox.com/asset?id=1369158"
  470. SlashSound.Parent = parent
  471. SlashSound.Volume = v or 0.7
  472. SlashSound.Pitch = p
  473. SlashSound.PlayOnRemove = true
  474. coroutine.resume(coroutine.create(function()
  475. swait()
  476. SlashSound.Parent = nil
  477. end
  478. ))
  479. end
  480. ts = function(parent, p, v)
  481. local SlashSound = Instance.new("Sound")
  482. SlashSound.SoundId = "http://www.roblox.com/asset/?id=12222030"
  483. SlashSound.Parent = parent
  484. SlashSound.Volume = v or 0.7
  485. SlashSound.Pitch = p
  486. SlashSound.PlayOnRemove = true
  487. coroutine.resume(coroutine.create(function()
  488. swait()
  489. SlashSound.Parent = nil
  490. end
  491. ))
  492. end
  493. fs = function(parent, p, v)
  494. local SlashSound = Instance.new("Sound")
  495. SlashSound.SoundId = "http://www.roblox.com/asset/?id=31758982"
  496. SlashSound.Parent = parent
  497. SlashSound.Volume = v or 0.7
  498. SlashSound.Pitch = p
  499. SlashSound.PlayOnRemove = true
  500. coroutine.resume(coroutine.create(function()
  501. swait()
  502. SlashSound.Parent = nil
  503. end
  504. ))
  505. end
  506. srfs = function(parent, p, v)
  507. local SlashSound = Instance.new("Sound")
  508. SlashSound.SoundId = "http://www.roblox.com/asset/?id=12222132"
  509. SlashSound.Parent = parent
  510. SlashSound.Volume = v or 0.7
  511. SlashSound.Pitch = p
  512. SlashSound.PlayOnRemove = true
  513. coroutine.resume(coroutine.create(function()
  514. wait(0.1)
  515. SlashSound.Parent = nil
  516. end
  517. ))
  518. end
  519. returndmg = function()
  520. mindamage = omindamage
  521. maxdamage = omaxdamage
  522. crtmaxdamage = ocrtmaxdamage
  523. end
  524. subdmg = function(sub)
  525. mindamage = omindamage - sub
  526. maxdamage = omaxdamage - sub
  527. crtmaxdamage = ocrtmaxdamage - sub
  528. end
  529. prcntdmg = function(sub)
  530. mindamage = math.floor(omindamage - omindamage * (sub / 100))
  531. maxdamage = math.floor(omaxdamage - omaxdamage * (sub / 100))
  532. crtmaxdamage = math.floor(ocrtmaxdamage - ocrtmaxdamage * (sub / 100))
  533. end
  534. tagHumanoid = function(humanoid, player)
  535. local creator_tag = Instance.new("ObjectValue")
  536. creator_tag.Value = player
  537. creator_tag.Name = "creator"
  538. creator_tag.Parent = humanoid
  539. end
  540. untagHumanoid = function(humanoid)
  541. if humanoid ~= nil then
  542. local tag = humanoid:findFirstChild("creator")
  543. if tag ~= nil then
  544. tag.Parent = nil
  545. end
  546. end
  547. end
  548. local rayCast = function(Pos, Dir, Max, Ignore)
  549. return game.Workspace:FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  550. end
  551. hideanim = function()
  552. attack = true
  553. for i = 0, 1, 0.1 do
  554. swait()
  555. RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90 + 90 * i), 0, math.rad(-45 + 90 * i))
  556. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  557. LW.C0 = CFrame.new(-1 + 0.5 * i, 0.5, -0.5 - 0.5 * i) * CFrame.Angles(math.rad(45 + 90 * i), 0, math.rad(45 + 35 * i))
  558. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  559. w1.C0 = CFrame.Angles(math.rad(-45 - 45 * i), math.rad(0), math.rad(0))
  560. end
  561. for i = 0, 1, 0.1 do
  562. swait()
  563. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(180 + 90 * i), 0, math.rad(45 - 80 * i))
  564. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  565. LW.C0 = CFrame.new(-0.5 + 0.5 * i, 0.5, -1) * CFrame.Angles(math.rad(135), 0, math.rad(85))
  566. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45 * i), 0, 0)
  567. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  568. end
  569. unequipweld()
  570. for i = 0, 1, 0.1 do
  571. swait()
  572. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(270 - 270 * i), 0, math.rad(-35 + 35 * i))
  573. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  574. LW.C0 = CFrame.new(-1.5 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(135 - 135 * i), 0, math.rad(85 - 85 * i))
  575. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45 + 45 * i), 0, 0)
  576. end
  577. LWRem()
  578. RWRem()
  579. attack = false
  580. end
  581. equipanim = function()
  582. attack = true
  583. RWFunc()
  584. LWFunc()
  585. uss(Head, 1, 0.5)
  586. for i = 0, 1, 0.2 do
  587. swait()
  588. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-90 * i), 0, math.rad(-45 * i))
  589. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  590. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0)
  591. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  592. end
  593. equipweld()
  594. for i = 0, 1, 0.1 do
  595. swait()
  596. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(-90 + 180 * i), 0, math.rad(-45 + 90 * i))
  597. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  598. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0)
  599. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  600. w1.C0 = CFrame.Angles(math.rad(-90 + 180 * i), 0, math.rad(90))
  601. end
  602. for i = 0, 1, 0.1 do
  603. swait()
  604. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90 + 90 * i), 0, math.rad(45 - 45 * i))
  605. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  606. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(0, 0, 0)
  607. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  608. w1.C0 = CFrame.Angles(math.rad(90 + 180 * i), 0, math.rad(90))
  609. end
  610. for i = 0, 1, 0.1 do
  611. swait()
  612. RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(180 - 90 * i), 0, math.rad(-45 * i))
  613. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  614. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(45 * i), 0, math.rad(45 * i))
  615. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  616. w1.C0 = CFrame.Angles(math.rad(-90 + 45 * i), math.rad(0), math.rad(90 - 90 * i))
  617. end
  618. attack = false
  619. end
  620. if script.Parent.className ~= "HopperBin" then
  621. Tool = Instance.new("HopperBin")
  622. Tool.Parent = Backpack
  623. Tool.Name = ToolName
  624. script.Parent = Tool
  625. end
  626. Bin = script.Parent
  627. damagesplat = function(dmg, hit)
  628. local mo = Instance.new("Model")
  629. mo.Name = dmg
  630. local pa = Instance.new("Part", mo)
  631. pa.formFactor = 3
  632. pa.Size = Vector3.new(0.8, 0.3, 0.8)
  633. pa.BrickColor = BrickColor.new("Bright red")
  634. pa.CFrame = CFrame.new(hit.Position) * CFrame.new(0, 3, 0)
  635. pa.Name = "Head"
  636. local hah = Instance.new("Humanoid")
  637. hah.Parent = mo
  638. hah.MaxHealth = 0
  639. hah.Health = 0
  640. local bp = Instance.new("BodyPosition")
  641. bp.P = 14000
  642. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  643. bp.position = hit.Position + Vector3.new(0, 5, 0)
  644. coroutine.resume(coroutine.create(function()
  645. swait()
  646. mo.Parent = workspace
  647. bp.Parent = pa
  648. wait(1.4)
  649. mo:remove()
  650. end
  651. ))
  652. end
  653. damage = function(hum, dmg, critornot)
  654. damagesplat(dmg, hum.Torso, critornot)
  655. HitHealth = hum.Health
  656. hum:TakeDamage(dmg)
  657. if HitHealth ~= hum.Health and HitHealth ~= 0 and hum.Health <= 0 and hum.Parent.Name ~= "Lost Soul" then
  658. print("gained spree")
  659. Player:FindFirstChild("leaderstats").Spree.Value = Player.leaderstats.Spree.Value + 1
  660. end
  661. coroutine.resume(coroutine.create(function()
  662. tagHumanoid(hum, Player)
  663. wait(1)
  664. untagHumanoid(hum)
  665. end
  666. ))
  667. end
  668. OT = function(hit)
  669. if Hitdeb == 1 then
  670. return
  671. end
  672. if hit.Parent == nil then
  673. return
  674. end
  675. local hum = hit.Parent:findFirstChild("Humanoid")
  676. if hum ~= nil and hum ~= Character.Humanoid then
  677. local critrandomizer = math.random(crtrate)
  678. local rndmdamage = math.random(mindamage, maxdamage) + bonusdmg
  679. damage(hum, rndmdamage, true)
  680. Hitdeb = 1
  681. end
  682. end
  683. OT2 = function(hit)
  684. if Hitdeb == 1 then
  685. return
  686. end
  687. if hit.Parent == nil then
  688. return
  689. end
  690. local hum = hit.Parent:findFirstChild("Humanoid")
  691. if hum ~= nil and hum ~= Character.Humanoid then
  692. local critrandomizer = math.random(crtrate)
  693. local rndmdamage = math.random(mindamage, maxdamage)
  694. damage(hum, rndmdamage, false)
  695. hit.Parent.Torso.CFrame = hit.Parent.Torso.CFrame * CFrame.Angles(-0.5 * math.random(), 0, 0)
  696. Hitdeb = 1
  697. end
  698. end
  699. AoE = function(p, magnitude)
  700. local c = game.Workspace:GetChildren()
  701. for i = 1, #c do
  702. local hum = c[i]:findFirstChild("Humanoid")
  703. if hum ~= nil and hum.Health ~= 0 then
  704. local head = c[i]:findFirstChild("Head")
  705. if head ~= nil then
  706. local mag = (head.Position - p).magnitude
  707. if mag <= magnitude and c[i].Name ~= Character.Name then
  708. local foundd = false
  709. for ii = 1, #AoETrue do
  710. if AoETrue[ii] == c[i].Name then
  711. foundd = true
  712. end
  713. end
  714. do
  715. do
  716. if not foundd or not foundd then
  717. local rndmdamage = math.random(mindamage, maxdamage) + bonusdmg
  718. table.insert(AoETrue, c[i].Name)
  719. end
  720. -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out DO_STMT
  721. -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_THEN_STMT
  722. -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_STMT
  723. -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_THEN_STMT
  724. -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_STMT
  725. -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_THEN_STMT
  726. -- DECOMPILER ERROR at PC65: LeaveBlock: unexpected jumping out IF_STMT
  727. end
  728. end
  729. end
  730. end
  731. end
  732. end
  733. for ii = 1, #AoETrue do
  734. table.remove(AoETrue, #AoETrue)
  735. end
  736. end
  737. LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / 2, 0)
  738. effect = function(Color, Ref, LP, P1, returnn)
  739. local effectsmsh = Instance.new("BlockMesh")
  740. effectsmsh.Scale = Vector3.new(1, 1, 1)
  741. effectsmsh.Name = "Mesh"
  742. local effectsg = Instance.new("Part")
  743. effectsg.formFactor = 3
  744. effectsg.CanCollide = false
  745. effectsg.Name = "Eff"
  746. effectsg.Locked = true
  747. effectsg.Anchored = true
  748. effectsg.Size = Vector3.new(0.2, 1, 0.2)
  749. effectsg.Parent = swordholder
  750. effectsmsh.Parent = effectsg
  751. effectsg.BrickColor = BrickColor.new(Color)
  752. effectsg.Reflectance = Ref
  753. local point1 = P1
  754. local mg = (LP.p - point1.p).magnitude
  755. effectsg.Size = Vector3.new(0.2, mg, 0.2)
  756. effectsg.CFrame = CFrame.new((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  757. if returnn then
  758. return effectsg
  759. end
  760. coroutine.resume(coroutine.create(function()
  761. if not returnn then
  762. for i = 0, 1, 0.1 do
  763. swait()
  764. effectsg.Transparency = 1 * i
  765. effectsmsh.Scale = Vector3.new(1 - 1 * i, 1, 1 - 1 * i)
  766. end
  767. swait()
  768. effectsg.Parent = nil
  769. end
  770. end
  771. ))
  772. end
  773. con = nil
  774. dmgcnnct = function()
  775. if con ~= nil then
  776. con:disconnect()
  777. Hitdeb = 0
  778. end
  779. con = prt1.Touched:connect(OT)
  780. end
  781. dmgflipcnnct = function()
  782. if con ~= nil then
  783. con:disconnect()
  784. Hitdeb = 0
  785. end
  786. con = prt1.Touched:connect(OT2)
  787. end
  788. dmgdc = function()
  789. if con ~= nil then
  790. con:disconnect()
  791. Hitdeb = 0
  792. end
  793. end
  794. rptddmg = function(value, des, inc)
  795. coroutine.resume(coroutine.create(function()
  796. repeat
  797. wait(inc)
  798. Hitdeb = 0
  799. until value == des
  800. end
  801. ))
  802. end
  803. atktype = function(s, e)
  804. coroutine.resume(coroutine.create(function()
  805. attacktype = e
  806. wait(0.5)
  807. attacktype = s
  808. end
  809. ))
  810. end
  811. Slash1 = function()
  812. if shCD == true then
  813. return
  814. end
  815. shCD = true
  816. attack = true
  817. for i = 0, 1, 0.2 do
  818. swait()
  819. RW.C0 = CFrame.new(1, 0.5 + 1 * i, -0.5) * CFrame.Angles(math.rad(90 + 90 * i), 0, math.rad(-45))
  820. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  821. LW.C0 = CFrame.new(-1, 0.5 + 1 * i, -0.5) * CFrame.Angles(math.rad(45 + 135 * i), 0, math.rad(45))
  822. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  823. w1.C0 = CFrame.Angles(math.rad(-45 - 45 * i), math.rad(0), math.rad(135 * i))
  824. end
  825. local TorsPos = Torso.Position
  826. local bp = Instance.new("BodyPosition", Torso)
  827. bp.maxForce = Vector3.new(0, math.huge, 0)
  828. bp.P = 14000
  829. bp.position = TorsPos + Vector3.new(0, 2, 0)
  830. local mesh = Instance.new("CylinderMesh")
  831. mesh.Scale = Vector3.new(5.1, 0.1, 5.1)
  832. local shell = Instance.new("Part")
  833. mesh.Parent = shell
  834. shell.Anchored = true
  835. shell.formFactor = 3
  836. shell.Size = Vector3.new(1, 0.5, 1)
  837. shell.CFrame = CFrame.new() + prt1.Position
  838. shell.Parent = swordholder
  839. shell.Transparency = 0.5
  840. shell.BrickColor = BrickColor.new("White")
  841. shell.CanCollide = false
  842. local mesh2 = Instance.new("SpecialMesh")
  843. mesh2.Scale = Vector3.new(5.5, 1, 5.5)
  844. mesh2.MeshId = "http://www.roblox.com/asset/?id=1051557"
  845. local shell2 = Instance.new("Part")
  846. shell2.Anchored = true
  847. mesh2.Parent = shell2
  848. shell2.formFactor = 3
  849. shell2.Size = Vector3.new(0.2, 0.2, 0.2)
  850. shell2.CFrame = shell.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  851. shell2.Parent = swordholder
  852. shell2.Transparency = 0.5
  853. shell2.BrickColor = BrickColor.new("Pastel Blue")
  854. shell2.CanCollide = false
  855. local derp = false
  856. coroutine.resume(coroutine.create(function()
  857. for i = 0, 1, 0.2 do
  858. swait()
  859. shell.Transparency = 1 - 0.5 * i
  860. shell2.Transparency = 1 - 0.5 * i
  861. end
  862. end
  863. ))
  864. coroutine.resume(coroutine.create(function()
  865. local ii = 0
  866. local yy = 1
  867. repeat
  868. swait()
  869. ii = ii + 50
  870. if yy > 1 then
  871. yy = yy + 0.25
  872. else
  873. if yy >= 1 then
  874. yy = yy - 0.25
  875. end
  876. end
  877. shell.CFrame = CFrame.Angles(0, math.rad(ii), 0) + prt1.Position
  878. shell2.CFrame = shell.CFrame * CFrame.Angles(math.rad(180), 0, 0)
  879. mesh2.Scale = Vector3.new(5.5, yy, 5.5)
  880. until derp
  881. for i = 0, 1, 0.1 do
  882. swait()
  883. yy = yy + 0.5
  884. shell.Transparency = 0.5 + 0.5 * i
  885. shell2.Transparency = 0.5 + 0.5 * i
  886. mesh2.Scale = Vector3.new(5.5 - 2 * i, yy, 5.5 - 2 * i)
  887. end
  888. shell.Parent = nil
  889. shell2.Parent = nil
  890. end
  891. ))
  892. while bhold == true and Aura > 5 do
  893. swait()
  894. Aura = Aura - 5
  895. dmgcnnct()
  896. prcntdmg(50)
  897. rptddmg(derp, true, 0.75)
  898. for rep = 1, 2 do
  899. ss(Head, 1, 0.5)
  900. for i = 0, 1, 0.2 do
  901. swait()
  902. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(180 * i), math.rad(135))
  903. end
  904. ss(Head, 1, 0.5)
  905. for i = 0, 1, 0.2 do
  906. swait()
  907. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(180 + 180 * i), math.rad(135))
  908. end
  909. end
  910. returndmg()
  911. dmgdc()
  912. end
  913. derp = true
  914. local done = false
  915. local hit, pos = nil, nil
  916. for i = 0, 1, 0.2 do
  917. swait()
  918. RW.C0 = CFrame.new(1 + 0.5 * i, 1.5 - 1 * i, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(180 - 45 * i), 0, math.rad(-45 + 90 * i))
  919. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  920. LW.C0 = CFrame.new(-1 - 0.5 * i, 1.5 - 1 * i, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(180 - 45 * i), 0, math.rad(45 - 90 * i))
  921. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  922. w1.C0 = CFrame.Angles(math.rad(-90 + 45 * i), math.rad(0), math.rad(135 - 135 * i))
  923. w1.C1 = CFrame.new(0, 0, 0)
  924. if i > 0.5 and not done then
  925. hit = rayCast(Torso.Position, Torso.CFrame * CFrame.Angles(math.rad(-90), 0, 0).lookVector, 100, Character)
  926. bp.position = game.Players.LocalPlayer.Character.HumanoidRootPart.Position + Vector3.new(0, 1, 0)
  927. bp.P = 5000
  928. done = true
  929. end
  930. end
  931. dmgcnnct()
  932. local p1 = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  933. for i = 0, 1, 0.2 do
  934. swait()
  935. RW.C0 = CFrame.new(1.5 - 1 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(135 - 90 * i), 0, math.rad(45 - 90 * i))
  936. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  937. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(135 - 180 * i), 0, math.rad(-45))
  938. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  939. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  940. w1.C1 = CFrame.new(0, 0, 0)
  941. end
  942. bp.Parent = nil
  943. ss(Head, 1.5, 1)
  944. for i = 0, 1, 0.2 do
  945. swait()
  946. RW.C0 = CFrame.new(0.5, 0.5, -1) * CFrame.Angles(math.rad(45 - 10 * i), 0, math.rad(-45 - 10 * i))
  947. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  948. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-45), 0, math.rad(-45))
  949. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  950. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  951. w1.C1 = CFrame.new(0, 0, 0)
  952. end
  953. local effectsmsh = Instance.new("SpecialMesh")
  954. effectsmsh.Scale = Vector3.new(0.5, 1, 0.5)
  955. effectsmsh.MeshId = "http://www.roblox.com/asset/?id=13425802"
  956. local effectsg = Instance.new("Part")
  957. effectsg.formFactor = 3
  958. effectsg.CanCollide = false
  959. effectsg.Name = "Eff"
  960. effectsg.Locked = true
  961. effectsg.Anchored = true
  962. effectsg.Size = Vector3.new(0.2, 0.2, 0.2)
  963. effectsg.Parent = swordholder
  964. effectsmsh.Parent = effectsg
  965. effectsg.BrickColor = bcolor
  966. effectsg.Reflectance = 0.25
  967. local point1 = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  968. local LP = p1
  969. local mg = (LP.p - point1.p).magnitude
  970. effectsmsh.Scale = Vector3.new(mg / 3, 1, 0.2)
  971. effectsg.CFrame = CFrame.new((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  972. coroutine.resume(coroutine.create(function()
  973. for i = 0, 1, 0.1 do
  974. swait()
  975. effectsg.Transparency = 1 * i
  976. end
  977. swait()
  978. effectsg.Parent = nil
  979. end
  980. ))
  981. wait(0.2)
  982. dmgdc()
  983. for i = 0, 1, 0.1 do
  984. swait()
  985. RW.C0 = CFrame.new(0.5 + 0.5 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(35 + 55 * i), 0, math.rad(-55 + 10 * i))
  986. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  987. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(-45 + 90 * i), 0, math.rad(-45 + 90 * i))
  988. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  989. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  990. end
  991. attack = false
  992. wait(15)
  993. shCD = false
  994. end
  995. RoundSlash = function()
  996. attack = true
  997. ss(Head, 1, 0.5)
  998. local TorsCF = Torso.CFrame
  999. local bg = Instance.new("BodyGyro", Torso)
  1000. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1001. bg.P = bg.P * 25
  1002. bg.cframe = TorsCF
  1003. for i = 0, 1, 0.2 do
  1004. swait()
  1005. RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90 + 45 * i), 0, math.rad(-45 + 90 * i))
  1006. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1007. LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(45 + 25 * i), 0, math.rad(45 - 90 * i))
  1008. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1009. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1010. end
  1011. dmgcnnct()
  1012. LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1013. for i = 0, 1, 0.2 do
  1014. swait()
  1015. RW.C0 = CFrame.new(1.5 - 1 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(135 - 90 * i), 0, math.rad(45 - 90 * i))
  1016. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1017. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(70 - 90 * i), 0, math.rad(-45))
  1018. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1019. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45 * i))
  1020. w1.C1 = CFrame.Angles(math.rad(-25 * i), 0, 0)
  1021. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(180 * i), 0)
  1022. end
  1023. Hitdeb = 0
  1024. RWLFunc()
  1025. LWLFunc()
  1026. for i = 0, 1, 0.1 do
  1027. swait()
  1028. RW.C0 = CFrame.new(0.5, 0.5, -1) * CFrame.Angles(math.rad(45), 0, math.rad(-45 - 25 * i))
  1029. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1030. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(-20), 0, math.rad(-45))
  1031. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1032. RWL.C0 = CFrame.new(1, -1 + 1 * i, -1 * i) * CFrame.Angles(0, 0, 0)
  1033. RWL.C1 = CFrame.new(0.5, 1, 0)
  1034. LWL.C0 = CFrame.new(-1, -1 - 0.5 * i, -0.5 * i) * CFrame.Angles(math.rad(-90 * i), 0, 0)
  1035. LWL.C1 = CFrame.new(-0.5, 1, 0)
  1036. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45))
  1037. w1.C1 = CFrame.Angles(math.rad(-25), 0, 0)
  1038. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(180 + 180 * i), 0)
  1039. end
  1040. dmgdc()
  1041. for i = 0, 1, 0.1 do
  1042. swait()
  1043. RW.C0 = CFrame.new(0.5 + 0.5 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(45 + 45 * i), 0, math.rad(-70 + 25 * i))
  1044. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1045. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(-20 + 65 * i), 0, math.rad(-45 + 90 * i))
  1046. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1047. RWL.C0 = CFrame.new(1, -1 * i, -1 + 1 * i) * CFrame.Angles(0, 0, 0)
  1048. RWL.C1 = CFrame.new(0.5, 1, 0)
  1049. LWL.C0 = CFrame.new(-1, -1.5 + 0.5 * i, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(-90 + 90 * i), 0, 0)
  1050. LWL.C1 = CFrame.new(-0.5, 1, 0)
  1051. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(45 - 45 * i))
  1052. w1.C1 = CFrame.Angles(math.rad(-25 + 25 * i), 0, 0)
  1053. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(360 * i), 0)
  1054. end
  1055. RWLRem()
  1056. LWLRem()
  1057. wait(0.1)
  1058. bg.Parent = nil
  1059. wait(0.1)
  1060. attack = false
  1061. end
  1062. Combo1 = function()
  1063. attack = true
  1064. ss(Head, 1, 0.5)
  1065. ss(Head, 2, 0.5)
  1066. LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1067. dmgcnnct()
  1068. for i = 0, 1, 0.1 do
  1069. swait()
  1070. RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90 + 90 * i), math.rad(-45 * i), math.rad(-45 + 90 * i))
  1071. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1072. LW.C0 = CFrame.new(-1 + 1 * i, 0.5, -0.5 - 0.5 * i) * CFrame.Angles(math.rad(45 + 90 * i), 0, math.rad(45 + 45 * i))
  1073. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1074. w1.C0 = CFrame.Angles(math.rad(-45 - 270 * i), math.rad(0), math.rad(0))
  1075. if i > 0.2 then
  1076. ss(Head, 2, 0.5)
  1077. end
  1078. end
  1079. Hitdeb = 0
  1080. for i = 0, 1, 0.2 do
  1081. swait()
  1082. RW.C0 = CFrame.new(1.5 - 0.8 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(180 - 145 * i), math.rad(-45), math.rad(45 - 90 * i))
  1083. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1084. LW.C0 = CFrame.new(-1 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(135 - 45 * i), 0, math.rad(90 - 80 * i))
  1085. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1086. w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0))
  1087. end
  1088. dmgdc()
  1089. atktype(1, 2)
  1090. attack = false
  1091. for i = 0, 1, 0.1 do
  1092. if attack then
  1093. return
  1094. end
  1095. swait()
  1096. RW.C0 = CFrame.new(0.7 - 0.2 * i, 0.5, -1) * CFrame.Angles(math.rad(35 - 20 * i), math.rad(-45), math.rad(-45 - 20 * i))
  1097. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1098. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(10))
  1099. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1100. w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0))
  1101. local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1102. effect("White", 0.5, LastPoint, Point)
  1103. LastPoint = Point
  1104. end
  1105. for i = 0, 1, 0.1 do
  1106. if attack then
  1107. return
  1108. end
  1109. swait()
  1110. RW.C0 = CFrame.new(0.5 + 0.5 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(15 + 75 * i), math.rad(-45 + 45 * i), math.rad(-65 + 20 * i))
  1111. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1112. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(10 + 35 * i))
  1113. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1114. w1.C0 = CFrame.Angles(math.rad(-315 - 90 * i), math.rad(0), math.rad(0))
  1115. end
  1116. end
  1117. Combo2 = function()
  1118. attack = true
  1119. ss(Head, 1, 0.5)
  1120. for i = 0, 1, 0.1 do
  1121. swait()
  1122. RW.C0 = CFrame.new(0.7, 0.5, -1) * CFrame.Angles(math.rad(35 + 55 * i), math.rad(-45 + 135 * i), math.rad(-45 + 45 * i))
  1123. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60 * i), 0, 0)
  1124. LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), 0, math.rad(10))
  1125. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1126. w1.C0 = CFrame.Angles(math.rad(-315 - 90 * i), math.rad(0), math.rad(0))
  1127. end
  1128. dmgflipcnnct()
  1129. LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1130. for i = 0, 1, 0.2 do
  1131. swait()
  1132. RW.C0 = CFrame.new(0.7 - 0.8 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
  1133. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60 + 195 * i), 0, 0)
  1134. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(90), 0, math.rad(10 + 80 * i))
  1135. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1136. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1137. local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1138. effect("White", 0.5, LastPoint, Point)
  1139. LastPoint = Point
  1140. end
  1141. dmgdc()
  1142. local TorsCF = Torso.CFrame
  1143. local bg = Instance.new("BodyGyro", Torso)
  1144. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1145. bg.P = 100000
  1146. bg.cframe = TorsCF
  1147. ss(Head, 1, 0.5)
  1148. dmgflipcnnct()
  1149. for i = 0, 1, 0.15 do
  1150. swait()
  1151. RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
  1152. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 - 180 * i), 0, 0)
  1153. LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(90), 0, math.rad(90 - 180 * i))
  1154. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1155. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1156. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(-90 * i), 0)
  1157. end
  1158. LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1159. for i = 0, 1, 0.1 do
  1160. swait()
  1161. RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
  1162. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45 + 180 * i), 0, 0)
  1163. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1164. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1165. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1166. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(-90 - 270 * i), 0)
  1167. local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1168. effect("White", 0.5, LastPoint, Point)
  1169. LastPoint = Point
  1170. end
  1171. dmgdc()
  1172. bg.Parent = nil
  1173. attack = false
  1174. atktype(1, 3)
  1175. for i = 0, 1, 0.2 do
  1176. if attack then
  1177. break
  1178. end
  1179. swait()
  1180. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
  1181. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 + 20 * i), 0, 0)
  1182. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1183. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1184. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1185. end
  1186. do
  1187. for i = 0, 1, 0.1 do
  1188. if attack then
  1189. break
  1190. end
  1191. swait()
  1192. RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90 - 90 * i), math.rad(-45 * i))
  1193. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(155 - 155 * i), 0, 0)
  1194. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-90 + 135 * i))
  1195. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1196. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1197. end
  1198. end
  1199. end
  1200. Combo3 = function()
  1201. attack = true
  1202. wait(0.1)
  1203. local TorsCF = Torso.CFrame
  1204. local bg = Instance.new("BodyGyro", Torso)
  1205. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1206. bg.P = 100000
  1207. bg.cframe = TorsCF
  1208. for i = 0, 1, 0.1 do
  1209. swait()
  1210. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90 - 90 * i), math.rad(90 * i))
  1211. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 - 90 * i), 0, 0)
  1212. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1213. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1214. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1215. Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90 * i))
  1216. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90 * i), 0)
  1217. end
  1218. local P1 = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1219. local hitt = nil
  1220. local TorsPos = P1.p
  1221. local bp = Instance.new("BodyPosition")
  1222. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1223. bp.P = 14000
  1224. bp.position = TorsPos + Vector3.new(0, 5, 0)
  1225. local connection = prt1.Touched:connect(function(hit)
  1226. if hitt ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil then
  1227. hitt = hit.Parent.Torso
  1228. bp.Parent = hitt
  1229. wait(2)
  1230. bp.Parent = nil
  1231. end
  1232. end
  1233. )
  1234. subdmg(-10)
  1235. dmgflipcnnct()
  1236. for i = 0, 1, 0.2 do
  1237. swait()
  1238. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90))
  1239. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(45 - 135 * i), 0, 0)
  1240. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1241. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1242. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1243. Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90))
  1244. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90), 0)
  1245. end
  1246. srfs(Head, 1, 0.5)
  1247. ss(Head, 1, 0.5)
  1248. returndmg()
  1249. dmgdc()
  1250. local P2 = CFrame.new(P1.p) * CFrame.new(0, 15, 0) * CFrame.Angles(math.rad(-10), 0, 0)
  1251. local effectsmsh = Instance.new("SpecialMesh")
  1252. effectsmsh.MeshType = "Sphere"
  1253. local effectsg = Instance.new("Part")
  1254. effectsg.formFactor = 3
  1255. effectsg.CanCollide = false
  1256. effectsg.Name = "Eff"
  1257. effectsg.Locked = true
  1258. effectsg.Anchored = true
  1259. effectsg.Size = Vector3.new(1, 1, 1)
  1260. effectsg.Parent = swordholder
  1261. effectsmsh.Parent = effectsg
  1262. effectsg.BrickColor = bcolor
  1263. effectsg.Reflectance = 0.25
  1264. local point1 = P2
  1265. local LP = P1
  1266. local mg = (LP.p - point1.p).magnitude
  1267. effectsmsh.Scale = Vector3.new(mg / 5, mg * 2, mg / 5)
  1268. effectsg.CFrame = CFrame.new((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0) + Vector3.new(0, -mg, 0)
  1269. coroutine.resume(coroutine.create(function()
  1270. for i = 0, 1, 0.1 do
  1271. swait()
  1272. effectsg.Transparency = 1 * i
  1273. end
  1274. swait()
  1275. effectsg.Parent = nil
  1276. end
  1277. ))
  1278. connection:disconnect()
  1279. for i = 0, 1, 0.2 do
  1280. swait()
  1281. RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90 - 135 * i))
  1282. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-90 + 90 * i), 0, 0)
  1283. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-90 + 135 * i))
  1284. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1285. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1286. Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90 + 90 * i))
  1287. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90 - 90 * i), 0)
  1288. end
  1289. Neck.C0 = neckcf0
  1290. bg.Parent = nil
  1291. attack = false
  1292. end
  1293. Combo1B = function()
  1294. attack = true
  1295. ss(Head, 1, 0.5)
  1296. ss(Head, 2, 0.5)
  1297. LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1298. dmgcnnct()
  1299. for i = 0, 1, 0.15 do
  1300. swait()
  1301. RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90 + 90 * i), math.rad(-45 * i), math.rad(-45 + 90 * i))
  1302. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1303. LW.C0 = CFrame.new(-1 + 1 * i, 0.5, -0.5 - 0.5 * i) * CFrame.Angles(math.rad(45 + 90 * i), 0, math.rad(45 + 45 * i))
  1304. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1305. w1.C0 = CFrame.Angles(math.rad(-45 - 270 * i), math.rad(0), math.rad(0))
  1306. local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1307. effect("White", 0.5, LastPoint, Point)
  1308. LastPoint = Point
  1309. if i > 0.2 then
  1310. ss(Head, 2, 0.5)
  1311. end
  1312. end
  1313. Hitdeb = 0
  1314. for i = 0, 1, 0.3 do
  1315. swait()
  1316. RW.C0 = CFrame.new(1.5 - 0.8 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(180 - 145 * i), math.rad(-45), math.rad(45 - 90 * i))
  1317. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1318. LW.C0 = CFrame.new(-1 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(135 - 45 * i), 0, math.rad(90 - 80 * i))
  1319. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1320. w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0))
  1321. local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1322. effect("White", 0.5, LastPoint, Point)
  1323. LastPoint = Point
  1324. end
  1325. dmgdc()
  1326. atktype(1, 2)
  1327. attack = false
  1328. for i = 0, 1, 0.15 do
  1329. if attack then
  1330. return
  1331. end
  1332. swait()
  1333. RW.C0 = CFrame.new(0.7 - 0.2 * i, 0.5, -1) * CFrame.Angles(math.rad(35 - 20 * i), math.rad(-45), math.rad(-45 - 20 * i))
  1334. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1335. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(10))
  1336. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1337. w1.C0 = CFrame.Angles(math.rad(-315), math.rad(0), math.rad(0))
  1338. local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1339. effect("White", 0.5, LastPoint, Point)
  1340. LastPoint = Point
  1341. end
  1342. for i = 0, 1, 0.15 do
  1343. if attack then
  1344. return
  1345. end
  1346. swait()
  1347. RW.C0 = CFrame.new(0.5 + 0.5 * i, 0.5, -1 + 0.5 * i) * CFrame.Angles(math.rad(15 + 75 * i), math.rad(-45 + 45 * i), math.rad(-65 + 20 * i))
  1348. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1349. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(10 + 35 * i))
  1350. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1351. w1.C0 = CFrame.Angles(math.rad(-315 - 90 * i), math.rad(0), math.rad(0))
  1352. end
  1353. end
  1354. Combo2B = function()
  1355. attack = true
  1356. ss(Head, 1, 0.5)
  1357. for i = 0, 1, 0.15 do
  1358. swait()
  1359. RW.C0 = CFrame.new(0.7, 0.5, -1) * CFrame.Angles(math.rad(35 + 55 * i), math.rad(-45 + 135 * i), math.rad(-45 + 45 * i))
  1360. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60 * i), 0, 0)
  1361. LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), 0, math.rad(10))
  1362. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1363. w1.C0 = CFrame.Angles(math.rad(-315 - 90 * i), math.rad(0), math.rad(0))
  1364. end
  1365. dmgflipcnnct()
  1366. LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1367. for i = 0, 1, 0.3 do
  1368. swait()
  1369. RW.C0 = CFrame.new(0.7 - 0.8 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
  1370. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-60 + 195 * i), 0, 0)
  1371. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -1 * i) * CFrame.Angles(math.rad(90), 0, math.rad(10 + 80 * i))
  1372. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1373. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1374. local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1375. effect("White", 0.5, LastPoint, Point)
  1376. LastPoint = Point
  1377. end
  1378. dmgdc()
  1379. local TorsCF = Torso.CFrame
  1380. local bg = Instance.new("BodyGyro", Torso)
  1381. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1382. bg.P = 100000
  1383. bg.cframe = TorsCF
  1384. ss(Head, 1, 0.5)
  1385. dmgflipcnnct()
  1386. for i = 0, 1, 0.225 do
  1387. swait()
  1388. RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
  1389. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 - 180 * i), 0, 0)
  1390. LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -1 + 1 * i) * CFrame.Angles(math.rad(90), 0, math.rad(90 - 180 * i))
  1391. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1392. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1393. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(-90 * i), 0)
  1394. end
  1395. LastPoint = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1396. for i = 0, 1, 0.15 do
  1397. swait()
  1398. RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
  1399. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-45 + 180 * i), 0, 0)
  1400. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1401. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1402. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1403. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(-90 - 270 * i), 0)
  1404. local Point = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1405. effect("White", 0.5, LastPoint, Point)
  1406. LastPoint = Point
  1407. end
  1408. dmgdc()
  1409. bg.Parent = nil
  1410. attack = false
  1411. atktype(1, 3)
  1412. for i = 0, 1, 0.3 do
  1413. if attack then
  1414. break
  1415. end
  1416. swait()
  1417. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90), math.rad(0))
  1418. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 + 20 * i), 0, 0)
  1419. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1420. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1421. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1422. end
  1423. do
  1424. for i = 0, 1, 0.15 do
  1425. if attack then
  1426. break
  1427. end
  1428. swait()
  1429. RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(90 - 90 * i), math.rad(-45 * i))
  1430. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(155 - 155 * i), 0, 0)
  1431. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-90 + 135 * i))
  1432. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1433. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1434. end
  1435. end
  1436. end
  1437. Combo3B = function()
  1438. attack = true
  1439. wait(0.1)
  1440. local TorsCF = Torso.CFrame
  1441. local bg = Instance.new("BodyGyro", Torso)
  1442. bg.maxTorque = Vector3.new(math.huge, math.huge, math.huge)
  1443. bg.P = 100000
  1444. bg.cframe = TorsCF
  1445. for i = 0, 1, 0.15 do
  1446. swait()
  1447. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(90 - 90 * i), math.rad(90 * i))
  1448. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(135 - 90 * i), 0, 0)
  1449. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1450. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1451. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1452. Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90 * i))
  1453. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90 * i), 0)
  1454. end
  1455. local P1 = prt1.CFrame * CFrame.new(0, prt1.Size.Y / -2, 0)
  1456. local hitt = nil
  1457. local TorsPos = P1.p
  1458. local bp = Instance.new("BodyPosition")
  1459. bp.maxForce = Vector3.new(math.huge, math.huge, math.huge)
  1460. bp.P = 14000
  1461. bp.position = TorsPos + Vector3.new(0, 5, 0)
  1462. local connection = prt1.Touched:connect(function(hit)
  1463. if hitt ~= nil and hit.Parent:findFirstChild("Humanoid") ~= nil then
  1464. hitt = hit.Parent.Torso
  1465. bp.Parent = hitt
  1466. wait(2)
  1467. bp.Parent = nil
  1468. end
  1469. end
  1470. )
  1471. subdmg(-10)
  1472. dmgflipcnnct()
  1473. for i = 0, 1, 0.3 do
  1474. swait()
  1475. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90))
  1476. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(45 - 135 * i), 0, 0)
  1477. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(-90))
  1478. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1479. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1480. Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90))
  1481. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90), 0)
  1482. end
  1483. srfs(Head, 1, 0.5)
  1484. ss(Head, 1, 0.5)
  1485. returndmg()
  1486. dmgdc()
  1487. local P2 = CFrame.new(P1.p) * CFrame.new(0, 15, 0) * CFrame.Angles(math.rad(-10), 0, 0)
  1488. local effectsmsh = Instance.new("SpecialMesh")
  1489. effectsmsh.MeshType = "Sphere"
  1490. local effectsg = Instance.new("Part")
  1491. effectsg.formFactor = 3
  1492. effectsg.CanCollide = false
  1493. effectsg.Name = "Eff"
  1494. effectsg.Locked = true
  1495. effectsg.Anchored = true
  1496. effectsg.Size = Vector3.new(1, 1, 1)
  1497. effectsg.Parent = swordholder
  1498. effectsmsh.Parent = effectsg
  1499. effectsg.BrickColor = bcolor
  1500. effectsg.Reflectance = 0.25
  1501. local point1 = P2
  1502. local LP = P1
  1503. local mg = (LP.p - point1.p).magnitude
  1504. effectsmsh.Scale = Vector3.new(mg / 5, mg * 2, mg / 5)
  1505. effectsg.CFrame = CFrame.new((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0) + Vector3.new(0, -mg, 0)
  1506. coroutine.resume(coroutine.create(function()
  1507. for i = 0, 1, 0.15 do
  1508. swait()
  1509. effectsg.Transparency = 1 * i
  1510. end
  1511. swait()
  1512. effectsg.Parent = nil
  1513. end
  1514. ))
  1515. connection:disconnect()
  1516. for i = 0, 1, 0.3 do
  1517. swait()
  1518. RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), math.rad(0), math.rad(90 - 135 * i))
  1519. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(math.rad(-90 + 90 * i), 0, 0)
  1520. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-90 + 135 * i))
  1521. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1522. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  1523. Neck.C0 = neckcf0 * CFrame.Angles(0, 0, math.rad(-90 + 90 * i))
  1524. bg.cframe = TorsCF * CFrame.Angles(0, math.rad(90 - 90 * i), 0)
  1525. end
  1526. Neck.C0 = neckcf0
  1527. bg.Parent = nil
  1528. attack = false
  1529. end
  1530. local helm = Instance.new("Part")
  1531. helm.formFactor = 3
  1532. helm.CanCollide = false
  1533. helm.Name = "LancerHelm"
  1534. helm.Locked = true
  1535. helm.Size = Vector3.new(0.2, 0.2, 0.2)
  1536. helm.BrickColor = bcolor
  1537. local helmm = Instance.new("SpecialMesh")
  1538. helmm.MeshId = "http://www.roblox.com/asset/?id=27719952"
  1539. helmm.Parent = helm
  1540. local helmw = Instance.new("Weld")
  1541. local LancerM = false
  1542. LancerMode = function()
  1543. attack = true
  1544. if not LancerM then
  1545. do
  1546. for i = 0, 1, 0.2 do
  1547. swait()
  1548. RW.C0 = CFrame.new(1 + 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(90), 0, math.rad(-45 + 135 * i))
  1549. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1550. LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(45 - 45 * i), 0, math.rad(45 - 45 * i))
  1551. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1552. w1.C0 = CFrame.Angles(math.rad(-45 - 45 * i), math.rad(0), math.rad(0))
  1553. end
  1554. end
  1555. for i = 0, 1, 0.1 do
  1556. swait()
  1557. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90))
  1558. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1559. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, 0) * CFrame.Angles(math.rad(-45 * i), 0, math.rad(45 * i))
  1560. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1561. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1562. end
  1563. helm.Parent = swordholder
  1564. helmw.Parent = helm
  1565. helmw.Part0 = helm
  1566. helmw.Part1 = LeftArm
  1567. helmw.C0 = CFrame.Angles(math.rad(90), 0, math.rad(90))
  1568. helmw.C1 = CFrame.new(0, -1.5, 0)
  1569. bonusdmg = 5
  1570. LancerM = true
  1571. swait()
  1572. for i = 0, 1, 0.1 do
  1573. swait()
  1574. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90))
  1575. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1576. LW.C0 = CFrame.new(-1 - 0.5 * i, 0.5, 0) * CFrame.Angles(math.rad(-45 + 90 * i), 0, math.rad(45 - 90 * i))
  1577. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1578. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1579. end
  1580. for i = 0, 1, 0.1 do
  1581. swait()
  1582. RW.C0 = CFrame.new(1.5, 0.5, 0) * CFrame.Angles(math.rad(90), 0, math.rad(90))
  1583. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1584. LW.C0 = CFrame.new(-1.5 - 0.5 * i, 0.5 + 1 * i, 0) * CFrame.Angles(math.rad(45 + 45 * i), 0, math.rad(-45 + 135 * i))
  1585. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1586. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1587. end
  1588. helmw.Part1 = Head
  1589. helmw.C0 = CFrame.new(0, -0.25, 0)
  1590. helmw.C1 = CFrame.new()
  1591. coroutine.resume(coroutine.create(function()
  1592. local meshb = Instance.new("SpecialMesh")
  1593. meshb.Scale = Vector3.new(0, 0, 0)
  1594. meshb.MeshType = "Sphere"
  1595. local shellb = Instance.new("Part")
  1596. meshb.Parent = shellb
  1597. shellb.Anchored = true
  1598. shellb.formFactor = 3
  1599. shellb.Size = Vector3.new(1, 1, 1)
  1600. shellb.CFrame = Torso.CFrame
  1601. shellb.Parent = swordholder
  1602. shellb.Transparency = 0
  1603. shellb.BrickColor = bcolor
  1604. shellb.CanCollide = false
  1605. coroutine.resume(coroutine.create(function()
  1606. for i = 0, 1, 0.05 do
  1607. swait()
  1608. shellb.Transparency = 1 * i
  1609. meshb.Scale = Vector3.new(20 * i, 20 * i, 20 * i)
  1610. end
  1611. shellb.Parent = nil
  1612. end
  1613. ))
  1614. local spinval = 0
  1615. local SlashSound = Instance.new("Sound")
  1616. SlashSound.SoundId = "http://www.roblox.com/asset/?id=2101137"
  1617. SlashSound.Parent = Head
  1618. SlashSound.Volume = 0.25
  1619. SlashSound.Pitch = 0.1
  1620. SlashSound.PlayOnRemove = true
  1621. SlashSound.Looped = true
  1622. coroutine.resume(coroutine.create(function()
  1623. swait()
  1624. SlashSound.Parent = nil
  1625. end
  1626. ))
  1627. local SlashSound2 = Instance.new("Sound")
  1628. SlashSound2.SoundId = "http://www.roblox.com/asset?id=1369158"
  1629. SlashSound2.Parent = Head
  1630. SlashSound2.Volume = 1
  1631. SlashSound2.Pitch = 0.05
  1632. SlashSound2.PlayOnRemove = true
  1633. SlashSound2.Looped = true
  1634. coroutine.resume(coroutine.create(function()
  1635. swait()
  1636. SlashSound2.Parent = nil
  1637. end
  1638. ))
  1639. local ws = Character.Humanoid.WalkSpeed
  1640. while 1 do
  1641. wait(0.05)
  1642. Character.Humanoid.WalkSpeed = ws * 1.25
  1643. spinval = spinval + 0.1
  1644. local mesh = Instance.new("SpecialMesh")
  1645. do
  1646. mesh.Scale = Vector3.new(5.1, 5, 5.1)
  1647. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1648. local shell = Instance.new("Part")
  1649. mesh.Parent = shell
  1650. shell.Anchored = true
  1651. shell.formFactor = 3
  1652. shell.Size = Vector3.new(0.2, 0.2, 0.2)
  1653. shell.CFrame = Torso.CFrame * CFrame.Angles(0, spinval, 0) + Vector3.new(0, -2.5, 0)
  1654. shell.Parent = swordholder
  1655. shell.Transparency = 1
  1656. shell.BrickColor = handlecolor
  1657. shell.CanCollide = false
  1658. local mesh2 = Instance.new("SpecialMesh")
  1659. mesh2.Scale = Vector3.new(8, 8, 8)
  1660. mesh2.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1661. local shell2 = Instance.new("Part")
  1662. mesh2.Parent = shell2
  1663. shell2.Anchored = true
  1664. shell2.formFactor = 3
  1665. shell2.Size = Vector3.new(0.2, 0.2, 0.2)
  1666. shell2.CFrame = Torso.CFrame * CFrame.Angles(0, spinval, 0) + Vector3.new(0, -2.5, 0)
  1667. shell2.Parent = swordholder
  1668. shell2.Transparency = 1
  1669. shell2.BrickColor = bcolor
  1670. shell2.CanCollide = false
  1671. local mesh3 = Instance.new("BlockMesh")
  1672. mesh3.Scale = Vector3.new(5, 5, 5)
  1673. local shell3 = Instance.new("Part")
  1674. mesh3.Parent = shell3
  1675. shell3.Anchored = true
  1676. shell3.formFactor = 3
  1677. shell3.Size = Vector3.new(1, 1, 1)
  1678. shell3.CFrame = Torso.CFrame * CFrame.Angles(math.random(), math.random(), math.random())
  1679. shell3.Parent = swordholder
  1680. shell3.Transparency = 0.5
  1681. shell3.BrickColor = bcolor
  1682. shell3.CanCollide = false
  1683. coroutine.resume(coroutine.create(function()
  1684. for i = 0, 1, 0.2 do
  1685. swait()
  1686. shell.Transparency = 1 - 1 * i
  1687. shell2.Transparency = 1 - 1 * i
  1688. shell3.Transparency = 0.5 + 0.25 * i
  1689. end
  1690. for i = 0, 1, 0.2 do
  1691. swait()
  1692. shell.Transparency = 1 * i
  1693. shell2.Transparency = 1 * i
  1694. shell3.Transparency = 0.75 + 0.25 * i
  1695. end
  1696. shell.Parent = nil
  1697. shell2.Parent = nil
  1698. shell3.Parent = nil
  1699. end
  1700. ))
  1701. if not LancerM then
  1702. do
  1703. do break end
  1704. -- DECOMPILER ERROR at PC254: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1705. -- DECOMPILER ERROR at PC254: LeaveBlock: unexpected jumping out IF_STMT
  1706. end
  1707. end
  1708. end
  1709. end
  1710. Character.Humanoid.WalkSpeed = ws
  1711. SlashSound:Stop()
  1712. SlashSound2:Stop()
  1713. end
  1714. ))
  1715. for i = 0, 1, 0.1 do
  1716. swait()
  1717. RW.C0 = CFrame.new(1.5 - 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(90), 0, math.rad(90 - 135 * i))
  1718. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1719. LW.C0 = CFrame.new(-1, 1.5 - 1 * i, -0.5 * i) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(90 - 45 * i))
  1720. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1721. w1.C0 = CFrame.Angles(math.rad(-90 + 45 * i), math.rad(0), math.rad(0))
  1722. end
  1723. else
  1724. do
  1725. if LancerM then
  1726. LancerM = false
  1727. local meshb = Instance.new("SpecialMesh")
  1728. meshb.Scale = Vector3.new(0, 0, 0)
  1729. meshb.MeshId = "http://www.roblox.com/asset/?id=1038653"
  1730. local shellb = Instance.new("Part")
  1731. meshb.Parent = shellb
  1732. shellb.Anchored = true
  1733. shellb.formFactor = 3
  1734. shellb.Size = Vector3.new(1, 1, 1)
  1735. shellb.CFrame = Torso.CFrame
  1736. shellb.Parent = swordholder
  1737. shellb.Transparency = 1
  1738. shellb.Reflectance = 0.25
  1739. shellb.BrickColor = bcolor
  1740. shellb.CanCollide = false
  1741. local meshb2 = Instance.new("SpecialMesh")
  1742. meshb2.Scale = Vector3.new(0, 0, 0)
  1743. meshb2.MeshType = "Sphere"
  1744. local shellb2 = Instance.new("Part")
  1745. meshb2.Parent = shellb2
  1746. shellb2.Anchored = true
  1747. shellb2.formFactor = 3
  1748. shellb2.Size = Vector3.new(1, 1, 1)
  1749. shellb2.CFrame = Torso.CFrame
  1750. shellb2.Parent = swordholder
  1751. shellb2.Transparency = 1
  1752. shellb2.Reflectance = 0.25
  1753. shellb2.BrickColor = bcolor
  1754. shellb2.CanCollide = false
  1755. coroutine.resume(coroutine.create(function()
  1756. for i = 0, 1, 0.05 do
  1757. swait()
  1758. shellb.Transparency = 1 - 1 * i
  1759. meshb.Scale = Vector3.new(30 * i, 30 * i, 30 * i)
  1760. shellb2.Transparency = 1 - 1 * i
  1761. meshb2.Scale = Vector3.new(15 * i, 100 * i, 15 * i)
  1762. end
  1763. for i = 0, 1, 0.05 do
  1764. swait()
  1765. shellb.Transparency = 1 * i
  1766. meshb.Scale = Vector3.new(30 + 50 * i, 30 + 50 * i, 30 + 50 * i)
  1767. shellb2.Transparency = 1 * i
  1768. meshb2.Scale = Vector3.new(15 - 15 * i, 100 + 100 * i, 15 - 15 * i)
  1769. end
  1770. shellb2.Parent = nil
  1771. shellb.Parent = nil
  1772. end
  1773. ))
  1774. for i = 0, 1, 0.1 do
  1775. swait()
  1776. RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45 + 45 * i))
  1777. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1778. LW.C0 = CFrame.new(-1, 0.5 + 1 * i, -0.5 + 0.5 * i) * CFrame.Angles(math.rad(45 + 45 * i), 0, math.rad(45 + 45 * i))
  1779. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1780. w1.C0 = CFrame.Angles(math.rad(-45 - 45 * i), math.rad(0), math.rad(0))
  1781. end
  1782. helmw.Part1 = LeftArm
  1783. helmw.C0 = CFrame.Angles(math.rad(90), 0, math.rad(90))
  1784. helmw.C1 = CFrame.new(0, -1.5, 0)
  1785. for i = 0, 1, 0.1 do
  1786. swait()
  1787. RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(0))
  1788. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1789. LW.C0 = CFrame.new(-1 - 0.5 * i, 1.5 - 1 * i, 0) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(90 - 135 * i))
  1790. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1791. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1792. end
  1793. for i = 0, 1, 0.2 do
  1794. swait()
  1795. RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(0))
  1796. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1797. LW.C0 = CFrame.new(-1.5, 0.5, 0) * CFrame.Angles(math.rad(45 - 90 * i), 0, math.rad(-45 + 90 * i))
  1798. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1799. w1.C0 = CFrame.Angles(math.rad(-90), math.rad(0), math.rad(0))
  1800. end
  1801. helm.Parent = nil
  1802. helmw.Parent = nil
  1803. for i = 0, 1, 0.1 do
  1804. swait()
  1805. RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45 * i))
  1806. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1807. LW.C0 = CFrame.new(-1.5 + 0.5 * i, 0.5, -0.5 * i) * CFrame.Angles(math.rad(-45 + 90 * i), 0, math.rad(45))
  1808. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1809. w1.C0 = CFrame.Angles(math.rad(-90 + 45 * i), math.rad(0), math.rad(0))
  1810. end
  1811. end
  1812. do
  1813. attack = false
  1814. end
  1815. end
  1816. end
  1817. end
  1818. local recentlyjumped = false
  1819. Jump = function()
  1820. attack = true
  1821. local vel = Instance.new("BodyVelocity")
  1822. vel.maxForce = Vector3.new(0, math.huge, 0)
  1823. vel.P = vel.P * 2
  1824. vel.velocity = Vector3.new(0, 80, 0)
  1825. vel.Parent = Torso
  1826. wait(0.1)
  1827. vel.Parent = nil
  1828. local floor = false
  1829. coroutine.resume(coroutine.create(function()
  1830. repeat
  1831. wait(0.05)
  1832. hit = rayCast(Torso.Position, CFrame.new(Torso.Position, Torso.Position - Vector3.new(0, 6, 0)).lookVector, 6, Character)
  1833. if hit ~= nil then
  1834. floor = true
  1835. end
  1836. until floor
  1837. end
  1838. ))
  1839. local spinval = 0
  1840. ss(Head, 1, 0.25)
  1841. coroutine.resume(coroutine.create(function()
  1842. for i = 0, 1, 0.1 do
  1843. if floor then
  1844. return
  1845. end
  1846. swait()
  1847. RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90 - 45 * i), 0, math.rad(-45))
  1848. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1849. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45))
  1850. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  1851. w1.C0 = CFrame.new(0, -1 * i, 0) * CFrame.Angles(math.rad(-45 - 90 * i), 0, math.rad(-45 * i))
  1852. end
  1853. end
  1854. ))
  1855. while 1 do
  1856. wait(0.05)
  1857. spinval = spinval + 0.1
  1858. local mesh = Instance.new("SpecialMesh")
  1859. do
  1860. mesh.Scale = Vector3.new(5.1, 5, 5.1)
  1861. mesh.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1862. local shell = Instance.new("Part")
  1863. mesh.Parent = shell
  1864. shell.Anchored = true
  1865. shell.formFactor = 3
  1866. shell.Size = Vector3.new(0.2, 0.2, 0.2)
  1867. shell.CFrame = Torso.CFrame * CFrame.Angles(0, spinval, 0) + Vector3.new(0, -2.5, 0)
  1868. shell.Parent = swordholder
  1869. shell.Transparency = 1
  1870. shell.BrickColor = handlecolor
  1871. shell.CanCollide = false
  1872. local mesh2 = Instance.new("SpecialMesh")
  1873. mesh2.Scale = Vector3.new(8, 8, 8)
  1874. mesh2.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1875. local shell2 = Instance.new("Part")
  1876. mesh2.Parent = shell2
  1877. shell2.Anchored = true
  1878. shell2.formFactor = 3
  1879. shell2.Size = Vector3.new(0.2, 0.2, 0.2)
  1880. shell2.CFrame = Torso.CFrame * CFrame.Angles(0, spinval, 0) + Vector3.new(0, -2.5, 0)
  1881. shell2.Parent = swordholder
  1882. shell2.Transparency = 1
  1883. shell2.BrickColor = bcolor
  1884. shell2.CanCollide = false
  1885. coroutine.resume(coroutine.create(function()
  1886. for i = 0, 1, 0.2 do
  1887. swait()
  1888. shell.Transparency = 1 - 1 * i
  1889. shell2.Transparency = 1 - 1 * i
  1890. end
  1891. for i = 0, 1, 0.2 do
  1892. swait()
  1893. shell.Transparency = 1 * i
  1894. shell2.Transparency = 1 * i
  1895. end
  1896. shell.Parent = nil
  1897. shell2.Parent = nil
  1898. end
  1899. ))
  1900. if floor then
  1901. do
  1902. do break end
  1903. -- DECOMPILER ERROR at PC170: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1904. -- DECOMPILER ERROR at PC170: LeaveBlock: unexpected jumping out IF_STMT
  1905. end
  1906. end
  1907. end
  1908. end
  1909. local ps = Instance.new("BodyPosition")
  1910. ps.Parent = Torso
  1911. ps.position = Torso.Position
  1912. ps.maxForce = Vector3.new(1, 1, 1) * math.huge
  1913. ps.P = ps.P * 2
  1914. coroutine.resume(coroutine.create(function()
  1915. wait(0.05)
  1916. ps.Parent = nil
  1917. end
  1918. ))
  1919. for rep = 1, 3 do
  1920. srfs(Head, 0.45 + 0.2 * math.random(), 0.5)
  1921. ls(Head, 0.15 + 0.2 * math.random(), 0.5)
  1922. cs(Head, 0.4 + 0.2 * math.random(), 0.5)
  1923. end
  1924. local meshb = Instance.new("SpecialMesh")
  1925. meshb.Scale = Vector3.new(0, 0, 0)
  1926. meshb.MeshId = "http://www.roblox.com/asset/?id=1038653"
  1927. local shellb = Instance.new("Part")
  1928. meshb.Parent = shellb
  1929. shellb.Anchored = true
  1930. shellb.formFactor = 3
  1931. shellb.Size = Vector3.new(1, 1, 1)
  1932. shellb.CFrame = CFrame.new(Torso.Position)
  1933. shellb.Parent = swordholder
  1934. shellb.Transparency = 1
  1935. shellb.Reflectance = 0.25
  1936. shellb.BrickColor = bcolor
  1937. shellb.CanCollide = false
  1938. local meshb2 = Instance.new("SpecialMesh")
  1939. meshb2.Scale = Vector3.new(0, 0, 0)
  1940. meshb2.MeshType = "Sphere"
  1941. local shellb2 = Instance.new("Part")
  1942. meshb2.Parent = shellb2
  1943. shellb2.Anchored = true
  1944. shellb2.formFactor = 3
  1945. shellb2.Size = Vector3.new(1, 1, 1)
  1946. shellb2.CFrame = CFrame.new(Torso.Position)
  1947. shellb2.Parent = swordholder
  1948. shellb2.Transparency = 1
  1949. shellb2.Reflectance = 0.25
  1950. shellb2.BrickColor = bcolor
  1951. shellb2.CanCollide = false
  1952. local meshb3 = Instance.new("SpecialMesh")
  1953. meshb3.Scale = Vector3.new(0, 0, 0)
  1954. meshb3.MeshId = "http://www.roblox.com/asset/?id=1051557"
  1955. local shellb3 = Instance.new("Part")
  1956. meshb3.Parent = shellb3
  1957. shellb3.Anchored = true
  1958. shellb3.formFactor = 3
  1959. shellb3.Size = Vector3.new(1, 1, 1)
  1960. shellb3.CFrame = CFrame.new(Torso.Position + Vector3.new(0, 10, 0)) * CFrame.Angles(math.rad(180), 0, 0)
  1961. shellb3.Parent = swordholder
  1962. shellb3.Transparency = 1
  1963. shellb3.Reflectance = 0.25
  1964. shellb3.BrickColor = bcolor
  1965. shellb3.CanCollide = false
  1966. coroutine.resume(coroutine.create(function()
  1967. local spinv = 0
  1968. for i = 0, 1, 0.05 do
  1969. swait()
  1970. spinv = spinv + 0.5
  1971. shellb.Transparency = 1 - 1 * i
  1972. meshb.Scale = Vector3.new(25 * i, 25 * i, 25 * i)
  1973. shellb2.Transparency = 1 - 1 * i
  1974. meshb2.Scale = Vector3.new(50 * i, 5 * i, 50 * i)
  1975. shellb3.Transparency = 1 - 1 * i
  1976. meshb3.Scale = Vector3.new(40 * i, 40, 40 * i)
  1977. shellb3.CFrame = shellb3.CFrame * CFrame.Angles(0, spinval, 0)
  1978. end
  1979. prcntdmg(-50)
  1980. AoE(Torso.Position, 25)
  1981. for i = 0, 1, 0.05 do
  1982. swait()
  1983. spinv = spinv + 0.5
  1984. shellb.Transparency = 1 * i
  1985. meshb.Scale = Vector3.new(25 + 25 * i, 25 + 25 * i, 25 + 25 * i)
  1986. shellb2.Transparency = 1 * i
  1987. meshb2.Scale = Vector3.new(50 + 25 * i, 5 - 5 * i, 50 + 25 * i)
  1988. shellb3.Transparency = 1 * i
  1989. meshb3.Scale = Vector3.new(40 + 40 * i, 40, 40 + 40 * i)
  1990. shellb3.CFrame = shellb3.CFrame * CFrame.Angles(0, spinval, 0)
  1991. end
  1992. AoE(Torso.Position, 35)
  1993. returndmg()
  1994. shellb3.Parent = nil
  1995. shellb2.Parent = nil
  1996. shellb.Parent = nil
  1997. end
  1998. ))
  1999. for i = 0, 1, 0.1 do
  2000. swait()
  2001. RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(45 + 45 * i), 0, math.rad(-45))
  2002. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  2003. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45))
  2004. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  2005. w1.C0 = CFrame.new(0, -1 + 1 * i, 0) * CFrame.Angles(math.rad(-135 + 90 * i), 0, math.rad(-45 + 45 * i))
  2006. end
  2007. attack = false
  2008. coroutine.resume(coroutine.create(function()
  2009. recentlyjumped = true
  2010. wait(5)
  2011. recentlyjumped = false
  2012. end
  2013. ))
  2014. end
  2015. Dash = function()
  2016. attack = true
  2017. for i = 0, 1, 0.1 do
  2018. swait()
  2019. RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45))
  2020. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  2021. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45))
  2022. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  2023. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  2024. end
  2025. attack = false
  2026. end
  2027. returnwelds = function()
  2028. RW.C0 = CFrame.new(1, 0.5, -0.5) * CFrame.Angles(math.rad(90), 0, math.rad(-45))
  2029. RW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  2030. LW.C0 = CFrame.new(-1, 0.5, -0.5) * CFrame.Angles(math.rad(45), 0, math.rad(45))
  2031. LW.C1 = CFrame.new(0, 0.5, 0) * CFrame.Angles(0, 0, 0)
  2032. w1.C0 = CFrame.Angles(math.rad(-45), math.rad(0), math.rad(0))
  2033. RWL.C0 = CFrame.new(1, -1, 0) * CFrame.Angles(0, 0, 0)
  2034. RWL.C1 = CFrame.new(0.5, 1, 0)
  2035. LWL.C0 = CFrame.new(-1, -1, 0) * CFrame.Angles(0, 0, 0)
  2036. LWL.C1 = CFrame.new(-0.5, 1, 0)
  2037. end
  2038. ob1d = function(mouse)
  2039. hold = true
  2040. if attack then
  2041. return
  2042. end
  2043. if Aura < 90 then
  2044. if attacktype == 1 then
  2045. Combo1()
  2046. else
  2047. if attacktype == 2 then
  2048. Combo2()
  2049. else
  2050. if attacktype == 3 then
  2051. Combo3()
  2052. end
  2053. end
  2054. end
  2055. else
  2056. if Aura > 90 then
  2057. if attacktype == 1 then
  2058. Combo1B()
  2059. else
  2060. if attacktype == 2 then
  2061. Combo2B()
  2062. else
  2063. if attacktype == 3 then
  2064. Combo3B()
  2065. end
  2066. end
  2067. end
  2068. end
  2069. end
  2070. end
  2071. ob1u = function(mouse)
  2072. end
  2073. buttonhold = false
  2074. local last_attack = 0
  2075. key = function(key)
  2076. if attack then
  2077. return
  2078. end
  2079. t = game:service("RunService").Stepped:wait()
  2080. if key == "q" then
  2081. bhold = true
  2082. Slash1()
  2083. end
  2084. -- DECOMPILER ERROR at PC27: Unhandled construct in 'MakeBoolean' P1
  2085. if key == "f" and not LancerM and Aura > 25 then
  2086. LancerMode()
  2087. end
  2088. if LancerM then
  2089. LancerMode()
  2090. end
  2091. if key == "w" and t - last_attack < 0.5 then
  2092. buttonhold = true
  2093. Dash()
  2094. end
  2095. -- DECOMPILER ERROR at PC68: Unhandled construct in 'MakeBoolean' P1
  2096. if key == " " and t - last_attack < 0.5 and Torso.Velocity.y > -15 and not recentlyjumped and LancerM and Aura > 25 then
  2097. Aura = Aura - 25
  2098. Jump()
  2099. end
  2100. if not LancerM and Aura > 75 then
  2101. Aura = Aura - 75
  2102. Jump()
  2103. end
  2104. last_attack = t
  2105. end
  2106. key2 = function(key)
  2107. if key == "w" then
  2108. buttonhold = false
  2109. end
  2110. if key == "q" then
  2111. bhold = false
  2112. end
  2113. end
  2114. s = function(mouse)
  2115. repeat
  2116. swait()
  2117. until not attack
  2118. repeat
  2119. swait()
  2120. until not ev.Value
  2121. mouse.Button1Down:connect(function()
  2122. ob1d(mouse)
  2123. end
  2124. )
  2125. mouse.Button1Up:connect(function()
  2126. ob1u(mouse)
  2127. end
  2128. )
  2129. mouse.KeyDown:connect(key)
  2130. mouse.KeyUp:connect(key2)
  2131. equipanim()
  2132. MMouse = mouse
  2133. ev.Value = true
  2134. end
  2135. ds = function(mouse)
  2136. repeat
  2137. swait()
  2138. until not attack
  2139. repeat
  2140. swait()
  2141. until ev.Value
  2142. hideanim()
  2143. wait(0.1)
  2144. ev.Value = false
  2145. end
  2146. Bin.Selected:connect(s)
  2147. Bin.Deselected:connect(ds)
  2148. coroutine.resume(coroutine.create(function()
  2149. while 1 do
  2150. while 1 do
  2151. while 1 do
  2152. swait()
  2153. AText.Text = math.floor(Aura)
  2154. Aura1.BackgroundColor3 = Color3.new(Aura / 100 * 255 / 255, Aura / 100 * 170 / 255, Aura / 100 * 255 / 255)
  2155. Aura2.BackgroundColor3 = Color3.new(Aura / 100 * 255 / 255, Aura / 100 * 170 / 255, Aura / 100 * 255 / 255)
  2156. if not LancerM and bhold ~= false or Aura < 100 then
  2157. Aura = Aura + 0.25
  2158. end
  2159. end
  2160. if LancerM then
  2161. if Aura > 0 then
  2162. Aura = Aura - 0.15
  2163. -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2164. -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_STMT
  2165. -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2166. -- DECOMPILER ERROR at PC64: LeaveBlock: unexpected jumping out IF_STMT
  2167. end
  2168. end
  2169. end
  2170. if Aura <= 0 then
  2171. LancerMode()
  2172. end
  2173. end
  2174. end
  2175. ))
  2176. coroutine.resume(coroutine.create(function()
  2177. while 1 do
  2178. swait()
  2179. for i = 0, 1, 0.01 do
  2180. swait()
  2181. Aura1.Rotation = 360 * i
  2182. end
  2183. end
  2184. end
  2185. ))
  2186. coroutine.resume(coroutine.create(function()
  2187. while 1 do
  2188. swait()
  2189. for i = 0, 1, 0.01 do
  2190. swait()
  2191. Aura2.Rotation = 45 - 360 * i
  2192. end
  2193. end
  2194. end
  2195. ))
  2196. coroutine.resume(coroutine.create(function()
  2197. while 1 do
  2198. while 1 do
  2199. swait()
  2200. if not LancerM then
  2201. if Aura >= 90 then
  2202. Character.Humanoid.WalkSpeed = ws * 1.5
  2203. mindamage = 2
  2204. maxdamage = 5
  2205. crtmaxdamage = 7
  2206. -- DECOMPILER ERROR at PC19: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2207. -- DECOMPILER ERROR at PC19: LeaveBlock: unexpected jumping out IF_STMT
  2208. -- DECOMPILER ERROR at PC19: LeaveBlock: unexpected jumping out IF_THEN_STMT
  2209. -- DECOMPILER ERROR at PC19: LeaveBlock: unexpected jumping out IF_STMT
  2210. end
  2211. end
  2212. end
  2213. if Aura < 90 then
  2214. Character.Humanoid.WalkSpeed = ws
  2215. mindamage = 5
  2216. maxdamage = 10
  2217. crtmaxdamage = 15
  2218. end
  2219. end
  2220. end
  2221. ))

comments powered by Disqus