mathmasterphil

Angel Sword

Feb 22nd, 2015
245
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 79.66 KB | None | 0 0
  1. --~Angel Sword~--
  2. repeat Wait()until Game.Players.LocalPlayer ~= nil;Player = Game.Players.LocalPlayer Tool = script.Parent if not script.Parent:IsA("Tool")then Tool = Instance.new("Tool",Player.Backpack)script.Parent = Tool end
  3. Character,PlayerGui,Power = Player.Character,Player.PlayerGui,0
  4. RA,LA,RL,LL,H,T = Character["Right Arm"],Character["Left Arm"],Character["Right Leg"],Character["Left Leg"],Character.Head,Character.Torso
  5. RS,LS,RH,LH,N = T["Right Shoulder"],T["Left Shoulder"],T["Right Hip"],T["Left Hip"],T.Neck
  6. Settings = {Colors = {BrickColor.new("Institutional white"),BrickColor.new("Gold")};ExplosionColors = {BrickColor.new("Institutional white"),BrickColor.new("Gold"),BrickColor.new("Gold"),BrickColor.new("White")}}
  7. if Player.Name == "LocalPlayer" then
  8. Settings.Colors[1]= BrickColor.new("White")
  9. Settings.Colors[2]= BrickColor.new("Navy blue")
  10. end
  11. H:findFirstChild("face").Texture = "http://www.roblox.com/asset/?id=53769373"
  12. local Face,FaceTexture,IceTexture = H:findFirstChild("face"),H:findFirstChild("face").Texture,"http://www.roblox.com/asset/?id=53769373"
  13. Cam = Workspace.CurrentCamera
  14. Way = 0
  15. local ChosenColor,ChangeText,Descriptions
  16. AttackState = "Melee"
  17. Equiped,StopPower,StopTrail,StopRockTrail,StopSwordTrail,RageMode,RageWait,StopFlyTrail = false,false,false,false,false,false,false,false
  18. GeneratedParts = {}
  19. Debounces = {
  20. IsHealing = false;
  21. IsCharging = false;
  22. Attacking = false;
  23. Floating = false;
  24. Shielding = false;
  25. Flying = false;
  26. }
  27. local GripPos,RiseRate,HitDebounce,STGyro,Stance,rHandle = CFrame.new(0,0,0),1,false
  28. local function MakeFloatMesh()
  29. local s = Instance.new("Part",Character)
  30. s.BrickColor = BrickColor.new("White")
  31. s.Size = Vector3.new(5,5,5)
  32. s.Anchored = true
  33. s.Locked = true
  34. s.CanCollide = false
  35. s.TopSurface = 0
  36. s.BottomSurface = 0
  37. s.Reflectance = 0.1
  38. s.CFrame = T.CFrame * CFrame.new(0,-2,0)
  39. local sm = Instance.new("SpecialMesh",s)
  40. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  41. sm.Scale = Vector3.new(2,0.5,2)
  42. local plat = Instance.new("Part",Character)
  43. plat.Size = Vector3.new(5,1,5)
  44. plat.Anchored = true
  45. plat.Locked = true
  46. plat.CanCollide = true
  47. plat.Transparency = 1
  48. plat.CFrame = T.CFrame * CFrame.new(0,-2,0)
  49. coroutine.wrap(function()
  50. for i = 1,10 do
  51. sm.Scale = sm.Scale + Vector3.new(1,0.2,1)
  52. s.Transparency = s.Transparency +0.1
  53. s.CFrame = s.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-6,6),0)
  54. Wait()
  55. end
  56. plat:Destroy()
  57. s:Destroy()
  58. end)()end
  59. function Tag(Humanoid)
  60. local c = Instance.new("ObjectValue",Humanoid)
  61. c.Value = Player
  62. c.Name = "creator"
  63. end
  64. function Kill(Hit)
  65. pcall(function()
  66. Tag(Hit.Parent.Humanoid)
  67. Hit.Parent:BreakJoints()
  68. end)end
  69. function Damage(Vec,Object,Bool)
  70. if Object.Parent:findFirstChild("AngelRegistration")and Object.Parent.Name == Character.Name then return end
  71. if Object.Parent == Character then return end
  72. local Dmg,Humanoid = math.random(30,45),Object.Parent:findFirstChild("Humanoid")
  73. if Bool then Dmg = math.random(15,25)end
  74. if Humanoid and not HitDebounce then
  75. HitDebounce = true
  76. if not RageMode then
  77. if Humanoid.Health -Dmg <= 0 then Tag(Humanoid)end
  78. Humanoid:TakeDamage(Dmg)
  79. else
  80. Kill(Object)
  81. end
  82. for i,v in pairs(Object.Parent:GetChildren())do
  83. if v:IsA("BasePart")then
  84. local BP = Instance.new("BodyForce",v)
  85. BP.force = Vec.CFrame.lookVector *85
  86. Game:GetService("Debris"):AddItem(BP,2)
  87. end end
  88. pcall(function()
  89. Object.Parent:findFirstChild("Torso").RotVelocity = Vector3.new(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  90. Object.Parent:findFirstChild("Torso").Velocity = Vector3.new(math.random(-100,100),math.random(-100,100),math.random(-100,100))
  91. end)
  92. Wait(0.1)
  93. HitDebounce = false
  94. end end
  95. function CloneCharacter()
  96. Character.Archivable = true
  97. local Clone = Character:Clone()
  98. Character.Archivable = false
  99. Clone.Parent = Workspace
  100. Clone.Archivable = false
  101. return Clone
  102. end
  103. function GetDirection()
  104. if Player == nil then return{CFrame.new(0,0,0),CFrame.new(0,0,0)}end
  105. return{CFrame.new(T.Position,Vector3.new(Cam.CoordinateFrame.x,T.Position.y,Cam.CoordinateFrame.z))* CFrame.fromEulerAnglesXYZ(0,math.pi,0),Vector3.new(Cam.CoordinateFrame.p.x,T.CFrame.p.y,Cam.CoordinateFrame.p.z)}
  106. end
  107. function FaceForward()
  108. STGyro.cframe = GetDirection()[1]
  109. return STGyro.cframe
  110. end
  111. function SwordTrail(Position,CF,Color)
  112. coroutine.wrap(function()
  113. local Old =(Position.CFrame *CF).p
  114. while Wait()do
  115. if StopSwordTrail then break end
  116. local New =(Position.CFrame *CF).p
  117. local Mag =(Old -New).magnitude
  118. local Dis =(Old +New)/2
  119. local Trail = Instance.new("Part",Character)
  120. Trail.Anchored = true
  121. Trail.CanCollide = false
  122. Trail.BrickColor = Color
  123. Trail.Size = Vector3.new(0.2,Mag,0.2)
  124. Trail.TopSurface = 0
  125. Trail.BottomSurface = 0
  126. Trail.formFactor = "Custom"
  127. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  128. local ms = Instance.new("BlockMesh",Trail)
  129. ms.Scale = Vector3.new(1,1,1)
  130. local TM = Instance.new("CylinderMesh",Trail)
  131. TM.Scale = Vector3.new(1,1,1)
  132. Old = New
  133. coroutine.wrap(function()
  134. for i = 1,0,-0.1 do
  135. Wait()
  136. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  137. end
  138. Trail:Destroy()
  139. end)()
  140. coroutine.wrap(function()
  141. for i = 1,10 do
  142. Wait()
  143. Trail.Transparency = Trail.Transparency +0.1
  144. end end)()end end)()end
  145. function FlyTrail(Position,CF)
  146. coroutine.wrap(function()
  147. local Old =(Position.CFrame *CF).p
  148. while Wait()do
  149. if StopFlyTrail then break end
  150. local New =(Position.CFrame *CF).p
  151. local Mag =(Old -New).magnitude
  152. local Dis =(Old +New)/2
  153. local Trail = Instance.new("Part",Character)
  154. Trail.Anchored = true
  155. Trail.CanCollide = false
  156. Trail.BrickColor = Settings.Colors[2]
  157. Trail.Size = Vector3.new(0.2,Mag,0.2)
  158. Trail.TopSurface = 0
  159. Trail.BottomSurface = 0
  160. Trail.formFactor = "Custom"
  161. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  162. local ms = Instance.new("BlockMesh",Trail)
  163. ms.Scale = Vector3.new(1,1,1)
  164. local TM = Instance.new("CylinderMesh",Trail)
  165. TM.Scale = Vector3.new(1,1,1)
  166. Old = New
  167. coroutine.wrap(function()
  168. for i = 1,0,-0.1 do
  169. Wait()
  170. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  171. end
  172. Trail:Destroy()
  173. end)()
  174. coroutine.wrap(function()
  175. for i = 1,10 do
  176. Wait()
  177. Trail.Transparency = Trail.Transparency +0.1
  178. end end)()end end)()end
  179. function Trail(Position,CF,Color)
  180. coroutine.wrap(function()
  181. local Old =(Position.CFrame *CF).p
  182. while Wait()do
  183. if StopTrail then break end
  184. local New =(Position.CFrame *CF).p
  185. local Mag =(Old -New).magnitude
  186. local Dis =(Old +New)/2
  187. local Trail = Instance.new("Part",Character)
  188. Trail.Anchored = true
  189. Trail.CanCollide = false
  190. Trail.BrickColor = Color
  191. Trail.Size = Vector3.new(0.2,Mag,0.2)
  192. Trail.TopSurface = 0
  193. Trail.BottomSurface = 0
  194. Trail.formFactor = "Custom"
  195. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  196. local ms = Instance.new("BlockMesh",Trail)
  197. ms.Scale = Vector3.new(1,1,1)
  198. local TM = Instance.new("CylinderMesh",Trail)
  199. TM.Scale = Vector3.new(1,1,1)
  200. Old = New
  201. coroutine.wrap(function()
  202. for i = 1,0,-0.1 do
  203. Wait()
  204. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  205. end
  206. Trail:Destroy()
  207. end)()
  208. coroutine.wrap(function()
  209. for i = 1,10 do
  210. Wait()
  211. Trail.Transparency = Trail.Transparency +0.1
  212. end end)()end end)()end
  213. function RockTrail(Position,CF,Color)
  214. coroutine.wrap(function()
  215. local Old =(Position.CFrame * CF).p
  216. while Wait()do
  217. if StopRockTrail then break end
  218. local New =(Position.CFrame * CF).p
  219. local Mag =(Old -New).magnitude
  220. local Dis =(Old +New)/2
  221. local Trail = Instance.new("Part",Character)
  222. Trail.Anchored = true
  223. Trail.CanCollide = false
  224. Trail.BrickColor = Color
  225. Trail.Size = Vector3.new(0.2,Mag,0.2)
  226. Trail.TopSurface = 0
  227. Trail.BottomSurface = 0
  228. Trail.formFactor = "Custom"
  229. Trail.CFrame = CFrame.new(Dis,New)* CFrame.Angles(math.pi/2,0,0)
  230. local ms = Instance.new("BlockMesh",Trail)
  231. ms.Scale = Vector3.new(1,1,1)
  232. local TM = Instance.new("CylinderMesh",Trail)
  233. TM.Scale = Vector3.new(1.5,1.5,1.5)
  234. Old = New
  235. coroutine.wrap(function()
  236. for i = 1,0,-0.1 do
  237. Wait()
  238. TM.Scale = TM.Scale * Vector3.new(i,1,i)
  239. end
  240. Trail:Destroy()
  241. end)()
  242. coroutine.wrap(function()
  243. for i = 1,10 do
  244. Wait()
  245. Trail.Transparency = Trail.Transparency +0.1
  246. end end)()end end)()end
  247. function RandomDecimal(Dec,Dec2)
  248. if not Dec or not Dec2 or Dec == Dec2 then return end
  249. local Range,Round = {},"0."
  250. for i = 1,#tostring(Dec2):sub(tostring(Dec2):find("%.")+1)do Round = Round..'0' end
  251. Round = Round..'1'
  252. for i = Dec,Dec2,tonumber(Round)do
  253. table.insert(Range,i)
  254. if i == Dec2 then
  255. break
  256. end end
  257. return Range[math.random(1,#Range)]
  258. end
  259. function TakeDamage(Humanoid,Amount)Humanoid:TakeDamage(Amount)end
  260. function ChargePosition(Bool)
  261. if Bool then
  262. N.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0)
  263. N.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0)
  264. RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0)
  265. RS.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,0,0)
  266. LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)
  267. LS.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0)
  268. RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  269. RH.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
  270. LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)
  271. LH.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0)
  272. for i = 1,2 do
  273. RS.C0 = RS.C0 * CFrame.new(0.01,0,0.25)* CFrame.Angles(-(i-0.5),0,0)
  274. LS.C0 = LS.C0 * CFrame.new(0.01,0,0.25)* CFrame.Angles(-(i-0.5),0,0)
  275. RH.C0 = RH.C0 * CFrame.new(0,0.015,0)* CFrame.Angles(-(i-1.4),0,0)
  276. LH.C0 = LH.C0 * CFrame.new(0,0.015,0)* CFrame.Angles(-(i-1.4),0,0)
  277. Wait()
  278. end else
  279. N.C0 = CFrame.new(0,1,0,-1,0,0,0,0,1,0,1,0)
  280. N.C1 = CFrame.new(0,-0.5,0,-1,0,0,0,0,1,0,1,0)
  281. RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0)
  282. RS.C1 = CFrame.new(-0.5,0.5,0,0,0,1,0,1,0,-1,0,0)
  283. LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)
  284. LS.C1 = CFrame.new(0.5,0.5,0,0,0,-1,0,1,0,1,0,0)
  285. RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  286. RH.C1 = CFrame.new(0.5,1,0,0,0,1,0,1,0,-1,0,0)
  287. LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)
  288. LH.C1 = CFrame.new(-0.5,1,0,0,0,-1,0,1,0,1,0,0)
  289. end end
  290. function Charge(Color,Bool)
  291. Stance = "Charging"
  292. Character.Humanoid.WalkSpeed = 0
  293. local l = T:findFirstChild("ChargeLight")or Instance.new("PointLight",T)
  294. l.Name = "ChargeLight"
  295. l.Color = Color.Color
  296. l.Range = Way == 1 and l.Range -1 or l.Range +1
  297. if l.Range == 60 then Way = 1 elseif l.Range == 0 then Way = 0 end
  298. local s = Instance.new("Part",Character)
  299. s.BrickColor = Color
  300. s.Size = Vector3.new(5,5,5)
  301. s.Anchored = true
  302. s.Locked = true
  303. s.CanCollide = false
  304. s.TopSurface = 0
  305. s.BottomSurface = 0
  306. s.CFrame = T.CFrame * CFrame.new(0,-2,0)
  307. local sm = Instance.new("SpecialMesh",s)
  308. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  309. sm.Scale = Vector3.new(5,5,5)
  310. if Bool then
  311. coroutine.wrap(function()
  312. for i = 1,2 do
  313. local p = Instance.new("Part",Character)
  314. p.TopSurface = 0
  315. p.BottomSurface = 0
  316. p.formFactor = "Custom"
  317. p.Anchored = true
  318. p.CanCollide = false
  319. p.BrickColor = math.random(1,2)%2 == 1 and Settings.Colors[1]or Color
  320. p.Transparency = 0.5
  321. p.Size = Vector3.new(1,1,1)
  322. p.CFrame = T.CFrame * CFrame.new(0,-4,0)* CFrame.Angles(0,math.rad(math.random(-45,45)),0)
  323. local ms = Instance.new("BlockMesh",p)
  324. ms.Scale = Vector3.new(1,1,1)
  325. local m = Instance.new("SpecialMesh",p)
  326. m.Scale = Vector3.new(1,1,1)
  327. m.MeshType = "FileMesh"
  328. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  329. coroutine.wrap(function()
  330. for i = 0,3,0.2 do
  331. Wait()
  332. m.Scale = m.Scale + Vector3.new(i,i/2,i)
  333. end
  334. coroutine.wrap(function()
  335. for i = 1,5 do
  336. Wait()
  337. p.Transparency = p.Transparency -0.1
  338. end
  339. p:Destroy()
  340. end)()end)()
  341. Wait(0.1)
  342. end end)()end
  343. coroutine.wrap(function()
  344. for i = 1,10 do
  345. sm.Scale = sm.Scale + Vector3.new(1,1,1)
  346. s.Transparency = s.Transparency +0.1
  347. s.CFrame = s.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-6,6),0)
  348. Wait()
  349. end
  350. s:Destroy()
  351. end)()end
  352. local Clones = {}
  353. function IsNear(Position,Distance)
  354. local List = {}
  355. for i,v in pairs(Workspace:GetChildren())do
  356. if v:IsA("Model")then
  357. if v:findFirstChild("Torso")then
  358. if v ~= Character then
  359. if(v.Torso.CFrame.p -Position).magnitude < Distance then
  360. table.insert(List,v)
  361. end end end end end
  362. return List
  363. end
  364. KeyBindings = {
  365. l = function(Mouse)
  366. if Power <= 0 then return end
  367. if Debounces.IsHealing or Debounces.IsCharging or Debounces.Attacking or Debounces.Shielding or Debounces.Flying then return end
  368. if AttackState ~= "Laser" then AttackState = "Laser" else AttackState = "Melee" end
  369. Debounces.Attacking = true
  370. Stance = "Lasering"
  371. local BreakLoop,x = false;x = Mouse.KeyUp:connect(function(k)
  372. if k == "l" then
  373. BreakLoop = true
  374. x:disconnect()
  375. end end)
  376. local gp
  377. coroutine.wrap(function()
  378. while Wait()do
  379. if BreakLoop then break end
  380. if Stance ~= "Lasering" then break end
  381. if Power <= 0 then break end
  382. gp = Character:findFirstChild("GeneratedParts")or Instance.new("Model",Character);gp.Name = "GeneratedParts";gp.Archivable = true
  383. local _Ray = Ray.new(rHandle.CFrame.p,(Mouse.Hit ~= nil and Mouse.Hit.p or Vector3.new(0,0,0)- rHandle.CFrame.p).unit *900)
  384. local Hit,Pos = Workspace:FindPartOnRay(_Ray,Character)
  385. local Distance =(Mouse.Hit.p -rHandle.CFrame.p).magnitude
  386. local RayPart = gp:findFirstChild("AngelLaser")or Instance.new("Part",gp)
  387. RayPart.Name = "AngelLaser"
  388. RayPart.BrickColor = Settings.Colors[math.random(1,2)]
  389. RayPart.Reflectance = 0.3
  390. RayPart.CanCollide = false
  391. RayPart.Anchored = true
  392. RayPart.Locked = true
  393. RayPart.formFactor = "Custom"
  394. RayPart.Size = Vector3.new(0.1,0.1,Distance)
  395. RayPart.CFrame = CFrame.new(Mouse.Hit.p,rHandle.CFrame.p)* CFrame.new(0,0,-Distance/2)
  396. RayPart.Touched:connect(function(Hit_)
  397. if Hit_.Parent ~= Character then
  398. local H = Hit_.Parent:findFirstChild("Humanoid")
  399. if H then TakeDamage(H,2)end
  400. end end)
  401. local cf = Mouse.Hit
  402. local hp = Instance.new("Part",gp)
  403. hp.Size = Vector3.new(1,1,1)
  404. hp.Anchored = true
  405. hp.Locked = true
  406. hp.CanCollide = false
  407. hp.BrickColor = RayPart.BrickColor
  408. hp.TopSurface = 0
  409. hp.BottomSurface = 0
  410. hp.CFrame = cf
  411. coroutine.wrap(function()
  412. for i = 1,3 do
  413. hp.Size = hp.Size + Vector3.new(2,2,2)
  414. hp.Transparency = hp.Transparency +0.2
  415. hp.CFrame = cf * CFrame.fromEulerAnglesXYZ(math.random(-6,6),math.random(-6,6),math.random(-6,6))
  416. Wait(0.2)
  417. end
  418. hp:Destroy()
  419. end)()
  420. Power = Power -40
  421. end
  422. pcall(function()gp:Destroy()end)
  423. Debounces.Attacking = false
  424. Stance = "Standing"
  425. end)()end;
  426. z = function(Mouse)
  427. if Power <= 0 then return end
  428. if Debounces.IsHealing or Debounces.IsCharging or Debounces.Attacking or Debounces.Shielding or Debounces.Flying then return end
  429. if AttackState ~= "LightningBolt" then AttackState = "LightningBolt" else AttackState = "Melee" end
  430. end;
  431. x = function(Mouse)
  432. if Debounces.IsHealing or Debounces.IsCharging or Debounces.Attacking or Debounces.Shielding or Debounces.Flying then return end
  433. if AttackState ~= "GroundSmash" then AttackState = "GroundSmash" else AttackState = "Melee" end
  434. end;
  435. y = function(Mouse)
  436. if #Clones >= 5 then return end
  437. if Debounces.IsCharging or Debounces.IsHealing or Debounces.Shielding or Debounces.Attacking or Debounces.Flying then return end
  438. if Power -26000 >= 0 then
  439. Power = Power -26000
  440. StopPower = true
  441. local x = Instance.new("Animation",Tool)
  442. x.AnimationId = "http://www.roblox.com/asset/?id=128853357"
  443. local anim = Character.Humanoid:LoadAnimation(x)
  444. anim:Play()
  445. for i = 1,5 do
  446. Effect2(LA,i/2,i/2,i/2,0,-0.8,0,T.BrickColor,tonumber("0."..i))
  447. Wait(0.2)
  448. end
  449. Wait(0.2)
  450. local Clone = CloneCharacter()
  451. for i,v in pairs(Clone:GetChildren())do
  452. if v:IsA("BasePart")then
  453. v.Touched:connect(function(Hit)
  454. if Hit.Parent ~= Character and Hit.Parent ~= Workspace and Hit.Parent:findFirstChild("Humanoid")and Hit.Parent ~= Clone then
  455. Kill(Hit)
  456. end end)end end
  457. Clone.Humanoid.WalkSpeed = 0
  458. StopPower = false
  459. Clone.Torso.CFrame = LA.CFrame * CFrame.new(0,-2,-2)
  460. local con;con = Mouse.Button1Down:connect(function()
  461. if not Clone then con:disconnect()return end
  462. pcall(function()Clone.Torso.CFrame = Mouse.Hit * CFrame.new(0,10,0)end)
  463. end)
  464. local Registration = Instance.new("IntValue",Clone)
  465. Registration.Name = "AngelRegistered"
  466. local ID = Instance.new("IntValue",Clone)
  467. ID.Name = "IndexNumber"
  468. ID.Value = #Clones == 0 and 1 or #Clones +1
  469. Clones[#Clones == 0 and 1 or #Clones +1]= Clone
  470. local Timer = 0
  471. coroutine.wrap(function()
  472. while Wait(1)do
  473. if Timer == 15 then break end
  474. Timer = Timer +1
  475. end end)()
  476. coroutine.wrap(function()
  477. while Wait()do
  478. if Timer == 15 then
  479. Clones[Clone:findFirstChild("IndexNumber").Value]= nil
  480. for i,v in pairs(Clone:GetChildren())do
  481. if v:IsA("BasePart")then
  482. coroutine.wrap(function()
  483. for x = 1,10 do
  484. v.Transparency = v.Transparency +0.1
  485. Wait()
  486. end end)()end end
  487. delay(10 *(1/30),function()Clone:Destroy()end)
  488. break
  489. end end end)()end end;
  490. r = function()
  491. if RageMode then
  492. if RageWait then return end
  493. RageMode = false
  494. local Sayings = {"Ugh...","That was fun!"}
  495. ypcall(function()
  496. local sg = PlayerGui:findFirstChild("RedTintAngel"):findFirstChild("Frame")
  497. coroutine.wrap(function()
  498. for i = 35,1,1 do
  499. sg.BackgroundColor3 = Color3.new(i/35,0,0)
  500. sg.BackgroundTransparency = sg.BackgroundTransparency +0.01
  501. Wait()
  502. end end)()
  503. sg.Parent:Destroy()
  504. end)
  505. Game:GetService("Chat"):Chat(H,Sayings[math.random(1,#Sayings)],2)
  506. Face.Texture = FaceTexture
  507. LA.Anchored = true
  508. RA.Anchored = true
  509. LL.Anchored = true
  510. RL.Anchored = true
  511. T.Anchored = true
  512. local s = Instance.new("Part",Workspace)
  513. s.Anchored = true
  514. s.TopSurface = 0
  515. s.BottomSurface = 0
  516. s.Locked = true
  517. s.Transparency = 1
  518. s.CanCollide = false
  519. s.Shape = "Ball"
  520. s.Reflectance = 0
  521. s.BrickColor = BrickColor.new("Gold")
  522. s.CFrame = T.CFrame
  523. coroutine.wrap(function()
  524. for i = 1,5 do
  525. s.Size = s.Size + Vector3.new(2,2,2)
  526. s.CFrame = T.CFrame
  527. s.Transparency = s.Transparency -0.2
  528. Wait()
  529. end
  530. Wait(0.1)
  531. s.BrickColor = BrickColor.new("Institutional white")
  532. for i = 1,10 do
  533. s.Size = s.Size - Vector3.new(2,2,2)
  534. s.CFrame = T.CFrame
  535. s.Transparency = s.Transparency +0.1
  536. Wait()
  537. end
  538. s:Destroy()
  539. end)()
  540. local l = Instance.new("PointLight",s)
  541. l.Color = s.Color
  542. l.Range = 60
  543. local f = Instance.new("Part",Character)
  544. f.BrickColor = BrickColor.new("Gold")
  545. f.Size = Vector3.new(5,1,5)
  546. f.Anchored = true
  547. f.Locked = true
  548. f.CanCollide = false
  549. f.TopSurface = 0
  550. f.BottomSurface = 0
  551. f.CFrame = T.CFrame * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  552. local sm = Instance.new("SpecialMesh",f)
  553. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  554. sm.Scale = Vector3.new(4,4,4)
  555. coroutine.wrap(function()
  556. for i = 1,20 do
  557. f.Transparency = f.Transparency +0.05
  558. sm.Scale = sm.Scale + Vector3.new(2,2,2)
  559. Wait()
  560. end
  561. f:Destroy()
  562. end)()
  563. delay(1,function()
  564. LA.Anchored = false
  565. RA.Anchored = false
  566. LL.Anchored = false
  567. RL.Anchored = false
  568. T.Anchored = false
  569. end)else
  570. RageWait = true
  571. RageMode = true
  572. local Sayings = {"Rage!","Reminds me of the time I defeated 500 devils","Can't stop me now!","GO BACK TO ONCE WHERE YOU CAME DEMON!"}
  573. Face.Texture = "http://www.roblox.com/asset/?id=33483624"
  574. Game:GetService("Chat"):Chat(H,Sayings[math.random(1,#Sayings)],2)
  575. local s = Instance.new("ScreenGui",PlayerGui)
  576. s.Name = "RedTintAngel"
  577. local sg = Instance.new("Frame",s)
  578. sg.ZIndex = 10
  579. sg.BackgroundTransparency = 1
  580. sg.BackgroundColor3 = Color3.new(1,0,0)
  581. sg.Size = UDim2.new(1,0,1,0)
  582. sg.BorderSizePixel = 0
  583. coroutine.wrap(function()
  584. for i = 1,35 do
  585. sg.BackgroundTransparency = sg.BackgroundTransparency -0.01
  586. Wait()
  587. end end)()
  588. LA.Anchored = true
  589. RA.Anchored = true
  590. LL.Anchored = true
  591. RL.Anchored = true
  592. T.Anchored = true
  593. local s = Instance.new("Part",Workspace)
  594. s.Anchored = true
  595. s.TopSurface = 0
  596. s.BottomSurface = 0
  597. s.Locked = true
  598. s.Transparency = 1
  599. s.CanCollide = false
  600. s.Shape = "Ball"
  601. s.Reflectance = 0
  602. s.BrickColor = Settings.Colors[1]
  603. s.CFrame = T.CFrame
  604. coroutine.wrap(function()
  605. for i = 1,5 do
  606. s.Size = s.Size + Vector3.new(2,2,2)
  607. s.CFrame = T.CFrame
  608. s.Transparency = s.Transparency -0.2
  609. Wait()
  610. end
  611. Wait(0.1)
  612. s.BrickColor = BrickColor.new("Gold")
  613. for i = 1,10 do
  614. s.Size = s.Size - Vector3.new(2,2,2)
  615. s.CFrame = T.CFrame
  616. s.Transparency = s.Transparency +0.1
  617. Wait()
  618. end
  619. s:Destroy()
  620. end)()
  621. local l = Instance.new("PointLight",s)
  622. l.Color = s.Color
  623. l.Range = 60
  624. local f = Instance.new("Part",Character)
  625. f.BrickColor = Settings.Colors[1]
  626. f.Size = Vector3.new(5,1,5)
  627. f.Anchored = true
  628. f.Locked = true
  629. f.CanCollide = false
  630. f.TopSurface = 0
  631. f.BottomSurface = 0
  632. f.CFrame = T.CFrame * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  633. local sm = Instance.new("SpecialMesh",f)
  634. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  635. sm.Scale = Vector3.new(4,4,4)
  636. coroutine.wrap(function()
  637. for i = 1,20 do
  638. f.Transparency = f.Transparency +0.05
  639. sm.Scale = sm.Scale + Vector3.new(2,2,2)
  640. Wait()
  641. end
  642. f:Destroy()
  643. end)()
  644. delay(1,function()
  645. LA.Anchored = false
  646. RA.Anchored = false
  647. LL.Anchored = false
  648. RL.Anchored = false
  649. T.Anchored = false
  650. end)
  651. delay(5,function()RageWait = false end)
  652. end end;
  653. }
  654. NonSwordKeys = {
  655. j = function(Mouse)
  656. if Debounces.IsCharging or Debounces.IsHealing or Debounces.Attacking or Debounces.Flying then return end
  657. Debounces.Shielding = not Debounces.Shielding
  658. if not Debounces.Shielding then
  659. T.Anchored = true
  660. StopPower = false
  661. RA.Anchored = false
  662. LA.Anchored = false
  663. LL.Anchored = false
  664. RL.Anchored = false
  665. H.Anchored = false
  666. delay(0.2,function()T.Anchored = false end)
  667. Stance = "Standing"
  668. end
  669. if Debounces.Shielding then
  670. if Power -30 >= 0 then
  671. Stance = "null"
  672. ChargePosition(false)
  673. Power = Power -30
  674. RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0)* CFrame.Angles(0,0,1.57)
  675. Wait(0.1)
  676. LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)* CFrame.Angles(0,0,-1.57)
  677. Wait(0.1)
  678. RS.C0 = RS.C0 * CFrame.Angles(0.6,0,0)* CFrame.new(0,0,-0.3)
  679. Wait(0.1)
  680. LS.C0 = LS.C0 * CFrame.Angles(0.6,0,0)* CFrame.new(0,0,-0.3)
  681. Wait(0.1)
  682. RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)* CFrame.Angles(-0.05,0,0)* CFrame.new(0,0.1,0)
  683. Wait(0.1)
  684. LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)* CFrame.Angles(-0.05,0,0)* CFrame.new(0,0.1,0)
  685. RA.Anchored = true
  686. LA.Anchored = true
  687. LL.Anchored = true
  688. RL.Anchored = true
  689. H.Anchored = true
  690. StopPower = true
  691. local Rot,Clr = 45
  692. local s = Instance.new("Part",Character)
  693. s.BrickColor = Clr or Settings.Colors[1]
  694. s.Size = Vector3.new(1,1,1)
  695. s.Anchored = true
  696. s.Locked = true
  697. s.CanCollide = false
  698. s.TopSurface = 0
  699. s.BottomSurface = 0
  700. s.CFrame = T.CFrame * CFrame.new(0,-2,0)
  701. local sm = Instance.new("SpecialMesh",s)
  702. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  703. sm.Scale = Vector3.new(33,1,33)
  704. while Wait()do
  705. if not Debounces.Shielding then break end
  706. if Power -30 < 0 then break end
  707. if Power == 0 then break end
  708. Power = Power -30
  709. s.CFrame = s.CFrame * CFrame.fromEulerAnglesXYZ(0,6,0)
  710. local f = Instance.new("Part",Character)
  711. f.BrickColor = Clr or Settings.Colors[1]
  712. f.Size = Vector3.new(5,1,5)
  713. f.Anchored = true
  714. f.Locked = true
  715. f.CanCollide = false
  716. f.TopSurface = 0
  717. f.BottomSurface = 0
  718. f.CFrame = T.CFrame * CFrame.new(0,-2,0)* CFrame.fromEulerAnglesXYZ(1.57,0,0)
  719. local sm = Instance.new("SpecialMesh",f)
  720. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  721. sm.Scale = Vector3.new(20,20,20)
  722. coroutine.wrap(function()
  723. for i = 1,13 do
  724. f.Transparency = i/13
  725. sm.Scale = sm.Scale + Vector3.new(1,1,1)
  726. Wait()
  727. end
  728. f:Destroy()
  729. end)()
  730. local Wind = Instance.new("Part",Character)
  731. Wind.Anchored = true
  732. Wind.CanCollide = true
  733. Wind.Locked = true
  734. Wind.BrickColor = Clr or Settings.Colors[1]
  735. Wind.Transparency = 0.5
  736. Wind.Shape = "Ball"
  737. Wind.TopSurface = 0
  738. Wind.BottomSurface = 0
  739. Wind.Size = Vector3.new(math.random(10,15),1,math.random(10,15))
  740. Wind.CFrame = T.CFrame
  741. for i,v in pairs(IsNear(Wind.Position,33))do Clr = BrickColor.new("Gold")Damage(T,v.Torso)delay(0.02,function()Clr = nil end)end
  742. coroutine.wrap(function()
  743. for i = 0.5,1,0.1 do
  744. Wait()
  745. Wind.Transparency = i
  746. end
  747. Wind:Destroy()
  748. end)()end
  749. T.Anchored = true
  750. StopPower = false
  751. RA.Anchored = false
  752. LA.Anchored = false
  753. LL.Anchored = false
  754. RL.Anchored = false
  755. H.Anchored = false
  756. s:Destroy()
  757. delay(0.2,function()T.Anchored = false end)
  758. Stance = "Standing"
  759. end end end;
  760. }
  761. GlobalKeys = {
  762. h = function(Mouse)
  763. if Power <= 0 then return end
  764. if Debounces.IsHealing or Debounces.IsCharging or Debounces.Attacking or Debounces.Shielding or Debounces.Flying then return end
  765. Debounces.IsHealing = true
  766. ChargePosition(true)
  767. local BreakLoop,x = false;x = Mouse.KeyUp:connect(function(k)
  768. if k == 'h' then
  769. BreakLoop = true
  770. x:disconnect()
  771. end end)
  772. while Wait(0.2)do
  773. if Power <= 0 then break end
  774. if Character.Humanoid.Health == Character.Humanoid.MaxHealth then break end
  775. if BreakLoop then break end
  776. Character.Humanoid.Health = Character.Humanoid.Health +15
  777. Power = Power -20
  778. Charge(BrickColor.new("Lime green"),true)
  779. end
  780. Character.Humanoid.WalkSpeed = 45
  781. pcall(function()T:findFirstChild("ChargeLight"):Destroy()end)
  782. ChargePosition(false)
  783. Stance = "Standing"
  784. Debounces.IsHealing = false
  785. end;
  786. c = function(Mouse)
  787. if Debounces.IsHealing or Debounces.IsCharging or Debounces.Attacking or Debounces.Shielding or Debounces.Flying then return end
  788. Debounces.IsCharging = true
  789. ChargePosition(true)
  790. local BreakLoop,x = false;x = Mouse.KeyUp:connect(function(k)
  791. if k == 'c' then
  792. BreakLoop = true
  793. x:disconnect()
  794. end end)
  795. while Wait(0.2)do
  796. if Power == 26000 then break end
  797. if BreakLoop then break end
  798. if Power > 26000 then Power = 26000 break end
  799. Power = Power +500
  800. Charge(Settings.Colors[2],true)
  801. end
  802. StopTrailing = true
  803. Character.Humanoid.WalkSpeed = 45
  804. ChargePosition(false)
  805. Stance = "Standing"
  806. Debounces.IsCharging = false
  807. pcall(function()T:findFirstChild("ChargeLight"):Destroy()end)
  808. end;
  809. b = function()
  810. if Power <= 0 then return end
  811. if Power -560 <= 0 then return end
  812. if Debounces.IsHealing or Debounces.IsCharging or Debounces.Attacking or Debounces.Shielding or Debounces.Flying then return end
  813. Debounces.Attacking = true
  814. Power = Power -560
  815. for x,v in pairs(Character:GetChildren())do
  816. if v:IsA("BasePart")then
  817. if v.Name:find("Arm")or v.Name:find("Head")or v.Name:find("Torso")or v.Name:find("Leg")then
  818. local p = Instance.new("Part",Character)
  819. p.Anchored = true
  820. p.Locked = true
  821. p.CanCollide = false
  822. p.Transparency = 0.5
  823. p.BrickColor = BrickColor.new("White")
  824. p.Size = v.Size
  825. p.CFrame = v.CFrame
  826. coroutine.wrap(function()
  827. for i = 1,5 do
  828. p.Transparency = p.Transparency +0.1
  829. Wait(0.2)
  830. end
  831. p:Destroy()
  832. end)()end end end
  833. StopTrail = false
  834. for i = 1,2 do
  835. coroutine.wrap(function()
  836. for l,v in pairs(IsNear(T.Position,65))do
  837. pcall(function()v.Torso.CFrame = v.Torso.CFrame * CFrame.new(0,2,0)end)
  838. pcall(function()v.Humanoid.PlatformStand = true end)
  839. for n,x in pairs(v:GetChildren())do
  840. if x:IsA("BasePart")then
  841. local bf = Instance.new("BodyForce",x)
  842. bf.force = T.CFrame.lookVector *-350
  843. Game:GetService("Debris"):AddItem(bf,0.26)
  844. end end end end)()
  845. T.CFrame = T.CFrame * CFrame.new(0,0,-60)
  846. for x,v in pairs(Character:GetChildren())do
  847. if v:IsA("BasePart")then
  848. if v.Name:find("Arm")or v.Name:find("Head")or v.Name:find("Torso")or v.Name:find("Leg")then
  849. local p = Instance.new("Part",Character)
  850. p.Anchored = true
  851. p.Locked = true
  852. p.CanCollide = false
  853. p.Transparency = 0.5
  854. p.BrickColor = BrickColor.new("White")
  855. p.Size = v.Size
  856. p.CFrame = v.CFrame
  857. coroutine.wrap(function()
  858. for i = 1,5 do
  859. p.Transparency = p.Transparency +0.1
  860. Wait(0.2)
  861. end
  862. p:Destroy()
  863. end)()end end end
  864. local s = Instance.new("Part",Character)
  865. s.BrickColor = i == 1 and BrickColor.new("Institutional white")or BrickColor.new("White")
  866. s.Size = Vector3.new(5,1,5)
  867. s.Anchored = true
  868. s.Locked = true
  869. s.CanCollide = false
  870. s.TopSurface = 0
  871. s.BottomSurface = 0
  872. s.CFrame = T.CFrame * CFrame.new(0,2.5,2)* CFrame.fromEulerAnglesXYZ(1.57,0,0)
  873. local sm = Instance.new("SpecialMesh",s)
  874. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  875. sm.Scale = Vector3.new(5,5,5)
  876. coroutine.wrap(function()
  877. for x = 1,10 do
  878. s.Transparency = s.Transparency + 0.1
  879. sm.Scale = sm.Scale + Vector3.new(3,0.6,3)
  880. s.CFrame = s.CFrame * CFrame.new(0,0,1)
  881. Wait()
  882. end
  883. s:Destroy()
  884. end)()
  885. Wait()
  886. end
  887. for x,v in pairs(Character:GetChildren())do
  888. if v:IsA("BasePart")then
  889. if v.Name:find("Arm")or v.Name:find("Head")or v.Name:find("Torso")or v.Name:find("Leg")then
  890. local p = Instance.new("Part",Character)
  891. p.Anchored = true
  892. p.Locked = true
  893. p.CanCollide = false
  894. p.Transparency = 0.5
  895. p.BrickColor = BrickColor.new("White")
  896. p.Size = v.Size
  897. p.CFrame = v.CFrame
  898. coroutine.wrap(function()
  899. for i = 1,5 do
  900. p.Transparency = p.Transparency +0.1
  901. Wait(0.2)
  902. end
  903. p:Destroy()
  904. end)()end end end
  905. T.CFrame = T.CFrame * CFrame.new(0,0,-10)
  906. StopTrail = true
  907. Wait(0.02)
  908. Debounces.Attacking = false
  909. end;
  910. n = function(Mouse)if Debounces.Flying then return end Debounces.Floating = not Debounces.Floating end;
  911. t = function(_Mouse)
  912. if not _Mouse.Target then return end
  913. if Debounces.Attacking or Debounces.Shielding then return end
  914. if Power -500 >= 0 then
  915. Power = Power -500
  916. Debounces.Attacking = true
  917. for x,v in pairs(Character:GetChildren())do
  918. if v:IsA("BasePart")then
  919. if v.Name:find("Arm")or v.Name:find("Head")or v.Name:find("Torso")or v.Name:find("Leg")then
  920. local p = Instance.new("Part",Character)
  921. p.Anchored = true
  922. p.Locked = true
  923. p.CanCollide = false
  924. p.Transparency = 0.5
  925. p.BrickColor = BrickColor.new("White")
  926. p.Size = v.Size
  927. p.CFrame = v.CFrame
  928. coroutine.wrap(function()
  929. for i = 1,5 do
  930. p.Transparency = p.Transparency +0.1
  931. Wait(0.2)
  932. end
  933. p:Destroy()
  934. end)()end end end
  935. local CF = _Mouse.Hit
  936. local s = Instance.new("Part",Character)
  937. s.BrickColor = i == 1 and BrickColor.new("Institutional white")or BrickColor.new("White")
  938. s.Size = Vector3.new(5,1,5)
  939. s.Anchored = true
  940. s.Locked = true
  941. s.CanCollide = false
  942. s.TopSurface = 0
  943. s.BottomSurface = 0
  944. s.CFrame = T.CFrame * CFrame.new(0,2.5,2)* CFrame.fromEulerAnglesXYZ(1.57,0,0)
  945. local sm = Instance.new("SpecialMesh",s)
  946. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  947. sm.Scale = Vector3.new(5,5,5)
  948. coroutine.wrap(function()
  949. for x = 1,10 do
  950. s.Transparency = s.Transparency + 0.1
  951. sm.Scale = sm.Scale + Vector3.new(3,0.6,3)
  952. s.CFrame = s.CFrame * CFrame.new(0,0,1)
  953. Wait()
  954. end
  955. s:Destroy()
  956. end)()
  957. for i = 1,3 do
  958. local p = Instance.new("Part",Character)
  959. p.TopSurface = 0
  960. p.BottomSurface = 0
  961. p.formFactor = "Custom"
  962. p.Anchored = true
  963. p.CanCollide = false
  964. p.BrickColor = math.random(1,2)%2 == 1 and Settings.Colors[1]or BrickColor.new("White")
  965. p.Transparency = 0.5
  966. p.Size = Vector3.new(1,1,1)
  967. p.CFrame = CF * CFrame.new(0,-2,0)* CFrame.Angles(0,math.rad(math.random(-45,45)),0)
  968. local ms = Instance.new("BlockMesh",p)
  969. ms.Scale = Vector3.new(1,1,1)
  970. local m = Instance.new("SpecialMesh",p)
  971. m.Scale = Vector3.new(1,1,1)
  972. m.MeshType = "FileMesh"
  973. m.MeshId = "http://www.roblox.com/asset/?id=20329976"
  974. coroutine.wrap(function()
  975. for i = 0,3,0.2 do
  976. Wait()
  977. m.Scale = m.Scale + Vector3.new(i,i/2,i)
  978. end
  979. coroutine.wrap(function()
  980. for i = 1,5 do
  981. Wait()
  982. p.Transparency = p.Transparency -0.1
  983. end
  984. p:Destroy()
  985. end)()end)()Wait(0.1)end
  986. T.CFrame = CF * CFrame.new(0,2,0)
  987. Debounces.Attacking = false
  988. end end;
  989. q = function()Debounces.Flying = not Debounces.Flying end;
  990. }
  991. function Effect2(part,x1,y1,z1,x2,y2,z2,color,ref)
  992. if part:IsDescendantOf(Workspace)then
  993. local msh2 = Instance.new("BlockMesh")
  994. msh2.Scale = Vector3.new(x1,y1,z1)
  995. local S = Instance.new("Part", Character)
  996. S.FormFactor = 0
  997. S.Size=Vector3.new(1, 1, 1)
  998. S.BrickColor = color
  999. S.Reflectance = ref or 0
  1000. S.TopSurface = 0
  1001. S.BottomSurface = 0
  1002. S.Transparency = 0.5
  1003. S.Anchored = true
  1004. S.CanCollide = false
  1005. msh2.Parent = S
  1006. S.CFrame = part.CFrame*CFrame.new(x2, y2, z2)*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  1007. coroutine.resume(coroutine.create(function(Part,CF) for i=1, 9 do Part.Mesh.Scale = Part.Mesh.Scale + Vector3.new(0.1,0.1,0.1) Part.CFrame=Part.CFrame*CFrame.fromEulerAnglesXYZ(math.random(-50,50),math.random(-50,50),math.random(-50,50)) Part.Transparency=i*.1 wait() end Part.Parent=nil end),S,S.CFrame)
  1008. end end
  1009. Handle = Instance.new("Part",Tool)
  1010. Handle.Name = "Handle"
  1011. Handle.Locked = true
  1012. Handle.BrickColor = Settings.Colors[1]
  1013. Handle.CanCollide = false
  1014. Handle.FormFactor = "Custom"
  1015. Handle.TopSurface = 0
  1016. Handle.BottomSurface = 0
  1017. Handle.Size = Vector3.new(0.1,0.1,0.1)
  1018. Handle.CFrame = RA.CFrame
  1019. Handle.Anchored = true
  1020. xHandle = Instance.new("Part",Tool)
  1021. xHandle.Name = "1"
  1022. xHandle.Locked = true
  1023. xHandle.BrickColor = Settings.Colors[1]
  1024. xHandle.CanCollide = false
  1025. xHandle.FormFactor = "Custom"
  1026. xHandle.TopSurface = 0
  1027. xHandle.BottomSurface = 0
  1028. xHandle.Size = Vector3.new(0.15,1.7,0.15)
  1029. xHandle.CFrame = RA.CFrame
  1030. xHandle.Anchored = true
  1031. W1 = Instance.new("Weld",xHandle)
  1032. W1.Part0 = xHandle
  1033. W1.Part1 = Handle
  1034. W1.C1 = CFrame.Angles(0,23,0)* CFrame.new(0,0.35,0)
  1035. wHandle = Instance.new("Part",Tool)
  1036. wHandle.Name = "2"
  1037. wHandle.Locked = true
  1038. wHandle.BrickColor = Settings.Colors[2]
  1039. wHandle.CanCollide = false
  1040. wHandle.FormFactor = "Custom"
  1041. wHandle.TopSurface = 0
  1042. wHandle.BottomSurface = 0
  1043. wHandle.Size = Vector3.new(1,8,0.001)
  1044. wHandle.CFrame = RA.CFrame
  1045. wHandle.Anchored = true
  1046. wHandle.Reflectance = 0.3
  1047. BM = Instance.new("BlockMesh",wHandle)
  1048. BM.Scale = Vector3.new(1,1,0)
  1049. W2 = Instance.new("Weld",wHandle)
  1050. W2.Part0 = wHandle
  1051. W2.Part1 = xHandle
  1052. W2.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,4.3,0)
  1053. zHandle = Instance.new("Part",Tool)
  1054. zHandle.Name = "3"
  1055. zHandle.Locked = true
  1056. zHandle.BrickColor = Settings.Colors[1]
  1057. zHandle.CanCollide = false
  1058. zHandle.FormFactor = "Custom"
  1059. zHandle.TopSurface = 0
  1060. zHandle.BottomSurface = 0
  1061. zHandle.Size = Vector3.new(0.001,8,0.1)
  1062. zHandle.CFrame = RA.CFrame
  1063. zHandle.Anchored = true
  1064. zHandle.Reflectance = 0.1
  1065. W3 = Instance.new("Weld",zHandle)
  1066. W3.Part0 = zHandle
  1067. W3.Part1 = xHandle
  1068. W3.C1 = CFrame.Angles(0,90,0)* CFrame.new(0,4.3,0)
  1069. bHandle = Instance.new("Part",Tool)
  1070. bHandle.Name = "4"
  1071. bHandle.Locked = true
  1072. bHandle.BrickColor = Settings.Colors[1]
  1073. bHandle.CanCollide = false
  1074. bHandle.FormFactor = "Custom"
  1075. bHandle.TopSurface = 0
  1076. bHandle.BottomSurface = 0
  1077. bHandle.Size = Vector3.new(0.26,0.26,0.26)
  1078. bHandle.CFrame = RA.CFrame
  1079. bHandle.Anchored = true
  1080. bHandle.Reflectance = 0.1
  1081. W4 = Instance.new("Weld",bHandle)
  1082. W4.Part0 = bHandle
  1083. W4.Part1 = xHandle
  1084. W4.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,0.35,0)
  1085. aHandle = Instance.new("Part",Tool)
  1086. aHandle.Name = "5"
  1087. aHandle.Locked = true
  1088. aHandle.BrickColor = Settings.Colors[2]
  1089. aHandle.CanCollide = false
  1090. aHandle.FormFactor = "Custom"
  1091. aHandle.TopSurface = 0
  1092. aHandle.BottomSurface = 0
  1093. aHandle.Size = Vector3.new(0.25,1.3,0.25)
  1094. aHandle.CFrame = RA.CFrame * CFrame.Angles(0,0,90)
  1095. aHandle.Anchored = true
  1096. aHandle.Transparency = 0.8
  1097. W5 = Instance.new("Weld",aHandle)
  1098. W5.Part0 = aHandle
  1099. W5.Part1 = Handle
  1100. W5.C1 = CFrame.Angles(0,23,0)* CFrame.new(0,0.35,0)
  1101. rHandle = Instance.new("Part",Tool)
  1102. rHandle.Name = "6"
  1103. rHandle.Locked = true
  1104. rHandle.BrickColor = Settings.Colors[1]
  1105. rHandle.CanCollide = false
  1106. rHandle.FormFactor = "Custom"
  1107. rHandle.TopSurface = 0
  1108. rHandle.BottomSurface = 0
  1109. rHandle.Size = Vector3.new(1,0.001,0.001)
  1110. rHandle.CFrame = RA.CFrame
  1111. rHandle.Anchored = true
  1112. rHandle.Reflectance = 0.1
  1113. sm = Instance.new("SpecialMesh",rHandle)
  1114. sm.MeshType = "FileMesh"
  1115. sm.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1116. sm.Scale = Vector3.new(1,1,1)
  1117. W6 = Instance.new("Weld",rHandle)
  1118. W6.Part0 = rHandle
  1119. W6.Part1 = xHandle
  1120. W6.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,0.35,0)
  1121. fHandle = Instance.new("Part",Tool)
  1122. fHandle.Name = "7"
  1123. fHandle.Locked = true
  1124. fHandle.BrickColor = Settings.Colors[1]
  1125. fHandle.CanCollide = false
  1126. fHandle.FormFactor = "Custom"
  1127. fHandle.TopSurface = 0
  1128. fHandle.BottomSurface = 0
  1129. fHandle.Size = Vector3.new(1,0.001,0.001)
  1130. fHandle.CFrame = RA.CFrame
  1131. fHandle.Anchored = true
  1132. fHandle.Reflectance = 0.1
  1133. sm = Instance.new("SpecialMesh",fHandle)
  1134. sm.MeshType = "FileMesh"
  1135. sm.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1136. sm.Scale = Vector3.new(1,1,0.2)
  1137. W7 = Instance.new("Weld",fHandle)
  1138. W7.Part0 = fHandle
  1139. W7.Part1 = xHandle
  1140. W7.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,4.3,0)
  1141. qHandle = Instance.new("Part",Tool)
  1142. qHandle.Name = "8"
  1143. qHandle.Locked = true
  1144. qHandle.BrickColor = Settings.Colors[1]
  1145. qHandle.CanCollide = false
  1146. qHandle.FormFactor = "Custom"
  1147. qHandle.TopSurface = 0
  1148. qHandle.BottomSurface = 0
  1149. qHandle.Size = Vector3.new(1,0.001,0.001)
  1150. qHandle.CFrame = RA.CFrame
  1151. qHandle.Anchored = true
  1152. qHandle.Reflectance = 0.3
  1153. sm = Instance.new("SpecialMesh",qHandle)
  1154. sm.MeshType = "FileMesh"
  1155. sm.MeshId = "http://www.roblox.com/Asset/?id=9756362"
  1156. sm.Scale = Vector3.new(1,1.5,0.3)
  1157. W8 = Instance.new("Weld",qHandle)
  1158. W8.Part0 = qHandle
  1159. W8.Part1 = xHandle
  1160. W8.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,8,0)
  1161. Tool.Name = "Angel Sword"
  1162. Tool.Equipped:connect(function()
  1163. Equiped = true
  1164. AttackState = "Melee"
  1165. W1 = Instance.new("Weld",xHandle)
  1166. W1.Part0 = xHandle
  1167. W1.Part1 = Handle
  1168. W1.C1 = CFrame.Angles(0,23,0)* CFrame.new(0,0.35,0)
  1169. W2 = Instance.new("Weld",wHandle)
  1170. W2.Part0 = wHandle
  1171. W2.Part1 = xHandle
  1172. W2.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,4.3,0)
  1173. W3 = Instance.new("Weld",zHandle)
  1174. W3.Part0 = zHandle
  1175. W3.Part1 = xHandle
  1176. W3.C1 = CFrame.Angles(0,90,0)* CFrame.new(0,4.3,0)
  1177. W4 = Instance.new("Weld",bHandle)
  1178. W4.Part0 = bHandle
  1179. W4.Part1 = xHandle
  1180. W4.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,0.35,0)
  1181. W5 = Instance.new("Weld",aHandle)
  1182. W5.Part0 = aHandle
  1183. W5.Part1 = Handle
  1184. W5.C1 = CFrame.Angles(0,23,0)* CFrame.new(0,0.35,0)
  1185. W6 = Instance.new("Weld",rHandle)
  1186. W6.Part0 = rHandle
  1187. W6.Part1 = xHandle
  1188. W6.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,0.35,0)
  1189. W7 = Instance.new("Weld",fHandle)
  1190. W7.Part0 = fHandle
  1191. W7.Part1 = xHandle
  1192. W7.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,4.3,0)
  1193. W8 = Instance.new("Weld",qHandle)
  1194. W8.Part0 = qHandle
  1195. W8.Part1 = xHandle
  1196. W8.C1 = CFrame.Angles(0,-23,0)* CFrame.new(0,8.6,0)
  1197. table.foreach(Tool:GetChildren(),function(_,v)
  1198. if v:IsA("BasePart")then
  1199. v.Touched:connect(function(Hit)
  1200. if not Debounces.Attacking then return end
  1201. if Hit.Parent == Character or HitDebounce then return end
  1202. if not Hit.Parent:findFirstChild("Humanoid")then return end
  1203. pcall(function()Hit.Parent.Humanoid.PlatformStand = true end)
  1204. for n,x in pairs(Hit.Parent:GetChildren())do
  1205. if x:IsA("BasePart")then
  1206. local bf = Instance.new("BodyForce",x)
  1207. bf.force = T.CFrame.lookVector *325
  1208. Game:GetService("Debris"):AddItem(bf,0.26)
  1209. end end
  1210. local cf = Hit.CFrame
  1211. local s = Instance.new("Part",Workspace)
  1212. s.Anchored = true
  1213. s.TopSurface = 0
  1214. s.BottomSurface = 0
  1215. s.Locked = true
  1216. s.Transparency = 1
  1217. s.CanCollide = false
  1218. s.Shape = "Ball"
  1219. s.Reflectance = 0
  1220. s.BrickColor = Settings.Colors[2]
  1221. s.CFrame = cf
  1222. coroutine.wrap(function()
  1223. for i = 1,5 do
  1224. s.Size = s.Size + Vector3.new(2,2,2)
  1225. s.CFrame = cf
  1226. s.Transparency = s.Transparency -0.2
  1227. Wait()
  1228. end
  1229. Wait(0.1)
  1230. s.BrickColor = Settings.Colors[2]
  1231. if math.random(1,2)== 1 then pcall(function()Hit.Parent.Humanoid:TakeDamage(6)end)end
  1232. for i = 1,10 do
  1233. s.Size = s.Size - Vector3.new(2,2,2)
  1234. s.CFrame = cf
  1235. s.Transparency = s.Transparency +0.1
  1236. Wait()
  1237. end
  1238. s:Destroy()
  1239. end)()
  1240. local l = Instance.new("PointLight",s)
  1241. l.Color = s.Color
  1242. l.Range = 60
  1243. local f = Instance.new("Part",Character)
  1244. f.BrickColor = Settings.Colors[1]
  1245. f.Size = Vector3.new(5,1,5)
  1246. f.Anchored = true
  1247. f.Locked = true
  1248. f.CanCollide = false
  1249. f.TopSurface = 0
  1250. f.BottomSurface = 0
  1251. f.CFrame = Hit.CFrame * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  1252. local sm = Instance.new("SpecialMesh",f)
  1253. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1254. sm.Scale = Vector3.new(4,4,4)
  1255. coroutine.wrap(function()
  1256. for i = 1,20 do
  1257. f.Transparency = f.Transparency +0.05
  1258. sm.Scale = sm.Scale + Vector3.new(2,2,2)
  1259. Wait()
  1260. end
  1261. f:Destroy()
  1262. end)()
  1263. Damage(v,Hit)end)
  1264. v.Anchored = false
  1265. end end)end)
  1266. Tool.Unequipped:connect(function()
  1267. Equiped = false
  1268. table.foreach(Tool:GetChildren(),function(_,v)
  1269. if v:IsA("BasePart")then
  1270. v.Anchored = true
  1271. end end)end)
  1272. -- Health gui
  1273. if Game:GetService("StarterGui"):GetCoreGuiEnabled(1)then Game:GetService("StarterGui"):SetCoreGuiEnabled(1,false)end
  1274. HealthGui = Instance.new("ScreenGui",PlayerGui)
  1275. HealthGui.Name = "Angel HealthGui"
  1276. _MainFr = Instance.new("Frame",HealthGui)
  1277. _MainFr.Size = UDim2.new(0.4,0,0.1,0)
  1278. _MainFr.Position = UDim2.new(0.3,0,0,0)
  1279. _MainFr.BackgroundColor = Settings.Colors[1]
  1280. _MainFr.BorderColor3 = Settings.Colors[1].Color
  1281. _MainFr.BorderSizePixel = 3
  1282. Bar = Instance.new("Frame",_MainFr)
  1283. Bar.Size = UDim2.new(0,0,1,0)
  1284. Bar.ZIndex = 2
  1285. Bar.BackgroundColor = BrickColor.new("Gold")
  1286. Bar.BorderSizePixel = 0
  1287. _Shine = Instance.new("Frame",_MainFr)
  1288. _Shine.Size = UDim2.new(1,0,0.5,0)
  1289. _Shine.Position = UDim2.new(0,0,0.25,0)
  1290. _Shine.BackgroundTransparency = 0.5
  1291. _Shine.BackgroundColor = BrickColor.new("Gold")
  1292. _Shine.ZIndex = 3
  1293. _Shine.BorderSizePixel = 0
  1294. xTxt = Instance.new("TextLabel",_MainFr)
  1295. xTxt.Size = UDim2.new(1,0,1,0)
  1296. xTxt.Text = tostring(Character.Humanoid.Health)
  1297. xTxt.TextScaled = true
  1298. xTxt.Font = "SourceSansBold"
  1299. xTxt.TextColor = Settings.Colors[1]
  1300. xTxt.TextTransparency = 0.55
  1301. xTxt.ZIndex = 4
  1302. xTxt.BackgroundTransparency = 1
  1303. HCCon = Character.Humanoid.HealthChanged:connect(function(Health)
  1304. if Health > 600 then Health = 600 end
  1305. xTxt.Text = tostring(math.ceil(Health))
  1306. Bar:TweenSize(UDim2.new(Health/Character.Humanoid.MaxHealth,0,1,0),"InOut","Quad",0.6,true)
  1307. if Health < Character.Humanoid.MaxHealth/4 then
  1308. Bar.BackgroundColor = BrickColor.new("Gold")
  1309. else
  1310. Bar.BackgroundColor = BrickColor.new("Really blue")
  1311. end end)
  1312. Character.Humanoid.MaxHealth = 600
  1313. delay(1,function()Character.Humanoid.Health = 600 end)
  1314. Character.Humanoid.Died:connect(function()
  1315. HCCon:disconnect()
  1316. Bar:Destroy()
  1317. local _Txt = Instance.new("ImageLabel",_MainFr)
  1318. _Txt.BackgroundTransparency = 1
  1319. _Txt.Image = ""
  1320. _Txt.Size = UDim2.new(1,0,1,0)
  1321. _Txt.ZIndex = 2
  1322. local con;con = Player.CharacterAdded:connect(function()
  1323. Game:GetService("StarterGui"):SetCoreGuiEnabled(1,true)
  1324. con:disconnect()
  1325. end)end)
  1326. pcall(script.Destroy,Character:findFirstChild("Health"))
  1327. coroutine.wrap(function()
  1328. while Wait(0.8)do
  1329. if not pcall(function()Character.Humanoid.Health = Character.Humanoid.Health +math.random(0,1)end)then
  1330. break
  1331. end end end)()
  1332. --Move Frame
  1333. _MoveFrame = Instance.new("ScreenGui",PlayerGui)
  1334. _MoveFrame.Name = "Angel Move"
  1335. _Backing = Instance.new("Frame",_MoveFrame)
  1336. _Backing.Size = UDim2.new(0.2,0,0.1,0)
  1337. _Backing.Position = UDim2.new(0.71,0,0.9,0)
  1338. _Backing.BackgroundColor = Settings.Colors[1]
  1339. _Backing.BorderSizePixel = 3
  1340. MoveTxt = Instance.new("TextLabel",_Backing)
  1341. MoveTxt.Size = UDim2.new(1,0,1,0)
  1342. MoveTxt.BorderSizePixel = 0
  1343. MoveTxt.Font = "SourceSansBold"
  1344. MoveTxt.BackgroundTransparency = 1
  1345. MoveTxt.Text = "Made by InternalRecursion"
  1346. MoveTxt.TextColor = BrickColor.new("Gold")
  1347. MoveTxt.TextTransparency = 0.55
  1348. MoveTxt.TextScaled = true
  1349. MoveTxt.ZIndex = 2
  1350. function ChangeText(Text)
  1351. coroutine.wrap(function()
  1352. for i = 1,6 do
  1353. _Backing.Rotation = _Backing.Rotation +120
  1354. Wait()
  1355. end end)()
  1356. coroutine.wrap(function()
  1357. MoveTxt.Text = Text
  1358. MoveTxt.TextTransparency = 1
  1359. for i = 1,10 do
  1360. MoveTxt.TextColor3 = Color3.new(MoveTxt.TextColor3.r +0.1,MoveTxt.TextColor3.g +0.1,MoveTxt.TextColor3.b +0.1)
  1361. MoveTxt.TextTransparency = MoveTxt.TextTransparency -0.1
  1362. Wait()
  1363. end
  1364. MoveTxt.TextTransparency = 0.55
  1365. MoveTxt.TextColor = BrickColor.new("Gold")
  1366. end)()end
  1367. --Power bar
  1368. Power = 26000
  1369. _Power = Instance.new("ScreenGui",PlayerGui)
  1370. _Power.Name = "Angel Power"
  1371. PBar = Instance.new("Frame",_Power)
  1372. PBar.BackgroundColor = Settings.Colors[1]
  1373. PBar.Size = UDim2.new(0.4,0,0.1,0)
  1374. PBar.Position = UDim2.new(0.3,0,0.9,0)
  1375. PBar_back = Instance.new("Frame",PBar)
  1376. PBar_back.BackgroundColor = BrickColor.new("Gold")
  1377. PBar_back.Size = UDim2.new(0,0,1,0)
  1378. PBar_back.ZIndex = 2
  1379. PBar.BorderSizePixel = 3
  1380. Txt = Instance.new("TextLabel",PBar)
  1381. Txt.Size = UDim2.new(1,0,1,0)
  1382. Txt.Text = tostring(Power)
  1383. Txt.TextScaled = true
  1384. Txt.Font = "SourceSansBold"
  1385. Txt.TextColor = Settings.Colors[1]
  1386. Txt.TextTransparency = 0.55
  1387. Txt.ZIndex = 4
  1388. Txt.BackgroundTransparency = 1
  1389. _Shine2 = Instance.new("Frame",PBar)
  1390. _Shine2.Size = UDim2.new(1,0,0.5,0)
  1391. _Shine2.Position = UDim2.new(0,0,0.25,0)
  1392. _Shine2.BackgroundTransparency = 0.5
  1393. _Shine2.BackgroundColor = BrickColor.new("Gold")
  1394. _Shine2.ZIndex = 3
  1395. _Shine2.BorderSizePixel = 0
  1396. Spawn(function()
  1397. while wait()do
  1398. if Power <= 26000 then
  1399. if Power < 0 then Power = 0 end
  1400. PBar_back:TweenSize(UDim2.new(Power/26000,0,1,0),"InOut","Quad",0.2,true)
  1401. Txt.Text = tostring(Power)
  1402. if Power < 26000/4 then
  1403. PBar_back.BackgroundColor = BrickColor.new("Gold")
  1404. else
  1405. if not RageMode then
  1406. PBar_back.BackgroundColor = BrickColor.new("Gold")
  1407. end end end end end)
  1408. Character.Humanoid.Died:connect(function()
  1409. Power = 26000
  1410. for i = 1,9 do
  1411. PBar_back.BackgroundTransparency = PBar_back.BackgroundTransparency + 0.1
  1412. Wait()
  1413. end
  1414. Power = 0
  1415. end)
  1416. Game:GetService("RunService").Stepped:connect(function()math.randomseed(tick())end)
  1417. Character.Humanoid.Died:connect(function()
  1418. local DeathPhraze = {"How could I lose?!","InternalRecursion will avenge me!","Avenge me, Internal!","All good things must come to an end I guess..."}
  1419. Game:GetService("Chat"):Chat(H,DeathPhraze[math.random(1,#DeathPhraze)],2)
  1420. T.Anchored = true
  1421. pcall(function()Cam:Destroy()end)
  1422. coroutine.wrap(function()
  1423. repeat Wait()until Workspace.CurrentCamera ~= nil
  1424. Workspace.CurrentCamera.Focus = H
  1425. end)()
  1426. Character:MakeJoints()
  1427. pcall(function()H.face:Destroy()end)
  1428. pcall(function()T.roblox:Destroy()end)
  1429. for i,v in pairs(Tool:GetChildren())do
  1430. if v:IsA("BasePart")then
  1431. v.Anchored = true
  1432. coroutine.wrap(function()
  1433. for i = 1,10 do
  1434. v.Transparency = v.Transparency + 0.1
  1435. Wait()
  1436. end end)()end end
  1437. for i,v in pairs(Character:GetChildren())do
  1438. if v:IsA("BasePart")then
  1439. coroutine.wrap(function()
  1440. for i = 1,10 do
  1441. v.Transparency = v.Transparency + 0.1
  1442. Wait()
  1443. end end)()end end end)
  1444. SwordAttacks,HandAttacks = {"Spin","Slash","DoubleSwing"}
  1445. local StandardSwing,SwingLeft,DoubleSwing,SpinSwing
  1446. Stance = "Standing"
  1447. Tool.Equipped:connect(function(Mouse)
  1448. AttackState = "Melee"
  1449. table.foreach(Debounces,function(_,v)v = false end)
  1450. Equiped = true
  1451. Mouse.KeyDown:connect(function(Key)
  1452. if Debounces.Shielding then return end
  1453. if GlobalKeys[Key]then
  1454. coroutine.wrap(function()GlobalKeys[Key](Mouse)end)()
  1455. Wait()
  1456. Descriptions = {
  1457. h = "Healing!";
  1458. c = "Charging!";
  1459. b = "Boost!";
  1460. n = "Float!";
  1461. t = "Teleport!";
  1462. q = "Fly!"}
  1463. ChangeText(Descriptions[Key])
  1464. end
  1465. if KeyBindings[Key]~= nil then
  1466. KeyBindings[Key](Mouse)
  1467. Wait()
  1468. Descriptions = {
  1469. l = AttackState.."!";
  1470. z = AttackState.."!";
  1471. x = AttackState.."!";
  1472. y = "Clone attack!";
  1473. r = "Rage!"}
  1474. ChangeText(Descriptions[Key])
  1475. end end)
  1476. local cntr = 1
  1477. Mouse.Button1Down:connect(function()
  1478. if Debounces.Attacking or Debounces.IsCharging or Debounces.IsHealing or Debounces.Shielding then return end
  1479. if Debounces.Flying then
  1480. local Speed,DC = RageMode and 350 or 200
  1481. StopFlyTrail = false
  1482. FlyTrail(LA,CFrame.new(0,0,0))
  1483. FlyTrail(RA,CFrame.new(0,0,0))
  1484. coroutine.wrap(function()
  1485. while Wait()do
  1486. if Debounces.Flying then
  1487. Power = Power -9
  1488. MakeFloatMesh()
  1489. if Power == 0 then
  1490. pcall(function()DC()end)
  1491. break
  1492. end
  1493. Speed = RageMode and 350 or 200
  1494. else
  1495. pcall(function()DC()end)
  1496. break end end end)()
  1497. local bv = Instance.new("BodyVelocity",T)
  1498. bv.Name = "FlyVelocityVector"
  1499. bv.maxForce = Vector3.new(0,math.huge,0)
  1500. bv.velocity = Vector3.new(0,0,0)
  1501. local bg = Instance.new("BodyGyro",T)
  1502. bg.Name = "FlyGyro"
  1503. bg.maxTorque = Vector3.new(0,0,0)
  1504. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1505. bg.maxTorque = Vector3.new(9000,9000,9000)
  1506. bg.cframe = CFrame.new(T.Position,Mouse.Hit.p)* CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1507. bv.velocity = CFrame.new(T.Position,Mouse.Hit.p).lookVector *Speed
  1508. local MouseMoveConnection = Mouse.Move:connect(function()
  1509. bg.maxTorque = Vector3.new(9000,9000,9000)
  1510. bg.cframe = CFrame.new(T.Position,Mouse.Hit.p)* CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  1511. bv.velocity = CFrame.new(T.Position,Mouse.Hit.p).lookVector *Speed
  1512. end)
  1513. local Con;Con = Mouse.Button1Up:connect(DC)
  1514. DC = function()
  1515. Debounces.Flying = false
  1516. StopFlyTrail = true
  1517. bg:Destroy()
  1518. bv:Destroy()
  1519. MouseMoveConnection:disconnect()
  1520. Con:disconnect()
  1521. end
  1522. return
  1523. end
  1524. if AttackState == "Melee" then
  1525. local Attack = SwordAttacks[cntr]
  1526. cntr = cntr == 3 and 1 or cntr +1
  1527. ChangeText(Attack)
  1528. if Attack == "DoubleSwing" then
  1529. Debounces.Attacking = true
  1530. StopSwordTrail = false
  1531. SwordTrail(qHandle,CFrame.new(0,0,0),Settings.Colors[2])
  1532. Wait(0.1)
  1533. DoubleSwing:Play()
  1534. Wait(1)
  1535. Debounces.Attacking = false
  1536. StopSwordTrail = true
  1537. elseif Attack == "Spin" then
  1538. Debounces.Attacking = true
  1539. local spinForce = Instance.new("BodyAngularVelocity",T)
  1540. spinForce.P = 1000000
  1541. spinForce.angularvelocity = Vector3.new(0,20,0)
  1542. spinForce.maxTorque = Vector3.new(spinForce.P,spinForce.P,spinForce.P)
  1543. Game:GetService("Debris"):AddItem(spinForce,1)
  1544. StopSwordTrail = false
  1545. SwordTrail(qHandle,CFrame.new(0,0,0),Settings.Colors[2])
  1546. Wait(0.1)
  1547. SpinSwing:Play()
  1548. Wait(1)
  1549. Debounces.Attacking = false
  1550. StopSwordTrail = true
  1551. elseif Attack == "Slash" then
  1552. Debounces.Attacking = true
  1553. StopSwordTrail = false
  1554. StandardSwing:Play()
  1555. SwordTrail(qHandle,CFrame.new(0,0,0),Settings.Colors[2])
  1556. Wait(1)
  1557. StopSwordTrail = true
  1558. Debounces.Attacking = false
  1559. end
  1560. elseif AttackState == "LightningBolt" then
  1561. local Marker = Instance.new("Part",Cam)
  1562. Marker.Size = Vector3.new(2,0.1,2)
  1563. Marker.Transparency = 1
  1564. Marker.BrickColor = Settings.Colors[2]
  1565. Marker.Anchored = true
  1566. Marker.CanCollide = false
  1567. Marker.Locked = true
  1568. coroutine.wrap(function()
  1569. while Wait()do
  1570. if AttackState ~= "LightningBolt" then Marker:Destroy()break end
  1571. if not Marker then break end
  1572. if Mouse.Target ~= Marker then
  1573. Marker.Position = Mouse.Hit.p
  1574. end end end)()
  1575. local con;con = Mouse.Button1Down:connect(function()
  1576. if Power -1000 >= 0 then
  1577. if Debounces.Attacking then return end
  1578. Debounces.Attacking = true
  1579. Power = Power -1000
  1580. local hitCF,scale,Lightning = Marker.CFrame,1
  1581. local Last = hitCF * CFrame.new(0,460,0)
  1582. local Lights = {}
  1583. repeat
  1584. local si = math.random(15,45)
  1585. local p = Instance.new("Part",Workspace)
  1586. p.FormFactor = "Custom"
  1587. p.BrickColor = Settings.Colors[math.random(1,2)]
  1588. p.Anchored = true
  1589. p.TopSurface = 0
  1590. p.BottomSurface = 0
  1591. p.CanCollide = false
  1592. p.Locked = true
  1593. p.Size = Vector3.new(5,si,5)
  1594. p.CFrame = Last * CFrame.new(0,-scale/2,0)
  1595. p.CFrame = CFrame.new(p.Position)* CFrame.Angles(math.random(-120,120)/100,math.random(-30,30)/100,math.random(-120,120)/100)* CFrame.new(0,-si/2,0)
  1596. Lightning = p
  1597. Last = p.CFrame
  1598. scale = si
  1599. table.insert(Lights,p)
  1600. until Last.y < 14
  1601. local brightness = Game.Lighting.Brightness
  1602. Game.Lighting.Brightness = 1000
  1603. delay(0.1,function()Game.Lighting.Brightness = brightness end)
  1604. local e = Instance.new("Part",Workspace)
  1605. e.BrickColor = Settings.Colors[2]
  1606. e.Size = Vector3.new(1,1,1)
  1607. e.Shape = "Ball"
  1608. e.CanCollide = false
  1609. e.Locked = true
  1610. e.Anchored = true
  1611. e.TopSurface = 0
  1612. e.BottomSurface = 0
  1613. e.Touched:connect(function(Hit)
  1614. if Hit.Parent:findFirstChild("Humanoid")and Hit.Parent ~= Character then
  1615. for i,v in pairs(Hit.Parent:GetChildren())do
  1616. if v:IsA("BasePart")then
  1617. local x = Instance.new("Fire",v)
  1618. x.Size = 9
  1619. x.Heat = 200
  1620. x.SecondaryColor = Settings.Colors[2].Color
  1621. x.Color = Color3.new(0,0,0)
  1622. end end
  1623. Kill(Hit)
  1624. end end)
  1625. for i = 1,10 do
  1626. e.Transparency = e.Transparency +0.1
  1627. e.Size = e.Size + Vector3.new(20,20,20)
  1628. e.CFrame = Last * CFrame.new(0,-(Lightning.Size/2),0)
  1629. Wait()
  1630. end
  1631. e:Destroy()
  1632. for i,v in pairs(Lights)do
  1633. coroutine.wrap(function()
  1634. for i = 1,10 do
  1635. v.Transparency = v.Transparency +0.1
  1636. Wait()
  1637. end
  1638. v:Destroy()
  1639. Lights = {}
  1640. end)()end
  1641. Marker:Destroy()
  1642. con:disconnect()
  1643. Wait(3)
  1644. Debounces.Attacking = false
  1645. end end)
  1646. Debounces.Attacking = false
  1647. elseif AttackState == "Laser" then
  1648.  
  1649. elseif AttackState == "GroundSmash" then
  1650. if Power -7000 >= 0 then
  1651. Power = Power -7000
  1652. Stance = "Melee"
  1653. Debounces.Attacking = true
  1654. local xf = T.CFrame
  1655. Character.Humanoid.Jump = true
  1656. Wait(0.2)
  1657. T.Anchored = true
  1658. coroutine.wrap(function()
  1659. for a = 1,60 do
  1660. local s = Instance.new("Part",Character)
  1661. s.BrickColor = Settings.Colors[2]
  1662. s.Size = Vector3.new(5,1,5)
  1663. s.Anchored = true
  1664. s.Locked = true
  1665. s.CanCollide = false
  1666. s.TopSurface = 0
  1667. s.BottomSurface = 0
  1668. s.CFrame = T.CFrame * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  1669. local sm = Instance.new("SpecialMesh",s)
  1670. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1671. sm.Scale = Vector3.new(5,5,5)
  1672. coroutine.wrap(function()
  1673. for x = 1,10 do
  1674. s.Transparency = s.Transparency + 0.1
  1675. sm.Scale = sm.Scale + Vector3.new(3,3,3)
  1676. Wait()
  1677. end
  1678. s:Destroy()
  1679. end)()
  1680. Wait()
  1681. end end)()
  1682. for i = 1,100 do
  1683. T.CFrame = T.CFrame * CFrame.new(0,2,0)
  1684. Wait(0.01)
  1685. end
  1686. RH.DesiredAngle = -1.6
  1687. RH.C0 = RH.C0 * CFrame.new(0.5,0,0)
  1688. LH.DesiredAngle = 0
  1689. LH.C0 = LH.C0 * CFrame.new(-0.8,1.25,0)
  1690. LS.DesiredAngle = 0
  1691. LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/8,0,0)
  1692. RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/4,0,0)
  1693. RS.DesiredAngle = 2
  1694. N.MaxVelocity = 0.075
  1695. Wait(0.2)
  1696. coroutine.wrap(function()
  1697. for i = 1,5 do
  1698. N.DesiredAngle = -1
  1699. Wait(0.2)
  1700. N.DesiredAngle = -0.1
  1701. Wait(0.2)
  1702. end end)()
  1703. local Done = false
  1704. coroutine.wrap(function()
  1705. while Wait(0.01)do
  1706. if Done then break end
  1707. for i = 1,10 do
  1708. Wait()
  1709. Cam.CoordinateFrame = Cam.CoordinateFrame * CFrame.new(0,2,0)
  1710. Wait()
  1711. Cam.CoordinateFrame = Cam.CoordinateFrame * CFrame.new(0,-2,0)
  1712. end end end)()
  1713. coroutine.wrap(function()
  1714. while Wait()do
  1715. if Done then break end
  1716. Charge(BrickColor.new("Gold"))
  1717. end end)()
  1718. Wait(2.5)
  1719. Done = true
  1720. coroutine.wrap(function()
  1721. for a = 1,45 do
  1722. local s = Instance.new("Part",Character)
  1723. s.BrickColor = Settings.Colors[1]
  1724. s.Size = Vector3.new(5,1,5)
  1725. s.Anchored = true
  1726. s.Locked = true
  1727. s.CanCollide = false
  1728. s.TopSurface = 0
  1729. s.BottomSurface = 0
  1730. s.CFrame = T.CFrame
  1731. local sm = Instance.new("SpecialMesh",s)
  1732. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  1733. sm.Scale = Vector3.new(5,5,5)
  1734. coroutine.wrap(function()
  1735. for x = 1,10 do
  1736. s.Transparency = s.Transparency + 0.1
  1737. sm.Scale = sm.Scale + Vector3.new(1,1,1)
  1738. Wait()
  1739. end
  1740. s:Destroy()
  1741. end)()
  1742. Wait()
  1743. end end)()
  1744. for i = 1,25 do
  1745. T.CFrame = T.CFrame * CFrame.new(0,-8,0)
  1746. Wait()
  1747. end
  1748. Done = false
  1749. coroutine.wrap(function()
  1750. while Wait(0.01)do
  1751. if Done then break end
  1752. for i = 1,10 do
  1753. Wait()
  1754. Cam.CoordinateFrame = Cam.CoordinateFrame * CFrame.new(0,2,0)
  1755. Wait()
  1756. Cam.CoordinateFrame = Cam.CoordinateFrame * CFrame.new(0,-2,0)
  1757. end end end)()
  1758. T.CFrame = xf
  1759. Character.Humanoid.WalkSpeed = 45
  1760. T.Anchored = true
  1761. coroutine.wrap(function()
  1762. local function BreakAll(Obj)
  1763. for i,z in pairs(Obj:GetChildren())do
  1764. if not Game.Players:GetPlayerFromCharacter(z.Parent)and z:IsA("BasePart")then
  1765. if z.Size.x < 500 and z.Size.z < 500 then
  1766. z.Anchored = false
  1767. local s = Instance.new("BodyVelocity",z)
  1768. s.velocity = T.CFrame.lookVector *230
  1769. s.P = 20
  1770. s.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1771. Game:GetService("Debris"):AddItem(s,1)
  1772. end end
  1773. Spawn(function()BreakAll(z)end)
  1774. end end
  1775. BreakAll(Workspace)
  1776. end)()
  1777. coroutine.wrap(function()
  1778. for i,v in pairs(Game.Players:GetPlayers())do
  1779. pcall(function()
  1780. if v ~= Player then
  1781. for s,z in pairs(v.Character:GetChildren())do
  1782. if z:IsA("BasePart")then
  1783. local b = Instance.new("BodyForce",z)
  1784. b.force = T.CFrame.lookVector *100
  1785. Game:GetService("Debris"):AddItem(b,1)
  1786. elseif z:IsA("Humanoid")then
  1787. z.Sit = true
  1788. TakeDamage(z,80)
  1789. end end end end)end end)()
  1790. for z = 1,25 do
  1791. local p = Instance.new("Part",Character)
  1792. p.Size = Vector3.new(1,1,1)
  1793. p.Shape = "Ball"
  1794. p.TopSurface = 0
  1795. p.BottomSurface = 0
  1796. p.BrickColor = Settings.ExplosionColors[math.random(1,#Settings.ExplosionColors)]
  1797. p.Anchored = true
  1798. p.Locked = true
  1799. p.CanCollide = false
  1800. p.CFrame = xf
  1801. coroutine.wrap(function()
  1802. for l = 1,10 do
  1803. p.Transparency = p.Transparency + 0.1
  1804. p.Size = p.Size + Vector3.new(5,5,5)
  1805. p.CFrame = xf * CFrame.new(math.random(-10,10),0,math.random(-10,10))
  1806. Wait()
  1807. end
  1808. p:Destroy()
  1809. end)()
  1810. Wait()
  1811. end
  1812. Wait(1)
  1813. Done = true
  1814. T.Anchored = false
  1815. pcall(function()T:findFirstChild("ChargeLight"):Destroy()end)
  1816. ChargePosition(false)
  1817. Debounces.Attacking = false
  1818. Stance = "Standing"
  1819. end
  1820. elseif AttackState == '' then
  1821.  
  1822.  
  1823. end end)end)
  1824. _Mouse = Player:GetMouse()
  1825. _Mouse.KeyDown:connect(function(Key)
  1826. if Debounces.Shielding then return end
  1827. if not Equiped then
  1828. if Key == 'f' then
  1829. if Power -26000 < 0 then return end
  1830. if Debounces.Attacking or Debounces.IsCharging or Debounces.IsHealing then return end
  1831. ChangeText("Angel's wrath!")
  1832. Stance = "Null"
  1833. Power = Power -26000
  1834. Debounces.Attacking = true
  1835. ChosenColor = BrickColor.new(154)
  1836. T.Anchored = true
  1837. local Done,Intensity = false,1
  1838. coroutine.wrap(function()
  1839. while Wait(0.01)do
  1840. if Stop then break end
  1841. for i = 1,10 do
  1842. Wait()
  1843. Cam.CoordinateFrame = Cam.CoordinateFrame * CFrame.new(0,Intensity,0)
  1844. Wait()
  1845. Cam.CoordinateFrame = Cam.CoordinateFrame * CFrame.new(0,-Intensity,0)
  1846. end end end)()
  1847. coroutine.wrap(function()
  1848. ChargePosition(false)
  1849. RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0)* CFrame.Angles(0,0,1.57)
  1850. Wait(0.1)
  1851. LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)* CFrame.Angles(0,0,-1.57)
  1852. Wait(0.1)
  1853. RS.C0 = RS.C0 * CFrame.Angles(0.6,0,0)* CFrame.new(0,0,-0.3)
  1854. Wait(0.1)
  1855. LS.C0 = LS.C0 * CFrame.Angles(0.6,0,0)* CFrame.new(0,0,-0.3)
  1856. Wait(0.1)
  1857. RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)* CFrame.Angles(-0.05,0,0)* CFrame.new(0,0.1,0)
  1858. Wait(0.1)
  1859. LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)* CFrame.Angles(-0.05,0,0)* CFrame.new(0,0.1,0)
  1860. RA.Anchored = true
  1861. LA.Anchored = true
  1862. LL.Anchored = true
  1863. RL.Anchored = true
  1864. end)()
  1865. coroutine.wrap(function()
  1866. while Wait()do
  1867. if Done then break end
  1868. Charge(math.random(1,2)%2 == 1 and BrickColor.new(154)or BrickColor.new(193))
  1869. end end)()
  1870. coroutine.wrap(function()
  1871. for a = 1,75 do
  1872. local s = Instance.new("Part",Character)
  1873. s.BrickColor = a%2 == 1 and BrickColor.new("Gold")or Settings.Colors[1]
  1874. s.Size = Vector3.new(5,1,5)
  1875. s.Anchored = true
  1876. s.Locked = true
  1877. s.CanCollide = false
  1878. s.TopSurface = 0
  1879. s.BottomSurface = 0
  1880. s.CFrame = T.CFrame *CFrame.new(0,-2,0)* CFrame.fromEulerAnglesXYZ(1.57,0,0)
  1881. local sm = Instance.new("SpecialMesh",s)
  1882. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1883. sm.Scale = Vector3.new(5,5,5)
  1884. coroutine.wrap(function()
  1885. for x = 1,10 do
  1886. s.Transparency = s.Transparency +0.1
  1887. sm.Scale = sm.Scale + Vector3.new(4,4,4)
  1888. Wait()
  1889. end
  1890. s:Destroy()
  1891. end)()
  1892. Wait()
  1893. end end)()
  1894. Wait(1)
  1895. Done = true
  1896. pcall(function()T:findFirstChild("ChargeLight"):Destroy()end)
  1897. StopPower = true
  1898. Wait()
  1899. Intensity = 2
  1900. Done = false
  1901. local inc = 0
  1902. Wait(0.2)
  1903. local Stop,x = false,{}
  1904. coroutine.wrap(function()
  1905. while Wait(0.2)do
  1906. if Stop then break end
  1907. if not Done then
  1908. pcall(function()
  1909. table.foreach(x,function(_,v)
  1910. v.BrickColor = BrickColor.new(({"White","Institutional white","Gold","Gold"})[math.random(1,6)])
  1911. end)end)
  1912. Charge(BrickColor.new("White"))
  1913. end if StopPower then
  1914. Effect2(T,inc,inc,inc,0,0,0,BrickColor.new(131),0.3)
  1915. Effect2(LA,2,2,2,0,-0.8,0,BrickColor.new("Institutional white"))
  1916. Effect2(RA,2,2,2,0,-0.8,0,BrickColor.new("White"))
  1917. if inc < 5 then
  1918. inc = inc +1
  1919. end end end end)()
  1920. Wait(3)
  1921. local l,s,tod = Game.Lighting.Ambient,Game.Lighting.OutdoorAmbient,Game.Lighting.TimeOfDay
  1922. local Sky = Instance.new("Sky",Game.Lighting)
  1923. Sky.CelestialBodiesShown = false
  1924. coroutine.wrap(function()
  1925. for i = 1,21 do
  1926. Game.Lighting.TimeOfDay = i
  1927. Wait(0.01)
  1928. end end)()
  1929. Game.Lighting.Ambient = Color3.new(0.666666667,0,0)
  1930. pcall(function()Game.Lighting.CelestialBodiesShown = false end)
  1931. Game.Lighting.OutdoorAmbient = Color3.new(0,0,0)
  1932. Intensity = 2.4
  1933. local p = Instance.new("Part",Character)
  1934. p.Anchored = true
  1935. p.CanCollide = false
  1936. p.Locked = true
  1937. p.Transparency = 1
  1938. p.Size = Vector3.new(1,1,1)
  1939. p.CFrame = T.CFrame * CFrame.new(0,0.6,-8)
  1940. table.insert(x,p)
  1941. local AINC = 6
  1942. coroutine.wrap(function()
  1943. while Wait(0.2)do
  1944. if Stop then break end
  1945. Effect2(p,AINC,AINC,AINC,0,0,0,p.BrickColor)
  1946. end end)()
  1947. local a = Instance.new("Part",Character)
  1948. a.Anchored = true
  1949. a.CanCollide = false
  1950. a.Locked = true
  1951. a.Size = Vector3.new(4,4,4)
  1952. a.CFrame = p.CFrame * CFrame.new(Vector3.new(0,0.5,0))* CFrame.fromEulerAnglesXYZ(1.57,0,0)
  1953. a.TopSurface = 0
  1954. a.BottomSurface = 0
  1955. coroutine.wrap(function()
  1956. local function BreakAll(Obj)
  1957. for i,z in pairs(Obj:GetChildren())do
  1958. if not Game.Players:GetPlayerFromCharacter(z.Parent)and z:IsA("BasePart")then
  1959. if z.Size.x < 500 and z.Size.z < 500 then
  1960. z.Anchored = false
  1961. local s = Instance.new("BodyVelocity",z)
  1962. s.velocity = T.CFrame.lookVector *230
  1963. s.P = 20
  1964. s.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  1965. Game:GetService("Debris"):AddItem(s,1)
  1966. end end
  1967. Spawn(function()BreakAll(z)end)
  1968. end end
  1969. BreakAll(Workspace)
  1970. end)()
  1971. local StopKilling = false
  1972. coroutine.wrap(function()
  1973. while Wait()do
  1974. if StopKilling then break end
  1975. for i,v in pairs(Game.Players:GetPlayers())do
  1976. pcall(function()
  1977. if v ~= Player then
  1978. pcall(function()Kill(v.Character.Torso)end)
  1979. for s,z in pairs(v.Character:GetChildren())do
  1980. if z:IsA("BasePart")then
  1981. if not z:findFirstChild("PushAway")then
  1982. local b = Instance.new("BodyForce",z)
  1983. b.force = T.CFrame.lookVector *230
  1984. b.Name = "PushAway"
  1985. Game:GetService("Debris"):AddItem(b,0.2)
  1986. end end end end end)end end end)()
  1987. local m = Instance.new("CylinderMesh",a)
  1988. m.Scale = Vector3.new(3.8,0,3.8)
  1989. table.insert(x,a)
  1990. coroutine.wrap(function()
  1991. while Wait(0.2)do
  1992. if Stop then break end
  1993. Effect2(a,10,10,10,0,-m.Scale.y *(a.Position - p.Position).magnitude,0,p.BrickColor)
  1994. end end)()
  1995. local ls = Instance.new("PointLight",p)
  1996. ls.Brightness = 5000
  1997. ls.Color = Color3.new(1,0,0)
  1998. local GrowthRate = 0.05
  1999. for i = 1,260 do
  2000. a.Transparency = a.Transparency +0.002
  2001. a.CFrame = a.CFrame * CFrame.new(Vector3.new(0,-10.8,0))
  2002. p.CFrame = p.CFrame * CFrame.new(Vector3.new(0,0,-0.1))
  2003. AINC = AINC +0.15
  2004. m.Scale = m.Scale + Vector3.new(-GrowthRate,6,-GrowthRate)
  2005. if m.Scale.x < 0 then GrowthRate = 0.1 end
  2006. ls.Range = ls.Range +10
  2007. inc = inc +GrowthRate -0.04
  2008. Wait()
  2009. end
  2010. for i = 1,10 do
  2011. a.Transparency = a.Transparency + 0.1
  2012. m.Scale = m.Scale + Vector3.new(0.05,0,0.05)
  2013. ls.Range = ls.Range -26
  2014. Wait()
  2015. end
  2016. a:Destroy()
  2017. Done = true
  2018. Stop = true
  2019. StopPower = false
  2020. Intensity = 0
  2021. ChosenColor = nil
  2022. T.Anchored = false
  2023. Game.Lighting.Ambient = Color3.new(0,0,0)
  2024. coroutine.wrap(function()
  2025. for i = 1,10 do
  2026. Game.Lighting.Ambient = Color3.new(Game.Lighting.Ambient.r +0.1,Game.Lighting.Ambient.g +0.1,Game.Lighting.Ambient.b +0.1)
  2027. Wait(0.01)
  2028. end
  2029. Game.Lighting.Ambient = l
  2030. Game.Lighting.OutdoorAmbient = s
  2031. Game.Lighting.TimeOfDay = tod
  2032. end)()
  2033. Debounces.Attacking = false
  2034. Sky.CelestialBodiesShown = true
  2035. Sky:Destroy()
  2036. RA.Anchored = false
  2037. StopKilling = true
  2038. LA.Anchored = false
  2039. LL.Anchored = false
  2040. RL.Anchored = false
  2041. pcall(function()Character.Humanoid.WalkSpeed = 45 end)
  2042. pcall(function()T:findFirstChild("ChargeLight"):Destroy()end)
  2043. ChargePosition(false)
  2044. Stance = "Standing"
  2045. elseif Key == 'r' then
  2046. if Debounces.Attacking or Debounces.IsCharging or Debounces.IsHealing then return end
  2047. if Power -20000 >= 0 then
  2048. Power = Power -20000
  2049. Debounces.Attacking = true
  2050. ChangeText("Death ball")
  2051. StopPower = true
  2052. local x = Instance.new("Animation",Tool)
  2053. x.AnimationId = "http://www.roblox.com/asset/?id=128853357"
  2054. local anim = Character.Humanoid:LoadAnimation(x)
  2055. anim:Play()
  2056. for i = 1,5 do
  2057. Effect2(LA,i/2,i/2,i/2,0,-0.8,0,BrickColor.new("/"),tonumber("0."..i))
  2058. Wait(0.2)
  2059. end
  2060. local CF = T.CFrame * CFrame.new(-2,2,-5)
  2061. local Rock = Instance.new("Part",Workspace)
  2062. Rock.Size = Vector3.new(1,1,1)
  2063. Rock.TopSurface = 0
  2064. Rock.BottomSurface = 0
  2065. Rock.Transparency = 1
  2066. Rock.Locked = true
  2067. Rock.BrickColor = BrickColor.new("Gold")
  2068. Rock.Shape = "Ball"
  2069. Rock.CanCollide = false
  2070. Rock.CFrame = CF
  2071. Rock.Anchored = true
  2072. StopRockTrail = false
  2073. RockTrail(Rock,CFrame.new(0,0,0),BrickColor.new("Gold"))
  2074. for i = 1,3 do
  2075. Rock.Transparency = Rock.Transparency -0.3
  2076. Rock.Size = Rock.Size + Vector3.new(1,1,1)
  2077. Rock.CFrame = CF
  2078. Wait()
  2079. end
  2080. Rock.Size = Vector3.new(2.5,2.5,2.5)
  2081. local Rockx = Instance.new("Part",Workspace)
  2082. Rockx.Size = Vector3.new(2.5,2.5,2.5)
  2083. Rockx.TopSurface = 0
  2084. Rockx.BottomSurface = 0
  2085. Rockx.Transparency = 0
  2086. Rockx.Locked = true
  2087. Rockx.BrickColor = BrickColor.new("Institutional white")
  2088. Rockx.Shape = "Ball"
  2089. Rockx.CanCollide = false
  2090. Rockx.CFrame = Rock.CFrame
  2091. Rockx.Anchored = true
  2092. local w = Instance.new("Weld",Rock)
  2093. w.Part0 = Rock
  2094. w.Part1 = Rockx
  2095. local l = Instance.new("PointLight",Rock)
  2096. l.Color = Color3.new(1,0,0)
  2097. l.Range = 0
  2098. local ssss,asdd = false,0
  2099. coroutine.wrap(function()
  2100. while Wait(0.2)do
  2101. if not Rock then break end
  2102. Effect2(Rock,2.3,2.3,2.3,0,0,0,BrickColor.new("Gold"),0.3)
  2103. end end)()
  2104. coroutine.wrap(function()
  2105. while Wait()do
  2106. if ssss then break end
  2107. asdd = asdd +1
  2108. l.Range = l.Range +0.5
  2109. local f = Instance.new("Part",Character)
  2110. f.BrickColor = asdd%2 == 1 and BrickColor.new("1017")or BrickColor.new(41)
  2111. f.Size = Vector3.new(5,1,5)
  2112. f.Anchored = true
  2113. f.Locked = true
  2114. f.CanCollide = false
  2115. f.TopSurface = 0
  2116. f.BottomSurface = 0
  2117. f.CFrame = Rock.CFrame * CFrame.fromEulerAnglesXYZ(asdd%2 == 1 and -6 or 6,asdd%2 == 1 and -6 or 6,asdd%2 == 1 and -6 or 6)
  2118. local sm = Instance.new("SpecialMesh",f)
  2119. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2120. sm.Scale = Vector3.new(2.5,2.5,2.5)
  2121. coroutine.wrap(function()
  2122. for i = 1,20 do
  2123. f.Transparency = f.Transparency +0.05
  2124. sm.Scale = sm.Scale + Vector3.new(0.5,0.5,0.5)
  2125. Wait()
  2126. end
  2127. f:Destroy()
  2128. end)()end end)()
  2129. Wait(1.5)
  2130. ssss = true
  2131. coroutine.wrap(function()
  2132. for a = 1,3 do
  2133. local s = Instance.new("Part",Character)
  2134. s.BrickColor = BrickColor.new("Gold")
  2135. s.Size = Vector3.new(5,1,5)
  2136. s.Anchored = true
  2137. s.Locked = true
  2138. s.CanCollide = false
  2139. s.TopSurface = 0
  2140. s.BottomSurface = 0
  2141. s.CFrame = Rock.CFrame * CFrame.new(0,2.5,2)* CFrame.fromEulerAnglesXYZ(1.57,0,0)
  2142. local sm = Instance.new("SpecialMesh",s)
  2143. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2144. sm.Scale = Vector3.new(5,5,5)
  2145. coroutine.wrap(function()
  2146. for x = 1,10 do
  2147. s.Transparency = s.Transparency + 0.1
  2148. sm.Scale = sm.Scale + Vector3.new(3,0.6,3)
  2149. s.CFrame = s.CFrame * CFrame.new(0,0,1)
  2150. Wait()
  2151. end
  2152. s:Destroy()
  2153. end)()
  2154. Wait(0.1)
  2155. end end)()
  2156. Rock.CanCollide = true
  2157. Rock.Anchored = false
  2158. Rockx.Anchored = false
  2159. coroutine.wrap(function()
  2160. while Wait()do
  2161. if not Rock then break end
  2162. local s = Rock:findFirstChild("1")or Instance.new("BodyVelocity",Rock)
  2163. s.P = 500
  2164. s.Name = "1"
  2165. s.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2166. s.velocity = CFrame.new(T.Position,_Mouse.Hit.p).lookVector *600
  2167. local b = Rock:findFirstChild("2")or Instance.new("BodyForce",Rock)
  2168. b.force = CFrame.new(T.Position,_Mouse.Hit.p).lookVector *600
  2169. b.Name = "2"
  2170. end end)()
  2171. local function Kll(Hit,Bool)
  2172. if Hit.Parent ~= Character then
  2173. if Hit.Parent ~= Workspace then
  2174. if not Hit.Parent:findFirstChild("Humanoid")then return end
  2175. pcall(function()Hit.Parent.Humanoid.PlatformStand = true end)
  2176. for n,x in pairs(Hit.Parent:GetChildren())do
  2177. if x:IsA("BasePart")then
  2178. local bf = Instance.new("BodyForce",x)
  2179. bf.force = T.CFrame.lookVector *130
  2180. Game:GetService("Debris"):AddItem(bf,0.26)
  2181. end end
  2182. if Bool then
  2183. Kill(Hit)
  2184. return
  2185. end
  2186. local cf = Rock.CFrame
  2187. local f = Instance.new("Part",Character)
  2188. f.BrickColor = BrickColor.new("Gold")
  2189. f.Size = Vector3.new(5,1,5)
  2190. f.Anchored = true
  2191. f.Locked = true
  2192. f.CanCollide = false
  2193. f.TopSurface = 0
  2194. f.BottomSurface = 0
  2195. f.CFrame = Hit.CFrame * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  2196. StopRockTrail = true
  2197. local sm = Instance.new("SpecialMesh",f)
  2198. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2199. sm.Scale = Vector3.new(20,20,20)
  2200. coroutine.wrap(function()
  2201. for i = 1,20 do
  2202. f.Transparency = f.Transparency +0.05
  2203. sm.Scale = sm.Scale + Vector3.new(10,10,10)
  2204. Wait()
  2205. end
  2206. f:Destroy()
  2207. end)()
  2208. local ax = Instance.new("Part",Character)
  2209. ax.Size = Vector3.new(1,1,1)
  2210. ax.TopSurface = 0
  2211. ax.BottomSurface = 0
  2212. ax.Transparency = 0
  2213. ax.Locked = true
  2214. ax.BrickColor = BrickColor.new("Gold")
  2215. ax.Shape = "Ball"
  2216. ax.CanCollide = false
  2217. ax.CFrame = cf
  2218. ax.Anchored = true
  2219. coroutine.wrap(function()
  2220. for i = 1,10 do
  2221. ax.Size = ax.Size + Vector3.new(math.random(1,3)+2,math.random(1,3)+2,math.random(1,3)+2)
  2222. ax.Transparency = ax.Transparency +0.1
  2223. ax.CFrame = cf
  2224. Wait()
  2225. end
  2226. ax:Destroy()
  2227. end)()
  2228. ax.Touched:connect(function(H)Kll(H,true)end)
  2229. local int = 3
  2230. coroutine.wrap(function()
  2231. while Wait()do
  2232. if not ax then break end
  2233. int = int +4
  2234. Effect2(ax,int,int,int,0,0,0,BrickColor.new("Gold"),0)
  2235. end end)()
  2236. Kill(Hit)
  2237. pcall(function()
  2238. Rock:Destroy()
  2239. Rockx:Destroy()
  2240. end)
  2241. for i,v in pairs(Hit.Parent:GetChildren())do
  2242. if v:IsA("BasePart")then
  2243. v.Anchored = false
  2244. end end end end end
  2245. Rock.Touched:connect(Kll)
  2246. Game:GetService("Debris"):AddItem(Rock,5)
  2247. StopPower = false
  2248. Debounces.Attacking = false
  2249. end elseif Key:byte()== 32 then
  2250. local Con;Con = _Mouse.Button1Down:connect(function()
  2251. Character.Humanoid.Jump = true
  2252. local s = Instance.new("Part",Character)
  2253. s.BrickColor = BrickColor.new("White")
  2254. s.Size = Vector3.new(5,5,5)
  2255. s.Anchored = true
  2256. s.Locked = true
  2257. s.CanCollide = false
  2258. s.TopSurface = 0
  2259. s.BottomSurface = 0
  2260. s.Reflectance = 0.1
  2261. s.CFrame = T.CFrame * CFrame.new(0,-2,0)
  2262. local sm = Instance.new("SpecialMesh",s)
  2263. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2264. sm.Scale = Vector3.new(2,0.5,2)
  2265. coroutine.wrap(function()
  2266. for i = 1,10 do
  2267. sm.Scale = sm.Scale + Vector3.new(1,0.2,1)
  2268. s.Transparency = s.Transparency +0.1
  2269. s.CFrame = s.CFrame * CFrame.fromEulerAnglesXYZ(0,math.random(-6,6),0)
  2270. Wait()
  2271. end
  2272. s:Destroy()
  2273. end)()
  2274. Con:disconnect()
  2275. end)
  2276. delay(0.6,function()if Con ~= nil then Con:disconnect()end end)
  2277. end
  2278. if NonSwordKeys[Key]then
  2279. coroutine.wrap(function()NonSwordKeys[Key](_Mouse)end)()
  2280. Wait()
  2281. Descriptions = {
  2282. j = "Shield!";
  2283.  
  2284. }
  2285. ChangeText(Descriptions[Key])
  2286. end
  2287. if GlobalKeys[Key]then
  2288. coroutine.wrap(function()GlobalKeys[Key](_Mouse)end)()
  2289. Wait()
  2290. Descriptions = {
  2291. h = "Healing!";
  2292. c = "Charging!";
  2293. b = "Boost!";
  2294. n = "Float!";
  2295. t = "Teleport!";
  2296. q = "Fly!"}
  2297. ChangeText(Descriptions[Key])
  2298. end end end)
  2299. _Mouse.Button1Down:connect(function()
  2300. if Debounces.Shielding or Debounces.IsCharging or Debounces.Attacking or Debounces.IsHealing then return end
  2301. if not Equiped then
  2302. if Debounces.Flying then
  2303. local bg,bv
  2304. local Speed,DC = RageMode and 350 or 200,function()
  2305. Debounces.Flying = false
  2306. StopFlyTrail = true
  2307. bg:Destroy()
  2308. bv:Destroy()
  2309. MouseMoveConnection:disconnect()
  2310. Con:disconnect()
  2311. end
  2312. StopFlyTrail = false
  2313. FlyTrail(LA,CFrame.new(0,0,0))
  2314. FlyTrail(RA,CFrame.new(0,0,0))
  2315. coroutine.wrap(function()
  2316. while Wait()do
  2317. if Debounces.Flying then
  2318. Power = Power -9
  2319. MakeFloatMesh()
  2320. if Power == 0 then
  2321. pcall(function()DC()end)
  2322. break
  2323. end
  2324. Speed = RageMode and 350 or 200
  2325. else
  2326. pcall(function()DC()end)
  2327. break end end end)()
  2328. bv = Instance.new("BodyVelocity",T)
  2329. bv.Name = "FlyVelocityVector"
  2330. bv.maxForce = Vector3.new(0,math.huge,0)
  2331. bv.velocity = Vector3.new(0,0,0)
  2332. bg = Instance.new("BodyGyro",T)
  2333. bg.Name = "FlyGyro"
  2334. bg.maxTorque = Vector3.new(0,0,0)
  2335. bv.maxForce = Vector3.new(math.huge,math.huge,math.huge)
  2336. bg.maxTorque = Vector3.new(9000,9000,9000)
  2337. bg.cframe = CFrame.new(T.Position,_Mouse.Hit.p)* CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2338. bv.velocity = CFrame.new(T.Position,_Mouse.Hit.p).lookVector *Speed
  2339. local MouseMoveConnection = _Mouse.Move:connect(function()
  2340. bg.maxTorque = Vector3.new(9000,9000,9000)
  2341. bg.cframe = CFrame.new(T.Position,_Mouse.Hit.p)* CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2342. bv.velocity = CFrame.new(T.Position,_Mouse.Hit.p).lookVector *Speed
  2343. end)
  2344. local Con;Con = _Mouse.Button1Up:connect(DC)
  2345. return
  2346. end
  2347. Debounces.Attacking = true
  2348. ChangeText("FALCO, PAWNCH!")
  2349. Stance = "NULL"
  2350. ChargePosition(false)
  2351. StopTrail = false
  2352. Trail(LA,CFrame.new(0,0,0),Settings.Colors[2])
  2353. for i = 1,6 do
  2354. RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0)* CFrame.Angles(0,0,-0.15 *i)
  2355. LS.C0 = CFrame.new(-1,0.5,0,0,0,-1,0,1,0,1,0,0)* CFrame.Angles(0,-0.05 *i,-0.28*i)
  2356. RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)* CFrame.Angles(0,0,0.025 *i)
  2357. LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)* CFrame.Angles(0,0,0.025 *i)
  2358. Wait(0.01)
  2359. end
  2360. local Con;Con = LA.Touched:connect(function(Hit)
  2361. if not Debounces.Attacking then return end
  2362. if Hit.Parent == Character or HitDebounce then return end
  2363. if not Hit.Parent:findFirstChild("Humanoid")then return end
  2364. pcall(function()Hit.Parent.Humanoid.PlatformStand = true end)
  2365. for n,x in pairs(Hit.Parent:GetChildren())do
  2366. if x:IsA("BasePart")then
  2367. local bf = Instance.new("BodyForce",x)
  2368. bf.force = T.CFrame.lookVector *130
  2369. Game:GetService("Debris"):AddItem(bf,0.26)
  2370. end end
  2371. local cf = Hit.CFrame
  2372. local s = Instance.new("Part",Workspace)
  2373. s.Anchored = true
  2374. s.TopSurface = 0
  2375. s.BottomSurface = 0
  2376. s.Locked = true
  2377. s.Transparency = 1
  2378. s.CanCollide = false
  2379. s.FormFactor = "Custom"
  2380. s.Shape = "Ball"
  2381. s.Reflectance = 0
  2382. s.BrickColor = Settings.Colors[2]
  2383. s.CFrame = cf
  2384. coroutine.wrap(function()
  2385. for i = 1,5 do
  2386. s.Size = s.Size + Vector3.new(0.5,0.5,0.5)
  2387. s.CFrame = cf
  2388. s.Transparency = s.Transparency -0.2
  2389. Wait()
  2390. end
  2391. Wait(0.1)
  2392. s.BrickColor = Settings.Colors[2]
  2393. if math.random(1,2)== 1 then pcall(function()Hit.Parent.Humanoid:TakeDamage(6)end)end
  2394. for i = 1,10 do
  2395. s.Size = s.Size - Vector3.new(1,1,1)
  2396. s.CFrame = cf
  2397. s.Transparency = s.Transparency +0.1
  2398. Wait()
  2399. end
  2400. s:Destroy()
  2401. end)()
  2402. local l = Instance.new("PointLight",s)
  2403. l.Color = s.Color
  2404. l.Range = 60
  2405. local f = Instance.new("Part",Character)
  2406. f.BrickColor = Settings.Colors[1]
  2407. f.Size = Vector3.new(5,1,5)
  2408. f.Anchored = true
  2409. f.Locked = true
  2410. f.CanCollide = false
  2411. f.TopSurface = 0
  2412. f.BottomSurface = 0
  2413. f.CFrame = Hit.CFrame * CFrame.fromEulerAnglesXYZ(1.57,0,0)
  2414. local sm = Instance.new("SpecialMesh",f)
  2415. sm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2416. sm.Scale = Vector3.new(2,2,2)
  2417. coroutine.wrap(function()
  2418. for i = 1,10 do
  2419. f.Transparency = f.Transparency +0.1
  2420. sm.Scale = sm.Scale + Vector3.new(1,1,1)
  2421. Wait()
  2422. end
  2423. f:Destroy()
  2424. end)()
  2425. Damage(T,Hit,true)
  2426. Con:disconnect()
  2427. end)
  2428. local s = Instance.new("Part",Character)
  2429. s.BrickColor = Settings.Colors[2]
  2430. s.Size = Vector3.new(5,1,5)
  2431. s.Anchored = true
  2432. s.Locked = true
  2433. s.CanCollide = false
  2434. s.TopSurface = 0
  2435. s.BottomSurface = 0
  2436. s.CFrame = LA.CFrame * CFrame.fromEulerAnglesXYZ(0,1.57,0)
  2437. local sm = Instance.new("SpecialMesh",s)
  2438. sm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2439. sm.Scale = Vector3.new(5,5,5)
  2440. coroutine.wrap(function()
  2441. for x = 1,10 do
  2442. s.Transparency = s.Transparency + 0.1
  2443. sm.Scale = sm.Scale + Vector3.new(3,0.6,3)
  2444. s.CFrame = s.CFrame * CFrame.new(0,0,1)
  2445. Wait()
  2446. end
  2447. s:Destroy()
  2448. end)()
  2449. Wait(0.3)
  2450. StopTrail = true
  2451. for i = 1,6 do
  2452. RS.C0 = RS.C0 * CFrame.Angles(0,0,0.15)
  2453. LS.C0 = LS.C0 * CFrame.Angles(0,0,0.28)
  2454. RH.C0 = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)* CFrame.Angles(0,0,-0.025 *i)
  2455. LH.C0 = CFrame.new(-1,-1,0,0,0,-1,0,1,0,1,0,0)* CFrame.Angles(0,0,-0.025 *i)
  2456. Wait(0.01)
  2457. end
  2458. delay(1/30,function()if Con ~= nil then Con:disconnect()end end)
  2459. ChargePosition(false)
  2460. Debounces.Attacking = false
  2461. Stance = "Standing"
  2462. end end)
  2463. --Animations
  2464. local A,B,C,D = Instance.new("Animation",Tool),Instance.new("Animation",Tool),Instance.new("Animation",Tool),Instance.new("Animation",Tool)
  2465. A.AnimationId = "http://www.roblox.com/Asset?ID=27761123"
  2466. B.AnimationId = "http://www.roblox.com/Asset?ID=27762691"
  2467. C.AnimationId = "http://www.roblox.com/Asset?ID=27763344"
  2468. D.AnimationId = "http://www.roblox.com/Asset?ID=27763939"
  2469. StandardSwing = Character.Humanoid:LoadAnimation(A)
  2470. SwingLeft = Character.Humanoid:LoadAnimation(B)
  2471. DoubleSwing = Character.Humanoid:LoadAnimation(C)
  2472. SpinSwing = Character.Humanoid:LoadAnimation(D)
  2473. Stance = "Standing"
  2474. local STCO = CFrame.new(0,1,0,-1,-0,-0,0,0,1,0,1,0)
  2475. local StandRS = CFrame.new(1,0.5,0,0.707106709,0,0.707106709,0,1,0,-0.707106709,0,0.707106709)
  2476. local StandRH = CFrame.new(1,-1,0,0,0,1,0,1,0,-1,0,0)
  2477. local StandLS = CFrame.new(-1,0.5,0,-0.923879445,0,-0.382683426,0,1,0,0.382683426,0,-0.923879445)
  2478. local StandLH = CFrame.new(-1,-1,0,0,0.0392597914,-0.999228895,0,0.999228895,0.0392597914,1,0,0)
  2479. STGyro = Instance.new("BodyGyro")
  2480. STGyro.maxTorque = Vector3.new(5000000000,5000000000,5000000000)*500000000000000
  2481. STGyro.P = 15000
  2482. STGyro.D = 750
  2483. STGyro.Name = "StanceGyro"
  2484. coroutine.wrap(function()
  2485. while Wait()do
  2486. if Power == 0 and RageMode then
  2487. KeyBindings.r()
  2488. end end end)()
  2489. Character.Humanoid.Jumping:connect(function()
  2490. Debounces.Shielding = false
  2491. LH.DesiredAngle = -0.7
  2492. LS.DesiredAngle = 0.7
  2493. RH.DesiredAngle = -0.7
  2494. RS.DesiredAngle = 0.7
  2495. N.C0 = STCO * CFrame.fromEulerAnglesXYZ(-math.pi/12,0,0)
  2496. N.DesiredAngle = 0
  2497. local vu = Instance.new("BodyVelocity",T)
  2498. vu.P = 5000
  2499. vu.maxForce = Vector3.new(0,5000000000000000000000,0)
  2500. vu.velocity = Vector3.new(0,45,0)
  2501. game:GetService("Debris"):AddItem(vu,0.267)
  2502. RiseRate = RiseRate +2
  2503. Wait(0.6)
  2504. RiseRate = RiseRate -2
  2505. ChargePosition(false)
  2506. LH.DesiredAngle = 0
  2507. LS.DesiredAngle = 0
  2508. RH.DesiredAngle = 0
  2509. RS.DesiredAngle = 0
  2510. end)
  2511. coroutine.wrap(function()
  2512. while Wait()do
  2513. if Stance == "Standing" then
  2514. RS.C0 = StandRS
  2515. RH.C0 = StandRH
  2516. LS.C0 = StandLS
  2517. LH.C0 = StandLH
  2518. local tb = math.cos(time()*3)
  2519. local tbs = math.sin(time()*3)
  2520. STGyro.cframe = FaceForward()* CFrame.fromEulerAnglesXYZ(0,-math.pi/4,0)
  2521. STGyro.Parent = T
  2522. STGyro.P = 10000
  2523. STGyro.maxTorque = Vector3.new(5000,5000,5000)*50000
  2524. N.C0 = STCO * CFrame.fromEulerAnglesXYZ(tb *0.05 +0.1,0,0)
  2525. N.DesiredAngle = 0.8
  2526. RS.DesiredAngle = -0.1
  2527. LS.DesiredAngle = 0.2
  2528. RH.DesiredAngle = 0
  2529. LH.DesiredAngle = 0
  2530. RS.C0 = RS.C0 * CFrame.fromEulerAnglesXYZ(-tb *0.01 -0.2,0,0)
  2531. LS.C0 = LS.C0 * CFrame.fromEulerAnglesXYZ(-tbs *0.1 -0.8,0.8,0)
  2532. RH.C0 = RH.C0 * CFrame.fromEulerAnglesXYZ(-0.2,tbs *0.05,0)
  2533. LH.C0 = LH.C0 * CFrame.fromEulerAnglesXYZ(-0.15,0,0)
  2534. elseif Stance == "Lasering" then
  2535. RS.C0 = CFrame.new(1,0.5,0,0,0,1,0,1,0,-1,0,0)
  2536. end end end)()
  2537. coroutine.wrap(function()
  2538. while Wait(0.2)do
  2539. if not StopPower then
  2540. Effect2(LA,1,1,1,0,-0.8,0,ChosenColor or Settings.Colors[1],0.1)
  2541. Effect2(RA,1,1,1,0,-0.8,0,ChosenColor or Settings.Colors[2],0.1)
  2542. end end end)()
  2543. coroutine.wrap(function()
  2544. while Wait(0.25)do
  2545. if not Debounces.Shielding then
  2546. if not Debounces.Flying then
  2547. if Debounces.Floating then
  2548. if Power -25 >= 0 then
  2549. Power = Power -25
  2550. MakeFloatMesh()
  2551. local vu = T:findFirstChild("Float")or Instance.new("BodyVelocity",T)
  2552. vu.P = 5000
  2553. vu.maxForce = Vector3.new(0,5000000000000000000000,0)
  2554. vu.velocity = Vector3.new(0,2 *RiseRate,0)
  2555. vu.Name = "Float"
  2556. else
  2557. Debounces.IsFloating = false
  2558. end else
  2559. pcall(function()T:findFirstChild("Float"):Destroy()end)
  2560. end end end end end)()
  2561. Character.Humanoid.WalkSpeed = 45
  2562. local Cached = {Settings.Colors[1],Settings.Colors[2]}
  2563. coroutine.wrap(function()
  2564. while Wait()do
  2565. pcall(function()
  2566. if RageMode then
  2567. MoveTxt.TextColor = BrickColor.new("Gold")
  2568. PBar_back.BackgroundColor = BrickColor.new("Gold")
  2569. _Shine.BackgroundColor = BrickColor.new("Gold")
  2570. _Shine2.BackgroundColor = BrickColor.new("Gold")
  2571. Bar.BackgroundColor = BrickColor.new("Institutional white")
  2572. for i,v in pairs(Tool:GetChildren())do
  2573. if v:IsA("BasePart")then
  2574. if v.BrickColor == Cached[2]then
  2575. v.BrickColor = BrickColor.new("Gold")
  2576. end end end
  2577. Settings.Colors[1]= BrickColor.new("Gold")
  2578. Settings.Colors[2]= BrickColor.new("Gold")
  2579. Power = Power -15
  2580. else
  2581. if Character.Humanoid.Health > Character.Humanoid.MaxHealth/4 then Bar.BackgroundColor = BrickColor.new("Gold")end
  2582. _Shine2.BackgroundColor = BrickColor.new("Gold")
  2583. _Shine.BackgroundColor = BrickColor.new("Gold")
  2584. if Power > 26000/4 then PBar_back.BackgroundColor = BrickColor.new("Gold")end
  2585. MoveTxt.TextColor = BrickColor.new("Gold")
  2586. for i,v in pairs(Tool:GetChildren())do
  2587. if v:IsA("BasePart")then
  2588. if v.BrickColor == BrickColor.new("Gold")then
  2589. v.BrickColor = Cached[2]
  2590. end end end
  2591. for i,v in pairs(Cached)do
  2592. Settings.Colors[i]= v
  2593. end end end)end end)()
  2594. Player.Idled:connect(function()
  2595. ChargePosition(false)
  2596. local Sayings = {"Come on player! I want to kill things.","HEY PLAYER! IT'S TIME TO PLAY!","Come on already!","The player left me...again.","Don't make me break the fourth wall again!"}
  2597. Game:GetService("Chat"):Chat(H,Sayings[math.random(1,#Sayings)],2)
  2598. Stance = "Null"
  2599. for i = 1,6 do
  2600. LS.DesiredAngle = -3
  2601. N.C0 = N.C0 * CFrame.fromEulerAnglesXYZ(math.pi/39,0,0)
  2602. Wait()
  2603. end
  2604. N.MaxVelocity = 0.07
  2605. coroutine.wrap(function()
  2606. for i = 1,2 *5 do
  2607. Wait(0.2/5)
  2608. LS.DesiredAngle = -2.8
  2609. end end)()
  2610. for i = 1,1 do
  2611. N.DesiredAngle = 0.5
  2612. Wait(0.25)
  2613. N.DesiredAngle = 1.3
  2614. Wait(0.2)
  2615. end
  2616. for i = 1,4 do
  2617. N.C0 = N.C0 * CFrame.fromEulerAnglesXYZ(-math.pi/26,0,0)
  2618. Wait()
  2619. end
  2620. ChargePosition(false)
  2621. Stance = "Standing"
  2622. end)
  2623. while Wait()do
  2624. if RageMode then
  2625. local CanChange = true
  2626. for i,v in pairs(Debounces)do
  2627. if v then
  2628. CanChange = false
  2629. end end
  2630. if CanChange then Character.Humanoid.WalkSpeed = 65 end
  2631. H.BrickColor = BrickColor.new("Gold")
  2632. LA.BrickColor = BrickColor.new("Gold")
  2633. RA.BrickColor = BrickColor.new("Gold")
  2634. LL.BrickColor = BrickColor.new("Gold")
  2635. RL.BrickColor = BrickColor.new("Gold")
  2636. T.BrickColor = BrickColor.new("Gold")
  2637. else
  2638. local CanChange = true
  2639. for i,v in pairs(Debounces)do
  2640. if v then
  2641. CanChange = false
  2642. end end
  2643. if CanChange then Character.Humanoid.WalkSpeed = 45 end
  2644. T.BrickColor = BrickColor.new("Institutional white")
  2645. H.BrickColor = BrickColor.new("Institutional white")
  2646. LA.BrickColor = BrickColor.new("Institutional white")
  2647. RA.BrickColor = BrickColor.new("Institutional white")
  2648. LL.BrickColor = BrickColor.new("Institutional white")
  2649. RL.BrickColor = BrickColor.new("Institutional white")
  2650. end
  2651. if not Debounces.Attacking then
  2652. H.Transparency = 0.2
  2653. LA.Transparency = 0.2
  2654. RA.Transparency = 0.2
  2655. LL.Transparency = 0.2
  2656. RL.Transparency = 0.2
  2657. else
  2658. H.Transparency = 0
  2659. LA.Transparency = 0
  2660. RA.Transparency = 0
  2661. LL.Transparency = 0
  2662. RL.Transparency = 0
  2663. end end
  2664. --~InternalRecursion~--
Add Comment
Please, Sign In to add comment