Advertisement
copra50

zamasu

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