Okkkkk

zamu edit

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