Advertisement
memberhero

Fe

Feb 4th, 2019
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -----------//GATTAI ZAMASU\\-----------
  2. --[[Movelist
  3. E = Blades of Judgement
  4. R = Holy light
  5. T = Taunt
  6. Y = Lightning of Absolution
  7. U = Divine wrath/Holy wrath
  8. ---------]]
  9.  
  10. --I'm starting my own youtube channel to showcase my private/best work, if you're interested, be sure to check it out! https://www.youtube.com/channel/UCN6i8M5gV1KgsGHLNQZGLgQ--
  11. --It currently has no content as of 1/20/19, but in the near future i'll post some videos & scripting tutorials for the newbs out there.--
  12. --Also subscribe to this d00d: https://www.youtube.com/channel/UC2hsp8ie2iYsJGK-zRD0sPg--
  13. --And no, you cannot have my privates, however, over time i'll release one of my privates for 1 hour only--
  14. --Also, check out my pastebin, it'll give you some handy information too--
  15. --Enough frickin' around, enjoy the script lads--
  16. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  17. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  18. local Mouse,mouse,UserInputService,ContextActionService = owner
  19. do
  20. print("FE Compatibility code by Mokiros Edited by basstracker1970")
  21. script.Parent = Player.Character
  22.  
  23. --RemoteEvent for communicating
  24. local Event = Instance.new("RemoteEvent")
  25. Event.Name = "UserInput_Event"
  26.  
  27. --Fake event to make stuff like Mouse.KeyDown work
  28. local function fakeEvent()
  29. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  30. t.connect = t.Connect
  31. return t
  32. end
  33.  
  34. --Creating fake input objects with fake variables
  35. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  36. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  37. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  38. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  39. end}
  40. --Merged 2 functions into one by checking amount of arguments
  41. CAS.UnbindAction = CAS.BindAction
  42.  
  43. --This function will trigger the events that have been :Connect()'ed
  44. local function te(self,ev,...)
  45. local t = m[ev]
  46. if t and t._fakeEvent and t.Function then
  47. t.Function(...)
  48. end
  49. end
  50. m.TrigEvent = te
  51. UIS.TrigEvent = te
  52.  
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=Player then return end
  55. if io.isMouse then
  56. m.Target = io.Target
  57. m.Hit = io.Hit
  58. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  59. if io.UserInputState == Enum.UserInputState.Begin then
  60. m:TrigEvent("Button1Down")
  61. else
  62. m:TrigEvent("Button1Up")
  63. end
  64. else
  65. for n,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. if io.UserInputState == Enum.UserInputState.Begin then
  73. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  74. UIS:TrigEvent("InputBegan",io,false)
  75. else
  76. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  77. UIS:TrigEvent("InputEnded",io,false)
  78. end
  79. end
  80. end)
  81. Event.Parent = NLS([==[
  82. local Player = game:GetService("Players").LocalPlayer
  83. local Event = script:WaitForChild("UserInput_Event")
  84.  
  85. local UIS = game:GetService("UserInputService")
  86. local input = function(io,a)
  87. if a then return end
  88. --Since InputObject is a client-side instance, we create and pass table instead
  89. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  90. end
  91. UIS.InputBegan:Connect(input)
  92. UIS.InputEnded:Connect(input)
  93.  
  94. local Mouse = Player:GetMouse()
  95. local h,t
  96. --Give the server mouse data 30 times every second, but only if the values changed
  97. --If player is not moving their mouse, client won't fire events
  98. while wait(1/30) do
  99. if h~=Mouse.Hit or t~=Mouse.Target then
  100. h,t=Mouse.Hit,Mouse.Target
  101. Event:FireServer({isMouse=true,Target=t,Hit=h})
  102. end
  103. end]==],Player.Character)
  104. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  105.  
  106. end
  107. wait(0.2)
  108. --Paste This Above Any Script
  109. Player=owner
  110. Character=Player.Character
  111. Character.Humanoid.Name = "gattaizamasu"
  112. hum = Character.gattaizamasu
  113. LeftArm=Character["Left Arm"]
  114. LeftLeg=Character["Left Leg"]
  115. RightArm=Character["Right Arm"]
  116. RightLeg=Character["Right Leg"]
  117. Root=Character["HumanoidRootPart"]
  118. Head=Character["Head"]
  119. Torso=Character["Torso"]
  120. Neck=Torso["Neck"]
  121. attacking = false
  122. laughing = false
  123. id = 2623171639
  124. taim = nil
  125. change = 0
  126. ws = 90
  127. hpheight = 5
  128. dedlaff = false
  129. appi = false
  130. tauntdebounce = false
  131. allowlev = true
  132. position = nil
  133. MseGuide = true
  134. running = false
  135. levitate = false
  136. settime = 0
  137. sine = 0
  138. t = 0
  139. dgs = 75
  140.  
  141. RunSrv = game:GetService("RunService")
  142. RenderStepped = game:GetService("RunService").Heartbeat
  143. removeuseless = game:GetService("Debris")
  144. local soundtable = {2638719005,2638719700,2638743317,2638744272,2638751297,2638751506,2638769242,2638769810,2638770257,2638777924}
  145. local holywrathcolors = {"Really red","Bright orange"}
  146. rdnm = #soundtable
  147. hwc = #holywrathcolors
  148.  
  149. screenGui = Instance.new("ScreenGui")
  150. screenGui.Parent = script.Parent
  151.  
  152. local HEADLERP = Instance.new("ManualWeld")
  153. HEADLERP.Parent = Head
  154. HEADLERP.Part0 = Head
  155. HEADLERP.Part1 = Head
  156. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  157.  
  158. local TORSOLERP = Instance.new("ManualWeld")
  159. TORSOLERP.Parent = Root
  160. TORSOLERP.Part0 = Torso
  161. TORSOLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  162.  
  163. local ROOTLERP = Instance.new("ManualWeld")
  164. ROOTLERP.Parent = Root
  165. ROOTLERP.Part0 = Root
  166. ROOTLERP.Part1 = Torso
  167. ROOTLERP.C0 = CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  168.  
  169. local RIGHTARMLERP = Instance.new("ManualWeld")
  170. RIGHTARMLERP.Parent = RightArm
  171. RIGHTARMLERP.Part0 = RightArm
  172. RIGHTARMLERP.Part1 = Torso
  173. RIGHTARMLERP.C0 = CFrame.new(-1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  174.  
  175. local LEFTARMLERP = Instance.new("ManualWeld")
  176. LEFTARMLERP.Parent = LeftArm
  177. LEFTARMLERP.Part0 = LeftArm
  178. LEFTARMLERP.Part1 = Torso
  179. LEFTARMLERP.C0 = CFrame.new(1.5, 0, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  180.  
  181. local RIGHTLEGLERP = Instance.new("ManualWeld")
  182. RIGHTLEGLERP.Parent = RightLeg
  183. RIGHTLEGLERP.Part0 = RightLeg
  184. RIGHTLEGLERP.Part1 = Torso
  185. RIGHTLEGLERP.C0 = CFrame.new(-0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  186.  
  187. local LEFTLEGLERP = Instance.new("ManualWeld")
  188. LEFTLEGLERP.Parent = LeftLeg
  189. LEFTLEGLERP.Part0 = LeftLeg
  190. LEFTLEGLERP.Part1 = Torso
  191. LEFTLEGLERP.C0 = CFrame.new(0.5, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  192.  
  193. local function weldBetween(a, b)
  194. local weld = Instance.new("ManualWeld", a)
  195. weld.Part0 = a
  196. weld.Part1 = b
  197. weld.C0 = a.CFrame:inverse() * b.CFrame
  198. return weld
  199. end
  200.  
  201. function MAKETRAIL(PARENT,POSITION1,POSITION2,LIFETIME,COLOR)
  202. A = Instance.new("Attachment", PARENT)
  203. A.Position = POSITION1
  204. A.Name = "A"
  205. B = Instance.new("Attachment", PARENT)
  206. B.Position = POSITION2
  207. B.Name = "B"
  208. tr1 = Instance.new("Trail", PARENT)
  209. tr1.Attachment0 = A
  210. tr1.Attachment1 = B
  211. tr1.Enabled = true
  212. tr1.Lifetime = LIFETIME
  213. tr1.TextureMode = "Static"
  214. tr1.LightInfluence = 0
  215. tr1.Color = COLOR
  216. tr1.Transparency = NumberSequence.new(0, 1)
  217. end
  218.  
  219. coroutine.wrap(function()
  220. while wait() do
  221. hum.WalkSpeed = ws
  222. Head.face.Texture = "rbxassetid://1322462890"
  223. LeftArm.BrickColor = BrickColor.new("Olivine")
  224. RightArm.BrickColor = BrickColor.new("Olivine")
  225. Head.BrickColor = BrickColor.new("Olivine")
  226. end
  227. end)()
  228. godmode = coroutine.wrap(function()
  229. for i,v in pairs(Character:GetChildren()) do
  230. if v:IsA("BasePart") and v ~= Root then
  231. v.Anchored = false
  232. end
  233. end
  234. while true do
  235. hum.MaxHealth = math.huge
  236. wait(0.0000001)
  237. hum.Health = math.huge
  238. wait()
  239. end
  240. end)
  241. godmode()
  242. ff = Instance.new("ForceField", Character)
  243. ff.Visible = false
  244.  
  245. coroutine.wrap(function()
  246. for i,v in pairs(Character:GetChildren()) do
  247. if v.Name == "Animate" then v:Remove()
  248. end
  249. end
  250. end)()
  251.  
  252. for _,n in pairs(Character:GetChildren()) do
  253. if n:IsA("Accessory") then n:Remove() end
  254. end
  255. for _,x in pairs(Character:GetChildren()) do
  256. if x:IsA("Decal") then x:Remove() end
  257. end
  258.  
  259. hair = Instance.new("Part",Character)
  260. hair.Size = Vector3.new(2,2,2)
  261. hair.CFrame = hair.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.85,0)
  262. hair.Anchored = false
  263. hair.Name = "hair"
  264. hair.BrickColor = BrickColor.new("Lily white")
  265. hairmesh = Instance.new("SpecialMesh", hair)
  266. hairmesh.MeshType = "FileMesh"
  267. hairmesh.Scale = Vector3.new(5.839, 5.737, 5.947)
  268. hairmesh.MeshId = "rbxassetid://568050133"
  269. hairweld = weldBetween(hair,Head)
  270. hairweld.C0 = hair.CFrame:inverse() * Head.CFrame * CFrame.new(.055,-.9,-.4)
  271.  
  272. ears = Instance.new("Part",Character)
  273. ears.Size = Vector3.new(2,2,2)
  274. ears.CFrame = ears.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.85,0)
  275. ears.Anchored = false
  276. ears.Name = "ears"
  277. ears.BrickColor = BrickColor.new("Olivine")
  278. earsmesh = Instance.new("SpecialMesh", ears)
  279. earsmesh.MeshType = "FileMesh"
  280. earsmesh.Scale = Vector3.new(1,1,1.1)
  281. earsmesh.MeshId = "rbxassetid://19383407"
  282. earsweld = weldBetween(ears,Head)
  283. earsweld.C0 = ears.CFrame:inverse() * Head.CFrame * CFrame.new(0,0,0)
  284.  
  285. potara = Instance.new("Part",Character)
  286. potara.Size = Vector3.new(2,2,2)
  287. potara.CFrame = potara.CFrame:inverse() * Head.CFrame * CFrame.new(0,-.85,0)
  288. potara.Anchored = false
  289. potara.Name = "ears"
  290. potara.BrickColor = BrickColor.new("Gold")
  291. potaramesh = Instance.new("SpecialMesh", potara)
  292. potaramesh.MeshType = "FileMesh"
  293. potaramesh.Scale = Vector3.new(1,1,1)
  294. potaramesh.MeshId = "rbxassetid://2623281326"
  295. potaraweld = weldBetween(potara,Head)
  296. potaraweld.C0 = potara.CFrame:inverse() * Head.CFrame * CFrame.new(0,.25,0)
  297.  
  298. halo = Instance.new("Part",Character)
  299. halo.Size = Vector3.new(2,2,2)
  300. halo.CFrame = Root.CFrame * CFrame.new(0,0,2)
  301. halo.Anchored = false
  302. halo.Name = "halo"
  303. halo.Transparency = 1
  304. halo.BrickColor = BrickColor.new("White")
  305. halo.Material = "Neon"
  306. halomesh = Instance.new("SpecialMesh", halo)
  307. halomesh.MeshType = "FileMesh"
  308. halomesh.Scale = Vector3.new(11,11,11)
  309. halomesh.MeshId = "rbxassetid://2621604441"
  310. haloweld = weldBetween(halo,Torso)
  311. haloweld.C0 = CFrame.new(0,-4.5,-2)
  312.  
  313. shirt = Instance.new("Shirt", Character)
  314. shirt.Name = "Shirt"
  315. pants = Instance.new("Pants", Character)
  316. pants.Name = "Pants"
  317. Character.Shirt.ShirtTemplate = "http://www.roblox.com/asset/?id=715059748"
  318. Character.Pants.PantsTemplate = "http://www.roblox.com/asset/?id=745414427"
  319.  
  320. function damagealll(Radius,Position)
  321. local Returning = {}
  322. for _,v in pairs(workspace:GetChildren()) do
  323. if v~=Character and v:FindFirstChildOfClass('Humanoid') and v:FindFirstChild('Torso') or v:FindFirstChild('UpperTorso') then
  324. if v:FindFirstChild("Torso") then
  325. local Mag = (v.Torso.Position - Position).magnitude
  326. if Mag < Radius then
  327. table.insert(Returning,v)
  328. end
  329. elseif v:FindFirstChild("UpperTorso") then
  330. local Mag = (v.UpperTorso.Position - Position).magnitude
  331. if Mag < Radius then
  332. table.insert(Returning,v)
  333. end
  334. end
  335. end
  336. end
  337. return Returning
  338. end
  339.  
  340. ArtificialHB = Instance.new("BindableEvent", script)
  341. ArtificialHB.Name = "Heartbeat"
  342. script:WaitForChild("Heartbeat")
  343.  
  344. frame = 1 / 60
  345. tf = 0
  346. allowframeloss = false
  347. tossremainder = false
  348.  
  349.  
  350. lastframe = tick()
  351. script.Heartbeat:Fire()
  352.  
  353.  
  354. game:GetService("RunService").Heartbeat:connect(function(s, p)
  355. tf = tf + s
  356. if tf >= frame then
  357. if allowframeloss then
  358. script.Heartbeat:Fire()
  359. lastframe = tick()
  360. else
  361. for i = 1, math.floor(tf / frame) do
  362. script.Heartbeat:Fire()
  363. end
  364. lastframe = tick()
  365. end
  366. if tossremainder then
  367. tf = 0
  368. else
  369. tf = tf - frame * math.floor(tf / frame)
  370. end
  371. end
  372. end)
  373.  
  374. function swait(num)
  375. if num == 0 or num == nil then
  376. game:service("RunService").Stepped:wait(0)
  377. else
  378. for i = 0, num do
  379. game:service("RunService").Stepped:wait(0)
  380. end
  381. end
  382. end
  383.  
  384. doomtheme = Instance.new("Sound", Torso)
  385. doomtheme.Volume = 3
  386. doomtheme.Name = "doomtheme"
  387. doomtheme.Looped = true
  388. doomtheme.SoundId = "rbxassetid://"..id
  389. doomtheme:Play()
  390.  
  391. Aura = Instance.new("Sound",Torso)
  392. Aura.Volume = 3
  393. Aura.Name = "aura"
  394. Aura.Looped = true
  395. Aura.SoundId = "rbxassetid://2643712818"
  396. Aura:Play()
  397.  
  398. Powerup = Instance.new("Sound",Torso)
  399. Powerup.Volume = powvol
  400. Powerup.SoundId = "rbxassetid://2492215919"
  401. Powerup.Name = "powerup"
  402. Powerup:Play()
  403. Powerup.Looped = true
  404.  
  405. Torso.ChildRemoved:connect(function(removed)
  406. if removed.Name == "aura" then
  407. Powerup = Instance.new("Sound",Torso)
  408. Powerup.Volume = powvol
  409. Powerup.SoundId = "rbxassetid://2492215919"
  410. Powerup.Name = "powerup"
  411. Powerup:Play()
  412. Powerup.Looped = true
  413. end
  414. end)
  415.  
  416. Torso.ChildRemoved:connect(function(removed)
  417. if removed.Name == "doomtheme" then
  418. doomtheme = Instance.new("Sound",Torso)
  419. doomtheme.Volume = 3
  420. doomtheme.Name = "doomtheme"
  421. doomtheme.Looped = true
  422. doomtheme.SoundId = "rbxassetid://"..id
  423. doomtheme:Play()
  424. end
  425. end)
  426.  
  427. coroutine.wrap(function()
  428. while wait() do
  429. pcall(function()
  430. Powerup.Volume = powvol
  431. end)
  432. end
  433. end)()
  434.  
  435. function SOUND(PARENT,ID,VOL,LOOP,REMOVE)
  436. so = Instance.new("Sound")
  437. so.Parent = PARENT
  438. so.SoundId = "rbxassetid://"..ID
  439. so.Volume = VOL
  440. so.Looped = LOOP
  441. so:Play()
  442. removeuseless:AddItem(so,REMOVE)
  443. end
  444.  
  445. particlecolor = ColorSequence.new(Color3.new(0, 5, 255))
  446.  
  447. goldpart = Instance.new("Part",RightArm)
  448. goldpart.Size = Vector3.new(1.01,2.01,1.01)
  449. goldpart.BrickColor = BrickColor.new("Gold")
  450. goldpart.Material = "Neon"
  451. goldpart.CanCollide = false
  452. goldpart.Anchored = false
  453. goldpartweld = weldBetween(goldpart,RightArm)
  454.  
  455. goldpart2 = Instance.new("Part",RightLeg)
  456. goldpart2.Size = Vector3.new(1.01,2.01,1.01)
  457. goldpart2.BrickColor = BrickColor.new("Gold")
  458. goldpart2.Material = "Neon"
  459. goldpart2.CanCollide = false
  460. goldpart2.Anchored = false
  461. goldpartweld2 = weldBetween(goldpart2,RightLeg)
  462.  
  463. goldpart3 = Instance.new("Part",LeftLeg)
  464. goldpart3.Size = Vector3.new(1.01,2.01,1.01)
  465. goldpart3.BrickColor = BrickColor.new("Gold")
  466. goldpart3.Material = "Neon"
  467. goldpart3.CanCollide = false
  468. goldpart3.Anchored = false
  469. goldpartweld3 = weldBetween(goldpart3,LeftLeg)
  470.  
  471. goldpart4 = Instance.new("Part",LeftArm)
  472. goldpart4.Size = Vector3.new(1.01,2.01,1.01)
  473. goldpart4.BrickColor = BrickColor.new("Gold")
  474. goldpart4.Material = "Neon"
  475. goldpart4.CanCollide = false
  476. goldpart4.Anchored = false
  477. goldpartweld4 = weldBetween(goldpart4,LeftArm)
  478.  
  479. goldpart5 = Instance.new("Part",Torso)
  480. goldpart5.Size = Vector3.new(2.01,2.01,1.01)
  481. goldpart5.BrickColor = BrickColor.new("Gold")
  482. goldpart5.Material = "Neon"
  483. goldpart5.CanCollide = false
  484. goldpart5.Anchored = false
  485. goldpartweld5 = weldBetween(goldpart5,Torso)
  486.  
  487.  
  488. Root.CFrame = Root.CFrame * CFrame.new(0,15,0) --intro
  489. hum.HipHeight = 14.5
  490. spinny = 0
  491. for i = 1, 400 do
  492. spinny = spinny + 4
  493. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,math.rad(0+spinny),0),.4)
  494. hum.HipHeight = hum.HipHeight - .025
  495. swait()
  496. end
  497. local zamasuintro = Instance.new("Sound",Head)
  498. zamasuintro.SoundId = "rbxassetid://2623121645"
  499. zamasuintro.Volume = 7
  500. zamasuintro:Play()
  501. removeuseless:AddItem(zamasuintro,10)
  502. for i = 1, 50 do
  503. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2)
  504. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  505. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  506. swait()
  507. end
  508. for i = 1, 50 do
  509. coroutine.wrap(function()
  510. local sk = Instance.new("Part",Torso)
  511. sk.CanCollide = false
  512. sk.Anchored = true
  513. sk.BrickColor = BrickColor.new("Gold")
  514. sk.Name = "sk"
  515. sk.CFrame = Torso.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  516. local skmesh = Instance.new("SpecialMesh",sk)
  517. skmesh.MeshId = "rbxassetid://662586858"
  518. skmesh.Name = "wave"
  519. skmesh.Scale = Vector3.new(.01,.001,.01)
  520. for i = 1, 20 do
  521. skmesh.Scale = skmesh.Scale + Vector3.new(.04,0,.04)
  522. sk.Transparency = sk.Transparency + .05
  523. swait()
  524. end
  525. sk:Remove()
  526. end)()
  527. coroutine.wrap(function()
  528. local wshockwave = Instance.new("Part", Torso)
  529. wshockwave.Size = Vector3.new(1,1,1)
  530. wshockwave.CanCollide = false
  531. wshockwave.Anchored = true
  532. wshockwave.Transparency = .45
  533. wshockwave.BrickColor = BrickColor.new("Gold")
  534. wshockwave.CFrame = CFrame.new(Torso.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  535. local wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
  536. wshockwavemesh.Scale = Vector3.new(1,.05,1)
  537. wshockwavemesh.Name = "wswm"
  538. wshockwavemesh.MeshId = "rbxassetid://20329976"
  539. removeuseless:AddItem(wshockwave,2)
  540. for i = 1, 20 do
  541. wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(4,0,4)
  542. wshockwave.Transparency = wshockwave.Transparency + .05
  543. swait()
  544. end
  545. wshockwave:Remove()
  546. end)()
  547. coroutine.wrap(function()
  548. goldpart.Anchored = true
  549. goldpart.Size = goldpart.Size + Vector3.new(.5,.5,.5)
  550. goldpart.Transparency = goldpart.Transparency + .05
  551. goldpart2.Anchored = true
  552. goldpart2.Size = goldpart2.Size + Vector3.new(.5,.5,.5)
  553. goldpart2.Transparency = goldpart2.Transparency + .05
  554. goldpart3.Anchored = true
  555. goldpart3.Size = goldpart3.Size + Vector3.new(.5,.5,.5)
  556. goldpart3.Transparency = goldpart3.Transparency + .035
  557. goldpart4.Anchored = true
  558. goldpart4.Size = goldpart4.Size + Vector3.new(.5,.5,.5)
  559. goldpart4.Transparency = goldpart4.Transparency + .05
  560. goldpart5.Anchored = true
  561. goldpart5.Size = goldpart5.Size + Vector3.new(.5,.5,.5)
  562. goldpart5.Transparency = goldpart5.Transparency + .05
  563. end)()
  564. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2)
  565. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  566. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  567. swait()
  568. end
  569. coroutine.wrap(function()
  570. goldpart:Remove()
  571. goldpart2:Remove()
  572. goldpart3:Remove()
  573. goldpart4:Remove()
  574. goldpart5:Remove()
  575. end)()
  576. coroutine.wrap(function()
  577. o1 = Instance.new("ParticleEmitter",Head)
  578. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  579. o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826)
  580. o1.LightEmission = 0.30000001192093
  581. o1.Texture = "rbxassetid://243740013"
  582. o1.ZOffset = 1
  583. o1.Lifetime = NumberRange.new(2,2)
  584. o1.Rate = 75
  585. o1.RotSpeed = NumberRange.new(-100,100)
  586. o1.Speed = NumberRange.new(0,0)
  587. o1.VelocitySpread = 15
  588.  
  589. o1 = Instance.new("ParticleEmitter",Torso)
  590. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  591. o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826)
  592. o1.LightEmission = 0.30000001192093
  593. o1.Texture = "rbxassetid://243740013"
  594. o1.ZOffset = 1
  595. o1.Lifetime = NumberRange.new(2,2)
  596. o1.Rate = 75
  597. o1.RotSpeed = NumberRange.new(-100,100)
  598. o1.Speed = NumberRange.new(0,0)
  599. o1.VelocitySpread = 15
  600.  
  601. o1 = Instance.new("ParticleEmitter",RightArm)
  602. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  603. o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826)
  604. o1.LightEmission = 0.30000001192093
  605. o1.Texture = "rbxassetid://243740013"
  606. o1.ZOffset = 1
  607. o1.Lifetime = NumberRange.new(2,2)
  608. o1.Rate = 75
  609. o1.RotSpeed = NumberRange.new(-100,100)
  610. o1.Speed = NumberRange.new(0,0)
  611. o1.VelocitySpread = 15
  612.  
  613. o1 = Instance.new("ParticleEmitter",LeftArm)
  614. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  615. o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826)
  616. o1.LightEmission = 0.30000001192093
  617. o1.Texture = "rbxassetid://243740013"
  618. o1.ZOffset = 1
  619. o1.Lifetime = NumberRange.new(2,2)
  620. o1.Rate = 75
  621. o1.RotSpeed = NumberRange.new(-100,100)
  622. o1.Speed = NumberRange.new(0,0)
  623. o1.VelocitySpread = 15
  624.  
  625. o1 = Instance.new("ParticleEmitter",LeftLeg)
  626. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  627. o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826)
  628. o1.LightEmission = 0.30000001192093
  629. o1.Texture = "rbxassetid://243740013"
  630. o1.ZOffset = 1
  631. o1.Lifetime = NumberRange.new(2,2)
  632. o1.Rate = 75
  633. o1.RotSpeed = NumberRange.new(-100,100)
  634. o1.Speed = NumberRange.new(0,0)
  635. o1.VelocitySpread = 15
  636.  
  637. o1 = Instance.new("ParticleEmitter",RightLeg)
  638. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  639. o1.Size = NumberSequence.new(0.0099999997764826,0.0099999997764826)
  640. o1.LightEmission = 0.30000001192093
  641. o1.Texture = "rbxassetid://243740013"
  642. o1.ZOffset = 1
  643. o1.Lifetime = NumberRange.new(2,2)
  644. o1.Rate = 75
  645. o1.RotSpeed = NumberRange.new(-100,100)
  646. o1.Speed = NumberRange.new(0,0)
  647. o1.VelocitySpread = 15
  648.  
  649. o1 = Instance.new("ParticleEmitter",Head)
  650. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  651. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  652. o1.LightEmission = 0.30000001192093
  653. o1.Texture = "rbxassetid://242102147"
  654. o1.ZOffset = -2
  655. o1.Lifetime = NumberRange.new(2,2)
  656. o1.Rate = 50
  657. o1.RotSpeed = NumberRange.new(-100,100)
  658. o1.Speed = NumberRange.new(0,0)
  659. o1.VelocitySpread = 15
  660. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  661.  
  662. o1 = Instance.new("ParticleEmitter",RightArm)
  663. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  664. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  665. o1.LightEmission = 0.30000001192093
  666. o1.Texture = "rbxassetid://242102147"
  667. o1.ZOffset = -2
  668. o1.Lifetime = NumberRange.new(2,2)
  669. o1.Rate = 50
  670. o1.RotSpeed = NumberRange.new(-100,100)
  671. o1.Speed = NumberRange.new(0,0)
  672. o1.VelocitySpread = 15
  673. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  674.  
  675. o1 = Instance.new("ParticleEmitter",LeftArm)
  676. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  677. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  678. o1.LightEmission = 0.30000001192093
  679. o1.Texture = "rbxassetid://242102147"
  680. o1.ZOffset = -2
  681. o1.Lifetime = NumberRange.new(2,2)
  682. o1.Rate = 50
  683. o1.RotSpeed = NumberRange.new(-100,100)
  684. o1.Speed = NumberRange.new(0,0)
  685. o1.VelocitySpread = 15
  686. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  687.  
  688. o1 = Instance.new("ParticleEmitter",Torso)
  689. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  690. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  691. o1.LightEmission = 0.30000001192093
  692. o1.Texture = "rbxassetid://242102147"
  693. o1.ZOffset = -2
  694. o1.Lifetime = NumberRange.new(2,2)
  695. o1.Rate = 50
  696. o1.RotSpeed = NumberRange.new(-100,100)
  697. o1.Speed = NumberRange.new(0,0)
  698. o1.VelocitySpread = 15
  699. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  700.  
  701. o1 = Instance.new("ParticleEmitter",RightLeg)
  702. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  703. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  704. o1.LightEmission = 0.30000001192093
  705. o1.Texture = "rbxassetid://242102147"
  706. o1.ZOffset = -2
  707. o1.Lifetime = NumberRange.new(2,2)
  708. o1.Rate = 50
  709. o1.RotSpeed = NumberRange.new(-100,100)
  710. o1.Speed = NumberRange.new(0,0)
  711. o1.VelocitySpread = 15
  712. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  713.  
  714. o1 = Instance.new("ParticleEmitter",LeftLeg)
  715. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  716. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  717. o1.LightEmission = 0.30000001192093
  718. o1.Texture = "rbxassetid://242102147"
  719. o1.ZOffset = -2
  720. o1.Lifetime = NumberRange.new(2,2)
  721. o1.Rate = 50
  722. o1.RotSpeed = NumberRange.new(-100,100)
  723. o1.Speed = NumberRange.new(0,0)
  724. o1.VelocitySpread = 15
  725. o1.Color = ColorSequence.new(Color3.new(1, 1, 1),Color3.new(0, 0.666667, 1),Color3.new(0, 1, 0),Color3.new(1, 0, 1),Color3.new(1, 1, 1))
  726.  
  727. o1 = Instance.new("ParticleEmitter",Head)
  728. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  729. o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093)
  730. o1.LightEmission = 0.30000001192093
  731. o1.Texture = "rbxassetid://242102147"
  732. o1.ZOffset = -3
  733. o1.Lifetime = NumberRange.new(2,2)
  734. o1.Rate = 50
  735. o1.RotSpeed = NumberRange.new(-100,100)
  736. o1.Speed = NumberRange.new(0,0)
  737. o1.VelocitySpread = 15
  738.  
  739. o1 = Instance.new("ParticleEmitter",Torso)
  740. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  741. o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093)
  742. o1.LightEmission = 0.30000001192093
  743. o1.Texture = "rbxassetid://242102147"
  744. o1.ZOffset = -3
  745. o1.Lifetime = NumberRange.new(2,2)
  746. o1.Rate = 50
  747. o1.RotSpeed = NumberRange.new(-100,100)
  748. o1.Speed = NumberRange.new(0,0)
  749. o1.VelocitySpread = 15
  750.  
  751. o1 = Instance.new("ParticleEmitter",RightArm)
  752. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  753. o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093)
  754. o1.LightEmission = 0.30000001192093
  755. o1.Texture = "rbxassetid://242102147"
  756. o1.ZOffset = -3
  757. o1.Lifetime = NumberRange.new(2,2)
  758. o1.Rate = 50
  759. o1.RotSpeed = NumberRange.new(-100,100)
  760. o1.Speed = NumberRange.new(0,0)
  761. o1.VelocitySpread = 15
  762.  
  763. o1 = Instance.new("ParticleEmitter",LeftArm)
  764. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  765. o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093)
  766. o1.LightEmission = 0.30000001192093
  767. o1.Texture = "rbxassetid://242102147"
  768. o1.ZOffset = -3
  769. o1.Lifetime = NumberRange.new(2,2)
  770. o1.Rate = 50
  771. o1.RotSpeed = NumberRange.new(-100,100)
  772. o1.Speed = NumberRange.new(0,0)
  773. o1.VelocitySpread = 15
  774.  
  775. o1 = Instance.new("ParticleEmitter",RightLeg)
  776. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  777. o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093)
  778. o1.LightEmission = 0.30000001192093
  779. o1.Texture = "rbxassetid://242102147"
  780. o1.ZOffset = -3
  781. o1.Lifetime = NumberRange.new(2,2)
  782. o1.Rate = 50
  783. o1.RotSpeed = NumberRange.new(-100,100)
  784. o1.Speed = NumberRange.new(0,0)
  785. o1.VelocitySpread = 15
  786.  
  787. o1 = Instance.new("ParticleEmitter",LeftLeg)
  788. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  789. o1.Size = NumberSequence.new(0.80000001192093,0.80000001192093)
  790. o1.LightEmission = 0.30000001192093
  791. o1.Texture = "rbxassetid://242102147"
  792. o1.ZOffset = -3
  793. o1.Lifetime = NumberRange.new(2,2)
  794. o1.Rate = 50
  795. o1.RotSpeed = NumberRange.new(-100,100)
  796. o1.Speed = NumberRange.new(0,0)
  797. o1.VelocitySpread = 15
  798.  
  799. o1 = Instance.new("ParticleEmitter",Head)
  800. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  801. o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186)
  802. o1.LightEmission = 0.30000001192093
  803. o1.Texture = "rbxassetid://242102147"
  804. o1.ZOffset = -1
  805. o1.Lifetime = NumberRange.new(2,2)
  806. o1.Rate = 50
  807. o1.RotSpeed = NumberRange.new(-100,100)
  808. o1.Speed = NumberRange.new(0,0)
  809. o1.VelocitySpread = 15
  810.  
  811. o1 = Instance.new("ParticleEmitter",Torso)
  812. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  813. o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186)
  814. o1.LightEmission = 0.30000001192093
  815. o1.Texture = "rbxassetid://242102147"
  816. o1.ZOffset = -1
  817. o1.Lifetime = NumberRange.new(2,2)
  818. o1.Rate = 50
  819. o1.RotSpeed = NumberRange.new(-100,100)
  820. o1.Speed = NumberRange.new(0,0)
  821. o1.VelocitySpread = 15
  822.  
  823. o1 = Instance.new("ParticleEmitter",RightArm)
  824. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  825. o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186)
  826. o1.LightEmission = 0.30000001192093
  827. o1.Texture = "rbxassetid://242102147"
  828. o1.ZOffset = -1
  829. o1.Lifetime = NumberRange.new(2,2)
  830. o1.Rate = 50
  831. o1.RotSpeed = NumberRange.new(-100,100)
  832. o1.Speed = NumberRange.new(0,0)
  833. o1.VelocitySpread = 15
  834.  
  835. o1 = Instance.new("ParticleEmitter",LeftArm)
  836. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  837. o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186)
  838. o1.LightEmission = 0.30000001192093
  839. o1.Texture = "rbxassetid://242102147"
  840. o1.ZOffset = -1
  841. o1.Lifetime = NumberRange.new(2,2)
  842. o1.Rate = 50
  843. o1.RotSpeed = NumberRange.new(-100,100)
  844. o1.Speed = NumberRange.new(0,0)
  845. o1.VelocitySpread = 15
  846.  
  847. o1 = Instance.new("ParticleEmitter",RightLeg)
  848. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  849. o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186)
  850. o1.LightEmission = 0.30000001192093
  851. o1.Texture = "rbxassetid://242102147"
  852. o1.ZOffset = -1
  853. o1.Lifetime = NumberRange.new(2,2)
  854. o1.Rate = 50
  855. o1.RotSpeed = NumberRange.new(-100,100)
  856. o1.Speed = NumberRange.new(0,0)
  857. o1.VelocitySpread = 15
  858.  
  859. o1 = Instance.new("ParticleEmitter",LeftLeg)
  860. o1.Transparency = NumberSequence.new(1,0.70491802692413,0.7322404384613,1)
  861. o1.Size = NumberSequence.new(0.60000002384186,0.60000002384186)
  862. o1.LightEmission = 0.30000001192093
  863. o1.Texture = "rbxassetid://242102147"
  864. o1.ZOffset = -1
  865. o1.Lifetime = NumberRange.new(2,2)
  866. o1.Rate = 50
  867. o1.RotSpeed = NumberRange.new(-100,100)
  868. o1.Speed = NumberRange.new(0,0)
  869. o1.VelocitySpread = 15
  870. end)()
  871. for i = 1, 50 do
  872. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2)
  873. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  874. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  875. swait()
  876. end
  877. for i = 1, 20 do
  878. coroutine.wrap(function()
  879. local sk = Instance.new("Part",Torso)
  880. sk.CanCollide = false
  881. sk.Anchored = true
  882. sk.BrickColor = BrickColor.new("White")
  883. sk.Name = "sk"
  884. sk.CFrame = halo.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  885. local skmesh = Instance.new("SpecialMesh",sk)
  886. skmesh.MeshId = "rbxassetid://662586858"
  887. skmesh.Name = "wave"
  888. skmesh.Scale = Vector3.new(.5,.001,.5)
  889. for i = 1, 10 do
  890. skmesh.Scale = skmesh.Scale - Vector3.new(.05,0,.05)
  891. sk.Transparency = sk.Transparency + .05
  892. swait()
  893. end
  894. sk:Remove()
  895. end)()
  896. coroutine.wrap(function()
  897. local wshockwave = Instance.new("Part", Torso)
  898. wshockwave.Size = Vector3.new(1,1,1)
  899. wshockwave.CanCollide = false
  900. wshockwave.Anchored = true
  901. wshockwave.Transparency = .45
  902. wshockwave.BrickColor = BrickColor.new("White")
  903. wshockwave.CFrame = CFrame.new(halo.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  904. local wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
  905. wshockwavemesh.Scale = Vector3.new(50,.05,50)
  906. wshockwavemesh.Name = "wswm"
  907. wshockwavemesh.MeshId = "rbxassetid://20329976"
  908. removeuseless:AddItem(wshockwave,2)
  909. for i = 1, 20 do
  910. wshockwavemesh.Scale = wshockwavemesh.Scale - Vector3.new(5,0.05,5)
  911. wshockwave.Transparency = wshockwave.Transparency + .05
  912. swait()
  913. end
  914. wshockwave:Remove()
  915. end)()
  916. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2)
  917. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  918. halomesh.Scale = halomesh.Scale - Vector3.new(.5,.5,.5)
  919. halo.Transparency = halo.Transparency - .05
  920. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.4)
  921. swait()
  922. end
  923.  
  924.  
  925. mouse.KeyDown:connect(function(Press)
  926. Press=Press:lower()
  927. if Press=='e' then
  928. if debounce then return end
  929. debounce = true
  930. attacking = true
  931. SOUND(Torso,1229838347,8,false,3)
  932. g1 = Instance.new("BodyGyro", Root)
  933. g1.D = 175
  934. g1.P = 20000
  935. g1.MaxTorque = Vector3.new(9000000,9000000,9000000)
  936. ws = 8
  937. sooht = Instance.new("Sound")
  938. sooht.SoundId = "rbxassetid://1146688617"
  939. sooht.Volume = 8
  940. coroutine.wrap(function()
  941. for i = 1, 5 do
  942. haloweld.C0 = haloweld.C0 * CFrame.new(0,-1,0)
  943. halomesh.Scale = halomesh.Scale + Vector3.new(.25,.25,.25)
  944. swait()
  945. end
  946. end)()
  947. coroutine.wrap(function()
  948. for i = 1, 15 do
  949. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(-40),math.rad(0)),.2)
  950. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  951. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  952. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  953. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(math.rad(0),math.rad(20),math.rad(-140)),.3)
  954. swait()
  955. end
  956. for i = 1, 20 do
  957. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(-0 * math.sin(sine/12)),math.rad(0)),.2)
  958. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  959. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  960. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  961. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.35, 0.4) * CFrame.Angles(math.rad(-90 - 2 * math.sin(sine/12)), math.rad(3), math.rad(4)), 0.4)
  962. swait()
  963. end
  964. end)()
  965. for i = 1, 30 do
  966. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-9.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  967. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  968. local bladeofjustice = Instance.new("Part",Torso)
  969. bladeofjustice.Anchored = true
  970. bladeofjustice.CanCollide = false
  971. bladeofjustice.Name = "blad"
  972. bladeofjustice.Transparency = 1
  973. bladeofjustice.Size = Vector3.new(1,1,1)
  974. bladeofjustice.BrickColor = BrickColor.new("Really red")
  975. bladeofjustice.Material = "Neon"
  976. bladeofjustice.CFrame = Root.CFrame * CFrame.new(math.random(-8,8),math.random(-5,5),math.random(-2,2))
  977. local bladeofjusticemesh = Instance.new("SpecialMesh",bladeofjustice)
  978. bladeofjusticemesh.MeshId = "rbxassetid://2624209310"
  979. bladeofjusticemesh.Scale = Vector3.new(1,1,1)
  980. coroutine.wrap(function()
  981. local hitted = false
  982. for i = 1, 20 do
  983. bladeofjustice.Transparency = bladeofjustice.Transparency - .05
  984. swait()
  985. end
  986. bladeofjustice.Anchored = false
  987. sooht.Parent = bladeofjustice
  988. sooht:Play()
  989. coroutine.wrap(function()
  990. for i = 1, 300 do
  991. if hitted then break end
  992. swait()
  993. end
  994. if not hitted then
  995. bladeofjustice:Remove()
  996. end
  997. end)()
  998. local bov = Instance.new("BodyVelocity",bladeofjustice)
  999. bov.maxForce = Vector3.new(99999,99999,99999)
  1000. bladeofjustice.CFrame = CFrame.new(bladeofjustice.Position,mouse.Hit.p)
  1001. bov.velocity = bladeofjustice.CFrame.lookVector*220
  1002. bladeofjustice.Touched:connect(function(hit)
  1003. if hit:IsA("Part") and hit.Parent ~= Character and hit.Name ~= "blad" and hit.Parent.Parent ~= Character then
  1004. if hitted then return end
  1005. hitted = true
  1006. bov:Remove()
  1007. bladeofjustice.Anchored = true
  1008. wait(2)
  1009. bladeofjustice.Transparency = 1
  1010. Hit = damagealll(14,bladeofjustice.Position)
  1011. for _,v in pairs(Hit) do
  1012. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1013. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1014. slachtoffer:TakeDamage(math.random(29,43))
  1015. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1016. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1017. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1018. vel.velocity = CFrame.new(bladeofjustice.Position,torso.Position).lookVector*125
  1019. removeuseless:AddItem(vel,.1)
  1020. end
  1021. end
  1022. for i = 1, 3 do
  1023. coroutine.wrap(function()
  1024. local sk = Instance.new("Part",Torso)
  1025. sk.CanCollide = false
  1026. sk.Anchored = true
  1027. sk.BrickColor = BrickColor.new("White")
  1028. sk.Name = "sk"
  1029. sk.CFrame = bladeofjustice.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1030. local skmesh = Instance.new("SpecialMesh",sk)
  1031. skmesh.MeshId = "rbxassetid://662586858"
  1032. skmesh.Name = "wave"
  1033. skmesh.Scale = Vector3.new(.01,.001,.01)
  1034. for i = 1, 20 do
  1035. skmesh.Scale = skmesh.Scale + Vector3.new(.03,0,.03)
  1036. sk.Transparency = sk.Transparency + .05
  1037. swait()
  1038. end
  1039. sk:Remove()
  1040. end)()
  1041. coroutine.wrap(function()
  1042. local wshockwave = Instance.new("Part", Torso)
  1043. wshockwave.Size = Vector3.new(1,1,1)
  1044. wshockwave.CanCollide = false
  1045. wshockwave.Anchored = true
  1046. wshockwave.Transparency = .45
  1047. wshockwave.BrickColor = BrickColor.new("White")
  1048. wshockwave.CFrame = CFrame.new(bladeofjustice.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1049. local wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
  1050. wshockwavemesh.Scale = Vector3.new(.1,.005,.1)
  1051. wshockwavemesh.Name = "wswm"
  1052. wshockwavemesh.MeshId = "rbxassetid://20329976"
  1053. removeuseless:AddItem(wshockwave,2)
  1054. for i = 1, 20 do
  1055. wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(5.5,0,5.5)
  1056. wshockwave.Transparency = wshockwave.Transparency + .05
  1057. swait()
  1058. end
  1059. wshockwave:Remove()
  1060. end)()
  1061. coroutine.wrap(function()
  1062. local exploshap = Instance.new("Part",Torso)
  1063. exploshap.Size = Vector3.new(1,1,1)
  1064. exploshap.Shape = "Ball"
  1065. exploshap.Material = "Neon"
  1066. exploshap.CFrame = bladeofjustice.CFrame
  1067. exploshap.BrickColor = BrickColor.new("Really red")
  1068. exploshap.CanCollide = false
  1069. exploshap.Anchored = true
  1070. for i = 1, 20 do
  1071. exploshap.Size = exploshap.Size + Vector3.new(2,2,2)
  1072. exploshap.Transparency = exploshap.Transparency + .05
  1073. swait()
  1074. end
  1075. bladeofjustice:Remove()
  1076. exploshap:Remove()
  1077. end)()
  1078. swait()
  1079. end
  1080. end
  1081. end)
  1082. end)()
  1083. swait(.5)
  1084. end
  1085. for i = 1, 5 do
  1086. haloweld.C0 = haloweld.C0 * CFrame.new(0,1,0)
  1087. halomesh.Scale = halomesh.Scale - Vector3.new(.25,.25,.25)
  1088. swait()
  1089. end
  1090. removeuseless:AddItem(g1,.001)
  1091. ws = 90
  1092. debounce = false
  1093. attacking = false
  1094. elseif Press=='t' then
  1095. if dedlaff then return end
  1096. if tauntdebounce == true then return end
  1097. tauntdebounce = true
  1098. rdnm = soundtable[math.random(1,#soundtable)]
  1099. tauntsound = Instance.new("Sound", Head)
  1100. tauntsound.Volume = 10
  1101. tauntsound.SoundId = "http://www.roblox.com/asset/?id="..rdnm
  1102. tauntsound.Looped = false
  1103. tauntsound:Play()
  1104. wait(3)
  1105. wait(tauntsound.TimeLength)
  1106. tauntsound:Remove()
  1107. wait(1)
  1108. tauntdebounce = false
  1109. elseif Press=='u' then
  1110. if debounce then return end
  1111. debounce = true
  1112. attacking = true
  1113. g1 = Instance.new("BodyGyro", Root)
  1114. g1.D = 175
  1115. g1.P = 20000
  1116. g1.MaxTorque = Vector3.new(0,9000000,0)
  1117. ws = 0
  1118. local FACEMYDIVINEWRATH = Instance.new("Sound",Torso)
  1119. FACEMYDIVINEWRATH.SoundId = "rbxassetid://2638717446"
  1120. FACEMYDIVINEWRATH.Volume = 10
  1121. FACEMYDIVINEWRATH:Play()
  1122. removeuseless:AddItem(FACEMYDIVINEWRATH,5)
  1123. for i = 1, 20 do
  1124. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  1125. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  1126. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  1127. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  1128. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1129. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(10),math.rad(0)),.3)
  1130. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.2, 1.5, .5) * CFrame.Angles(math.rad(-85 - 3 * math.sin(sine/12)), math.rad(40 + 5 * math.sin(sine/12)), math.rad(0)), 0.25)
  1131. swait()
  1132. end
  1133. local holywrath = Instance.new("Part",RightArm)
  1134. SOUND(holywrath,2644268083,10,false,6)
  1135. holywrath.Size = Vector3.new(.1,.1,.1)
  1136. holywrath.CanCollide = false
  1137. holywrath.Anchored = true
  1138. holywrath.BrickColor = BrickColor.new("Bright orange")
  1139. holywrath.Material = "Neon"
  1140. holywrath.Shape = "Ball"
  1141. holywrath.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2)
  1142. local holywrathaura = Instance.new("Sound",holywrath)
  1143. holywrathaura.SoundId = "rbxassetid://2643712818"
  1144. holywrathaura.Looped = true
  1145. holywrathaura.Volume = 0
  1146. holywrathaura:Play()
  1147. local holywrath2 = Instance.new("Part",RightArm)
  1148. holywrath2.Size = Vector3.new(.3,.3,.3)
  1149. holywrath2.CanCollide = false
  1150. holywrath2.Anchored = true
  1151. holywrath2.Transparency = .7
  1152. holywrath2.BrickColor = BrickColor.new("Really red")
  1153. holywrath2.Material = "Neon"
  1154. holywrath2.Shape = "Ball"
  1155. holywrath2.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2)
  1156. for i = 1, 30 do
  1157. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  1158. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  1159. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  1160. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  1161. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1162. coroutine.wrap(function()
  1163. hwc = holywrathcolors[math.random(1,#holywrathcolors)]
  1164. local energyballs = Instance.new("Part",Torso)
  1165. energyballs.BrickColor = BrickColor.new(hwc)
  1166. energyballs.Anchored = true
  1167. energyballs.CanCollide = false
  1168. energyballs.CFrame = holywrath.CFrame * CFrame.new(math.random(-4,4),math.random(-4,4),math.random(-4,4))
  1169. energyballs.Shape = "Ball"
  1170. energyballs.Material = "Neon"
  1171. energyballs.Size = Vector3.new(.4,.4,.4)
  1172. for i = 1, 10 do
  1173. energyballs.CFrame = energyballs.CFrame:lerp(CFrame.new(holywrath.Position),.3)
  1174. swait()
  1175. end
  1176. energyballs:Remove()
  1177. end)()
  1178. end
  1179. for i = 1, 20 do
  1180. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  1181. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  1182. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  1183. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  1184. holywrath2.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2)
  1185. holywrath2.Size = holywrath2.Size + Vector3.new(.1,.1,.1)
  1186. holywrath.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2)
  1187. holywrath.Size = holywrath.Size + Vector3.new(.1,.1,.1)
  1188. swait()
  1189. end
  1190. for i = 1, 10 do
  1191. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  1192. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  1193. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  1194. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  1195. holywrath2.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2)
  1196. holywrath.CFrame = rightlocation.CFrame * CFrame.new(0,0,-2)
  1197. swait()
  1198. end
  1199. enbig = 0
  1200. enbig2 = 0
  1201. enbigger = .25
  1202. SOUND(holywrath,2644340882,10,false,6)
  1203. for i = 1, 60 do
  1204. enbigger = enbigger + .02
  1205. coroutine.wrap(function()
  1206. local sk = Instance.new("Part",Torso)
  1207. sk.CanCollide = false
  1208. sk.Anchored = true
  1209. sk.BrickColor = BrickColor.new("White")
  1210. sk.Name = "sk"
  1211. sk.CFrame = holywrath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1212. local skmesh = Instance.new("SpecialMesh",sk)
  1213. skmesh.MeshId = "rbxassetid://662586858"
  1214. skmesh.Name = "wave"
  1215. skmesh.Scale = Vector3.new(.05,.005,.05)
  1216. for i = 1, 20 do
  1217. skmesh.Scale = skmesh.Scale + Vector3.new(enbigger,0,enbigger)
  1218. sk.Transparency = sk.Transparency + .05
  1219. swait()
  1220. end
  1221. sk:Remove()
  1222. end)()
  1223. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  1224. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  1225. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  1226. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  1227. holywrathaura.Volume = holywrathaura.Volume + .2
  1228. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1229. enbig = enbig + 2
  1230. enbig2 = enbig2 + 1
  1231. holywrath.Size = holywrath.Size + Vector3.new(4,4,4)
  1232. holywrath2.Size = holywrath2.Size + Vector3.new(4,4,4)
  1233. holywrath2.CFrame = rightlocation.CFrame * CFrame.new(0,-5 - enbig,-5 - enbig2)
  1234. holywrath.CFrame = rightlocation.CFrame * CFrame.new(0,-5 - enbig,-5 - enbig2)
  1235. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),math.rad(-40),math.rad(0)),.3)
  1236. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(1.22, 1.32, .4) * CFrame.Angles(math.rad(40 + 1 * math.sin(sine/5)), math.rad(3 + 1 * math.sin(sine/4)), math.rad(-160 - 2 * math.sin(sine/9))), 0.25)
  1237. swait()
  1238. end
  1239. for i = 1, 30 do
  1240. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.98,-.15,.5) * CFrame.Angles(math.rad(-70 - 5 * math.sin(sine/12)),math.rad(40 - 5 * math.sin(sine/12)),math.rad(-20)),.25)
  1241. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(25),math.rad(-50),math.rad(0)),.3)
  1242. swait()
  1243. end
  1244. local hitboxwrath = Instance.new("Part",Torso)
  1245. hitboxwrath.Size = Vector3.new(1,1,1)
  1246. hitboxwrath.CanCollide = false
  1247. hitboxwrath.Transparency = 1
  1248. hitboxwrath.Anchored = false
  1249. hitboxwrath.Name = "hb"
  1250. hitboxwrath.CFrame = holywrath.CFrame
  1251. local bov = Instance.new("BodyVelocity",hitboxwrath)
  1252. bov.maxForce = Vector3.new(99999,99999,99999)
  1253. holywrath.CFrame = CFrame.new(holywrath.Position,mouse.Hit.p)
  1254. bov.velocity = holywrath.CFrame.lookVector*60
  1255. local hitted = false
  1256. local function explo()
  1257. hitted = true
  1258. hitboxwrath.Anchored = true
  1259. SOUND(hitboxwrath,2011915907,10,false,6)
  1260. shock = holywrath:Clone() shock.Parent = Torso
  1261. coroutine.wrap(function()
  1262. for i = 1, 20 do
  1263. shock.Size = shock.Size + Vector3.new(5,5,5)
  1264. shock.Transparency = shock.Transparency + .05
  1265. swait()
  1266. end
  1267. shock:Remove()
  1268. end)()
  1269. local taks = 0
  1270. local wavebigger = true
  1271. coroutine.wrap(function()
  1272. local deadlyring = Instance.new("Part", Torso)
  1273. deadlyring.Size = Vector3.new(5, 5, 5)
  1274. deadlyring.Transparency = .5
  1275. deadlyring.BrickColor = BrickColor.new("White")
  1276. deadlyring.Anchored = true
  1277. deadlyring.CanCollide = false
  1278. deadlyring.CFrame = hitboxwrath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  1279. local deadlyringh = Instance.new("SpecialMesh", deadlyring)
  1280. deadlyringh.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1281. deadlyringh.Scale = Vector3.new(330, 330, .1)
  1282. local deadlyring2 = Instance.new("Part", Torso)
  1283. deadlyring2.Size = Vector3.new(5, 5, 5)
  1284. deadlyring2.Transparency = .5
  1285. deadlyring2.BrickColor = BrickColor.new("White")
  1286. deadlyring2.Anchored = true
  1287. deadlyring2.CanCollide = false
  1288. deadlyring2.CFrame = hitboxwrath.CFrame * CFrame.Angles(math.rad(math.random(-180,180)), math.rad(math.random(-180,180)), math.rad(math.random(-180,180)))
  1289. local deadlyringh2 = Instance.new("SpecialMesh", deadlyring2)
  1290. deadlyringh2.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1291. deadlyringh2.Scale = Vector3.new(360, 360, .1)
  1292. while wavebigger do
  1293. Hit = damagealll(187,hitboxwrath.Position)
  1294. for _,v in pairs(Hit) do
  1295. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1296. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1297. slachtoffer:TakeDamage(math.random(3,7))
  1298. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1299. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1300. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1301. vel.velocity = CFrame.new(hitboxwrath.Position,torso.Position).lookVector*330
  1302. removeuseless:AddItem(vel,.1)
  1303. end
  1304. end
  1305. deadlyring.CFrame = deadlyring.CFrame * CFrame.Angles(math.rad(0+7),math.rad(0-7),math.rad(0+7))
  1306. deadlyring2.CFrame = deadlyring2.CFrame * CFrame.Angles(math.rad(0-7),math.rad(0+7),math.rad(0-7))
  1307. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(2,2,0)
  1308. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(2,2,0)
  1309. holywrath2.Size = holywrath2.Size + Vector3.new(.25,.25,.25)
  1310. holywrath.Size = holywrath.Size + Vector3.new(.25,.25,.25)
  1311. swait()
  1312. end
  1313. for i = 1, 50 do
  1314. holywrathaura.Volume = holywrathaura.Volume - .5
  1315. deadlyringh.Scale = deadlyringh.Scale + Vector3.new(5,5,0)
  1316. deadlyringh2.Scale = deadlyringh2.Scale + Vector3.new(5,5,0)
  1317. deadlyring.Transparency = deadlyring.Transparency + .025
  1318. deadlyring2.Transparency = deadlyring2.Transparency + .025
  1319. holywrath.Transparency = holywrath.Transparency + .025
  1320. holywrath2.Transparency = holywrath2.Transparency + .025
  1321. swait()
  1322. end
  1323. holywrathaura:Remove()
  1324. hitboxwrath:Remove()
  1325. holywrath:Remove()
  1326. holywrath2:Remove()
  1327. deadlyring:Remove()
  1328. deadlyring2:Remove()
  1329. end)()
  1330. for i = 1, 150 do
  1331. taks = taks + .1
  1332. coroutine.wrap(function()
  1333. local shockwave = Instance.new("Part", Torso)
  1334. shockwave.Size = Vector3.new(1,1,1)
  1335. shockwave.CanCollide = false
  1336. shockwave.Anchored = true
  1337. shockwave.Transparency = .5
  1338. shockwave.BrickColor = BrickColor.new("White")
  1339. shockwave.CFrame = CFrame.new(hitboxwrath.Position)
  1340. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1341. shockwavemesh.Scale = Vector3.new(7,3,7)
  1342. shockwavemesh.MeshId = "rbxassetid://20329976"
  1343. local shockwave2 = Instance.new("Part", Torso)
  1344. shockwave2.Size = Vector3.new(1,1,1)
  1345. shockwave2.CanCollide = false
  1346. shockwave2.Anchored = true
  1347. shockwave2.Transparency = .5
  1348. shockwave2.BrickColor = BrickColor.new("White")
  1349. shockwave2.CFrame = CFrame.new(hitboxwrath.Position)
  1350. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1351. shockwavemesh2.Scale = Vector3.new(5,3,5)
  1352. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1353. for i = 1, 40 do
  1354. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  1355. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  1356. shockwave.Transparency = shockwave.Transparency + 0.025
  1357. shockwave2.Transparency = shockwave2.Transparency + 0.025
  1358. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(18 + taks,6 + taks/2,18 + taks)
  1359. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(18+taks,3 + taks/2,18+taks)
  1360. swait()
  1361. end
  1362. shockwave:Remove()
  1363. shockwave2:Remove()
  1364. end)()
  1365. swait(2.4)
  1366. end
  1367. wavebigger = false
  1368. end
  1369. coroutine.wrap(function()
  1370. local hitted = false
  1371. hitboxwrath.Touched:connect(function(hit)
  1372. if hit:IsA("Part") and hit.Parent ~= Character and hit.Name ~= "blad" and hit.Parent.Parent ~= Character then
  1373. if hitted then return end
  1374. explo()
  1375. end
  1376. end)
  1377. while true do
  1378. if hitted then break end
  1379. holywrath2.CFrame = hitboxwrath.CFrame
  1380. holywrath.CFrame = hitboxwrath.CFrame
  1381. swait()
  1382. end
  1383. end)()
  1384. coroutine.wrap(function()
  1385. for i = 1, 1100 do
  1386. if hitted then break end
  1387. swait()
  1388. end
  1389. if not hitted then
  1390. explo()
  1391. end
  1392. end)()
  1393. for i = 1, 22 do
  1394. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  1395. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  1396. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  1397. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  1398. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.2)
  1399. RIGHTARMLERP.C1 = RIGHTARMLERP.C1:lerp(CFrame.new(.2,.2,.2) * CFrame.Angles(0,0,0),.2)
  1400. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1, 1.1, 0.4) * CFrame.Angles(math.rad(-75), math.rad(-15), math.rad(4)), 0.2)
  1401. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  1402. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(-25),math.rad(50),math.rad(0)),.3)
  1403. swait()
  1404. end
  1405. RIGHTARMLERP.C1 = CFrame.new(0,0,0)
  1406. removeuseless:AddItem(g1,.001)
  1407. debounce = false
  1408. attacking = false
  1409. ws = 90
  1410. elseif Press=='y' then
  1411. if debounce then return end
  1412. debounce = true
  1413. attacking = true
  1414. local trev = true
  1415. change = .6
  1416. coroutine.wrap(function()
  1417. while true do
  1418. if trev == false then break end
  1419. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  1420. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(-0 * math.sin(sine/12)),math.rad(0)),.2)
  1421. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  1422. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  1423. swait()
  1424. end
  1425. end)()
  1426. ws = 0
  1427. local speech = Instance.new("Sound",Head)
  1428. speech.SoundId = "rbxassetid://2638520204"
  1429. speech.Volume = 10
  1430. speech:Play()
  1431. removeuseless:AddItem(speech,5)
  1432. coroutine.wrap(function()
  1433. for i = 1, 35 do
  1434. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(100)), 0.25)
  1435. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-0.4, 2, 0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(-100)), 0.25)
  1436. swait()
  1437. end
  1438. end)()
  1439. coroutine.wrap(function()
  1440. local blwav = Instance.new("Part",Torso)
  1441. blwav.Size = Vector3.new(1,1,1)
  1442. blwav.Shape = "Ball"
  1443. blwav.BrickColor = BrickColor.new("Dark blue")
  1444. blwav.CanCollide = false
  1445. blwav.CFrame = Root.CFrame
  1446. blwav.Anchored = true
  1447. blwav.Material = "Neon"
  1448. for i = 1, 50 do
  1449. blwav.Size = blwav.Size + Vector3.new(4,4,4)
  1450. blwav.Transparency = blwav.Transparency + .05
  1451. swait()
  1452. end
  1453. blwav:Remove()
  1454. end)()
  1455. eagle = Instance.new("Part", Torso)
  1456. eagle.Size = Vector3.new(1,1,1)
  1457. eagle.CanCollide = false
  1458. eagle.Anchored = false
  1459. eagle.Material = "Neon"
  1460. eagle.Transparency = .58
  1461. eagle.BrickColor = BrickColor.new("Dark blue")
  1462. eagle.CFrame = CFrame.new(halo.Position) * CFrame.new(0,115,0) * CFrame.Angles(math.rad(90),0,0)
  1463. local eaglemesh = Instance.new("SpecialMesh", eagle)
  1464. eaglemesh.MeshId = "rbxassetid://120647529"
  1465. eaglemesh.Scale = Vector3.new(0,0,0)
  1466. eagleweld = weldBetween(eagle,Root)
  1467. eagleweld.C0 = CFrame.new(0,0,105) * CFrame.Angles(math.rad(-90),0,0)
  1468. local eagle2 = Instance.new("Part", Torso)
  1469. eagle2.Size = Vector3.new(1,1,1)
  1470. eagle2.CanCollide = false
  1471. eagle2.Anchored = false
  1472. eagle2.Material = "Neon"
  1473. eagle2.Transparency = .49
  1474. eagle2.BrickColor = BrickColor.new("Pastel violet")
  1475. eagle2.CFrame = CFrame.new(halo.Position) * CFrame.new(0,115,0) * CFrame.Angles(math.rad(90),0,0)
  1476. local eaglemesh2 = Instance.new("SpecialMesh", eagle2)
  1477. eaglemesh2.MeshId = "rbxassetid://120647529"
  1478. eaglemesh2.Scale = Vector3.new(0,0,0)
  1479. eagleweld2 = weldBetween(eagle2,Root)
  1480. eagleweld2.C0 = CFrame.new(0,0,105) * CFrame.Angles(math.rad(-90),0,0)
  1481. local eagle3 = Instance.new("Part", Torso)
  1482. eagle3.Size = Vector3.new(1,1,1)
  1483. eagle3.CanCollide = false
  1484. eagle3.Anchored = false
  1485. eagle3.Material = "Neon"
  1486. eagle3.Transparency = .65
  1487. eagle3.BrickColor = BrickColor.new("Mulberry")
  1488. eagle3.CFrame = CFrame.new(halo.Position) * CFrame.new(0,115,0) * CFrame.Angles(math.rad(90),0,0)
  1489. local eaglemesh3 = Instance.new("SpecialMesh", eagle3)
  1490. eaglemesh3.MeshId = "rbxassetid://120647529"
  1491. eaglemesh3.Scale = Vector3.new(0,0,0)
  1492. eagleweld3 = weldBetween(eagle3,Root)
  1493. eagleweld3.C0 = CFrame.new(0,0,105) * CFrame.Angles(math.rad(-90),0,0)
  1494. circlelocation = Instance.new("Part",Torso)
  1495. circlelocation.Size = Vector3.new(1,1,1)
  1496. circlelocation.CFrame = Root.CFrame
  1497. circlelocation.Anchored = false
  1498. circlelocation.Transparency = 1
  1499. circlelocation.CanCollide = false
  1500. circlelocationweld = weldBetween(circlelocation,Root)
  1501. circlelocationweld.C0 = CFrame.new(0,-56,-15)
  1502. lighttable = {}
  1503. val = 0
  1504. for i = 1, 250 do
  1505. val = val + 5
  1506. lightpart = Instance.new("Part",Torso)
  1507. lightpart.Anchored = false
  1508. lightpart.CanCollide = false
  1509. lightpart.Size = Vector3.new(2,.5,2.35)
  1510. lightpart.Material = "Neon"
  1511. lightpart.Transparency = 1
  1512. lightpart.BrickColor = BrickColor.new("Gold")
  1513. lightpartweld = weldBetween(lightpart,circlelocation)
  1514. lightpartweld.C0 = CFrame.new(25,0,0) * CFrame.Angles(0,math.rad(val),0)
  1515. table.insert(lighttable,lightpart)
  1516. end
  1517. coroutine.wrap(function()
  1518. wait(1.76)
  1519. for i = 1, 120 do
  1520. for i,v in pairs(lighttable) do
  1521. v.Transparency = v.Transparency - .01
  1522. end
  1523. swait()
  1524. end
  1525. end)()
  1526. introvog = true
  1527. coroutine.wrap(function()
  1528. for i = 1, 63 do
  1529. eaglemesh3.Scale = eaglemesh3.Scale + Vector3.new(0,1,1)
  1530. swait()
  1531. end
  1532. for i = 1, 32 do
  1533. eaglemesh3.Scale = eaglemesh3.Scale + Vector3.new(2,0,0)
  1534. swait()
  1535. end
  1536. for i = 1, 50 do
  1537. hum.CameraOffset = Vector3.new(math.random(-2,2),math.random(-2,2),math.random(-2,2))
  1538. coroutine.wrap(function()
  1539. local wshockwave = Instance.new("Part", Torso)
  1540. wshockwave.Size = Vector3.new(1,1,1)
  1541. wshockwave.CanCollide = false
  1542. wshockwave.Anchored = true
  1543. wshockwave.Transparency = .45
  1544. wshockwave.BrickColor = BrickColor.new("White")
  1545. wshockwave.CFrame = CFrame.new(eagle.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1546. local wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
  1547. wshockwavemesh.Scale = Vector3.new(1,.005,1)
  1548. wshockwavemesh.Name = "wswm"
  1549. wshockwavemesh.MeshId = "rbxassetid://20329976"
  1550. removeuseless:AddItem(wshockwave,2)
  1551. for i = 1, 20 do
  1552. wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(29.5,0,29.5)
  1553. wshockwave.Transparency = wshockwave.Transparency + .05
  1554. swait()
  1555. end
  1556. wshockwave:Remove()
  1557. end)()
  1558. coroutine.wrap(function()
  1559. local sk = Instance.new("Part",Torso)
  1560. sk.CanCollide = false
  1561. sk.Anchored = true
  1562. sk.BrickColor = BrickColor.new("White")
  1563. sk.Name = "sk"
  1564. sk.CFrame = eagle.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1565. local skmesh = Instance.new("SpecialMesh",sk)
  1566. skmesh.MeshId = "rbxassetid://662586858"
  1567. skmesh.Name = "wave"
  1568. skmesh.Scale = Vector3.new(.05,.005,.05)
  1569. for i = 1, 20 do
  1570. skmesh.Scale = skmesh.Scale + Vector3.new(.25,0,.25)
  1571. sk.Transparency = sk.Transparency + .05
  1572. swait()
  1573. end
  1574. sk:Remove()
  1575. end)()
  1576. swait()
  1577. end
  1578. introvog = false
  1579. hum.CameraOffset = Vector3.new(0,0,0)
  1580. end)()
  1581. coroutine.wrap(function()
  1582. for i = 1, 54 do
  1583. eaglemesh2.Scale = eaglemesh2.Scale + Vector3.new(0,1,1)
  1584. swait()
  1585. end
  1586. local eaglesound = Instance.new("Sound",eagle)
  1587. eaglesound.SoundId = "rbxassetid://923172614"
  1588. eaglesound.Volume = 10
  1589. eaglesound:Play()
  1590. removeuseless:AddItem(eaglesound,5)
  1591. for i = 1, 27 do
  1592. eaglemesh2.Scale = eaglemesh2.Scale + Vector3.new(2,0,0)
  1593. swait()
  1594. end
  1595. end)()
  1596. coroutine.wrap(function()
  1597. for i = 1, 59 do
  1598. eaglemesh.Scale = eaglemesh.Scale + Vector3.new(0,1,1)
  1599. swait()
  1600. end
  1601. for i = 1, 30 do
  1602. eaglemesh.Scale = eaglemesh.Scale + Vector3.new(2,0,0)
  1603. swait()
  1604. end
  1605. end)()
  1606. while wait() do
  1607. if introvog == false then break end
  1608. end
  1609. bleedattacking = true
  1610. g1 = Instance.new("BodyGyro", Root)
  1611. g1.D = 175
  1612. g1.P = 20000
  1613. g1.MaxTorque = Vector3.new(0,9000000,0)
  1614. coroutine.wrap(function()
  1615. while bleedattacking do
  1616. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,mouse.Hit.p),.155)
  1617. swait()
  1618. end
  1619. removeuseless:AddItem(g1,.001)
  1620. end)()
  1621. coroutine.wrap(function()
  1622. local lnt = Instance.new("Sound",eagle)
  1623. lnt.SoundId = "rbxassetid://224339201"
  1624. lnt.Volume = 10
  1625. lnt:Play()
  1626. removeuseless:AddItem(lnt,5)
  1627. wait(.3)
  1628. local lnt2 = Instance.new("Sound",eagle)
  1629. lnt2.SoundId = "rbxassetid://1539349118"
  1630. lnt2.Volume = 10
  1631. lnt2:Play()
  1632. removeuseless:AddItem(lnt2,5)
  1633. end)()
  1634. for i = 1, 10 do
  1635. local bladeofjustice = Instance.new("Part",Torso)
  1636. bladeofjustice.Anchored = true
  1637. bladeofjustice.CanCollide = false
  1638. bladeofjustice.Name = "blad"
  1639. bladeofjustice.Transparency = 1
  1640. bladeofjustice.Size = Vector3.new(2,2,2)
  1641. bladeofjustice.BrickColor = BrickColor.new("Pastel violet")
  1642. bladeofjustice.Material = "Neon"
  1643. bladeofjustice.CFrame = eagle.CFrame * CFrame.new(math.random(-139,139),math.random(-39,39),math.random(-15,15))
  1644. local bladeofjusticemesh = Instance.new("SpecialMesh",bladeofjustice)
  1645. bladeofjusticemesh.MeshId = "rbxassetid://2624209310"
  1646. bladeofjusticemesh.Scale = Vector3.new(10,10,10)
  1647. local particlecolor = ColorSequence.new(Color3.new(255, 255, 255))
  1648. local blwav = Instance.new("Part",Torso)
  1649. blwav.Size = Vector3.new(1,1,1)
  1650. blwav.Shape = "Ball"
  1651. blwav.BrickColor = BrickColor.new("Dark blue")
  1652. blwav.CanCollide = false
  1653. blwav.CFrame = bladeofjustice.CFrame
  1654. blwav.Anchored = true
  1655. blwav.Material = "Neon"
  1656. blwav.Size = blwav.Size + Vector3.new(4,4,4)
  1657. blwav.Transparency = blwav.Transparency + .05
  1658. coroutine.wrap(function()
  1659. for i = 1, 5 do
  1660. local sk = Instance.new("Part",Torso)
  1661. sk.CanCollide = false
  1662. sk.Anchored = true
  1663. sk.BrickColor = BrickColor.new("White")
  1664. sk.Name = "sk"
  1665. sk.CFrame = bladeofjustice.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1666. local skmesh = Instance.new("SpecialMesh",sk)
  1667. skmesh.MeshId = "rbxassetid://662586858"
  1668. skmesh.Name = "wave"
  1669. skmesh.Scale = Vector3.new(.05,.005,.05)
  1670. for i = 1, 20 do
  1671. skmesh.Scale = skmesh.Scale + Vector3.new(.05,0,.05)
  1672. sk.Transparency = sk.Transparency + .05
  1673. swait()
  1674. end
  1675. sk:Remove()
  1676. end
  1677. end)()
  1678. coroutine.wrap(function()
  1679. for i = 1, 20 do
  1680. blwav.Size = blwav.Size + Vector3.new(10,10,10)
  1681. blwav.Transparency = blwav.Transparency + .05
  1682. bladeofjustice.Transparency = bladeofjustice.Transparency - .05
  1683. swait()
  1684. end
  1685. blwav:Remove()
  1686. end)()
  1687. local hitted = false
  1688. coroutine.wrap(function()
  1689. for i = 1, 300 do
  1690. if hitted then break end
  1691. swait()
  1692. end
  1693. if not hitted then
  1694. bladeofjustice:Remove()
  1695. end
  1696. end)()
  1697. bladeofjustice.Anchored = false
  1698. local bov = Instance.new("BodyVelocity",bladeofjustice)
  1699. bov.maxForce = Vector3.new(9999999,9999999,9999999)
  1700. bladeofjustice.CFrame = CFrame.new(bladeofjustice.Position,mouse.Hit.p)
  1701. bov.velocity = bladeofjustice.CFrame.lookVector*350
  1702. bladeofjustice.Touched:connect(function(hit)
  1703. if hit:IsA("Part") and hit.Parent ~= Character and hit.Name ~= "blad" and hit.Parent.Parent ~= Character then
  1704. if hitted then return end
  1705. hitted = true
  1706. bov:Remove()
  1707. bladeofjustice.Anchored = true
  1708. wait(2)
  1709. removeuseless:AddItem(bladeofjustice,5)
  1710. coroutine.wrap(function()
  1711. for i = 1, 20 do
  1712. hum.CameraOffset = Vector3.new(math.random(-3,3),math.random(-3,3),math.random(-3,3))
  1713. swait()
  1714. end
  1715. hum.CameraOffset = Vector3.new(0,0,0)
  1716. end)()
  1717. Hit = damagealll(144,bladeofjustice.Position)
  1718. for _,v in pairs(Hit) do
  1719. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1720. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1721. slachtoffer:TakeDamage(math.random(47,78))
  1722. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1723. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1724. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1725. vel.velocity = CFrame.new(bladeofjustice.Position,torso.Position).lookVector*330
  1726. removeuseless:AddItem(vel,.1)
  1727. end
  1728. end
  1729. local soundbox = Instance.new("Part",Torso)
  1730. soundbox.CFrame = bladeofjustice.CFrame
  1731. soundbox.Size = Vector3.new(1,1,1)
  1732. soundbox.Anchored = true
  1733. soundbox.CanCollide = false
  1734. soundbox.Transparency = 1
  1735. removeuseless:AddItem(soundbox,5)
  1736. wabam = Instance.new("Sound",soundbox)
  1737. wabam.SoundId = "rbxassetid://2444802791"
  1738. wabam.Volume = 8
  1739. wabam:Play()
  1740. bladeofjustice.Transparency = 1
  1741. pobox = Instance.new("Part",Torso)
  1742. pobox.Anchored = true
  1743. pobox.CanCollide = false
  1744. pobox.Size = Vector3.new(1,1,1)
  1745. pobox.CFrame = bladeofjustice.CFrame
  1746. pobox.Transparency = 1
  1747. for i = 1, 4 do
  1748. coroutine.wrap(function()
  1749. local shockwave = Instance.new("Part", Torso)
  1750. shockwave.Size = Vector3.new(1,1,1)
  1751. shockwave.CanCollide = false
  1752. shockwave.Anchored = true
  1753. shockwave.Transparency = .5
  1754. shockwave.BrickColor = BrickColor.new("White")
  1755. shockwave.CFrame = CFrame.new(pobox.Position)
  1756. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1757. shockwavemesh.Scale = Vector3.new(7,3,7)
  1758. shockwavemesh.MeshId = "rbxassetid://20329976"
  1759. local shockwave2 = Instance.new("Part", Torso)
  1760. shockwave2.Size = Vector3.new(1,1,1)
  1761. shockwave2.CanCollide = false
  1762. shockwave2.Anchored = true
  1763. shockwave2.Transparency = .5
  1764. shockwave2.BrickColor = BrickColor.new("White")
  1765. shockwave2.CFrame = CFrame.new(pobox.Position)
  1766. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1767. shockwavemesh2.Scale = Vector3.new(5,3,5)
  1768. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1769. for i = 1, 40 do
  1770. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  1771. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  1772. shockwave.Transparency = shockwave.Transparency + 0.025
  1773. shockwave2.Transparency = shockwave2.Transparency + 0.025
  1774. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(18,6,18)
  1775. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(18,3,18)
  1776. swait()
  1777. end
  1778. pobox:Remove()
  1779. shockwave:Remove()
  1780. shockwave2:Remove()
  1781. bladeofjustice:Remove()
  1782. end)()
  1783. coroutine.wrap(function()
  1784. local sk = Instance.new("Part",Torso)
  1785. sk.CanCollide = false
  1786. sk.Anchored = true
  1787. sk.BrickColor = BrickColor.new("White")
  1788. sk.Name = "sk"
  1789. sk.CFrame = bladeofjustice.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1790. local skmesh = Instance.new("SpecialMesh",sk)
  1791. skmesh.MeshId = "rbxassetid://662586858"
  1792. skmesh.Name = "wave"
  1793. skmesh.Scale = Vector3.new(.06,.001,.06)
  1794. for i = 1, 20 do
  1795. skmesh.Scale = skmesh.Scale + Vector3.new(.13,0,.13)
  1796. sk.Transparency = sk.Transparency + .05
  1797. swait()
  1798. end
  1799. sk:Remove()
  1800. end)()
  1801. coroutine.wrap(function()
  1802. local wshockwave = Instance.new("Part", Torso)
  1803. wshockwave.Size = Vector3.new(1,1,1)
  1804. wshockwave.CanCollide = false
  1805. wshockwave.Anchored = true
  1806. wshockwave.Transparency = .45
  1807. wshockwave.BrickColor = BrickColor.new("White")
  1808. wshockwave.CFrame = CFrame.new(bladeofjustice.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  1809. local wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
  1810. wshockwavemesh.Scale = Vector3.new(10,.05,10)
  1811. wshockwavemesh.Name = "wswm"
  1812. wshockwavemesh.MeshId = "rbxassetid://20329976"
  1813. for i = 1, 20 do
  1814. wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(30,0,30)
  1815. wshockwave.Transparency = wshockwave.Transparency + .05
  1816. swait()
  1817. end
  1818. wshockwave:Remove()
  1819. end)()
  1820. coroutine.wrap(function()
  1821. local blwav = Instance.new("Part",Torso)
  1822. blwav.Size = Vector3.new(1,1,1)
  1823. blwav.Shape = "Ball"
  1824. blwav.BrickColor = BrickColor.new("Dark blue")
  1825. blwav.CanCollide = false
  1826. blwav.CFrame = bladeofjustice.CFrame
  1827. blwav.Anchored = true
  1828. blwav.Material = "Neon"
  1829. for i = 1, 20 do
  1830. blwav.Size = blwav.Size + Vector3.new(18,18,18)
  1831. blwav.Transparency = blwav.Transparency + .05
  1832. swait()
  1833. end
  1834. blwav:Remove()
  1835. end)()
  1836. swait()
  1837. end
  1838. end
  1839. end)
  1840. swait(10)
  1841. end
  1842. bleedattacking = false
  1843. eagleweld:Remove()
  1844. eagleweld2:Remove()
  1845. eagleweld3:Remove()
  1846. eagle.Anchored = true
  1847. eagle2.Anchored = true
  1848. eagle3.Anchored = true
  1849. coroutine.wrap(function()
  1850. for i = 1, 30 do
  1851. for i,v in pairs(lighttable) do
  1852. v.Transparency = v.Transparency + .05
  1853. end
  1854. swait()
  1855. end
  1856. for i,v in pairs(lighttable) do
  1857. v:Remove()
  1858. end
  1859. circlelocation:Remove()
  1860. lighttable = {}
  1861. end)()
  1862. for i = 1, 80 do
  1863. eagle.CFrame = eagle.CFrame * CFrame.new(0,0,-6) * CFrame.Angles(0,math.rad(0),math.rad(7))
  1864. eagle.Transparency = eagle.Transparency + .0125
  1865. eagle2.CFrame = eagle2.CFrame * CFrame.new(0,0,-4) * CFrame.Angles(0,math.rad(0),math.rad(-7))
  1866. eagle2.Transparency = eagle2.Transparency + .0125
  1867. eagle3.CFrame = eagle3.CFrame * CFrame.new(0,0,-3) * CFrame.Angles(0,math.rad(0),math.rad(7))
  1868. eagle3.Transparency = eagle3.Transparency + .0125
  1869. swait()
  1870. end
  1871. eagle:Remove()
  1872. eagle2:Remove()
  1873. eagle3:Remove()
  1874. ws = 90
  1875. trev = false
  1876. debounce = false
  1877. attacking = false
  1878. elseif Press=='r' then
  1879. if debounce then return end
  1880. debounce = true
  1881. attacking = true
  1882. ws = 8
  1883. coroutine.wrap(function()
  1884. g1 = Instance.new("BodyGyro", Root)
  1885. g1.D = 175
  1886. g1.P = 20000
  1887. g1.MaxTorque = Vector3.new(0,9000000,0)
  1888. for i = 1, 50 do
  1889. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  1890. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(-0 * math.sin(sine/12)),math.rad(0)),.2)
  1891. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  1892. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  1893. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  1894. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(.5,2,0) * CFrame.Angles(math.rad(0),math.rad(20),math.rad(-140)),.3)
  1895. swait()
  1896. end
  1897. removeuseless:AddItem(g1,.001)
  1898. debounce = false
  1899. attacking = false
  1900. ws = 90
  1901. end)()
  1902. local lightofdeath = Instance.new("Part",Torso)
  1903. angelic = Instance.new("Sound",lightofdeath)
  1904. angelic.Pitch = 1
  1905. angelic.Volume = 10
  1906. angelic.SoundId = "rbxassetid://1837929946"
  1907. angelic:Play()
  1908. lightofdeath.Size = Vector3.new(1000000,25,25)
  1909. lightofdeath.CanCollide = false
  1910. lightofdeath.Material = "Neon"
  1911. lightofdeath.CFrame = CFrame.new(mouse.Hit.p) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  1912. lightofdeath.Shape = "Cylinder"
  1913. lightofdeath.Transparency = 1
  1914. lightofdeath.Anchored = true
  1915. local lightofdeath2 = Instance.new("Part",Torso)
  1916. lightofdeath2.Size = Vector3.new(1000000,50,50)
  1917. lightofdeath2.CanCollide = false
  1918. lightofdeath2.Material = "Neon"
  1919. lightofdeath2.CFrame = CFrame.new(lightofdeath.Position) * CFrame.Angles(math.rad(0),math.rad(90),math.rad(90))
  1920. lightofdeath2.Shape = "Cylinder"
  1921. lightofdeath2.Transparency = 1
  1922. lightofdeath2.CanCollide = false
  1923. lightofdeath2.Anchored = true
  1924. local pobox = Instance.new("Part",Torso)
  1925. pobox.Size = Vector3.new(1,1,1)
  1926. pobox.Transparency = 1
  1927. pobox.Anchored = true
  1928. pobox.CanCollide = false
  1929. pobox.CFrame = CFrame.new(mouse.Hit.p)
  1930. coroutine.wrap(function()
  1931. for i = 1, 20 do
  1932. g1.CFrame = g1.CFrame:lerp(CFrame.new(Root.Position,lightofdeath.Position),.4)
  1933. lightofdeath.Transparency = lightofdeath.Transparency - .025
  1934. lightofdeath2.Transparency = lightofdeath2.Transparency - .0125
  1935. swait()
  1936. end
  1937. end)()
  1938. for i = 1, 100 do
  1939. lightofdeath.Size = lightofdeath.Size - Vector3.new(0,.25,.25)
  1940. lightofdeath2.Size = lightofdeath2.Size - Vector3.new(0,.5,.5)
  1941. swait()
  1942. end
  1943. local soundbrick = Instance.new("Part",Torso)
  1944. soundbrick.Anchored = true
  1945. soundbrick.Size = Vector3.new(1,1,1)
  1946. soundbrick.CanCollide = false
  1947. soundbrick.Transparency = 1
  1948. soundbrick.CFrame = pobox.CFrame
  1949. removeuseless:AddItem(soundbrick,10)
  1950. local bam = Instance.new("Sound",soundbrick)
  1951. bam.SoundId = "rbxassetid://1354014962"
  1952. bam.Volume = 10
  1953. bam:Play()
  1954. Hit = damagealll(44,pobox.Position)
  1955. for _,v in pairs(Hit) do
  1956. if v:FindFirstChildOfClass("Humanoid") and v:FindFirstChildOfClass("Humanoid").Health > 0 then
  1957. slachtoffer = v:FindFirstChildOfClass("Humanoid")
  1958. slachtoffer:TakeDamage(math.random(42,68))
  1959. vel = Instance.new("BodyVelocity",v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso"))
  1960. vel.maxForce = Vector3.new(9999999999999,9999999999999,9999999999999)
  1961. torso = v:FindFirstChild("Torso") or v:FindFirstChild("UpperTorso")
  1962. vel.velocity = CFrame.new(pobox.Position,torso.Position).lookVector*225
  1963. removeuseless:AddItem(vel,.1)
  1964. end
  1965. end
  1966. lightofdeath:Remove()
  1967. lightofdeath2:Remove()
  1968. for i = 1, 3 do
  1969. coroutine.wrap(function()
  1970. local shockwave = Instance.new("Part", Torso)
  1971. shockwave.Size = Vector3.new(1,1,1)
  1972. shockwave.CanCollide = false
  1973. shockwave.Anchored = true
  1974. shockwave.Transparency = .5
  1975. shockwave.BrickColor = BrickColor.new("White")
  1976. shockwave.CFrame = CFrame.new(pobox.Position)
  1977. local shockwavemesh = Instance.new("SpecialMesh", shockwave)
  1978. shockwavemesh.Scale = Vector3.new(7,3,7)
  1979. shockwavemesh.MeshId = "rbxassetid://20329976"
  1980. local shockwave2 = Instance.new("Part", Torso)
  1981. shockwave2.Size = Vector3.new(1,1,1)
  1982. shockwave2.CanCollide = false
  1983. shockwave2.Anchored = true
  1984. shockwave2.Transparency = .5
  1985. shockwave2.BrickColor = BrickColor.new("White")
  1986. shockwave2.CFrame = CFrame.new(pobox.Position)
  1987. local shockwavemesh2 = Instance.new("SpecialMesh", shockwave2)
  1988. shockwavemesh2.Scale = Vector3.new(5,3,5)
  1989. shockwavemesh2.MeshId = "rbxassetid://20329976"
  1990. for i = 1, 40 do
  1991. shockwave.CFrame = shockwave.CFrame * CFrame.Angles(math.rad(0),math.rad(0+15),0)
  1992. shockwave2.CFrame = shockwave2.CFrame * CFrame.Angles(math.rad(0),math.rad(0-8),0)
  1993. shockwave.Transparency = shockwave.Transparency + 0.025
  1994. shockwave2.Transparency = shockwave2.Transparency + 0.025
  1995. shockwavemesh2.Scale = shockwavemesh2.Scale + Vector3.new(9,1.5,9)
  1996. shockwavemesh.Scale = shockwavemesh.Scale + Vector3.new(9,1.5,9)
  1997. swait()
  1998. end
  1999. shockwave:Remove()
  2000. shockwave2:Remove()
  2001. end)()
  2002. coroutine.wrap(function()
  2003. local sk = Instance.new("Part",Torso)
  2004. sk.CanCollide = false
  2005. sk.Anchored = true
  2006. sk.BrickColor = BrickColor.new("White")
  2007. sk.Name = "sk"
  2008. sk.CFrame = pobox.CFrame * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2009. local skmesh = Instance.new("SpecialMesh",sk)
  2010. skmesh.MeshId = "rbxassetid://662586858"
  2011. skmesh.Name = "wave"
  2012. skmesh.Scale = Vector3.new(.01,.001,.01)
  2013. for i = 1, 20 do
  2014. skmesh.Scale = skmesh.Scale + Vector3.new(.07,0,.07)
  2015. sk.Transparency = sk.Transparency + .05
  2016. swait()
  2017. end
  2018. sk:Remove()
  2019. end)()
  2020. coroutine.wrap(function()
  2021. local wshockwave = Instance.new("Part", Torso)
  2022. wshockwave.Size = Vector3.new(1,1,1)
  2023. wshockwave.CanCollide = false
  2024. wshockwave.Anchored = true
  2025. wshockwave.Transparency = .45
  2026. wshockwave.BrickColor = BrickColor.new("White")
  2027. wshockwave.CFrame = CFrame.new(pobox.Position) * CFrame.Angles(math.rad(math.random(-180,180)),0,math.rad(math.random(-180,180)))
  2028. local wshockwavemesh = Instance.new("SpecialMesh", wshockwave)
  2029. wshockwavemesh.Scale = Vector3.new(.1,.005,.1)
  2030. wshockwavemesh.Name = "wswm"
  2031. wshockwavemesh.MeshId = "rbxassetid://20329976"
  2032. removeuseless:AddItem(wshockwave,2)
  2033. for i = 1, 20 do
  2034. wshockwavemesh.Scale = wshockwavemesh.Scale + Vector3.new(9.5,0,9.5)
  2035. wshockwave.Transparency = wshockwave.Transparency + .05
  2036. swait()
  2037. end
  2038. wshockwave:Remove()
  2039. end)()
  2040. local boom = Instance.new("Part",Torso)
  2041. boom.Size = Vector3.new(6,6,6)
  2042. boom.Transparency = .1
  2043. boom.Shape = "Ball"
  2044. boom.BrickColor = BrickColor.new("White")
  2045. boom.CanCollide = false
  2046. boom.Anchored = true
  2047. boom.CFrame = CFrame.new(pobox.Position)
  2048. boom.Material = "Neon"
  2049. coroutine.wrap(function()
  2050. for i = 1, 20 do
  2051. boom.Size = boom.Size + Vector3.new(7,7,7)
  2052. boom.Transparency = boom.Transparency + .05
  2053. swait()
  2054. end
  2055. boom:Remove()
  2056. end)()
  2057. swait()
  2058. end
  2059. end
  2060. end)
  2061.  
  2062. checks1 = coroutine.wrap(function() -------Checks
  2063. while true do
  2064. if Root.Velocity.Magnitude < 5 and running == false then
  2065. position = "Idle"
  2066. elseif Root.Velocity.Magnitude > 5 and running == false then
  2067. position = "Walking"
  2068. else
  2069. end
  2070. wait()
  2071. end
  2072. end)
  2073. checks1()
  2074.  
  2075. function ray(POSITION, DIRECTION, RANGE, IGNOREDECENDANTS)
  2076. return workspace:FindPartOnRay(Ray.new(POSITION, DIRECTION.unit * RANGE), IGNOREDECENDANTS)
  2077. end
  2078.  
  2079. function ray2(StartPos, EndPos, Distance, Ignore)
  2080. local DIRECTION = CFrame.new(StartPos,EndPos).lookVector
  2081. return ray(StartPos, DIRECTION, Distance, Ignore)
  2082. end
  2083.  
  2084. OrgnC0 = Neck.C0
  2085. local movelimbs = coroutine.wrap(function()
  2086. while RunSrv.Heartbeat:wait() do
  2087. TrsoLV = Torso.CFrame.lookVector
  2088. Dist = nil
  2089. Diff = nil
  2090. if not MseGuide then
  2091. print("Failed to recognize")
  2092. else
  2093. local _, Point = Workspace:FindPartOnRay(Ray.new(Head.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  2094. Dist = (Head.CFrame.p-Point).magnitude
  2095. Diff = Head.CFrame.Y-Point.Y
  2096. local _, Point2 = Workspace:FindPartOnRay(Ray.new(LeftArm.CFrame.p, mouse.Hit.lookVector), Workspace, false, true)
  2097. Dist2 = (LeftArm.CFrame.p-Point).magnitude
  2098. Diff2 = LeftArm.CFrame.Y-Point.Y
  2099. HEADLERP.C0 = CFrame.new(0, -1.5, -0) * CFrame.Angles(math.rad(0), math.rad(0), math.rad(0))
  2100. Neck.C0 = Neck.C0:lerp(OrgnC0*CFrame.Angles((math.tan(Diff/Dist)*1), 0, (((Head.CFrame.p-Point).Unit):Cross(Torso.CFrame.lookVector)).Y*1), .1)
  2101. end
  2102. end
  2103. end)
  2104. movelimbs()
  2105. immortal = {}
  2106. for i,v in pairs(Character:GetDescendants()) do
  2107. if v:IsA("BasePart") and v.Name ~= "lmagic" and v.Name ~= "rmagic" then
  2108. if v ~= Root and v ~= Torso and v ~= Head and v ~= RightArm and v ~= LeftArm and v ~= RightLeg and v.Name ~= "lmagic" and v.Name ~= "rmagic" and v ~= LeftLeg then
  2109. v.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  2110. end
  2111. table.insert(immortal,{v,v.Parent,v.Material,v.Color,v.Transparency})
  2112. elseif v:IsA("JointInstance") then
  2113. table.insert(immortal,{v,v.Parent,nil,nil,nil})
  2114. end
  2115. end
  2116. for e = 1, #immortal do
  2117. if immortal[e] ~= nil then
  2118. local STUFF = immortal[e]
  2119. local PART = STUFF[1]
  2120. local PARENT = STUFF[2]
  2121. local MATERIAL = STUFF[3]
  2122. local COLOR = STUFF[4]
  2123. local TRANSPARENCY = STUFF[5]
  2124. if levitate then
  2125. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= eyo1 and PART.Name ~= eyo2 and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  2126. PART.Material = MATERIAL
  2127. PART.Color = COLOR
  2128. PART.Transparency = TRANSPARENCY
  2129. end
  2130. PART.AncestryChanged:connect(function()
  2131. PART.Parent = PARENT
  2132. end)
  2133. else
  2134. if PART.ClassName == "Part" and PART ~= Root and PART.Name ~= "lmagic" and PART.Name ~= "rmagic" then
  2135. PART.Material = MATERIAL
  2136. PART.Color = COLOR
  2137. PART.Transparency = TRANSPARENCY
  2138. end
  2139. PART.AncestryChanged:connect(function()
  2140. PART.Parent = PARENT
  2141. end)
  2142. end
  2143. end
  2144. end
  2145. function immortality()
  2146. for e = 1, #immortal do
  2147. if immortal[e] ~= nil then
  2148. local STUFF = immortal[e]
  2149. local PART = STUFF[1]
  2150. local PARENT = STUFF[2]
  2151. local MATERIAL = STUFF[3]
  2152. local COLOR = STUFF[4]
  2153. local TRANSPARENCY = STUFF[5]
  2154. if PART.ClassName == "Part" and PART == Root then
  2155. PART.Material = MATERIAL
  2156. PART.Color = COLOR
  2157. PART.Transparency = TRANSPARENCY
  2158. end
  2159. if PART.Parent ~= PARENT then
  2160. hum:Remove()
  2161. PART.Parent = PARENT
  2162. hum = Instance.new("Humanoid",Character)
  2163. if levitate then
  2164. eyo1:Remove()
  2165. eyo2:Remove()
  2166. end
  2167. hum.Name = "noneofurbusiness"
  2168. end
  2169. end
  2170. end
  2171. end
  2172. coroutine.wrap(function()
  2173. while true do
  2174. if hum.Health < .1 then
  2175. immortality()
  2176. end
  2177. wait()
  2178. end
  2179. end)()
  2180.  
  2181. leftlocation = Instance.new("Part",LeftArm)
  2182. leftlocation.Size = Vector3.new(1,1,1)
  2183. leftlocation.Transparency = 1
  2184. leftlocationweld = weldBetween(leftlocation,LeftArm)
  2185. leftlocationweld.C0 = CFrame.new(0,1.2,0)
  2186. rightlocation = Instance.new("Part",RightArm)
  2187. rightlocation.Size = Vector3.new(1,1,1)
  2188. rightlocation.Transparency = 1
  2189. rightlocationweld = weldBetween(rightlocation,RightArm)
  2190. rightlocationweld.C0 = CFrame.new(0,1.2,0)
  2191.  
  2192. coroutine.wrap(function()
  2193. while true do
  2194. hpheight = 4 + 1 * math.sin(sine/12)
  2195. hum.HipHeight = hpheight
  2196. swait()
  2197. end
  2198. end)()
  2199.  
  2200. local anims = coroutine.wrap(function()
  2201. while true do
  2202. settime = 0.05
  2203. sine = sine + change
  2204. if position == "Walking" and attacking == false and running == false then
  2205. change = .5
  2206. walking = true
  2207. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  2208. LEFTLEGLERP.C1 = LEFTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(0,0,0),.25)
  2209. RIGHTLEGLERP.C1 = RIGHTLEGLERP.C1:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(0),0,0),.25)
  2210. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(.98,-.15,.5) * CFrame.Angles(math.rad(-70 - 5 * math.sin(sine/12)),math.rad(40 - 5 * math.sin(sine/12)),math.rad(-20)),.25)
  2211. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.6, 0.5 - .1 * -math.sin(sine/12), 0) * CFrame.Angles(math.rad(35 - 2 * math.sin(sine/12)), math.rad(0), math.rad(-25 - 5 * math.sin(sine/12))), 0.25)
  2212. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0, 0, 0) * CFrame.Angles(math.rad(-41 - 1 * math.sin(sine/9)), math.rad(0 + 0 * math.cos(sine/8)), math.rad(0) + Root.RotVelocity.Y / 9, math.cos(10 * math.cos(sine/10))), 0.25)
  2213. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(-20), math.rad(0)), 0.25)
  2214. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(0.54, 2 + .02 * math.sin(sine/12), 0.2 + .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(25 + 5 * math.sin(sine/12)), math.rad(20), math.rad(0)), 0.25)
  2215. elseif position == "Idle" and attacking == false and running == false then
  2216. change = .5
  2217. haloweld.C0 = haloweld.C0:lerp(CFrame.new(0,-4.5 + .5 * math.sin(sine/12),-2) * CFrame.Angles(math.rad(8 * math.sin(sine/12)),math.rad(11 * math.sin(sine/16)),0),.4)
  2218. ROOTLERP.C0 = ROOTLERP.C0:lerp(CFrame.new(0,0,0) * CFrame.Angles(math.rad(5 * math.sin(sine/12)),math.rad(2 * math.sin(sine/16)),math.rad(0)),.2)
  2219. RIGHTARMLERP.C0 = RIGHTARMLERP.C0:lerp(CFrame.new(-1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(math.rad(0),math.rad(12),math.rad(-40 - 6 * math.sin(sine/12))),.2)
  2220. LEFTARMLERP.C0 = LEFTARMLERP.C0:lerp(CFrame.new(1.3,1.05 + .15 * math.sin(sine/12),.2) * CFrame.Angles(0,math.rad(-12),math.rad(40 + 6 * math.sin(sine/12))),.2)
  2221. RIGHTLEGLERP.C0 = RIGHTLEGLERP.C0:lerp(CFrame.new(-.3 + .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9 - 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(-9 - 5 * math.sin(sine/12))),.2)
  2222. LEFTLEGLERP.C0 = LEFTLEGLERP.C0:lerp(CFrame.new(.3 - .1 * math.sin(sine/12), 1.95, .15 - .1 * math.sin(sine/12)) * CFrame.Angles(math.rad(9- 5 * math.sin(sine/12)),math.rad(2 + 1 * math.sin(sine/12)),math.rad(9 + 5 * math.sin(sine/12))),.2)
  2223. end
  2224. swait()
  2225. end
  2226. end)
  2227. anims()
  2228. warn("Justice given form. Made by Supr14")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement