SHARE
TWEET

Hunter cac2

Dudermonman Aug 17th, 2019 73 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. local base = game.Workspace.Base
  8. local sky = game.Lighting
  9. base.BrickColor = BrickColor.new("Black")
  10. base.Material = "Granite"
  11. sky.TimeOfDay = "00:00:00"
  12. sky.Ambient = BrickColor.new("Really black").Color
  13. sky.Brightness = 1
  14. sky.FogEnd = 500
  15. sky.FogColor = BrickColor.new("Royal purple").Color
  16.  
  17. p = game.Players.LocalPlayer
  18. char = p.Character
  19. torso = char.Torso
  20. neck = char.Torso.Neck
  21. hum = char.Humanoid
  22. hum.MaxHealth = 2500
  23. wait()
  24. hum.Health =hum.MaxHealth
  25.  
  26. local s = Instance.new("Sound",char)
  27. s.SoundId = "http://www.roblox.com/asset/?id=413641131"
  28. s.Pitch = 0.98
  29. s.Volume = 1
  30. s.Looped = true
  31. wait(0)
  32. s:play()
  33.  
  34. CV="Maroon"
  35.    
  36. local txt = Instance.new("BillboardGui", char)
  37. txt.Adornee = char .Head
  38. txt.Name = "_status"
  39. txt.Size = UDim2.new(2, 0, 1.2, 0)
  40. txt.StudsOffset = Vector3.new(-9, 8, 0)
  41. local text = Instance.new("TextLabel", txt)
  42. text.Size = UDim2.new(10, 0, 7, 0)
  43. text.FontSize = "Size24"
  44. text.TextScaled = true
  45. text.TextTransparency = 0
  46. text.BackgroundTransparency = 1
  47. text.TextTransparency = 0
  48. text.TextStrokeTransparency = 0
  49. text.Font = "SourceSansBold"
  50. text.TextStrokeColor3 = Color3.new(0.5,0.05,1)
  51.  
  52. v=Instance.new("Part")
  53. v.Name = "ColorBrick"
  54. v.Parent=p.Character
  55. v.FormFactor="Symmetric"
  56. v.Anchored=true
  57. v.CanCollide=false
  58. v.BottomSurface="Smooth"
  59. v.TopSurface="Smooth"
  60. v.Size=Vector3.new(10,5,3)
  61. v.Transparency=1
  62. v.CFrame=char.Torso.CFrame
  63. v.BrickColor=BrickColor.new(CV)
  64. v.Transparency=1
  65. text.TextColor3 = Color3.new(0,0,0)
  66. v.Shape="Block"
  67. text.Text = "Corruption Magic User"
  68.  
  69. Player = game:GetService("Players").LocalPlayer
  70. Character = Player.Character
  71. PlayerGui = Player.PlayerGui
  72. Backpack = Player.Backpack
  73. Torso = Character.Torso
  74. Head = Character.Head
  75. Humanoid = Character.Humanoid
  76. Face = Head.face
  77. LeftArm = Character["Left Arm"]
  78. LeftLeg = Character["Left Leg"]
  79. RightArm = Character["Right Arm"]
  80. RightLeg = Character["Right Leg"]
  81. LS = Torso["Left Shoulder"]
  82. LH = Torso["Left Hip"]
  83. RS = Torso["Right Shoulder"]
  84. RH = Torso["Right Hip"]
  85. Neck = Torso.Neck
  86. it = Instance.new
  87. vt = Vector3.new
  88. cf = CFrame.new
  89. euler = CFrame.fromEulerAnglesXYZ
  90. angles = CFrame.Angles
  91. necko = cf(0, 1, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  92. necko2 = cf(0, -0.5, 0, -1, 0, 0, 0, 0, 1, 0, 1, 0)
  93. LHC0 = cf(-1, -1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  94. LHC1 = cf(-0.5, 1, 0, 0, 0, -1, 0, 1, 0, 1, 0, 0)
  95. RHC0 = cf(1, -1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  96. RHC1 = cf(0.5, 1, 0, 0, 0, 1, 0, 1, 0, -1, 0, 0)
  97. RootPart = Character.HumanoidRootPart
  98. RootJoint = RootPart.RootJoint
  99. RootCF = euler(-1.57, 0, 3.14)
  100. attack = false
  101. attackdebounce = false
  102. MMouse = nil
  103. combo = 0
  104. local hitfloor, posfloor = nil, nil
  105. local idle = 0
  106. local Anim = "Idle"
  107. local Effects = {}
  108. local Weapon = {}
  109. local Welds = {}
  110. local invisible = false
  111. local doing2 = false
  112. local doing4 = false
  113. local Marked = {}
  114. local MarkedGUI = {}
  115. local decreaseatk = 0
  116. local decreasedef = 0
  117. local decreasemvmt = 0
  118. local pursuitnum = 0
  119. local arcorb = false
  120. local move1 = "(Q)\nCorrupted Bullet"
  121. local move2 = "(E)\nShadron Soul"
  122. local move3 = "(R)\nDarkened Falls"
  123. local move4 = "(F)\nFaintful Darkness"
  124. local cooldowns = {}
  125. local cooldown1 = 0
  126. table.insert(cooldowns, cooldown1)
  127. local cooldown2 = 0
  128. table.insert(cooldowns, cooldown2)
  129. local cooldown3 = 0
  130. table.insert(cooldowns, cooldown3)
  131. local cooldown4 = 0
  132. table.insert(cooldowns, cooldown4)
  133. local cooldownsadd = {}
  134. local cooldownadd1 = 100
  135. table.insert(cooldownsadd, cooldownadd1)
  136. local cooldownadd2 = 100
  137. table.insert(cooldownsadd, cooldownadd2)
  138. local cooldownadd3 = 100
  139. table.insert(cooldownsadd, cooldownadd3)
  140. local cooldownadd4 = 100
  141. table.insert(cooldownsadd, cooldownadd4)
  142. local cooldownmax = 100
  143. player = nil
  144. RSH = nil
  145. RW = Instance.new("Motor")
  146. LW = Instance.new("Motor")
  147. RW.Name = "Right Shoulder"
  148. LW.Name = "Left Shoulder"
  149. LH = Torso["Left Hip"]
  150. RH = Torso["Right Hip"]
  151. TorsoColor = Torso.BrickColor
  152. TorsoRed = TorsoColor.Color.r
  153. TorsoGreen = TorsoColor.Color.g
  154. TorsoBlue = TorsoColor.Color.b
  155. NewCol = BrickColor.new("Really black").Color
  156. NewCol2 = BrickColor.new("Royal purple").Color
  157. if Player:findFirstChild("Color1") ~= nil then
  158.   NewCol = Player.Color1.Value
  159. end
  160. if Player:findFirstChild("Color2") ~= nil then
  161.   NewCol2 = Player.Color2.Value
  162. end
  163. print(BrickColor.new(NewCol))
  164. local mdec = Instance.new("NumberValue", Decrease)
  165. mdec.Name = "DecreaseDef"
  166. mdec.Value = 0.4
  167. local mdec2 = Instance.new("NumberValue", Decrease)
  168. mdec2.Name = "DecreaseMvmt"
  169. mdec2.Value = 0.1
  170. if Character:findFirstChild("Effects", true) ~= nil then
  171.   Character:findFirstChild("Effects", true).Parent = nil
  172. end
  173. local effects = it("Model", Character)
  174. effects.Name = "Effects"
  175. local Animate = Humanoid.Animator
  176. local canjump = true
  177. removeControl = function()
  178.   canjump = false
  179. end
  180. resumeControl = function()
  181.   canjump = true
  182. end
  183. Player.Character.Humanoid.Changed:connect(function()
  184.   if canjump == false then
  185.     Player.Character.Humanoid.Jump = false
  186.   end
  187. end)
  188. ArtificialHB = Instance.new("BindableEvent", script)
  189. ArtificialHB.Name = "Heartbeat"
  190.  
  191. script:WaitForChild("Heartbeat")
  192.  
  193. frame = 1 / 30
  194. tf = 0
  195. allowframeloss = true
  196. tossremainder = false
  197. lastframe = tick()
  198. script.Heartbeat:Fire()
  199.  
  200. game:GetService("RunService").Heartbeat:connect(function(s, p)
  201.     tf = tf + s
  202.     if tf >= frame then
  203.         if allowframeloss then
  204.             script.Heartbeat:Fire()
  205.             lastframe = tick()
  206.         else
  207.             for i = 1, math.floor(tf / frame) do
  208.                 script.Heartbeat:Fire()
  209.             end
  210.             lastframe = tick()
  211.         end
  212.         if tossremainder then
  213.             tf = 0
  214.         else
  215.             tf = tf - frame * math.floor(tf / frame)
  216.         end
  217.     end
  218. end)
  219.  
  220. function swait(num)
  221.     if num == 0 or num == nil then
  222.         ArtificialHB.Event:wait()
  223.     else
  224.         for i = 0, num do
  225.             ArtificialHB.Event:wait()
  226.         end
  227.     end
  228. end
  229. if Character:findFirstChild("Carnufico", true) ~= nil then
  230.   Character:findFirstChild("Carnufico", true).Parent = nil
  231. end
  232. if Player.PlayerGui:findFirstChild("WeaponGUI", true) ~= nil then
  233.   Player.PlayerGui:findFirstChild("WeaponGUI", true).Parent = nil
  234. end
  235. if Character:findFirstChild("Stats", true) ~= nil then
  236.   Character:findFirstChild("Stats", true).Parent = nil
  237. end
  238. local Stats = Instance.new("BoolValue")
  239. Stats.Name = "Stats"
  240. Stats.Parent = Character
  241. local Atk = Instance.new("NumberValue")
  242. Atk.Name = "Damage"
  243. Atk.Parent = Stats
  244. Atk.Value = 1
  245. local Def = Instance.new("NumberValue")
  246. Def.Name = "Defense"
  247. Def.Parent = Stats
  248. Def.Value = 1
  249. local Mvmt = Instance.new("NumberValue")
  250. Mvmt.Name = "Movement"
  251. Mvmt.Parent = Stats
  252. Mvmt.Value = 1
  253. local Block = Instance.new("BoolValue")
  254. Block.Name = "Block"
  255. Block.Parent = Stats
  256. Block.Value = false
  257. local Stun = Instance.new("NumberValue")
  258. Stun.Name = "Stun"
  259. Stun.Parent = Stats
  260. Stun.Value = 0
  261. local StunT = Instance.new("NumberValue")
  262. StunT.Name = "StunThreshold"
  263. StunT.Parent = Stats
  264. StunT.Value = 100
  265. local Rooted = Instance.new("BoolValue")
  266. Rooted.Name = "Rooted"
  267. Rooted.Parent = Stats
  268. Rooted.Value = false
  269. local Stunned = Instance.new("BoolValue")
  270. Stunned.Name = "Stunned"
  271. Stunned.Parent = Stats
  272. Stunned.Value = false
  273. local Stagger = Instance.new("BoolValue")
  274. Stagger.Name = "Stagger"
  275. Stagger.Parent = Stats
  276. Stagger.Value = false
  277. local StaggerHit = Instance.new("BoolValue")
  278. StaggerHit.Name = "StaggerHit"
  279. StaggerHit.Parent = Stats
  280. StaggerHit.Value = false
  281. local RecentEnemy = Instance.new("ObjectValue")
  282. RecentEnemy.Name = "RecentEnemy"
  283. RecentEnemy.Parent = Stats
  284. RecentEnemy.Value = nil
  285. local Decrease = Instance.new("BoolValue")
  286. Decrease.Name = "Decrease"
  287. Decrease.Parent = Stats
  288. Decrease.Value = false
  289. local mana = Instance.new("NumberValue")
  290. mana.Name = "Mana"
  291. mana.Parent = Stats
  292. mana.Value = 0
  293. local invisnum = Instance.new("NumberValue")
  294. invisnum.Name = "Pursuit"
  295. invisnum.Parent = Stats
  296. invisnum.Value = 0
  297. local isinvis = Instance.new("BoolValue")
  298. isinvis.Name = "IsInvisible"
  299. isinvis.Parent = Stats
  300. isinvis.Value = false
  301. local passive = Instance.new("NumberValue", Decrease)
  302. passive.Name = "DecreaseAtk"
  303. passive.Value = 0
  304. local passive2 = Instance.new("NumberValue", nil)
  305. passive2.Name = "DecreaseDef"
  306. passive2.Value = 0.2
  307. local passive3 = Instance.new("NumberValue", nil)
  308. passive3.Name = "DecreaseMvmt"
  309. passive3.Value = -0.2
  310. NoOutline = function(Part)
  311.   Part.TopSurface = 10
  312. end
  313. part = function(formfactor, parent, reflectance, transparency, brickcolor, name, size)
  314.   local fp = it("Part")
  315.   fp.formFactor = formfactor
  316.   fp.Parent = parent
  317.   fp.Reflectance = reflectance
  318.   fp.Transparency = transparency
  319.   fp.CanCollide = false
  320.   fp.Locked = true
  321.   fp.BrickColor = brickcolor
  322.   fp.Name = name
  323.   fp.Size = size
  324.   fp.Position = Torso.Position
  325.   NoOutline(fp)
  326.   fp.Material = "Neon"
  327.   fp:BreakJoints()
  328.   return fp
  329. end
  330. mesh = function(Mesh, part, meshtype, meshid, offset, scale)
  331.   local mesh = it(Mesh)
  332.   mesh.Parent = part
  333.   if Mesh == "SpecialMesh" then
  334.     mesh.MeshType = meshtype
  335.     if meshid ~= "nil" then
  336.       mesh.MeshId = "http://www.roblox.com/asset/?id=" .. meshid
  337.     end
  338.   end
  339.   mesh.Offset = offset
  340.   mesh.Scale = scale
  341.   return mesh
  342. end
  343. weld = function(parent, part0, part1, c0)
  344.   local weld = it("Motor")
  345.   weld.Parent = parent
  346.   weld.Part0 = part0
  347.   weld.Part1 = part1
  348.   weld.C0 = c0
  349.   return weld
  350. end
  351. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  352.   local gui = it(GuiType)
  353.   gui.Parent = parent
  354.   gui.Text = text
  355.   gui.BackgroundTransparency = backtrans
  356.   gui.BackgroundColor3 = backcol
  357.   gui.SizeConstraint = "RelativeXY"
  358.   gui.TextXAlignment = "Center"
  359.   gui.TextYAlignment = "Center"
  360.   gui.Position = pos
  361.   gui.Size = size
  362.   gui.Font = "SourceSansBold"
  363.   gui.FontSize = "Size14"
  364.   gui.TextWrapped = false
  365.   gui.TextStrokeTransparency = 0
  366.   gui.TextColor = BrickColor.new("White")
  367.   return gui
  368. end
  369. local Color1 = Torso.BrickColor
  370. local fengui = it("GuiMain")
  371. fengui.Parent = Player.PlayerGui
  372. fengui.Name = "WeaponGUI"
  373. local fenframe = it("Frame")
  374. fenframe.Parent = fengui
  375. fenframe.BackgroundColor3 = Color3.new(255, 255, 255)
  376. fenframe.BackgroundTransparency = 1
  377. fenframe.BorderColor3 = Color3.new(17, 17, 17)
  378. fenframe.Size = UDim2.new(0.1, 0, 0.1, 0)
  379. fenframe.Position = UDim2.new(0.95, 0, 0.7, 0)
  380. local fenframe2 = it("Frame")
  381. fenframe2.Parent = fengui
  382. fenframe2.BackgroundColor3 = Color3.new(255, 255, 255)
  383. fenframe2.BackgroundTransparency = 1
  384. fenframe2.BorderColor3 = Color3.new(17, 17, 17)
  385. fenframe2.Size = UDim2.new(0.2, 0, 0.1, 0)
  386. fenframe2.Position = UDim2.new(0.4, 0, 0.85, 0)
  387. local fenframe3 = it("Frame")
  388. fenframe3.Parent = fengui
  389. fenframe3.BackgroundColor3 = Color3.new(255, 255, 255)
  390. fenframe3.BackgroundTransparency = 1
  391. fenframe3.BorderColor3 = Color3.new(17, 17, 17)
  392. fenframe3.Size = UDim2.new(0.2, 0, 0.2, 0)
  393. fenframe3.Position = UDim2.new(0.8, 0, 0.8, 0)
  394. fenframe3.Name = "MoveFrame"
  395. local fenframe4 = it("Frame")
  396. fenframe4.Parent = fengui
  397. fenframe4.BackgroundColor3 = Color3.new(255, 255, 255)
  398. fenframe4.BackgroundTransparency = 1
  399. fenframe4.BorderColor3 = Color3.new(17, 17, 17)
  400. fenframe4.Size = UDim2.new(0.1, 0, 0.1, 0)
  401. fenframe4.Position = UDim2.new(0, 0, 0.7, 0)
  402. local pressedf = false
  403. local fenframe5 = it("Frame")
  404. fenframe5.Parent = fengui
  405. fenframe5.BackgroundColor3 = Color3.new(0, 0, 0)
  406. fenframe5.BackgroundTransparency = 1
  407. fenframe5.BorderColor3 = Color3.new(0, 0, 0)
  408. fenframe5.Size = UDim2.new(1, 0, 1, 0)
  409. fenframe5.Position = UDim2.new(0, 0, 0, 0)
  410. fenframe5.ZIndex = 2
  411. local tellbar = gui("TextLabel", fenframe5, "Z to enable magic.", 1, Color3.new(0, 0, 0), UDim2.new(0.25, 0, 0.25, 0), UDim2.new(0.5, 0, 0.5, 0))
  412. tellbar.Font = "SourceSansBold"
  413. tellbar.TextScaled = true
  414. tellbar.TextTransparency = 1
  415. tellbar.TextStrokeTransparency = 1
  416. tellbar.ZIndex = 2
  417. local fnumb = 0
  418. local fenbarmana1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  419. local fenbarmana2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  420. local fenbarmana4 = gui("TextLabel", fenframe, "Mana(" .. mana.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  421. local fenbarblock1 = gui("TextLabel", fenframe, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.7, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  422. local fenbarblock2 = gui("TextLabel", fenframe, "", 0, BrickColor.new(NewCol).Color, UDim2.new(-0.7, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  423. local fenbarblock3 = gui("TextLabel", fenframe, "Pursuit(" .. invisnum.Value .. ")", 1, Color3.new(0, 0, 0), UDim2.new(-0.7, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  424. local fenbardamage = gui("TextLabel", fenframe2, "Damage", 0.55, Color3.new(0.6078431372549, 0, 0), UDim2.new(-0.23, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  425. local fenbardef = gui("TextLabel", fenframe2, "Defense", 0.55, Color3.new(0, 0, 0.6078431372549), UDim2.new(-0.46, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  426. local fenbarmove = gui("TextLabel", fenframe2, "Walkspeed", 0.55, Color3.new(0, 0.6078431372549, 0), UDim2.new(1.03, 0, 0, 0), UDim2.new(0.2, 0, 1, 0))
  427. local fenbarhp1 = gui("TextLabel", fenframe2, "", 0, Color3.new(0, 0, 0), UDim2.new(-0.46, 0, 1, 0), UDim2.new(1.92, 0, 0.4, 0))
  428. local fenbarhp2 = gui("TextLabel", fenbarhp1, "", 0, Color3.new(1, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  429. local fenbarhp3 = gui("TextLabel", fenbarhp1, "(100)", 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  430. local fenbarstun1 = gui("TextLabel", fenframe4, "", 0, Color3.new(0, 0, 0), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, -4, 0))
  431. local fenbarstun2 = gui("TextLabel", fenframe4, "", 0, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0, 0), UDim2.new(0.4, 0, 0, 0))
  432. local fenbarstun3 = gui("TextLabel", fenframe4, "Stun(" .. Stun.Value .. ")", 1, Color3.new(0.960784, 0.803922, 0.188235), UDim2.new(0.2, 0, 0.2, 0), UDim2.new(0.4, 0, 0.2, 0))
  433. local fenbarmove1 = gui("TextButton", fenframe3, move1, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  434. fenbarmove1.ZIndex = 2
  435. local fenbarmove1b = gui("TextLabel", fenbarmove1, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  436. local fenbarmove2 = gui("TextButton", fenframe3, move2, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.1, 0), UDim2.new(0.4, 0, 0.4, 0))
  437. fenbarmove2.ZIndex = 2
  438. local fenbarmove2b = gui("TextLabel", fenbarmove2, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  439. local fenbarmove3 = gui("TextButton", fenframe3, move3, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.1, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  440. fenbarmove3.ZIndex = 2
  441. local fenbarmove3b = gui("TextLabel", fenbarmove3, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  442. local fenbarmove4 = gui("TextButton", fenframe3, move4, 0.55, Color3.new(0.5, 0.5, 0.5), UDim2.new(0.6, 0, 0.6, 0), UDim2.new(0.4, 0, 0.4, 0))
  443. fenbarmove4.ZIndex = 2
  444. local fenbarmove4b = gui("TextLabel", fenbarmove4, "", 0.55, BrickColor.new(NewCol).Color, UDim2.new(0, 0, 0, 0), UDim2.new(0, 0, 1, 0))
  445. local testpart = part(3, effects, 0, 1, BrickColor.new("Black"), "Handle", vt())
  446. testpart.Anchored = true
  447. local scarfp2 = part(3, effects, 0, 1, BrickColor.new("Black"), "Handle", vt())
  448. scarfp2.Anchored = true
  449. local modelzorz = Instance.new("Model")
  450. modelzorz.Parent = Character
  451. modelzorz.Name = "Carnufico"
  452. local handle = part(3, modelzorz, 0, 1, BrickColor.new(NewCol), "Handle", vt())
  453. local prt1 = part(3, modelzorz, 0, 1, BrickColor.new(NewCol2), "Part01", vt())
  454. local prt2 = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Part02", vt())
  455. local prt3 = part(3, modelzorz, 0, 1, BrickColor.new("Medium stone grey"), "Part03", vt())
  456. local prt4 = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Part04", vt())
  457. local prt5 = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Part05", vt())
  458. local prt6 = part(3, modelzorz, 0, 1, BrickColor.new("Dark stone grey"), "Part06", vt())
  459. local prt7 = part(3, modelzorz, 0.5, 1, BrickColor.new("Really black"), "Part07", vt())
  460. local prt8 = part(3, modelzorz, 0.5, 1, BrickColor.new(NewCol), "Part07", vt())
  461. local prt9 = part(3, modelzorz, 0.5, 1, BrickColor.new("Really black"), "Part09", vt())
  462. local prt10 = part(3, modelzorz, 0.5, 1, BrickColor.new(NewCol), "Part10", vt())
  463. msh1 = mesh("CylinderMesh", prt1, "", "", vt(0, 0, 0), vt(2, 30, 2))
  464. msh2 = mesh("SpecialMesh", prt2, "FileMesh", "9756362", vt(0, 0, 0), vt(1, 1, 1))
  465. msh3 = mesh("CylinderMesh", prt3, "", "", vt(0, 0, 0), vt(3, 3, 3))
  466. msh4 = mesh("SpecialMesh", prt4, "FileMesh", "3270017", vt(0, 0, 0), vt(1, 1, 1))
  467. msh5 = mesh("SpecialMesh", prt5, "FileMesh", "3270017", vt(0, 0, 0), vt(1, 1, 1))
  468. msh6 = mesh("SpecialMesh", prt6, "FileMesh", "9756362", vt(0, 0, 0), vt(0.8, 1, 0.5))
  469. msh7 = mesh("BlockMesh", prt7, "", "", vt(0, 0, 0), vt(1, 2, 2))
  470. msh8 = mesh("BlockMesh", prt8, "", "", vt(0, 0, 0), vt(1, 1, 2))
  471. msh9 = mesh("SpecialMesh", prt9, "Wedge", "nil", vt(0, 0, 0), vt(1, 2, 4))
  472. msh10 = mesh("SpecialMesh", prt10, "Wedge", "nil", vt(0, 0, 0), vt(1, 2, 4))
  473. local handlewld = weld(handle, handle, Torso, euler(-2, 1.57, 0) * cf(-1, -0.5, -0.6))
  474. local wld1 = weld(prt1, prt1, handle, euler(0, 0, 0) * cf(0, 0, 0))
  475. local wld2 = weld(prt1, prt2, prt1, euler(3.14, 0, 0) * cf(0, 3, 0))
  476. local wld3 = weld(prt1, prt3, prt1, euler(0, 0, 0) * cf(0, -3.2, 0))
  477. local wld4 = weld(prt1, prt4, prt3, euler(-1.57, 0, 1.57) * euler(0, -0.7, 0) * cf(-0.16, -0.2, -0.1))
  478. local wld5 = weld(prt1, prt5, prt3, euler(-1.57, 0, -1.57) * euler(0, 0.7, 0) * cf(0.16, -0.2, -0.1))
  479. local wld6 = weld(prt1, prt6, prt3, euler(0, 0, 0) * cf(0, -0.2, 0.1))
  480. local wld7 = weld(prt1, prt7, prt6, euler(0, 0, 0) * cf(0, 0.2, 0.2))
  481. local wld8 = weld(prt1, prt8, prt6, euler(0, 0, 0) * cf(0, -0.1, 0.2))
  482. local wld9 = weld(prt1, prt9, prt7, euler(0, 0, 0) * cf(0, 0, 0.7))
  483. local wld10 = weld(prt1, prt10, prt8, euler(0, 0, 0) * cf(0, -0.1, 0.7))
  484. for i = 0, 2.355, 0.785 do
  485.   local prt4 = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Part04", vt())
  486.   msh4 = mesh("SpecialMesh", prt4, "FileMesh", "9756362", vt(0, 0, 0), vt(1, 0.2, 0.2))
  487.   local wld4 = weld(prt1, prt4, prt3, euler(0, i, 0) * cf(0, 0.6, 0))
  488. end
  489. oldprt = prt9
  490. oldprt2 = prt10
  491. cff = 0.1
  492. eul = 0.02
  493. siz = 0.99
  494. for i = 1, 6 do
  495.   local prt11 = part(3, modelzorz, 0.5, 1, BrickColor.new("Really black"), "Part11", vt())
  496.   msh11 = mesh("SpecialMesh", prt11, "Wedge", "nil", vt(0, 0, 0), vt(siz, 2, 6))
  497.   local wld11 = weld(prt1, prt11, oldprt, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0))
  498.   if i < 4 then
  499.     num = 6
  500.     if i == 3 then
  501.       num = 6.8
  502.     end
  503.     local prt12 = part(3, modelzorz, 0.5, 1, BrickColor.new("Black"), "Part12", vt())
  504.     msh12 = mesh("BlockMesh", prt12, "", "", vt(0, 0, 0), vt(siz / 2, 2, num))
  505.     local wld12 = weld(prt1, prt12, prt11, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0))
  506.   end
  507.   do
  508.     do
  509.       oldprt = prt11
  510.       cff = 0.6
  511.       eul = 0.15
  512.       siz = siz - 0.1
  513.       -- DECOMPILER ERROR at PC2114: LeaveBlock: unexpected jumping out DO_STMT
  514.  
  515.     end
  516.   end
  517. end
  518. modelzorz.Name = "Chakra Gauntlets"
  519. local rprt1 = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Right Part01", vt())
  520. local rprt2 = part(3, modelzorz, 0, 1, BrickColor.new(NewCol), "Right Part02", vt())
  521. local rprt3 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Right Part03", vt())
  522. local rprt4 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Right Part04", vt())
  523. local rprt5 = part(3, modelzorz, 0, 1, BrickColor.new("Really black"), "Right Part05", vt())
  524. local rprt6 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Right Part06", vt())
  525. local lprt1 = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Left Part01", vt())
  526. local lprt2 = part(3, modelzorz, 0, 1, BrickColor.new(NewCol), "Left Part02", vt())
  527. local lprt3 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Left Part03", vt())
  528. local lprt4 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Left Part04", vt())
  529. local lprt5 = part(3, modelzorz, 0, 1, BrickColor.new("Really black"), "Left Part05", vt())
  530. local lprt6 = part(3, modelzorz, 0.5, 1, BrickColor.new("White"), "Left Part06", vt())
  531. local rmsh1 = mesh("SpecialMesh", rprt1, "FileMesh", "3270017", vt(0, 0, 0), vt(1.2, 1.2, 2))
  532. local rmsh2 = mesh("CylinderMesh", rprt2, "", "", vt(0, 0, 0), vt(5, 2, 5))
  533. local rmsh3 = mesh("SpecialMesh", rprt3, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 3, 6))
  534. local rmsh4 = mesh("SpecialMesh", rprt4, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 1.5, 3))
  535. local rmsh5 = mesh("CylinderMesh", rprt5, "", "", vt(0, 0, 0), vt(4, 2.1, 4))
  536. local rmsh6 = mesh("SpecialMesh", rprt6, "FileMesh", "9756362", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  537. local lmsh1 = mesh("SpecialMesh", lprt1, "FileMesh", "3270017", vt(0, 0, 0), vt(1.2, 1.2, 2))
  538. local lmsh2 = mesh("CylinderMesh", lprt2, "", "", vt(0, 0, 0), vt(5, 2, 5))
  539. local lmsh3 = mesh("SpecialMesh", lprt3, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 3, 6))
  540. local lmsh4 = mesh("SpecialMesh", lprt4, "Wedge", "nil", vt(0, 0, 0), vt(0.5, 1.5, 3))
  541. local lmsh5 = mesh("CylinderMesh", lprt5, "", "", vt(0, 0, 0), vt(4, 2.1, 4))
  542. local lmsh6 = mesh("SpecialMesh", lprt6, "FileMesh", "9756362", vt(0, 0, 0), vt(0.5, 0.5, 0.5))
  543. local rwld1 = weld(lprt1, rprt1, RightArm, euler(1.57, 0, 0) * cf(0, 0.3, 0))
  544. local rwld2 = weld(rprt1, rprt2, rprt1, euler(0, 0, 1.57) * cf(-0.6, 0, 0))
  545. local rwld3 = weld(rprt1, rprt3, rprt2, euler(-0.2, 3.14, 1.57) * cf(-0.7, 0, -0.4))
  546. local rwld4 = weld(rprt1, rprt4, rprt2, euler(-0.4, 3.14, -1.57) * cf(0.6, 0, -0.2))
  547. local rwld5 = weld(rprt1, rprt5, rprt2, euler(0, 0, 0) * cf(0, 0, 0))
  548. local rwld6 = weld(rprt1, rprt6, rprt2, euler(0, 0, 0.785) * cf(0, 0, 0.45))
  549. local lwld1 = weld(lprt1, lprt1, LeftArm, euler(1.57, 0, 0) * cf(0, 0.3, 0))
  550. local lwld2 = weld(rprt1, lprt2, lprt1, euler(0, 0, 1.57) * cf(0.6, 0, 0))
  551. local lwld3 = weld(rprt1, lprt3, lprt2, euler(-0.2, 3.14, 1.57) * cf(-0.7, 0, -0.4))
  552. local lwld4 = weld(rprt1, lprt4, lprt2, euler(-0.4, 3.14, -1.57) * cf(0.6, 0, -0.2))
  553. local lwld5 = weld(rprt1, lprt5, lprt2, euler(0, 0, 0) * cf(0, 0, 0))
  554. local lwld6 = weld(rprt1, lprt6, lprt2, euler(0, 0, 0.785) * cf(0, 0, 0.45))
  555. for _,c in pairs(modelzorz:children()) do
  556.   table.insert(Weapon, c)
  557. end
  558. for _,c in pairs(rprt1:children()) do
  559.   if c.className == "Motor" then
  560.     table.insert(Welds, c)
  561.   end
  562. end
  563. oldprt2 = prt10
  564. cff = 0.1
  565. eul = 0.02
  566. siz = 0.99
  567. for i = 1, 7 do
  568.   local prt13 = part(3, modelzorz, 0.5, 1, BrickColor.new(NewCol), "Part13", vt())
  569.   msh13 = mesh("SpecialMesh", prt13, "Wedge", "nil", vt(0, 0, 0), vt(siz, 2, 6))
  570.   local wld13 = weld(prt1, prt13, oldprt2, euler(0, 0, 0) * cf(0, 0, cff) * euler(eul, 0, 0))
  571.   oldprt2 = prt13
  572.   cff = 0.6
  573.   eul = 0.14
  574.   siz = siz - 0.1
  575. end
  576. for _,c in pairs(modelzorz:children()) do
  577.   table.insert(Weapon, c)
  578. end
  579. for _,c in pairs(prt1:children()) do
  580.   if c.className == "Motor" then
  581.     table.insert(Welds, c)
  582.   end
  583. end
  584. local hitbox = part(3, modelzorz, 0, 1, BrickColor.new("Black"), "Hitbox2", vt())
  585. hitbox.Anchored = false
  586. local hbwld = weld(hitbox, hitbox, RootPart, euler(0, 0, 0) * cf(0, 0, 0))
  587. local hitbox2 = part(3, nil, 0, 1, BrickColor.new("Black"), "Hitbox", vt(1, 1, 1))
  588. hitbox2.Anchored = true
  589. local hitboxCF = cf(0, 0, 0)
  590. hboxpos = Instance.new("BodyPosition", nil)
  591. hboxpos.P = 2000
  592. hboxpos.D = 100
  593. hboxpos.maxForce = Vector3.new(545000, 545000, 545000)
  594. hitboxweld = function()
  595.   hbwld.Parent = modelzorz
  596.   hbwld.Part0 = hitbox
  597.   hbwld.Part1 = prt6
  598. end
  599. if script.Parent.className ~= "HopperBin" then
  600.   Tool = Instance.new("HopperBin")
  601.   Tool.Parent = Backpack
  602.   Tool.Name = "Luminous Magic"
  603.   script.Parent = Tool
  604. end
  605. Bin = script.Parent
  606. if Bin.Name == "Luminous Magic" then
  607.   Bin.Name = "Luminous Magic"
  608. end
  609. local bodvel = Instance.new("BodyVelocity")
  610. local bg = Instance.new("BodyGyro")
  611. so = function(id, par, vol, pit)
  612.   local sou = Instance.new("Sound", par or workspace)
  613.   sou.Volume = vol
  614.   sou.Pitch = pit or 1
  615.   sou.SoundId = "http://www.roblox.com/asset/?id=" .. id
  616.   coroutine.resume(coroutine.create(function(Sound)
  617.     swait()
  618.     Sound:play()
  619.   end), sou)
  620.   game:GetService("Debris"):AddItem(sou, 6)
  621. end
  622. function clerp(a,b,t)
  623. local qa = {QuaternionFromCFrame(a)}
  624. local qb = {QuaternionFromCFrame(b)}
  625. local ax, ay, az = a.x, a.y, a.z
  626. local bx, by, bz = b.x, b.y, b.z
  627. local _t = 1-t
  628. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  629. end
  630.  
  631. function QuaternionFromCFrame(cf)
  632. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  633. local trace = m00 + m11 + m22
  634. if trace > 0 then
  635. local s = math.sqrt(1 + trace)
  636. local recip = 0.5/s
  637. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  638. else
  639. local i = 0
  640. if m11 > m00 then
  641. i = 1
  642. end
  643. if m22 > (i == 0 and m00 or m11) then
  644. i = 2
  645. end
  646. if i == 0 then
  647. local s = math.sqrt(m00-m11-m22+1)
  648. local recip = 0.5/s
  649. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  650. elseif i == 1 then
  651. local s = math.sqrt(m11-m22-m00+1)
  652. local recip = 0.5/s
  653. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  654. elseif i == 2 then
  655. local s = math.sqrt(m22-m00-m11+1)
  656. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  657. end
  658. end
  659. end
  660.  
  661. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  662. local xs, ys, zs = x + x, y + y, z + z
  663. local wx, wy, wz = w*xs, w*ys, w*zs
  664. local xx = x*xs
  665. local xy = x*ys
  666. local xz = x*zs
  667. local yy = y*ys
  668. local yz = y*zs
  669. local zz = z*zs
  670. return CFrame.new(px, py, pz,1-(yy+zz), xy - wz, xz + wy,xy + wz, 1-(xx+zz), yz - wx, xz - wy, yz + wx, 1-(xx+yy))
  671. end
  672.  
  673. function QuaternionSlerp(a, b, t)
  674. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  675. local startInterp, finishInterp;
  676. if cosTheta >= 0.0001 then
  677. if (1 - cosTheta) > 0.0001 then
  678. local theta = math.acos(cosTheta)
  679. local invSinTheta = 1/math.sin(theta)
  680. startInterp = math.sin((1-t)*theta)*invSinTheta
  681. finishInterp = math.sin(t*theta)*invSinTheta  
  682. else
  683. startInterp = 1-t
  684. finishInterp = t
  685. end
  686. else
  687. if (1+cosTheta) > 0.0001 then
  688. local theta = math.acos(-cosTheta)
  689. local invSinTheta = 1/math.sin(theta)
  690. startInterp = math.sin((t-1)*theta)*invSinTheta
  691. finishInterp = math.sin(t*theta)*invSinTheta
  692. else
  693. startInterp = t-1
  694. finishInterp = t
  695. end
  696. end
  697. return a[1]*startInterp + b[1]*finishInterp, a[2]*startInterp + b[2]*finishInterp, a[3]*startInterp + b[3]*finishInterp, a[4]*startInterp + b[4]*finishInterp
  698. end
  699. hideanim = function()
  700.   equipped = false
  701.   for i = 0, 1, 0.5 do
  702.     swait()
  703.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  704.     RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  705.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  706.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  707.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  708.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  709.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.3)
  710.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.3)
  711.   end
  712.   for i = 0, 1, 0.2 do
  713.     swait()
  714.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  715.     RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  716.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  717.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  718.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  719.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  720.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.3)
  721.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.3)
  722.   end
  723.   mdec2.Parent = nil
  724.   handlewld.Part1 = Torso
  725.   handlewld.C0 = euler(-2, 1.57, 0) * cf(-1, -0.5, -0.6)
  726.   wld1.C0 = euler(0, 0, 0) * cf(0, 0, 0)
  727.   for i = 0, 1, 0.3 do
  728.     swait()
  729.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0, 0, 0), 0.3)
  730.     RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  731.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  732.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  733.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(0, 0, 0), 0.4)
  734.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  735.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, 0), 0.3)
  736.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, 0), 0.3)
  737.   end
  738.   mdec.Parent = Decrease
  739. end
  740. mdec.Parent = Decrease
  741. equipanim = function()
  742.   equipped = true
  743.   mdec.Parent = nil
  744.   for i = 0, 1, 0.5 do
  745.     swait()
  746.     Neck.C0 = clerp(Neck.C0, necko * euler(0.15, 0, 0) * euler(0, 0, 0), 0.3)
  747.     RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.35)* angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  748.     RW.C0 = clerp(RW.C0, cf(1.2, 0.3, -0.5) * euler(1.3, 0, -1.2) * euler(0, 1.57, 0), 0.15)
  749.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  750.     LW.C0 = clerp(LW.C0, cf(-1.2, 0.3, -0.5) * euler(1.3, 0, 1.2) * euler(0, -1.57, 0), 0.15)
  751.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  752.     RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-6),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  753.     LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  754.   end
  755.   for i = 0, 1, 0.2 do
  756.     swait()
  757.     Neck.C0 = clerp(Neck.C0, necko * euler(0.15, 0, 0) * euler(0, 0, 0), 0.3)
  758.     RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.35)* angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  759.     RW.C0 = clerp(RW.C0, cf(1.2, 0.3, -0.5) * euler(1.3, 0, -1.2) * euler(0, 1.57, 0), 0.15)
  760.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  761.     LW.C0 = clerp(LW.C0, cf(-1.2, 0.3, -0.5) * euler(1.3, 0, 1.2) * euler(0, -1.57, 0), 0.15)
  762.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  763.     RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-6),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  764.     LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  765.   end
  766.   mdec2.Parent = Decrease
  767.   handlewld.Part1 = RightArm
  768.   handlewld.C0 = euler(0, -1.57, 0) * cf(0, 1, 0)
  769.   wld1.C0 = cf(0, -1.5, 0) * euler(0.2, 0, 0.4)
  770. end
  771. StaggerAnim = function()
  772.   attack = true
  773.   removeControl()
  774.   if invisible == true then
  775.     Clone(0.1)
  776.   end
  777.   for i = 1, math.random(2, 4) do
  778.     ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  779.   end
  780.   for i = 0, 1, 0.35 do
  781.     swait()
  782.     if Rooted.Value == false then
  783.       Torso.Velocity = RootPart.CFrame.lookVector * -40
  784.     end
  785.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.3)
  786.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.4), 0.3)
  787.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.3)
  788.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  789.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  790.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  791.     RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.3)
  792.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  793.   end
  794.   for i = 0, 1, 0.2 do
  795.     swait()
  796.     if Rooted.Value == false then
  797.       Torso.Velocity = RootPart.CFrame.lookVector * -40
  798.     end
  799.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.5) * euler(0.1, 0, 0), 0.4)
  800.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.2) * euler(-0.5, 0, -0.4), 0.4)
  801.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 0.7) * euler(0, -0.7, 0), 0.4)
  802.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  803.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.4)
  804.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  805.     RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.4)
  806.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.5), 0.4)
  807.   end
  808.   for i = 0, 1, 0.1 do
  809.     swait()
  810.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.4) * euler(0.5, 0, 0), 0.3)
  811.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.8) * euler(-0.2, 0, -0.4), 0.3)
  812.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.3, 0, 0.4) * euler(0, -0.4, 0), 0.3)
  813.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  814.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.3, 0, -0.2) * euler(0, 0.4, 0), 0.3)
  815.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  816.     RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 1.2), 0.3)
  817.     LH.C0 = clerp(LH.C0, cf(-1, 0, -1) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  818.   end
  819.   for i = 1, 50 do
  820.     swait()
  821.     if StunT.Value <= Stun.Value then
  822.       break
  823.     end
  824.   end
  825.   do
  826.     resumeControl()
  827.     combo = 0
  828.     attack = false
  829.   end
  830. end
  831. StaggerHitt = function()
  832.   attack = true
  833.   if invisible == true then
  834.     Clone(0.1)
  835.   end
  836.   for i = 1, math.random(2, 4) do
  837.     ClangEffect(BrickColor.new("New Yeller"), cf(hitbox.Position) * euler(math.random(-50, 50) / 100, math.random(-50, 50), math.random(-50, 50) / 100), 0, 0.1, 0.2, math.random(150, 300) / 1000)
  838.   end
  839.   for i = 0, 1, 0.1 do
  840.     swait()
  841.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0.7) * euler(0.1, 0, 0), 0.3)
  842.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(-0.2, 0, -0.6), 0.3)
  843.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4, 0, 0.9) * euler(0, -0.7, 0), 0.3)
  844.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  845.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4) * euler(0, 0.4, 0), 0.3)
  846.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  847.     RH.C0 = clerp(RH.C0, cf(1, -0.8, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, -0.4), 0.3)
  848.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0.2, 0.2), 0.3)
  849.   end
  850.   attack = false
  851. end
  852. StunAnim = function()
  853.   attack = true
  854.   removeControl()
  855.   Stunned.Value = true
  856.   showDamage(Character, "Stunned", "Interrupt")
  857.   local dec = Instance.new("NumberValue", Decrease)
  858.   dec.Name = "DecreaseMvmt"
  859.   dec.Value = 10
  860.   for i = 0, 1, 0.3 do
  861.     swait()
  862.     handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3)
  863.     wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(1.57, 0, 0), 0.3)
  864.     Neck.C0 = clerp(Neck.C0, necko * euler(-0.2, 0, -0.5), 0.2)
  865.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * euler(0.2, 0, -3), 0.2)
  866.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.2, 0, 1.3), 0.2)
  867.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  868.     LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1, 0, 0.4) * euler(0, -0.1, 0), 0.2)
  869.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  870.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.3), 0.25)
  871.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.2, 0, 0), 0.25)
  872.   end
  873.   for i = 0, 1, 0.3 do
  874.     swait()
  875.     handlewld.C0 = clerp(handlewld.C0, euler(0, 0, 0) * cf(0, 1, 0), 0.3)
  876.     wld1.C0 = clerp(wld1.C0, euler(0, 0, 0) * cf(0, 0, 0) * euler(1.57, 0, 0), 0.3)
  877.     Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -0.5), 0.2)
  878.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.5) * euler(0.8, 0, -3), 0.2)
  879.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  880.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  881.     LW.C0 = clerp(LW.C0, cf(-1.2, 0.5, -0.4) * euler(1.2, 0, 0.8) * euler(0, -0.1, 0), 0.2)
  882.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  883.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.5, 0, 0.6), 0.25)
  884.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(0.1, 0, 0.7), 0.25)
  885.   end
  886.   for i = 0, 1, 0.3 do
  887.     swait()
  888.     Neck.C0 = clerp(Neck.C0, necko * euler(-0.3, 0, -1), 0.2)
  889.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1.57, 0, -3), 0.2)
  890.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8, 0, 1.3), 0.2)
  891.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  892.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, -0.8) * euler(0, -0.1, 0), 0.2)
  893.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  894.     RH.C0 = clerp(RH.C0, cf(1, -0.6, 0) * euler(0, 1.57, 0) * euler(-0.2, 0, 0.6), 0.25)
  895.     LH.C0 = clerp(LH.C0, cf(-1, -0.8, 0) * euler(0, -1.57, 0) * euler(-0.1, 0, 0.3), 0.25)
  896.   end
  897.   local gairost = Instance.new("BodyGyro")
  898.   gairost.Parent = RootPart
  899.   gairost.maxTorque = Vector3.new(400000, 0, 400000) * math.huge
  900.   gairost.P = 20000
  901.   gairost.cframe = cf(0, 0, 0)
  902.   for i = 0, 1, 0.1 do
  903.     swait()
  904.     if hitfloor ~= nil then
  905.       Torso.Velocity = vt(0, 0, 0)
  906.     end
  907.     Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, -1.57), 0.3)
  908.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2.5) * euler(1.57, 0, -3.14), 0.3)
  909.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1.5) * euler(0.2, 0, 0), 0.3)
  910.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  911.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.5, 0, -1.57) * euler(0, 0, 0), 0.3)
  912.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  913.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0), 0.3)
  914.     LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 0), 0.3)
  915.   end
  916.   for i = 1, 70 do
  917.     swait()
  918.     gairost.cframe = RootPart.CFrame
  919.     if hitfloor ~= nil then
  920.       Torso.Velocity = vt(0, 0, 0)
  921.     end
  922.   end
  923.   for i = 0, 1, 0.2 do
  924.     swait()
  925.     Stun.Value = 0
  926.     gairost.cframe = RootPart.CFrame
  927.     Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0), 0.3)
  928.     RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -2) * euler(1, 0, -4), 0.3)
  929.     RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.57, 0, 1) * euler(0.2, -1, 0), 0.3)
  930.     RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  931.     LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.2, 0, 0.2) * euler(0, 0, 0), 0.3)
  932.     LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  933.     RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(-0.3, 0.5, 0.4), 0.3)
  934.     LH.C0 = clerp(LH.C0, cf(-1, -1, -1) * euler(0, -1.57, 0) * euler(-0.1, 0.2, 1), 0.3)
  935.   end
  936.   resumeControl()
  937.   gairost.Parent = nil
  938.   dec.Parent = nil
  939.   Stun.Value = 0
  940.   combo = 0
  941.   Stunned.Value = false
  942.   attack = false
  943.   for i = 1, 10 do
  944.     swait()
  945.     Stun.Value = 0
  946.   end
  947. end
  948. attackone = function()
  949. end
  950. attacktwo = function()
  951. end
  952. attackthree = function()
  953. end
  954. attackfour = function()
  955. end
  956.  
  957. Invisibility = function()
  958.   if invisible == false then
  959.     so("2767090", Torso, 1, 1)
  960.     MagicWave(BrickColor.new(NewCol), scarfp2.CFrame * euler(math.rad(180), 0, 0), 1, 1, 1, 0.5, 1.5, 0.5, 0.1)
  961.     MagicWave(BrickColor.new(NewCol), scarfp2.CFrame * euler(math.rad(180), 0, 0), 1, 1, 1, 1, 0.5, 1, 0.1)
  962.     MagicCircle(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 10, 10, 10, 0.05)
  963.     MagicCircle(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 5, 5, 5, 0.05)
  964.     invisnum.Value = invisnum.Value - 10
  965.     for _,c in pairs(Decrease:children()) do
  966.       if c.Name == "DecreaseMvmt" and c:findFirstChild("Renegade") ~= nil then
  967.         c.Parent = nil
  968.       end
  969.     end
  970.     d = Instance.new("NumberValue", Decrease)
  971.     d.Name = "DecreaseAtk"
  972.     d.Value = -5
  973.     dur = Instance.new("NumberValue", d)
  974.     dur.Name = "Duration"
  975.     dur.Value = 420
  976.     display = "+Damage"
  977.     showDamage(Character, display, "Debuff")
  978.     da = Instance.new("BoolValue", d)
  979.     da.Name = "Renegade"
  980.     DecreaseStat(Character, "Defense", 0.1, 80)
  981.     invisible = true
  982.     isinvis.Value = true
  983.     passive3.Parent = Decrease
  984.   else
  985.     invisible = false
  986.     isinvis.Value = false
  987.     passive3.Parent = nil
  988.   end
  989. end
  990.  
  991. Runes = {"rbxassetid://0"}
  992. ContentProvider = game:GetService("ContentProvider")
  993. for _,v in pairs(Runes) do
  994.   ContentProvider:Preload(v)
  995. end
  996. do2 = function()
  997. local ChatService = game:GetService("Chat")
  998.  
  999. neck.C0 = neck.C0 * CFrame.Angles(0,0,0)
  1000. ChatService:Chat(Head, "Shadron Soul!", "Red")
  1001. wait(0)
  1002.   if attack == true then
  1003.     return
  1004.   end
  1005.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1006.     return
  1007.   end
  1008.   if cooldownmax <= cooldowns[1] and mana.Value >= 0 then
  1009.     deb = 0.2
  1010.     attack = true
  1011.     cooldowns[1] = 100
  1012.     mana.Value = mana.Value - 20
  1013.     local orb = part(3, modelzorz, 0, 0.5, BrickColor.new(NewCol), "Effect", vt())
  1014.     do
  1015.       swait()
  1016.       local dec = Instance.new("NumberValue", Decrease)
  1017.       dec.Name = "DecreaseMvmt"
  1018.       dec.Value = 1
  1019.       for i = 0, 1, 0.2 do
  1020.         swait()
  1021.     RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.35)* angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  1022.     Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-25),math.rad(0),math.rad(0)),.3)
  1023.     RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(150), math.rad(-5), math.rad(8)), 0.3)
  1024.     LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(150), math.rad(5), math.rad(-8)), 0.3)
  1025.     RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-10),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1026.     LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  1027.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1028.           do
  1029.             if StaggerHit.Value == true then
  1030.               break
  1031.             end
  1032.           end
  1033.         end
  1034.       end
  1035.       if Stagger.Value ~= true then --and StunT.Value > Stun.Value then
  1036.         if StaggerHit.Value ~= true then
  1037.           swait()
  1038.           arcorb = true
  1039.           orb.Anchored = true
  1040.           orb.CFrame = RootPart.CFrame * cf(0, 100, 0)
  1041.           so("515578896", orb, 3.5, 0.25)
  1042.           do
  1043.             local msh = mesh("SpecialMesh", orb, "Sphere", "nil", vt(0, 0, 0), vt(250, 250, 250))
  1044.             ogui = Instance.new("BillboardGui")
  1045.             ogui.Parent = orb
  1046.             ogui.Size = UDim2.new(5, 0, 5, 0)
  1047.             oimg = Instance.new("ImageLabel")
  1048.             oimg.Parent = ogui
  1049.             oimg.BackgroundTransparency = 1
  1050.             oimg.Size = UDim2.new(1, 0, 1, 0)
  1051.             oimg.Image = Runes[math.random(1, #Runes)]
  1052.             oimg.ImageColor3 = BrickColor.new(NewCol).Color
  1053.             orbnum = 100
  1054.             while arcorb==true do
  1055.               if arcorb == true then
  1056.                 swait()
  1057.               end
  1058.               if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1059.                 if StaggerHit.Value == true then
  1060.                   break
  1061.                 end
  1062.                 MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 25, -0.5, -0.5, 0, 0.1)
  1063.                 MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 75, 75, 50, -1, -1, 0, 0.1)
  1064.                 MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 25, -0.5, -0.5, 0, 0.1)
  1065.                 MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 75, 75, 50, -1, -1, 0, 0.1)
  1066.                 if orbnum < 0 or MMouse == nil then
  1067.                   arcorb = false
  1068.                 end
  1069.                 swait()
  1070.                 orbnum = orbnum - 1
  1071.                 if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1072.                   arcorb = false
  1073.                   break
  1074.                 end
  1075.               end
  1076.             end
  1077.             if MMouse.Hit.p ~= nil then
  1078.               swait()
  1079.               local MainPos = orb.Position
  1080.               local MainPos2 = MMouse.Hit.p
  1081.               local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1082.               so("203691467", orb, 3, 0.5)
  1083.               coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  1084.     local num = 50
  1085.     repeat
  1086.       swait()
  1087.       local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character)
  1088.       orb.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  1089.       MagicCircle(BrickColor.new(NewCol), cf(orb.Position), 200, 200, 200, -10, -10, -10, 0.075)
  1090.       MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 1, 2.5, 2.5, 0, 0.1)
  1091.       Pos1 = Pos1 + Look.lookVector * 8.5
  1092.       orb.CFrame = CFrame.new(orb.Position, MMouse.Hit.p)
  1093.       if ohit ~= nil then
  1094.         num = 0
  1095.       end
  1096.       num = num - 1
  1097.     until num <= 0
  1098.     local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
  1099.     ref.Anchored = true
  1100.     ref.CFrame = cf(orb.Position)
  1101.     so("414516914", ref, 7.5, 0.75)
  1102.     so("414516914", ref, 7.75, 0.5)
  1103.     game:GetService("Debris"):AddItem(ref, 5)
  1104.     MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 175, 175, 175, 25, 25, 25, 0.05)
  1105.     MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 175, 175, 175, 40, 40, 40, 0.065)
  1106.     MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 175, 175, 175, 50, 50, 50, 0.075)
  1107.     MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 175, 175, 175, 80, 80, 80, 0.085)
  1108.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 1, 5, 5, 0, 0.025)
  1109.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 1, 7.5, 7.5, 0, 0.025)
  1110.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 1, 10, 10, 0, 0.025)
  1111.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 1, 10.5, 10.5, 0, 0.025)
  1112.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 1, 12, 12, 0, 0.025)
  1113.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 1, 12.5, 12.5, 0, 0.025)
  1114.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 1, 15, 15, 0, 0.025)
  1115.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 50, 50, 1, 15.5, 15.5, 0, 0.025)
  1116.     MagniDamage(ref, 72.5, 20, 31, math.random(5, 10), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
  1117.     if isjugg == false then
  1118.     end
  1119.     orb.Parent = nil
  1120.   end
  1121. ), MainPos, MainPos2, MouseLook)
  1122.             end
  1123.             do
  1124.               dec.Parent = nil
  1125.               swait()
  1126.               attack = false
  1127.             end
  1128.           end
  1129.         end
  1130.       end
  1131.     end
  1132.   end
  1133. end
  1134. do1 = function()
  1135. local ChatService = game:GetService("Chat")
  1136.  
  1137. neck.C0 = neck.C0 * CFrame.Angles(0,0,0)
  1138. ChatService:Chat(Head, "Corrupted Bullet!", "Red")
  1139. wait(0)
  1140.   if attack == true then
  1141.     return
  1142.   end
  1143.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1144.     return
  1145.   end
  1146.   if cooldownmax <= cooldowns[1] and mana.Value >= 0 then
  1147.     deb = 0.2
  1148.     attack = true
  1149.     cooldowns[1] = 100
  1150.     mana.Value = mana.Value - 20
  1151.     local orb = part(3, modelzorz, 0, 0.5, BrickColor.new(NewCol), "Effect", vt())
  1152.     do
  1153.       swait()
  1154.       local dec = Instance.new("NumberValue", Decrease)
  1155.       dec.Name = "DecreaseMvmt"
  1156.       dec.Value = 1
  1157.       for i = 0, 1, 0.2 do
  1158.         swait()
  1159.         Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 1.57) * euler(0, 0, 0), 0.3)
  1160.         RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0.35) * euler(0, 0, -1.57), 0.3)
  1161.         RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1, 0, 1) * euler(0, 1.5, 0), 0.3)
  1162.         RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1163.         LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57) * euler(0, 0, 0), 0.3)
  1164.         LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.3)
  1165.         RH.C0 = clerp(RH.C0, cf(0.5, -1, -0.3) * euler(0, 1.57, 0) * euler(0, 1.57, -0.3), 0.3)
  1166.         LH.C0 = clerp(LH.C0, cf(-0.5, -1, 0.3) * euler(0, -1.57, 0) * euler(0, 1.57, 0.1), 0.3)
  1167.         if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1168.           do
  1169.             if StaggerHit.Value == true then
  1170.               break
  1171.             end
  1172.           end
  1173.         end
  1174.       end
  1175.       if Stagger.Value ~= true then --and StunT.Value > Stun.Value then
  1176.         if StaggerHit.Value ~= true then
  1177.           swait()
  1178.           arcorb = true
  1179.           orb.Anchored = true
  1180.           orb.CFrame = RootPart.CFrame * cf(0, 0.5, -5)
  1181.           so("515578896", orb, 2, 0.35)
  1182.           do
  1183.             local msh = mesh("SpecialMesh", orb, "Sphere", "nil", vt(0, 0, 0), vt(25, 25, 25))
  1184.             ogui = Instance.new("BillboardGui")
  1185.             ogui.Parent = orb
  1186.             ogui.Size = UDim2.new(5, 0, 5, 0)
  1187.             oimg = Instance.new("ImageLabel")
  1188.             oimg.Parent = ogui
  1189.             oimg.BackgroundTransparency = 1
  1190.             oimg.Size = UDim2.new(1, 0, 1, 0)
  1191.             oimg.Image = Runes[math.random(1, #Runes)]
  1192.             oimg.ImageColor3 = BrickColor.new(NewCol).Color
  1193.             orbnum = 100
  1194.             while arcorb==true do
  1195.               if arcorb == true then
  1196.                 swait()
  1197.               end
  1198.               if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1199.                 if StaggerHit.Value == true then
  1200.                   break
  1201.                 end
  1202.                 orb.CFrame = RootPart.CFrame * cf(0, 0.5, -5)
  1203.                 MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 5, 5, 1, -0.05, -0.05, 0, 0.1)
  1204.                 MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 5, 5, 1, -0.05, -0.05, 0, 0.1)
  1205.                 if orbnum < 0 or MMouse == nil then
  1206.                   arcorb = false
  1207.                 end
  1208.                 swait()
  1209.                 orbnum = orbnum - 1
  1210.                 if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1211.                   arcorb = false
  1212.                   break
  1213.                 end
  1214.               end
  1215.             end
  1216.             if MMouse.Hit.p ~= nil then
  1217.               swait()
  1218.               local MainPos = orb.Position
  1219.               local MainPos2 = MMouse.Hit.p
  1220.               local MouseLook = cf((MainPos + MainPos2) / 2, MainPos2)
  1221.               so("203691467", orb, 3, 0.75)
  1222.               coroutine.resume(coroutine.create(function(Pos1, Pos2, Look)
  1223.     local num = 50
  1224.     repeat
  1225.       swait()
  1226.       local ohit, opos = rayCast(Pos1, Look.lookVector, 5, Character)
  1227.       orb.CFrame = CFrame.new((Pos1 + opos) / 2, opos)
  1228.       MagicCircle(BrickColor.new(NewCol), cf(orb.Position), 15, 15, 15, -1, -1, -1, 0.075)
  1229.       MagicRing(BrickColor.new(NewCol2), cf(orb.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 5, 5, 1, -0.25, -0.25, 0, 0.075)
  1230.       Pos1 = Pos1 + Look.lookVector * 5
  1231.       orb.CFrame = CFrame.new(orb.Position, MMouse.Hit.p)
  1232.       if ohit ~= nil then
  1233.         num = 0
  1234.       end
  1235.       num = num - 1
  1236.     until num <= 0
  1237.     local ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Effect", vt())
  1238.     ref.Anchored = true
  1239.     ref.CFrame = cf(orb.Position)
  1240.     so("414516914", ref, 4.5, 0.9)
  1241.     game:GetService("Debris"):AddItem(ref, 5)
  1242.     MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 25, 25, 25, 10, 10, 10, 0.05)
  1243.     MagicCircle(BrickColor.new(NewCol), cf(ref.Position), 25, 25, 25, 20, 20, 20, 0.075)
  1244.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 10, 10, 1, 2, 2, 0, 0.025)
  1245.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 10, 10, 1, 2.5, 2.5, 0, 0.025)
  1246.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 10, 10, 1, 3, 3, 0, 0.025)
  1247.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 10, 10, 1, 3.5, 3.5, 0, 0.025)
  1248.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 10, 10, 1, 4, 4, 0, 0.025)
  1249.     MagicRing(BrickColor.new(NewCol2), cf(ref.Position) * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 10, 10, 1, 4.5, 4.5, 0, 0.025)
  1250.     MagniDamage(ref, 25.75, 12, 21, math.random(5, 10), "Normal", RootPart, 0.5, 2, (math.random(5, 7)), nil, true)
  1251.     if isjugg == false then
  1252.     end
  1253.     orb.Parent = nil
  1254.   end
  1255. ), MainPos, MainPos2, MouseLook)
  1256.             end
  1257.             do
  1258.               dec.Parent = nil
  1259.               swait()
  1260.               attack = false
  1261.             end
  1262.           end
  1263.         end
  1264.       end
  1265.     end
  1266.   end
  1267. end
  1268. do3 = function()
  1269. local ChatService = game:GetService("Chat")
  1270.  
  1271. neck.C0 = neck.C0 * CFrame.Angles(0,0,0)
  1272. ChatService:Chat(Head, "Darkened Falls!", "Red")
  1273. wait(0)
  1274. if attack == true then
  1275.     return
  1276.   end
  1277.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1278.     return
  1279.   end
  1280.   if cooldownmax <= cooldowns[3] and mana.Value >= 30 then
  1281.     attack = true
  1282.     cooldowns[3] = 0
  1283.     local dec = Instance.new("NumberValue", Decrease)
  1284.     dec.Name = "DecreaseMvmt"
  1285.     dec.Value = 10
  1286.     local dec2 = Instance.new("NumberValue", Decrease)
  1287.     dec2.Name = "DecreaseDef"
  1288.     dec2.Value = -10
  1289.     LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(2, 0, 1), 0.5)
  1290.     for i = 0, 1, 0.1 do
  1291.       swait()
  1292.       Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, -0.2), 0.4)
  1293.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.5), 0.4)
  1294.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4, 0, 0.5), 0.4)
  1295.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1296.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1297.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1298.       RH.C0 = clerp(RH.C0, RHC0 * cf(0, 0, 0) * euler(0, -0.5, -0.5), 0.4)
  1299.       LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.5, 0, -0.5), 0.4)
  1300.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1301.         do
  1302.           if StaggerHit.Value == true then
  1303.             break
  1304.           end
  1305.           -- DECOMPILER ERROR at PC281: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1306.  
  1307.           -- DECOMPILER ERROR at PC281: LeaveBlock: unexpected jumping out IF_STMT
  1308.  
  1309.         end
  1310.       end
  1311.     end
  1312.     so("315746833", RootPart, 7.5, 0.5)
  1313.     do
  1314.     wait(0)
  1315.       MagicCircle(BrickColor.new(NewCol), cf(RootPart.Position), 0, 0, 0, 3.5, 3.5, 3.5, 0.0085, 3)
  1316.     wait(5)
  1317.     end
  1318.     do
  1319.           mana.Value = mana.Value - 30
  1320.           passivenum = -30
  1321.           dec.Parent = nil
  1322.           dec2.Parent = nil
  1323.           passive.Value = -1
  1324.           so("414516914", RootPart, 10, 0.45)
  1325.           so("517251746", RootPart, 10, 0.6)
  1326.           MagicCircle(BrickColor.new(NewCol), cf(Torso.Position), 20, 20, 20, 100, 100, 100, 0.1)
  1327.           MagicCircle(BrickColor.new(NewCol), cf(Torso.Position), 2, 2, 2, 100, 0, 100, 0.075)
  1328.           MagicCircle(BrickColor.new(NewCol), cf(Torso.Position), 2, 2, 2, 200, 0, 200, 0.1)
  1329.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 100, 1, 100, 1.5, 0, 1.5, 0.0075)
  1330.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 100, 1, 100, 1.5, 0, 1.5, 0.0075)
  1331.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 100, 1, 100, 1.5, 0, 1.5, 0.0075)
  1332.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 20, 1, 20, 20, 0, 20, 0.1)
  1333.           MagicCircle(BrickColor.new(NewCol), cf(Torso.Position), 20, 20, 20, 50, 50, 50, 0.05)
  1334.           MagicCircle(BrickColor.new(NewCol), cf(Torso.Position), 300, 300, 300, 5, 5, 5, 0.0075)
  1335.           MagniDamage(RootPart, 100, 20, 27, math.random(30, 50), "Knockdown2", RootPart, 0, 1, (math.random(4, 8)), nil, nil, false)
  1336.           wait(0.25)
  1337.           so("138186576", RootPart, 5, 1)
  1338.           MagicCircle(BrickColor.new(NewCol), cf(Torso.Position), 350, 1, 350, -10, 200, -10, 0.025)
  1339.           for i = 0, 1, 0.1 do
  1340.             swait()
  1341.             Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, -0.2), 0.4)
  1342.             RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.5), 0.4)
  1343.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4, 0, 0.5), 0.4)
  1344.             RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1345.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1346.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1347.             RH.C0 = clerp(RH.C0, RHC0 * cf(0, 0, 0) * euler(0, -0.5, -0.5), 0.4)
  1348.             LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.5, 0, -0.5), 0.4)
  1349.             if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1350.               do
  1351.                 if StaggerHit.Value == true then
  1352.                   break
  1353.                 end
  1354.                 -- DECOMPILER ERROR at PC648: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1355.  
  1356.                 -- DECOMPILER ERROR at PC648: LeaveBlock: unexpected jumping out IF_STMT
  1357.  
  1358.               end
  1359.             end
  1360.           end
  1361.           dec.Parent = nil
  1362.           dec2.Parent = nil
  1363.           attack = false
  1364.         end
  1365.       end
  1366.     end
  1367. do4 = function()
  1368. local ChatService = game:GetService("Chat")
  1369.  
  1370. neck.C0 = neck.C0 * CFrame.Angles(0,0,0)
  1371. ChatService:Chat(Head, "You're really messing me up... But its time...", "Red")
  1372. wait(3)
  1373. local ChatService = game:GetService("Chat")
  1374.  
  1375. neck.C0 = neck.C0 * CFrame.Angles(0,0,0)
  1376. ChatService:Chat(Head, "To darkened this world.", "Red")
  1377. wait(2.5)
  1378. local ChatService = game:GetService("Chat")
  1379.  
  1380. neck.C0 = neck.C0 * CFrame.Angles(0,0,0)
  1381. ChatService:Chat(Head, "FAINTUL DARKNESS!!!", "Red")
  1382. wait(0)
  1383. if attack == true then
  1384.     return
  1385.   end
  1386.   if Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true then
  1387.     return
  1388.   end
  1389.   if cooldownmax <= cooldowns[3] and mana.Value >= 30 then
  1390.     attack = true
  1391.     cooldowns[3] = 0
  1392.     local dec = Instance.new("NumberValue", Decrease)
  1393.     dec.Name = "DecreaseMvmt"
  1394.     dec.Value = 10
  1395.     local dec2 = Instance.new("NumberValue", Decrease)
  1396.     dec2.Name = "DecreaseDef"
  1397.     dec2.Value = -10
  1398.     LW.C0 = clerp(LW.C0, cf(-1, 0.5, -0.5) * euler(2, 0, 1), 0.5)
  1399.     for i = 0, 1, 0.1 do
  1400.       swait()
  1401.       Neck.C0 = clerp(Neck.C0, necko * euler(0, 0, 0) * euler(0.2, 0, 0), 0.5)
  1402.       RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0.35) * euler(0, 0, 0), 0.5)
  1403.       RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.57, 0, 1.57), 0.5)
  1404.       RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1405.       LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(1.57, 0, -1.57), 0.5)
  1406.       LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.5)
  1407.       RH.C0 = clerp(RH.C0, cf(1, -1, 0) * euler(0, 1.57, 0) * euler(0, 0, -0.3), 0.5)
  1408.       LH.C0 = clerp(LH.C0, cf(-1, -1, 0) * euler(0, -1.57, 0) * euler(0, 0, -0.1), 0.5)
  1409.       if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1410.         do
  1411.           if StaggerHit.Value == true then
  1412.             break
  1413.           end
  1414.           -- DECOMPILER ERROR at PC281: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1415.  
  1416.           -- DECOMPILER ERROR at PC281: LeaveBlock: unexpected jumping out IF_STMT
  1417.  
  1418.         end
  1419.       end
  1420.     end
  1421.     so("315746833", workspace, 100, 0.45)
  1422.     do
  1423.      wait(0)
  1424.      MagicCircle(BrickColor.new(NewCol), cf(RootPart.Position), 10, 10, 10, 5, 5, 5, 0.005)
  1425.      wait(6.5)
  1426.     end
  1427.     do
  1428.           mana.Value = mana.Value - 30
  1429.           passivenum = -30
  1430.           dec.Parent = nil
  1431.           dec2.Parent = nil
  1432.           passive.Value = -1
  1433.           so("517251746", workspace, 7.5, 0.45)
  1434.           so("517251746", workspace, 10, 0.25)
  1435.           MagicCircle(BrickColor.new(NewCol), cf(Torso.Position), 1000, 1000, 1000, 100, 100, 100, 0.1)
  1436.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 500, 10, 500, 1, 0, 1, 0.0075)
  1437.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 500, 10, 500, 1, 0, 1, 0.0075)
  1438.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 500, 10, 500, 1, 0, 1, 0.0075)
  1439.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 500, 10, 500, 1, 0, 1, 0.0075)
  1440.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 500, 10, 500, 1, 0, 1, 0.0075)
  1441.           MagicWave(BrickColor.new(NewCol2), cf(Torso.Position) * euler(0, math.random(-50, 50), 0), 10, 1, 10, 50, 0, 50, 0.05)
  1442.           MagicCircle(BrickColor.new(NewCol), cf(Torso.Position), 1495, 1495, 1495, 2.5, 2.5, 2.5, 0.0075)
  1443.           MagicCircle(BrickColor.new(NewCol), cf(Torso.Position), 1500, 1500, 1500, 5, 5, 5, 0.0075)
  1444.           MagniDamage(RootPart, 9001, 50, 1000, math.random(30, 50), "Knockdown2", RootPart, 0, 1, (math.random(4, 8)), nil, nil, false)
  1445.           for i = 0, 1, 0.1 do
  1446.             swait()
  1447.             Neck.C0 = clerp(Neck.C0, necko * euler(-0.4, 0, -0.2), 0.4)
  1448.             RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -1.5) * euler(0.8, 0, 0.5), 0.4)
  1449.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(1.4, 0, 0.5), 0.4)
  1450.             RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1451.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.2, 0, -0.4), 0.4)
  1452.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.4)
  1453.             RH.C0 = clerp(RH.C0, RHC0 * cf(0, 0, 0) * euler(0, -0.5, -0.5), 0.4)
  1454.             LH.C0 = clerp(LH.C0, LHC0 * cf(-0.5, 1, 0) * euler(0.5, 0, -0.5), 0.4)
  1455.             if Stagger.Value ~= true and StunT.Value > Stun.Value then
  1456.               do
  1457.                 if StaggerHit.Value == true then
  1458.                   break
  1459.                 end
  1460.                 -- DECOMPILER ERROR at PC648: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1461.  
  1462.                 -- DECOMPILER ERROR at PC648: LeaveBlock: unexpected jumping out IF_STMT
  1463.  
  1464.               end
  1465.             end
  1466.           end
  1467.           dec.Parent = nil
  1468.           dec2.Parent = nil
  1469.           attack = false
  1470.         end
  1471.       end
  1472.     end
  1473. DecreaseStat = function(Model, Stat, Amount, Duration, cangui)
  1474.   if Model:findFirstChild("Stats") ~= nil and Model.Stats[Stat] ~= nil then
  1475.     Model.Stats[Stat].Value = Model.Stats[Stat].Value - Amount
  1476.     d = Instance.new("NumberValue", Model.Stats.Decrease)
  1477.     dur = Instance.new("NumberValue", d)
  1478.     dur.Name = "Duration"
  1479.     dur.Value = Duration
  1480.     game:GetService("Debris"):AddItem(d, 20)
  1481.     if Stat == "Damage" then
  1482.       d.Name = "DecreaseAtk"
  1483.     else
  1484.       if Stat == "Defense" then
  1485.         d.Name = "DecreaseDef"
  1486.       else
  1487.         if Stat == "Movement" then
  1488.           d.Name = "DecreaseMvmt"
  1489.         end
  1490.       end
  1491.     end
  1492.     if Model:findFirstChild("Torso") ~= nil then
  1493.       display = ""
  1494.       if Stat == "Damage" then
  1495.         if Amount > 0 then
  1496.           display = "-Damage"
  1497.         else
  1498.           display = "+Damage"
  1499.         end
  1500.       else
  1501.         if Stat == "Defense" then
  1502.           if Amount > 0 then
  1503.             display = "-Defense"
  1504.           else
  1505.             display = "+Defense"
  1506.           end
  1507.         else
  1508.           if Stat == "Movement" then
  1509.             if Amount > 0 then
  1510.               display = "-Movement"
  1511.             else
  1512.               display = "+Movement"
  1513.             end
  1514.           end
  1515.         end
  1516.       end
  1517.       if cangui ~= true then
  1518.         showDamage(Model, display, "Debuff")
  1519.       end
  1520.     end
  1521.     d.Value = Amount
  1522.   end
  1523. end
  1524. GetDist = function(Part1, Part2, magni)
  1525.   local targ = Part1.Position - Part2.Position
  1526.   local mag = targ.magnitude
  1527.   if mag <= magni then
  1528.     return true
  1529.   else
  1530.     return false
  1531.   end
  1532. end
  1533. MagniDamage = function(Part, magni, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  1534.   for _,c in pairs(workspace:children()) do
  1535.     local hum = c:findFirstChild("Humanoid")
  1536.     if hum ~= nil then
  1537.       local head = nil
  1538.       for _,d in pairs(c:children()) do
  1539.         if d.className == "Model" and ranged ~= true then
  1540.           head = d:findFirstChild("Hitbox")
  1541.           if d.Parent == Character then
  1542.             break
  1543.           end
  1544.           if head ~= nil then
  1545.             local targ = head.Position - Part.Position
  1546.             local mag = targ.magnitude
  1547.             if mag <= magni and c.Name ~= Player.Name then
  1548.               ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1549.               ref.Anchored = true
  1550.               ref.CFrame = cf(head.Position)
  1551.               game:GetService("Debris"):AddItem(ref, 1)
  1552.               hitnum = math.random(1, 5)
  1553.               if hitnum == 1 then
  1554.                 so("199148971", ref, 1, 1)
  1555.               else
  1556.                 if hitnum == 2 then
  1557.                   so("199149025", ref, 1, 1)
  1558.                 else
  1559.                   if hitnum == 3 then
  1560.                     so("199149072", ref, 1, 1)
  1561.                   else
  1562.                     if hitnum == 4 then
  1563.                       so("199149109", ref, 1, 1)
  1564.                     else
  1565.                       if hitnum == 5 then
  1566.                         so("199149119", ref, 1, 1)
  1567.                       end
  1568.                     end
  1569.                   end
  1570.                 end
  1571.               end
  1572.               StaggerHit.Value = true
  1573.             end
  1574.           end
  1575.         end
  1576.         do
  1577.           if d.className == "Part" and d.Name=="Torso" then
  1578.             head = d
  1579.             if head ~= nil then
  1580.               local targ = head.Position - Part.Position
  1581.               local mag = targ.magnitude
  1582.               if mag <= magni and c.Name ~= Player.Name then
  1583.                 if stun == nil then
  1584.                   stun = math.random(5, 10)
  1585.                 end
  1586.                 local Rang = nil
  1587.                 if Ranged == false then
  1588.                   Rang = true
  1589.                 end
  1590.                 local stag = nil
  1591.                 if shbash == true then
  1592.                   stag = true
  1593.                 end
  1594.                 Damagefunc(head, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  1595.               end
  1596.             end
  1597.           end
  1598.           do
  1599.             -- DECOMPILER ERROR at PC183: LeaveBlock: unexpected jumping out DO_STMT
  1600.  
  1601.           end
  1602.         end
  1603.       end
  1604.     end
  1605.   end
  1606. end
  1607. rayCast = function(Pos, Dir, Max, Ignore)
  1608.   return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1609. end
  1610. local Point = Torso.CFrame * cf(0, Torso.Size.Y, 0)
  1611. LastPoint = Point
  1612. effect = function(Color, Ref, LP, P1, returnn)
  1613.   if LP == nil or P1 == nil then
  1614.     return
  1615.   end
  1616.   local effectsmsh = Instance.new("CylinderMesh")
  1617.   effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  1618.   effectsmsh.Name = "Mesh"
  1619.   local effectsg = Instance.new("Part")
  1620.   NoOutline(effectsg)
  1621.   effectsg.formFactor = 3
  1622.   effectsg.CanCollide = false
  1623.   effectsg.Name = "Eff"
  1624.   effectsg.Locked = true
  1625.   effectsg.Anchored = true
  1626.   effectsg.Size = Vector3.new(0.5, 1, 0.5)
  1627.   effectsg.Parent = workspace
  1628.   effectsmsh.Parent = effectsg
  1629.   effectsg.BrickColor = BrickColor.new(Color)
  1630.   effectsg.Reflectance = Ref
  1631.   local point1 = P1
  1632.   local mg = (LP.p - point1.p).magnitude
  1633.   effectsg.Size = Vector3.new(0.5, mg, 0.5)
  1634.   effectsg.CFrame = cf((LP.p + point1.p) / 2, point1.p) * CFrame.Angles(math.rad(90), 0, 0)
  1635.   effectsmsh.Scale = Vector3.new(0.2, 1, 0.2)
  1636.   game:GetService("Debris"):AddItem(effectsg, 2)
  1637.   if returnn then
  1638.     return effectsg
  1639.   end
  1640.   if not returnn then
  1641.     table.insert(Effects, {effectsg, "Cylinder", 0.2, 0.01, 0, 0.01, effectsmsh})
  1642.   end
  1643. end
  1644. MagicBlock = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, Type, parent)
  1645.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1646.   prt.Anchored = true
  1647.   prt.CFrame = cframe
  1648.   msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1649.   game:GetService("Debris"):AddItem(prt, 10)
  1650.   if Type == 1 or Type == nil then
  1651.     table.insert(Effects, {prt, "Block1", delay, x3, y3, z3, msh})
  1652.   else
  1653.     if Type == 2 then
  1654.       table.insert(Effects, {prt, "Block2", delay, x3, y3, z3, msh})
  1655.     else
  1656.       if Type == 3 then
  1657.         table.insert(Effects, {prt, "Block3", delay, x3, y3, z3, msh, prt.CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 0})
  1658.       end
  1659.     end
  1660.   end
  1661. end
  1662. MagicSkull = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
  1663.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1664.   prt.Anchored = true
  1665.   prt.CFrame = cframe
  1666.   msh = mesh("SpecialMesh", prt, "FileMesh", "4770583", vt(0, 0, 0), vt(x1, y1, z1))
  1667.   game:GetService("Debris"):AddItem(prt, 10)
  1668.   table.insert(Effects, {prt, "Skull", delay, x3, y3, z3, msh, goe})
  1669. end
  1670. MagicCircle = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1671.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1672.   prt.Anchored = true
  1673.   prt.CFrame = cframe
  1674.   local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1675.   game:GetService("Debris"):AddItem(prt, 10)
  1676.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1677. end
  1678. MagicRing = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1679.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt(0.5, 0.5, 0.5))
  1680.   prt.Anchored = true
  1681.   prt.CFrame = cframe * cf(x2, y2, z2)
  1682.   local msh = mesh("SpecialMesh", prt, "FileMesh", "3270017", vt(0, 0, 0), vt(x1, y1, z1))
  1683.   game:GetService("Debris"):AddItem(prt, 10)
  1684.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1685. end
  1686. MagicCircle2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, push)
  1687.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1688.   prt.Anchored = true
  1689.   prt.CFrame = cframe
  1690.   local msh = mesh("SpecialMesh", prt, "Sphere", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1691.   game:GetService("Debris"):AddItem(prt, 10)
  1692.   table.insert(Effects, {prt, "Blood", delay, x3, y3, z3, msh, push})
  1693. end
  1694. MagicCylinder = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1695.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1696.   prt.Anchored = true
  1697.   prt.CFrame = cframe
  1698.   local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1699.   game:GetService("Debris"):AddItem(prt, 10)
  1700.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1701. end
  1702. MagicCylinder2 = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay, goe)
  1703.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1704.   prt.Anchored = true
  1705.   prt.CFrame = cframe
  1706.   local msh = mesh("CylinderMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1707.   game:GetService("Debris"):AddItem(prt, 10)
  1708.   table.insert(Effects, {prt, "Cylinder2", delay, x3, y3, z3, msh, goe})
  1709. end
  1710. MagicHead = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1711.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1712.   prt.Anchored = true
  1713.   prt.CFrame = cframe
  1714.   local msh = mesh("SpecialMesh", prt, "Head", "nil", vt(0, 0, 0), vt(x1, y1, z1))
  1715.   game:GetService("Debris"):AddItem(prt, 10)
  1716.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1717. end
  1718. ClangEffect = function(brickcolor, cframe, duration, decrease, size, power)
  1719.   local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  1720.   prt.Anchored = true
  1721.   prt.CFrame = cframe
  1722.   local msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(5, 5, 5))
  1723.   game:GetService("Debris"):AddItem(prt, 10)
  1724.   table.insert(Effects, {prt, "CylinderClang", duration, decrease, size, power, prt.CFrame, nil})
  1725. end
  1726. MagicWave = function(brickcolor, cframe, x1, y1, z1, x3, y3, z3, delay)
  1727.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1728.   prt.Anchored = true
  1729.   prt.CFrame = cframe
  1730.   local msh = mesh("SpecialMesh", prt, "FileMesh", "20329976", vt(0, 0, 0), vt(x1, y1, z1))
  1731.   game:GetService("Debris"):AddItem(prt, 10)
  1732.   table.insert(Effects, {prt, "Cylinder", delay, x3, y3, z3, msh})
  1733. end
  1734. MagicFire = function(brickcolor, cframe, x1, y1, z1, delay)
  1735.   local prt = part(3, workspace, 0, 0, brickcolor, "Effect", vt())
  1736.   prt.Anchored = true
  1737.   prt.CFrame = cframe
  1738.   msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1739.   game:GetService("Debris"):AddItem(prt, 10)
  1740.   table.insert(Effects, {prt, "Fire", delay, 1, 1, 1, msh})
  1741. end
  1742. MagicFireWave = function(brickcolor, cframe, x1, y1, z1)
  1743.   local prt = part(3, workspace, 0, 1, brickcolor, "Effect", vt())
  1744.   prt.Anchored = true
  1745.   prt.CFrame = cframe
  1746.   msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(x1, y1, z1))
  1747.   d = Instance.new("Decal")
  1748.   d.Parent = prt
  1749.   d.Texture = "http://www.roblox.com/asset/?id=26356434"
  1750.   d.Face = "Top"
  1751.   d = Instance.new("Decal")
  1752.   d.Parent = prt
  1753.   d.Texture = "http://www.roblox.com/asset/?id=26356434"
  1754.   d.Face = "Bottom"
  1755.   game:GetService("Debris"):AddItem(prt, 10)
  1756.   table.insert(Effects, {prt, "FireWave", 1, 30, math.random(400, 600) / 100, msh})
  1757. end
  1758. ElecEffect = function(cff, x, y, z)
  1759.   local prt = part(3, workspace, 0, 0, BrickColor.new("Bright red"), "Part", vt(1, 1, 1))
  1760.   prt.Anchored = true
  1761.   prt.CFrame = cff * cf(math.random(-x, x), math.random(-y, y), math.random(-z, z))
  1762.   prt.CFrame = cf(prt.Position)
  1763.   game:GetService("Debris"):AddItem(prt, 10)
  1764.   xval = math.random() / 3
  1765.   yval = math.random() / 3
  1766.   zval = math.random() / 3
  1767.   msh = mesh("BlockMesh", prt, "", "", vt(0, 0, 0), vt(xval, yval, zval))
  1768.   Effects[#Effects + 1] = {prt, "Elec", 0.2, x, y, z, xval, yval, zval, msh}
  1769. end
  1770. CloneBody = function()
  1771.   for _,v in pairs(Torso.Parent:children()) do
  1772.     if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1773.       local c = part(3, workspace, 0, 0.5, BrickColor.new("Really black"), "Effect", v.Size)
  1774.       c.Anchored = true
  1775.       c.CFrame = v.CFrame
  1776.       game:GetService("Debris"):AddItem(c, 5)
  1777.       if v.Name == "Head" then
  1778.         cmsh = mesh("SpecialMesh", c, "Head", "nil", vt(0, 0, 0), v.Mesh.Scale)
  1779.       end
  1780.       table.insert(Effects, {c, "Disappear", 0.05})
  1781.     end
  1782.   end
  1783. end
  1784. Clone = function(duration)
  1785.   for _,v in pairs(Torso.Parent:children()) do
  1786.     if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1787.       local c = part(3, workspace, 0, 0, BrickColor.new("Really black"), "Effect", v.Size)
  1788.       c.Anchored = true
  1789.       c.CFrame = v.CFrame
  1790.       game:GetService("Debris"):AddItem(c, 5)
  1791.       if v.Name == "Head" then
  1792.         cmsh = mesh("SpecialMesh", c, "Head", "nil", vt(0, 0, 0), v.Mesh.Scale)
  1793.       end
  1794.       table.insert(Effects, {c, "Disappear", duration})
  1795.     else
  1796.       do
  1797.         do
  1798.           if v.className == "Hat" then
  1799.             n = v.Handle:clone()
  1800.             n:BreakJoints()
  1801.             n.archivable = true
  1802.             n.Anchored = true
  1803.             n.CanCollide = false
  1804.             n.Name = "Effect"
  1805.             n.BrickColor = BrickColor.new("Really black")
  1806.             n.Parent = workspace
  1807.             n.CFrame = v.Handle.CFrame
  1808.             n.Transparency = 1
  1809.             n:BreakJoints()
  1810.             table.insert(Effects, {n, "Disappear", duration})
  1811.           end
  1812.           -- DECOMPILER ERROR at PC108: LeaveBlock: unexpected jumping out DO_STMT
  1813.  
  1814.           -- DECOMPILER ERROR at PC108: LeaveBlock: unexpected jumping out IF_ELSE_STMT
  1815.  
  1816.           -- DECOMPILER ERROR at PC108: LeaveBlock: unexpected jumping out IF_STMT
  1817.  
  1818.         end
  1819.       end
  1820.     end
  1821.   end
  1822.   for _,v in pairs(modelzorz:children()) do
  1823.     if v.className == "Part" and v.Name ~= "Hitbox" and v.Name ~= "Hitbox2" then
  1824.       n = v:clone()
  1825.       for _,b in pairs(n:children()) do
  1826.         if b.className == "Motor" then
  1827.           b.Parent = nil
  1828.         end
  1829.       end
  1830.       n.archivable = true
  1831.       n.Anchored = true
  1832.       n.CanCollide = false
  1833.       n.Name = "Effect"
  1834.       n.BrickColor = BrickColor.new("Really black")
  1835.       n.Parent = workspace
  1836.       n.CFrame = v.CFrame
  1837.       n.Transparency = 0
  1838.       n:BreakJoints()
  1839.       table.insert(Effects, {n, "Disappear", duration})
  1840.     end
  1841.   end
  1842. end
  1843. Cloak = function()
  1844.   so("2767090", Torso, 1, 1)
  1845.   Face.Parent = nil
  1846.   Clone(0.02)
  1847.   for _,v in pairs(Torso.Parent:children()) do
  1848.     do
  1849.       if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1850.         coroutine.resume(coroutine.create(function()
  1851.     for i = 0, 1, 0.1 do
  1852.       wait()
  1853.       v.Transparency = v.Transparency + 0.1
  1854.     end
  1855.     v.Transparency = 1
  1856.   end))
  1857.       end
  1858.       if v.className == "Hat" then
  1859.         do
  1860.           hatp = v.Handle
  1861.           coroutine.resume(coroutine.create(function(derp)
  1862.     for i = 0, 1, 0.1 do
  1863.       wait()
  1864.       derp.Transparency = derp.Transparency + 0.1
  1865.     end
  1866.     derp.Transparency = 1
  1867.   end), hatp)
  1868.           -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1869.  
  1870.           -- DECOMPILER ERROR at PC45: LeaveBlock: unexpected jumping out IF_STMT
  1871.  
  1872.         end
  1873.       end
  1874.     end
  1875.   end
  1876.   for _,v in pairs(modelzorz:children()) do
  1877.     if v.className == "Part" and v.Name ~= "Hitbox" and v.Name ~= "Hitbox2" then
  1878.       coroutine.resume(coroutine.create(function()
  1879.     for i = 0, 1, 0.1 do
  1880.       wait()
  1881.       v.Transparency = v.Transparency + 0.1
  1882.     end
  1883.     v.Transparency = 1
  1884.   end))
  1885.     end
  1886.   end
  1887. end
  1888. UnCloak = function()
  1889.   so("2767090", Torso, 1, 1.1)
  1890.   Face.Parent = Head
  1891.   for _,v in pairs(Torso.Parent:children()) do
  1892.     do
  1893.       if v.className == "Part" and v.Name ~= "HumanoidRootPart" then
  1894.         coroutine.resume(coroutine.create(function()
  1895.     for i = 0, 1, 0.1 do
  1896.       wait()
  1897.       v.Transparency = v.Transparency - 0.1
  1898.     end
  1899.     v.Transparency = 0
  1900.   end))
  1901.       end
  1902.       if v.className == "Hat" then
  1903.         do
  1904.           hatp = v.Handle
  1905.           coroutine.resume(coroutine.create(function(derp)
  1906.     for i = 0, 1, 0.1 do
  1907.       wait()
  1908.       derp.Transparency = derp.Transparency - 0.1
  1909.     end
  1910.     derp.Transparency = 1
  1911.   end), hatp)
  1912.           -- DECOMPILER ERROR at PC43: LeaveBlock: unexpected jumping out IF_THEN_STMT
  1913.  
  1914.           -- DECOMPILER ERROR at PC43: LeaveBlock: unexpected jumping out IF_STMT
  1915.  
  1916.         end
  1917.       end
  1918.     end
  1919.   end
  1920.   for _,v in pairs(modelzorz:children()) do
  1921.     if v.className == "Part" and v.Name ~= "Hitbox" and v.Name ~= "Hitbox2" then
  1922.       coroutine.resume(coroutine.create(function()
  1923.     for i = 0, 1, 0.1 do
  1924.       wait()
  1925.       v.Transparency = v.Transparency - 0.1
  1926.     end
  1927.     for i = 0, 1, 0.3 do
  1928.       wait()
  1929.       v.Transparency = 0
  1930.     end
  1931.   end))
  1932.     end
  1933.   end
  1934. end
  1935. Damagefunc = function(hit, minim, maxim, knockback, Type, Property, Delay, KnockbackType, incstun, stagger, staghit, ranged, DecreaseState, DecreaseAmount, Duration)
  1936.   if hit.Parent == nil then
  1937.     return
  1938.   end
  1939.   if hit.Name == "Hitbox" and hit.Parent ~= modelzorz and ranged ~= true then
  1940.     ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  1941.     ref.Anchored = true
  1942.     ref.CFrame = cf(hit.Position)
  1943.     game:GetService("Debris"):AddItem(ref, 1)
  1944.     hitnum = math.random(1, 5)
  1945.     if hitnum == 1 then
  1946.       so("199148971", ref, 1, 1)
  1947.     else
  1948.       if hitnum == 2 then
  1949.         so("199149025", ref, 1, 1)
  1950.       else
  1951.         if hitnum == 3 then
  1952.           so("199149072", ref, 1, 1)
  1953.         else
  1954.           if hitnum == 4 then
  1955.             so("199149109", ref, 1, 1)
  1956.           else
  1957.             if hitnum == 5 then
  1958.               so("199149119", ref, 1, 1)
  1959.             end
  1960.           end
  1961.         end
  1962.       end
  1963.     end
  1964.     StaggerHit.Value = true
  1965.   end
  1966.   h = hit.Parent:FindFirstChild("Humanoid")
  1967.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Torso") ~= nil then
  1968.     if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1969.       return
  1970.     end
  1971.     if Player.Neutral == false then
  1972.       if hit.Parent:findFirstChild("Alignment") ~= nil and hit.Parent.Alignment.Value == Player.TeamColor.Color then
  1973.         return
  1974.       end
  1975.       if game.Players:GetPlayerFromCharacter(hit.Parent) ~= nil and game.Players:GetPlayerFromCharacter(hit.Parent).TeamColor == Player.TeamColor then
  1976.         return
  1977.       end
  1978.     end
  1979.     c = Instance.new("ObjectValue")
  1980.     c.Name = "creator"
  1981.     c.Value = game:service("Players").LocalPlayer
  1982.     c.Parent = h
  1983.     RecentEnemy.Value = hit.Parent
  1984.     game:GetService("Debris"):AddItem(c, 0.5)
  1985.     if doing4 == false then
  1986.       minim = minim * Atk.Value
  1987.       maxim = maxim * Atk.Value
  1988.     end
  1989.     Damage = 0
  1990.     if minim == maxim then
  1991.       Damage = maxim
  1992.     else
  1993.       Damage = math.random(minim, maxim)
  1994.     end
  1995.     blocked = false
  1996.     enblock = nil
  1997.     Stats = hit.Parent:findFirstChild("Stats")
  1998. if Stats == nil then
  1999.     Character.Stats:Clone().Parent=hit.Parent
  2000. end
  2001.     if Stats ~= nil then
  2002.     Stats.Defense.Value=1
  2003.       invis = Stats:findFirstChild("Invisibility")
  2004.       if (ranged == false or ranged == nil) and invis ~= nil then
  2005.         invis.Value = 0
  2006.       end
  2007.       enblock = Stats:findFirstChild("Block")
  2008.       if enblock ~= nil and enblock.Value == true then
  2009.         blocked = true
  2010.       end
  2011.       if Stats:findFirstChild("Defense") ~= nil then
  2012.         if doing2 ~= true and doing4 ~= true then
  2013.           local divide = Stats.Defense.Value
  2014.           Damage = Damage / divide
  2015.         end
  2016.           do
  2017.             Damage = Damage
  2018.             if Damage <= 3 and (ranged == false or ranged == nil) and blocked ~= true then
  2019.               hitnum = math.random(1, 5)
  2020.               if hitnum == 1 then
  2021.                 so("199149321", hit, 1, 1)
  2022.               else
  2023.                 if hitnum == 2 then
  2024.                   so("199149338", hit, 1, 1)
  2025.                 else
  2026.                   if hitnum == 3 then
  2027.                     so("199149367", hit, 1, 1)
  2028.                   else
  2029.                     if hitnum == 4 then
  2030.                       so("199149409", hit, 1, 1)
  2031.                     else
  2032.                       if hitnum == 5 then
  2033.                         so("199149452", hit, 1, 1)
  2034.                       end
  2035.                     end
  2036.                   end
  2037.                 end
  2038.               end
  2039.             else
  2040.               if ranged == false or ranged == nil and blocked ~= true then
  2041.                 hitnum = math.random(1, 6)
  2042.                 if hitnum == 1 then
  2043.                   so("199149137", hit, 1, 1)
  2044.                 else
  2045.                   if hitnum == 2 then
  2046.                     so("199149186", hit, 1, 1)
  2047.                   else
  2048.                     if hitnum == 3 then
  2049.                       so("199149221", hit, 1, 1)
  2050.                     else
  2051.                       if hitnum == 4 then
  2052.                         so("199149235", hit, 1, 1)
  2053.                       else
  2054.                         if hitnum == 5 then
  2055.                           so("199149269", hit, 1, 1)
  2056.                         else
  2057.                           if hitnum == 6 then
  2058.                             so("199149297", hit, 1, 1)
  2059.                           end
  2060.                         end
  2061.                       end
  2062.                     end
  2063.                   end
  2064.                 end
  2065.               end
  2066.             end
  2067.             if Damage <= 3 and staghit == true and ranged ~= true then
  2068.               StaggerHit.Value = true
  2069.             end
  2070.             if Stats:findFirstChild("Stun") ~= nil then
  2071.               if blocked == true then
  2072.                 incstun = incstun / 2
  2073.               end
  2074.               if Stats.Stun.Value < Stats.StunThreshold.Value then
  2075.                 Stats.Stun.Value = Stats.Stun.Value + incstun
  2076.               end
  2077.             end
  2078.             if Stats:findFirstChild("Stagger") ~= nil and stagger == true then
  2079.               Stats.Stagger.Value = true
  2080.             end
  2081.             if blocked == true then
  2082.               showDamage(hit.Parent, "Block", "Damage")
  2083.               if ranged ~= true then
  2084.                 enblock.Value = false
  2085.                 Stagger.Value = true
  2086.                 hitnum = math.random(1, 2)
  2087.                 if hitnum == 1 then
  2088.                   so("199148933", hit, 1, 1)
  2089.                 else
  2090.                   if hitnum == 2 then
  2091.                     so("199148947", hit, 1, 1)
  2092.                   end
  2093.                 end
  2094.               end
  2095.             else
  2096.               Damage = math.floor(Damage)
  2097.               if hit.Parent:findFirstChild("Mark") == nil then
  2098.                 d = it("BoolValue", hit.Parent)
  2099.                 d.Name = "Mark"
  2100.                 b = it("NumberValue", d)
  2101.                 b.Name = "MarkTime"
  2102.                 b.Value = 200
  2103.                 v = it("NumberValue", d)
  2104.                 v.Name = "MarkValue"
  2105.                 v.Value = 0
  2106.                 if doing4 == true then
  2107.                   v.Value = 10
  2108.                 end
  2109.                 sz = it("NumberValue", d)
  2110.                 sz.Name = "MarkSize"
  2111.                 sz.Value = 5
  2112.                 st = it("StringValue", d)
  2113.                 st.Name = "MarkType"
  2114.                 st.Value = "Adjudicator"
  2115.                 local tehpart = hit.Parent:findFirstChild("HumanoidRootPart")
  2116.                 if tehpart == nil then
  2117.                   tehpart = hit.Parent:findFirstChild("Torso")
  2118.                 end
  2119.                 if hit.Parent.Name == "Neflhelm" then
  2120.                   tehpart = hit
  2121.                 end
  2122.                 if tehpart ~= nil then
  2123.                   markgui = it("BillboardGui", tehpart)
  2124.                   markgui.Name = "Mark Gui"
  2125.                   markgui.Size = UDim2.new(7, 0, 7, 0)
  2126.                   markgui.StudsOffset = vt(0, 10, 0)
  2127.                   markgui.AlwaysOnTop = true
  2128.                   markscy = it("ImageLabel", markgui)
  2129.                   markscy.Name = "Scythe"
  2130.                   markscy.BackgroundTransparency = 1
  2131.                   markscy.Image = "rbxassetid://278007861"
  2132.                   markscy.ImageColor3 = Color3.new(1, 0, 0)
  2133.                   markscy.Size = UDim2.new(1, 0, 1, 0)
  2134.                   table.insert(MarkedGUI, {markgui, markscy})
  2135.                 end
  2136.                 table.insert(Marked, {d, b, v, sz})
  2137.               else
  2138.                   mark = hit.Parent:findFirstChild("Mark")
  2139.                   if mark:findFirstChild("MarkTime") ~= nil then
  2140.                     mark.MarkTime.Value = 700
  2141.                   end
  2142.                   if mark:findFirstChild("MarkValue") ~= nil then
  2143.                     if mark.MarkValue.Value >= 10 then
  2144.                       if mark:findFirstChild("MarkTime") ~= nil then
  2145.                         mark.MarkTime.Value = 400
  2146.                       end
  2147.                       if mark.MarkType.Value == "Classic" then
  2148.                         mark.Parent = nil
  2149.                         Damage = Damage * 2
  2150.                         print("double damage")
  2151.                         if hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then
  2152.                           ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2153.                           ref.Anchored = true
  2154.                           ref.CFrame = hit.Parent.HumanoidRootPart.CFrame
  2155.                           game:GetService("Debris"):AddItem(ref, 5)
  2156.                           local nr = NumberRange.new
  2157.                           local ns = NumberSequence.new
  2158.                           local cs = ColorSequence.new
  2159.                           local parti = it("ParticleEmitter")
  2160.                           parti.Color = cs(NewCol, Color3.new(0, 0, 0))
  2161.                           parti.LightEmission = 0
  2162.                           parti.Size = ns(10)
  2163.                           parti.Texture = "http://www.roblox.com/asset/?id=243660364"
  2164.                           transseq = ns({NumberSequenceKeypoint.new(0, 0), NumberSequenceKeypoint.new(1, 1)})
  2165.                           parti.Transparency = transseq
  2166.                           parti.ZOffset = 1
  2167.                           parti.Acceleration = vt(0, 0, 0)
  2168.                           parti.Lifetime = nr(1)
  2169.                           parti.Rate = 20
  2170.                           parti.Rotation = nr(0, 360)
  2171.                           parti.Speed = nr(0)
  2172.                           parti.VelocitySpread = 0
  2173.                           parti.Parent = ref
  2174.                           parti.Enabled = true
  2175.                           table.insert(Effects, {parti, "PartiEmi", 20})
  2176.                           markscy = it("ImageLabel", markgui)
  2177.                           markscy.Name = "Scythe"
  2178.                           markscy.BackgroundTransparency = 1
  2179.                           markscy.Image = "rbxassetid://258927926"
  2180.                           markscy.ImageColor3 = Color3.new(1, 0, 0)
  2181.                           markscy.Size = UDim2.new(1, 0, 1, 0)
  2182.                           table.insert(Effects, {markgui, "AdjuEff", 10, markscy})
  2183.                         end
  2184.                       elseif mark.MarkType.Value == "Adjudicator" and hit.Parent:findFirstChild("HumanoidRootPart") ~= nil then
  2185.                             da = math.random(1, 4)
  2186.                             inc = 1
  2187.                             if doing2 == true then
  2188.                               inc = 2
  2189.                             end
  2190.                             if da == 1 then
  2191.                               DecreaseStat(Character, "Damage", -math.random(6, 10) / 100 * inc, 150, true)
  2192.                               DecreaseStat(Character, "Movement", -math.random(2, 6) / 100 * inc, 200, true)
  2193.                             else
  2194.                               if da == 2 then
  2195.                                 DecreaseStat(Character, "Defense", -math.random(2, 6) / 100 * inc, 150, true)
  2196.                                 DecreaseStat(Character, "Movement", -math.random(2, 6) / 100 * inc, 200, true)
  2197.                               else
  2198.                                 if da == 3 then
  2199.                                   DecreaseStat(hit.Parent, "Damage", math.random(6, 10) / 100 * inc, 150, true)
  2200.                                   DecreaseStat(hit.Parent, "Movement", math.random(1, 3) / 100 * inc, 200, true)
  2201.                                 else
  2202.                                   if da == 4 then
  2203.                                     DecreaseStat(hit.Parent, "Defense", math.random(2, 6) / 100 * inc, 150, true)
  2204.                                     DecreaseStat(hit.Parent, "Movement", math.random(1, 3) / 100 * inc, 200, true)
  2205.                                   end
  2206.                                 end
  2207.                               end
  2208.                             end
  2209.                             ref = part(3, workspace, 0, 1, BrickColor.new("Black"), "Reference", vt())
  2210.                             ref.Anchored = true
  2211.                             ref.CFrame = hit.Parent.HumanoidRootPart.CFrame
  2212.                             game:GetService("Debris"):AddItem(ref, 5)
  2213.                             markgui = it("BillboardGui", ref)
  2214.                             markgui.Name = "Mark Gui"
  2215.                             markgui.Size = UDim2.new(7, 0, 7, 0)
  2216.                             markgui.StudsOffset = vt(0, 10, 0)
  2217.                             markgui.AlwaysOnTop = true
  2218.                             markscy = it("ImageLabel", markgui)
  2219.                             markscy.Name = "Scythe"
  2220.                             markscy.BackgroundTransparency = 1
  2221.                             markscy.Image = "rbxassetid://278007453"
  2222.                             markscy.ImageColor3 = Color3.new(1, 0, 0)
  2223.                             markscy.Size = UDim2.new(1, 0, 1, 0)
  2224.                             table.insert(Effects, {markgui, "AdjuEff", 10, markscy})
  2225.                           end
  2226.                           elseif --[[mark.MarkType.Value ~= "Thanatos" or --]]doing4 == true then
  2227.                             mark.MarkValue.Value = 10
  2228.                           else
  2229.                             mark.MarkValue.Value = mark.MarkValue.Value + 1
  2230.                           end
  2231. end
  2232.                           if mark:findFirstChild("MarkSize") ~= nil then
  2233.                             mark.MarkSize.Value = 5
  2234.                           end
  2235.                           coroutine.resume(coroutine.create(function(Hum, Dam)
  2236.     hit.Parent.Humanoid:TakeDamage(Damage)
  2237.   end), h, Damage)
  2238.                           pursuitnum = 0
  2239.                           if isinvis.Value == false then
  2240.                             invisnum.Value = math.floor(invisnum.Value + math.random(4, 8) + Damage / 5)
  2241.                           end
  2242.                           showDamage(hit.Parent, Damage, "Damage")
  2243.                           if DecreaseState ~= nil then
  2244.                             DecreaseStat(hit.Parent, DecreaseState, DecreaseAmount, Duration)
  2245.                           end
  2246.                           if Type == "NormalDecreaseMvmt1" then
  2247.                             DecreaseStat(hit.Parent, "Movement", 0.1, 200)
  2248.                           end
  2249.                           if Type == "Knockdown" then
  2250.                             hum = hit.Parent.Humanoid
  2251.                             hum.PlatformStand = true
  2252.                             coroutine.resume(coroutine.create(function(HHumanoid)
  2253.     swait(1)
  2254.     HHumanoid.PlatformStand = false
  2255.   end), hum)
  2256.                             local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2257.                             local bodvol = Instance.new("BodyVelocity")
  2258.                             bodvol.velocity = angle * knockback
  2259.                             bodvol.P = 500
  2260.                             bodvol.maxForce = Vector3.new(2000, 2000, 2000)
  2261.                             bodvol.Parent = hit
  2262.                             rl = Instance.new("BodyAngularVelocity")
  2263.                             rl.P = 3000
  2264.                             rl.maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000
  2265.                             rl.angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10))
  2266.                             rl.Parent = hit
  2267.                             game:GetService("Debris"):AddItem(bodvol, 0.5)
  2268.                             game:GetService("Debris"):AddItem(rl, 0.5)
  2269.                           else
  2270.                             do
  2271.                               if Type == "Knockdown2" then
  2272.                                 hum = hit.Parent.Humanoid
  2273.                                 local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2274.                                 local bodvol = Instance.new("BodyVelocity")
  2275.                                 bodvol.velocity = angle * knockback
  2276.                                 bodvol.P = 500
  2277.                                 bodvol.maxForce = Vector3.new(2000, 2000, 2000)
  2278.                                 bodvol.Parent = hit
  2279.                                 game:GetService("Debris"):AddItem(bodvol, 0.5)
  2280.                               else
  2281.                                 do
  2282.                                   if Type == "Normal" or Type == "NormalDecreaseMvmt1" then
  2283.                                     vp = Instance.new("BodyVelocity")
  2284.                                     vp.P = 500
  2285.                                     vp.maxForce = Vector3.new(math.huge, 0, math.huge)
  2286.                                     if KnockbackType == 1 then
  2287.                                       vp.velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2288.                                     else
  2289.                                       if KnockbackType == 2 then
  2290.                                         vp.velocity = Property.CFrame.lookVector * knockback
  2291.                                       end
  2292.                                     end
  2293.                                     game:GetService("Debris"):AddItem(vp, 0.5)
  2294.                                     if knockback > 0 then
  2295.                                       vp.Parent = hit.Parent.Torso
  2296.                                     end
  2297.                                   end
  2298.                                   debounce = Instance.new("BoolValue")
  2299.                                   debounce.Name = "DebounceHit"
  2300.                                   debounce.Parent = hit.Parent
  2301.                                   debounce.Value = true
  2302.                                   game:GetService("Debris"):AddItem(debounce, Delay)
  2303.                                   c = Instance.new("ObjectValue")
  2304.                                   c.Name = "creator"
  2305.                                   c.Value = Player
  2306.                                   c.Parent = h
  2307.                                   game:GetService("Debris"):AddItem(c, 0.5)
  2308.                                   CRIT = false
  2309.                                 end
  2310.                               end
  2311.                             end
  2312.                           end
  2313.                         end
  2314.                       end
  2315.                     end
  2316.                   end
  2317.                 end
  2318.               end
  2319.             end
  2320.          -- end
  2321.         --end
  2322.       --end
  2323.     --end
  2324.   --end
  2325. showDamage = function(Char, Dealt, Type)
  2326.   m = Instance.new("Model")
  2327.   m.Name = "Effect"
  2328.   c = Instance.new("Part")
  2329.   c.Transparency = 1
  2330.   c.Name = "Head"
  2331.   c.TopSurface = 0
  2332.   c.BottomSurface = 0
  2333.   c.formFactor = "Plate"
  2334.   c.Size = Vector3.new(1, 0.4, 1)
  2335.   b = Instance.new("BillboardGui", c)
  2336.   b.Size = UDim2.new(5, 0, 5, 0)
  2337.   b.AlwaysOnTop = true
  2338.   damgui = gui("TextLabel", b, tostring(Dealt), 1, Color3.new(0, 0, 0), UDim2.new(0, 0, 0, 0), UDim2.new(1, 0, 1, 0))
  2339.   if Type == "Damage" then
  2340.     damgui.Font = "SourceSansBold"
  2341.     if Dealt == "Block" then
  2342.       damgui.TextColor3 = BrickColor.new("Bright blue").Color
  2343.     else
  2344.       if Dealt < 3 then
  2345.         damgui.TextColor3 = BrickColor.new("White").Color
  2346.       else
  2347.         if Dealt >= 3 and Dealt < 20 then
  2348.           damgui.TextColor3 = BrickColor.new("Really red").Color
  2349.         else
  2350.           damgui.TextColor3 = BrickColor.new("Really red").Color
  2351.           damgui.Font = "SourceSansBold"
  2352.         end
  2353.       end
  2354.     end
  2355.   else
  2356.     if Type == "Debuff" then
  2357.       damgui.TextColor3 = BrickColor.new("White").Color
  2358.     else
  2359.       if Type == "Interrupt" then
  2360.         damgui.TextColor3 = BrickColor.new("New Yeller").Color
  2361.       end
  2362.     end
  2363.   end
  2364.   damgui.TextScaled = true
  2365.   ms = Instance.new("CylinderMesh")
  2366.   ms.Scale = Vector3.new(0.8, 0.8, 0.8)
  2367.   ms.Parent = c
  2368.   c.Reflectance = 0
  2369.   Instance.new("BodyGyro").Parent = c
  2370.   c.Parent = m
  2371.   if Char:findFirstChild("Head") ~= nil then
  2372.     c.CFrame = cf(Char.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  2373.   else
  2374.     if Char.Parent:findFirstChild("Head") ~= nil then
  2375.       c.CFrame = cf(Char.Parent.Head.CFrame.p + Vector3.new(math.random(-100, 100) / 100, 3, math.random(-100, 100) / 100))
  2376.     end
  2377.   end
  2378.   f = Instance.new("BodyPosition")
  2379.   f.P = 2000
  2380.   f.D = 100
  2381.   f.maxForce = Vector3.new(545000, 545000, 545000)
  2382.   if Type == "Damage" then
  2383.     f.position = c.Position + Vector3.new(0, 3, 0)
  2384.   else
  2385.     if Type == "Debuff" or Type == "Interrupt" then
  2386.       f.position = c.Position + Vector3.new(0, 5, 0)
  2387.     end
  2388.   end
  2389.   f.Parent = c
  2390.   game:GetService("Debris"):AddItem(m, 5)
  2391.   table.insert(Effects, {m, "showDamage", damgui, f, 10, 1, 15, 50, 100})
  2392.   c.CanCollide = false
  2393.   m.Parent = workspace
  2394.   c.CanCollide = false
  2395. end
  2396. combo = 0
  2397.  
  2398. ob1d = function(mouse)
  2399.   if arcorb == true then
  2400.     arcorb = false
  2401.   end
  2402.   if attack == true or equipped == false then
  2403.     return
  2404.   end
  2405.   deb = 0.5
  2406.   hold = true
  2407.   if combo == 0 then
  2408.     combo = 1
  2409.     attackone()
  2410.   else
  2411.     if combo == 1 then
  2412.       combo = 2
  2413.       attacktwo()
  2414.     else
  2415.       if combo == 2 then
  2416.         combo = 3
  2417.         attackthree()
  2418.       else
  2419.         if combo == 3 then
  2420.           combo = 0
  2421.           attackfour()
  2422.         end
  2423.       end
  2424.     end
  2425.   end
  2426.   coroutine.resume(coroutine.create(function()
  2427.     for i = 1, 50 do
  2428.       if attack == false then
  2429.         swait()
  2430.       end
  2431.     end
  2432.     if attack == false then
  2433.       combo = 0
  2434.     end
  2435.   end))
  2436. end
  2437. ob1u = function(mouse)
  2438.   hold = false
  2439. end
  2440. buttonhold = false
  2441. fenbarmove1.MouseButton1Click:connect(do1)
  2442. fenbarmove2.MouseButton1Click:connect(do2)
  2443. fenbarmove3.MouseButton1Click:connect(do3)
  2444. fenbarmove4.MouseButton1Click:connect(do4)
  2445. eul = 0
  2446. equipped = false
  2447. key = function(key)
  2448.   if attack == true then
  2449.     return
  2450.   end
  2451.   if key == "z" then
  2452.     pressedf = true
  2453.     fnumb = 0
  2454.     attack = true
  2455.     if equipped == false then
  2456.       equipped = true
  2457.       RSH = ch.Torso["Right Shoulder"]
  2458.       LSH = ch.Torso["Left Shoulder"]
  2459.       RSH.Parent = nil
  2460.       LSH.Parent = nil
  2461.       RW.Name = "Right Shoulder"
  2462.       RW.Part0 = ch.Torso
  2463.       RW.C0 = cf(1.5, 0.5, 0)
  2464.       RW.C1 = cf(0, 0.5, 0)
  2465.       RW.Part1 = ch["Right Arm"]
  2466.       RW.Parent = ch.Torso
  2467.       LW.Name = "Left Shoulder"
  2468.       LW.Part0 = ch.Torso
  2469.       LW.C0 = cf(-1.5, 0.5, 0)
  2470.       LW.C1 = cf(0, 0.5, 0)
  2471.       LW.Part1 = ch["Left Arm"]
  2472.       LW.Parent = ch.Torso
  2473.       Animate.Parent = nil
  2474.       equipanim()
  2475.     else
  2476.       equipped = false
  2477.       hideanim()
  2478.       LH.C1 = LHC1
  2479.       RH.C1 = RHC1
  2480.       Animate.Parent = Humanoid
  2481.       swait(0)
  2482.       RW.Parent = nil
  2483.       LW.Parent = nil
  2484.       RSH.Parent = player.Character.Torso
  2485.       LSH.Parent = player.Character.Torso
  2486.     end
  2487.     attack = false
  2488.   end
  2489.   if equipped == false then
  2490.     return
  2491.   end
  2492.   if key == "p" and invisnum.Value > 5 then
  2493.     Invisibility()
  2494.   end
  2495.   if key == "q" then
  2496.     do1()
  2497.   end
  2498.   if key == "e" then
  2499.     do2()
  2500.   end
  2501.   if key == "r" then
  2502.     do3()
  2503.   end
  2504.   if key == "f" then
  2505.     do4()
  2506.   end
  2507. end
  2508. key2 = function(key)
  2509. end
  2510. s = function(mouse)
  2511.   mouse.Button1Down:connect(function()
  2512.     ob1d(mouse)
  2513.   end)
  2514.   mouse.Button1Up:connect(function()
  2515.     ob1u(mouse)
  2516.   end)
  2517.   mouse.KeyDown:connect(key)
  2518.   mouse.KeyUp:connect(key2)
  2519.   player = Player
  2520.   ch = Character
  2521.   MMouse = mouse
  2522. end
  2523. ds = function(mouse)
  2524. end
  2525. Bin.Selected:connect(s)
  2526. Bin.Deselected:connect(ds)
  2527. print("Renegade loaded.")
  2528. local mananum = 0
  2529. local donum = 0
  2530. local stunnum = 0
  2531. local staggeranim = false
  2532. local stunanim = false
  2533. local Point, LastPoint = nil, nil
  2534. local passivenum = 100
  2535. local pnum2 = 0
  2536. local walk = 0
  2537. local walkforw = true
  2538. local addpassive = 0
  2539. local gashnum = 0
  2540. while true do
  2541.   swait()
  2542.   if Humanoid.Health <= 0 then
  2543.     attack = true
  2544.     for i = 1, #Marked do
  2545.       if MarkedGUI[i] ~= nil and MarkedGUI[i][1] ~= nil then
  2546.         MarkedGUI[i][1].Parent = nil
  2547.       end
  2548.       table.remove(MarkedGUI, i)
  2549.       table.remove(Marked, i)
  2550.     end
  2551.     resumeControl()
  2552.     modelzorz.Parent = workspace
  2553.     game:GetService("Debris"):AddItem(modelzorz, 30)
  2554.     for i = 1, #Weapon do
  2555.       Weapon[i].Parent = modelzorz
  2556.       Weapon[i].CanCollide = true
  2557.     end
  2558.     for i = 1, #Welds do
  2559.       if Welds[i].Part0.Parent == Character or Welds[i].Part1.Parent == Character then
  2560.         Welds[i].Parent = nil
  2561.       else
  2562.         Welds[i].Parent = prt1
  2563.       end
  2564.     end
  2565.   end
  2566.   do
  2567.     if fnumb < 21 then
  2568.       fnumb = fnumb + 1
  2569.       if pressedf == false then
  2570.         fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency - 0.025
  2571.         tellbar.TextTransparency = tellbar.TextTransparency - 0.05
  2572.         tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency - 0.05
  2573.       else
  2574.         if fnumb == 20 then
  2575.           fenframe5.Parent = nil
  2576.           print("daigui")
  2577.         end
  2578.         fenframe5.BackgroundTransparency = fenframe5.BackgroundTransparency + 0.025
  2579.         tellbar.TextTransparency = tellbar.TextTransparency + 0.05
  2580.         tellbar.TextStrokeTransparency = tellbar.TextStrokeTransparency + 0.05
  2581.       end
  2582.     end
  2583.     if hbwld.Parent == nil then
  2584.       hitbox2.Name = "Hitbox2"
  2585.     else
  2586.       hitbox2.Name = "Hitbox2"
  2587.     end
  2588.     if hbwld.Parent == nil then
  2589.       hitbox2.Name = "Hitbox"
  2590.     else
  2591.       hitbox2.Name = "Hitbox2"
  2592.     end
  2593.     if doing2 == true then
  2594.       gashnum = gashnum + 1
  2595.       if (gashnum) % 10 == 0 then
  2596.         if 0 < mana.Value then
  2597.           mana.Value = mana.Value - -2
  2598.         else
  2599.           do2()
  2600.         end
  2601.       end
  2602.       MagicCircle(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 2, 2, 2, 0.05)
  2603.       MagicBlock(BrickColor.new(NewCol), prt6.CFrame * euler(-0.3, 0, 0), 0, 0, 0, 1, 1, 1, 1, 0.025)
  2604.       MagicBlock(BrickColor.new("Really black"), prt6.CFrame * euler(-0.3, 0, 0) * cf(0, 0, -2.2) * cf(0, math.random(-100, 100) / 100, math.random(-200, 200) / 100), 0, 0, 0, 1, 1, 1, 1, 1)
  2605.     end
  2606.     hitbox2.Parent = hitbox.Parent
  2607.     hitbox2.Size = hitbox.Size
  2608.     hitbox2.CFrame = hitboxCF
  2609.     hboxpos.position = hitbox2.Position + vt(math.random(-100, 100) / 100, math.random(-100, 100) / 100, math.random(-100, 100) / 100)
  2610.     hitbox.Transparency = 1
  2611.     hitbox2.Transparency = 1
  2612.     for i = 1, #Marked do
  2613.       if Marked[i] ~= nil then
  2614.         if Marked[i][1].Parent == nil then
  2615.           MarkedGUI[i][1].Parent = nil
  2616.           table.remove(MarkedGUI, i)
  2617.           table.remove(Marked, i)
  2618.         else
  2619.           if MarkedGUI[i][1].Parent ~= nil then
  2620.             MarkedGUI[i][1].Size = UDim2.new(7 + Marked[i][4].Value, 0, 7 + Marked[i][4].Value, 0)
  2621.             if 0 < Marked[i][4].Value then
  2622.               Marked[i][4].Value = Marked[i][4].Value - 1
  2623.             end
  2624.             if MarkedGUI[i][2].Parent ~= nil then
  2625.               if Marked[i][3].Value == 0 then
  2626.                 MarkedGUI[i][2].Image = "rbxassetid://278007861"
  2627.               else
  2628.                 if Marked[i][3].Value == 1 then
  2629.                   MarkedGUI[i][2].Image = "rbxassetid://278007839"
  2630.                 else
  2631.                   if Marked[i][3].Value == 2 then
  2632.                     MarkedGUI[i][2].Image = "rbxassetid://278007803"
  2633.                   else
  2634.                     if Marked[i][3].Value == 3 then
  2635.                       MarkedGUI[i][2].Image = "rbxassetid://278007757"
  2636.                     else
  2637.                       if Marked[i][3].Value == 4 then
  2638.                         MarkedGUI[i][2].Image = "rbxassetid://278007704"
  2639.                       else
  2640.                         if Marked[i][3].Value == 5 then
  2641.                           MarkedGUI[i][2].Image = "rbxassetid://278007663"
  2642.                         else
  2643.                           if Marked[i][3].Value == 6 then
  2644.                             MarkedGUI[i][2].Image = "rbxassetid://278007643"
  2645.                           else
  2646.                             if Marked[i][3].Value == 7 then
  2647.                               MarkedGUI[i][2].Image = "rbxassetid://278007606"
  2648.                             else
  2649.                               if Marked[i][3].Value == 8 then
  2650.                                 MarkedGUI[i][2].Image = "rbxassetid://278007570"
  2651.                               else
  2652.                                 if Marked[i][3].Value == 9 then
  2653.                                   MarkedGUI[i][2].Image = "rbxassetid://278007545"
  2654.                                 else
  2655.                                   if Marked[i][3].Value == 10 then
  2656.                                     MarkedGUI[i][2].Image = "rbxassetid://278007515"
  2657.                                   end
  2658.                                 end
  2659.                               end
  2660.                             end
  2661.                           end
  2662.                         end
  2663.                       end
  2664.                     end
  2665.                   end
  2666.                 end
  2667.               end
  2668.             end
  2669.           end
  2670.           if Marked[i][2] ~= nil then
  2671.             Marked[i][2].Value = Marked[i][2].Value - 1
  2672.             if Marked[i][2].Value <= 0 then
  2673.               Marked[i][1].Parent = nil
  2674.               MarkedGUI[i][1].Parent = nil
  2675.               table.remove(MarkedGUI, i)
  2676.               table.remove(Marked, i)
  2677.             end
  2678.           end
  2679.         end
  2680.       end
  2681.     end
  2682.     scarfp2.CFrame = cf(RootPart.Position, testpart.Position) * cf(0, 0, 0)
  2683.     scarfp2.CFrame = scarfp2.CFrame + scarfp2.CFrame.lookVector * 0.5
  2684.     scarfp2.CFrame = scarfp2.CFrame * cf(0, 0, 0) * euler(1.57, 0, 0)
  2685.     testpart.CFrame = cf(RootPart.Position - RootPart.Velocity) * cf(0, 1, 0)
  2686.     if invisible == true then
  2687.       addpassive = addpassive + 1
  2688.       for i = 1, 1 do
  2689.         MagicCircle2(BrickColor.new("Black"), scarfp2.CFrame * euler(0, 0, math.rad(180)) * cf(math.random(-300, 300) / 100, math.random(-200, 200) / 100, math.random(-300, 300) / 100), 1.5, 10, 1.5, -0.2, 1, -0.2, 0.2)
  2690.       end
  2691.       if 50 <= addpassive then
  2692.         addpassive = 0
  2693.         for _,c in pairs(workspace:children()) do
  2694.           local hum = (c:findFirstChild("Humanoid"))
  2695.           if hum ~= nil then
  2696.             local head = nil
  2697.             for _,d in pairs(c:children()) do
  2698.               if d.Name == "HumanoidRootPart" then
  2699.                 local targ = d.Position - RootPart.Position
  2700.                 local mag = targ.magnitude
  2701.                 if mag <= 60 and c.Name ~= Player.Name then
  2702.                   mark = d.Parent:findFirstChild("Mark")
  2703.                   if mark ~= nil then
  2704.                     if (mark:findFirstChild("MarkTime")) ~= nil then
  2705.                       mark.MarkTime.Value = 500
  2706.                     end
  2707.                     if (mark:findFirstChild("MarkValue")) ~= nil then
  2708.                       if (mark:findFirstChild("MarkSize")) ~= nil then
  2709.                         mark.MarkSize.Value = 5
  2710.                       end
  2711.                       if mark.MarkValue.Value < 10 then
  2712.                         mark.MarkValue.Value = mark.MarkValue.Value + 1
  2713.                       end
  2714.                     end
  2715.                   end
  2716.                 end
  2717.               end
  2718.             end
  2719.           end
  2720.         end
  2721.       end
  2722.     end
  2723.     do
  2724.       pursuitnum = pursuitnum + 1
  2725.       if 13 <= passivenum and 150 < pursuitnum and 0 < invisnum.Value then
  2726.         invisnum.Value = invisnum.Value - 1
  2727.         passivenum = 0
  2728.       end
  2729.       if 8 <= passivenum and invisible == true then
  2730.         invisnum.Value = invisnum.Value - 1
  2731.         pursuitnum = 0
  2732.         passivenum = 0
  2733.       end
  2734.       if 100 <= invisnum.Value then
  2735.         invisnum.Value = 100
  2736.       end
  2737.       if invisible == true and invisnum.Value <= 0 then
  2738.         Invisibility()
  2739.       end
  2740.       passivenum = passivenum + 1
  2741.       if Stagger.Value == true and staggeranim == false then
  2742.         coroutine.resume(coroutine.create(function()
  2743.   staggeranim = true
  2744.   while attack == true do
  2745.     swait()
  2746.   end
  2747.   StaggerAnim()
  2748.   StaggerHit.Value = false
  2749.   Stagger.Value = false
  2750.   staggeranim = false
  2751. end))
  2752.       end
  2753.       if StaggerHit.Value == true and staggeranim == false then
  2754.         coroutine.resume(coroutine.create(function()
  2755.   staggeranim = true
  2756.   while attack == true do
  2757.     swait()
  2758.   end
  2759.   StaggerHitt()
  2760.   StaggerHit.Value = false
  2761.   Stagger.Value = false
  2762.   staggeranim = false
  2763. end))
  2764.       end
  2765.       if Mvmt.Value < 0 or Stagger.Value == true or StunT.Value <= Stun.Value or StaggerHit.Value == true or Rooted.Value == true then
  2766.         Humanoid.WalkSpeed = 0
  2767.       else
  2768.         Humanoid.WalkSpeed = 16 * Mvmt.Value
  2769.       end
  2770.       if StunT.Value <= Stun.Value and stunanim == false then
  2771.         coroutine.resume(coroutine.create(function()
  2772.   stunanim = true
  2773.   while attack == true do
  2774.     swait()
  2775.   end
  2776.   StunAnim()
  2777.   Stun.Value = 0
  2778.   stunanim = false
  2779. end))
  2780.       end
  2781.       local stunnum2 = 30
  2782.       if stunnum2 <= stunnum then
  2783.         if 0 < Stun.Value then
  2784.           Stun.Value = Stun.Value - 1
  2785.         end
  2786.         stunnum = 0
  2787.       end
  2788.       stunnum = stunnum + 1
  2789.       if 0.5 <= donum then
  2790.         handidle = true
  2791.       else
  2792.         if donum <= 0 then
  2793.           handidle = false
  2794.         end
  2795.       end
  2796.       if handidle == false then
  2797.         donum = donum + 0.003
  2798.       else
  2799.         donum = donum - 0.003
  2800.       end
  2801.       local torvel = (RootPart.Velocity * Vector3.new(1, 0, 1)).magnitude
  2802.       local velderp = RootPart.Velocity.y
  2803.       hitfloor = rayCast(RootPart.Position, CFrame.new(RootPart.Position, RootPart.Position - Vector3.new(0, 1, 0)).lookVector, 4, Character)
  2804.       if equipped == true then
  2805.         if attack == false then
  2806.           idle = idle + 1
  2807.         else
  2808.           idle = 0
  2809.         end
  2810.         if (500 <= idle and attack ~= false) or Anim == "Walk" then
  2811.           if walkforw == true then
  2812.             Neck.C0 = clerp(Neck.C0, necko * euler(0.35, 0, 0) * euler(0, 0, 0), 0.3)
  2813.         RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.8)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2814.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.6 - (donum) / 3, 0, 0.4 + (donum) / 4), 0.2)
  2815.             RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2816.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.6 - (donum) / 3, 0, -0.4 - (donum) / 4), 0.2)
  2817.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2818.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-18),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2819.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-14),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2820.           else
  2821.             Neck.C0 = clerp(Neck.C0, necko * euler(0.2, 0, 0) * euler(0, 0, 0), 0.3)
  2822.         RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.65)* angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2823.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.4 - (donum) / 3, 0, 0.4 + (donum) / 4), 0.2)
  2824.             RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2825.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.4 - (donum) / 3, 0, -0.4 - (donum) / 4), 0.2)
  2826.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2827.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-6),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2828.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2829.           end
  2830.         else
  2831.         end
  2832.         if 1 < RootPart.Velocity.y and hitfloor == nil then
  2833.           Anim = "Jump"
  2834.           if attack == false then
  2835.             Neck.C0 = clerp(Neck.C0, necko * euler(-0.15, 0, 0) * euler(0, 0, 0), 0.3)
  2836.         RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.45)* angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  2837.             RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-1.2 - (donum) / 3, 0, 0.4 + (donum) / 4), 0.2)
  2838.             RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2839.             LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-1.2 - (donum) / 3, 0, -0.4 - (donum) / 4), 0.2)
  2840.             LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2841.         RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-2),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2842.         LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-14),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2843.           end
  2844.         else
  2845.           if RootPart.Velocity.y < -1 and hitfloor == nil then
  2846.             Anim = "Fall"
  2847.             if attack == false then
  2848.               Neck.C0 = clerp(Neck.C0, necko * euler(0.15, 0, 0) * euler(0, 0, 0), 0.3)
  2849.           RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.45)* angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2850.               RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * euler(-0.8 - (donum) / 3, 0, 0.4 + (donum) / 4), 0.2)
  2851.               RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2852.               LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * euler(-0.8 - (donum) / 3, 0, -0.4 - (donum) / 4), 0.2)
  2853.               LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.2)
  2854.           RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-4),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2855.           LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-12),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2856.             end
  2857.           else
  2858.             if torvel < 1 and hitfloor ~= nil then
  2859.               Anim = "Idle"
  2860.               if attack == false then
  2861.                 Neck.C0 = clerp(Neck.C0, necko * euler(0.15, 0, 0) * euler(0, 0, 0), 0.3)
  2862.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.35)* angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2863.                 RW.C0 = clerp(RW.C0, cf(1.2, 0.3, -0.5) * euler(1.3, 0, -1.2) * euler(0, 1.57, 0), 0.15)
  2864.                 RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2865.                 LW.C0 = clerp(LW.C0, cf(-1.2, 0.3, -0.5) * euler(1.3, 0, 1.2) * euler(0, -1.57, 0), 0.15)
  2866.                 LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2867.             RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-6),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2868.             LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-10),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2869.               else
  2870.                 Neck.C0 = clerp(Neck.C0, necko * euler(0.15, 0, 0) * euler(0, 0, 0), 0.3)
  2871.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0.25)* angles(math.rad(2.5),math.rad(0),math.rad(0)),.3)
  2872.                 RW.C0 = clerp(RW.C0, cf(1.2, 0.3, -0.5) * euler(1.3, 0, -1.2) * euler(0, 1.57, 0), 0.15)
  2873.                 RW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2874.                 LW.C0 = clerp(LW.C0, cf(-1.2, 0.3, -0.5) * euler(1.3, 0, 1.2) * euler(0, -1.57, 0), 0.15)
  2875.                 LW.C1 = clerp(LW.C1, cf(0, 0.5, 0) * euler(0, 0, 0), 0.15)
  2876.             RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-3),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2877.             LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-8),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  2878.               end
  2879.             else
  2880.               if 2 < torvel and torvel < 30 and hitfloor ~= nil then
  2881.                 Anim = "Walk"
  2882.                 walk = walk + 1
  2883.                 if 15 - 5 * Mvmt.Value <= walk then
  2884.                   walk = 0
  2885.                   if walkforw == true then
  2886.                     walkforw = false
  2887.                   else
  2888.                     if walkforw == false then
  2889.                       walkforw = true
  2890.                     end
  2891.                   end
  2892.                 end
  2893.                 if attack == false then
  2894. swait()
  2895.                 end
  2896.               else
  2897.                 if 30 <= torvel and hitfloor ~= nil then
  2898.                   Anim = "Walk"
  2899.                   walk = walk + 1
  2900.                   if 15 - 5 * Mvmt.Value <= walk then
  2901.                     walk = 0
  2902.                     if walkforw == true then
  2903.                       walkforw = false
  2904.                     else
  2905.                       if walkforw == false then
  2906.                         walkforw = true
  2907.                       end
  2908.                     end
  2909.                   end
  2910.                   if attack == false then
  2911.                   end
  2912.                 end
  2913.               end
  2914.             end
  2915.           end
  2916.         end
  2917.       end
  2918.       if 0 < #Effects then
  2919.         for e = 1, #Effects do
  2920.           if Effects[e] ~= nil then
  2921.             local Thing = Effects[e]
  2922.             if Thing ~= nil then
  2923.               local Part = Thing[1]
  2924.               local Mode = Thing[2]
  2925.               local Delay = Thing[3]
  2926.               local IncX = Thing[4]
  2927.               local IncY = Thing[5]
  2928.               local IncZ = Thing[6]
  2929.               if Thing[2] == "CylinderClang" then
  2930.                 if Thing[3] <= 1 then
  2931.                   Thing[1].CFrame = Thing[1].CFrame * CFrame.new(0, 2.5 * Thing[5], 0) * CFrame.fromEulerAnglesXYZ(Thing[6], 0, 0)
  2932.                   Thing[7] = Thing[1].CFrame
  2933.                   effect("New Yeller", 0, Thing[8], Thing[7])
  2934.                   Thing[8] = Thing[7]
  2935.                   Thing[3] = Thing[3] + Thing[4]
  2936.                 else
  2937.                   Part.Parent = nil
  2938.                   table.remove(Effects, e)
  2939.                 end
  2940.               end
  2941.               if Thing[2] == "showDamage" then
  2942.                 if Thing[6] < Thing[5] then
  2943.                   Thing[6] = Thing[6] + 1
  2944.                 else
  2945.                   if Thing[6] < Thing[7] then
  2946.                     Thing[4].position = Thing[4].position + vt(0, -0.2, 0)
  2947.                     Thing[6] = Thing[6] + 1
  2948.                   else
  2949.                     if Thing[6] < Thing[8] then
  2950.                       Thing[6] = Thing[6] + 1
  2951.                     else
  2952.                       if Thing[6] < Thing[9] then
  2953.                         Thing[6] = Thing[6] + 1
  2954.                         Thing[4].position = Thing[4].position + vt(0, 0.2, 0)
  2955.                         Thing[3].TextStrokeTransparency = Thing[3].TextStrokeTransparency + 0.1
  2956.                         Thing[3].TextTransparency = Thing[3].TextTransparency + 0.1
  2957.                       else
  2958.                         Thing[1].Parent = nil
  2959.                         table.remove(Effects, e)
  2960.                       end
  2961.                     end
  2962.                   end
  2963.                 end
  2964.               end
  2965.               if Thing[2] == "PartiEmi" then
  2966.                 Thing[3] = Thing[3] - 1
  2967.                 if Thing[3] <= 0 then
  2968.                   Thing[1].Enabled = false
  2969.                   table.remove(Effects, e)
  2970.                 end
  2971.               end
  2972.               if Thing[2] == "AdjuEff" then
  2973.                 if 0 < Thing[3] then
  2974.                   Thing[3] = Thing[3] - 1
  2975.                   Thing[1].Size = Thing[1].Size + UDim2.new(0.2, 0, 0.2, 0)
  2976.                   Thing[1].StudsOffset = Thing[1].StudsOffset + vt(0, -0.2, 0)
  2977.                   Thing[4].ImageTransparency = Thing[4].ImageTransparency + 0.1
  2978.                 else
  2979.                   Thing[1].Parent = nil
  2980.                   table.remove(Effects, e)
  2981.                 end
  2982.               end
  2983.               if Thing[2] ~= "Shoot" and Thing[2] ~= "DecreaseStat" and Thing[2] ~= "Wave" and Thing[2] ~= "FireWave" and Thing[2] ~= "showDamage" and Thing[2] ~= "PartiEmi" and Thing[2] ~= "AdjuEff" then
  2984.                 if Thing[1].Transparency <= 1 then
  2985.                   if Thing[2] == "Block1" then
  2986.                     Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  2987.                     Mesh = Thing[7]
  2988.                     Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2989.                     Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2990.                   else
  2991.                     if Thing[2] == "Block2" then
  2992.                       Thing[1].CFrame = Thing[1].CFrame
  2993.                       Mesh = Thing[7]
  2994.                       Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  2995.                       Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  2996.                     else
  2997.                       if Thing[2] == "Block3" then
  2998.                         Thing[9] = Thing[9] + 0.5
  2999.                         Thing[1].CFrame = Thing[8] * cf(0, Thing[9], 0)
  3000.                         Thing[1].CFrame = Thing[1].CFrame * euler(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50))
  3001.                         Mesh = Thing[7]
  3002.                         Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3003.                         Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3004.                       else
  3005.                         if Thing[2] == "Skull" then
  3006.                           Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8] / 2, -Thing[8])
  3007.                           Mesh = Thing[7]
  3008.                           Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3009.                           Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3010.                         else
  3011.                           if Thing[2] == "Cylinder" then
  3012.                             Mesh = Thing[7]
  3013.                             Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3014.                             Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3015.                           else
  3016.                             if Thing[2] == "Cylinder2" then
  3017.                               Thing[1].CFrame = Thing[1].CFrame * cf(0, Thing[8], 0)
  3018.                               Mesh = Thing[7]
  3019.                               Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3020.                               Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3021.                             else
  3022.                               if Thing[2] == "Blood" then
  3023.                                 Mesh = Thing[7]
  3024.                                 Thing[1].CFrame = Thing[1].CFrame * cf(0, 0.5, 0)
  3025.                                 Mesh.Scale = Mesh.Scale + vt(Thing[4], Thing[5], Thing[6])
  3026.                                 Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3027.                               else
  3028.                                 if Thing[2] == "Elec" then
  3029.                                   Mesh = Thing[10]
  3030.                                   Mesh.Scale = Mesh.Scale + vt(Thing[7], Thing[8], Thing[9])
  3031.                                   Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3032.                                 else
  3033.                                   if Thing[2] == "Disappear" then
  3034.                                     Thing[1].Transparency = Thing[1].Transparency + Thing[3]
  3035.                                   end
  3036.                                 end
  3037.                               end
  3038.                             end
  3039.                           end
  3040.                         end
  3041.                       end
  3042.                     end
  3043.                   end
  3044.                 else
  3045.                   Part.Parent = nil
  3046.                   table.remove(Effects, e)
  3047.                 end
  3048.               end
  3049.             end
  3050.           end
  3051.         end
  3052.       end
  3053.       do
  3054.         fenbarmana2:TweenSize((UDim2.new(0.4, 0, -4 * mana.Value / 100, 0)), nil, 1, 0.4, true)
  3055.         fenbarmana4.Text = "Mana(" .. mana.Value .. ")"
  3056.         fenbarhp2.BackgroundColor3 = Color3.new(Humanoid.Health / Humanoid.MaxHealth, 0, 0)
  3057.         fenbarhp2:TweenSize((UDim2.new(Humanoid.Health / Humanoid.MaxHealth, 0, 1, 0)), nil, 1, 0.4, true)
  3058.         fenbarhp3.Text = "(" .. math.floor(Humanoid.Health) .. ")"
  3059.         fenbarblock2:TweenSize((UDim2.new(0.4, 0, -4 * invisnum.Value / 100, 0)), nil, 1, 0.4, true)
  3060.         fenbarblock3.Text = "Power(" .. invisnum.Value .. ")"
  3061.         fenbarmove1b:TweenSize((UDim2.new(1 * cooldowns[1] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3062.         fenbarmove2b:TweenSize((UDim2.new(1 * cooldowns[2] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3063.         fenbarmove3b:TweenSize((UDim2.new(1 * cooldowns[3] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3064.         fenbarmove4b:TweenSize((UDim2.new(1 * cooldowns[4] / cooldownmax, 0, 1, 0)), nil, 1, 0.4, true)
  3065.         for _,c in pairs(Decrease:children()) do
  3066.           if (c:findFirstChild("Duration")) ~= nil then
  3067.             c.Duration.Value = c.Duration.Value - 1
  3068.             if c.Duration.Value <= 0 then
  3069.               c.Parent = nil
  3070.             end
  3071.           end
  3072.           if c.Name == "DecreaseAtk" then
  3073.             decreaseatk = decreaseatk + c.Value
  3074.           else
  3075.             if c.Name == "DecreaseDef" then
  3076.               decreasedef = decreasedef + c.Value
  3077.             else
  3078.               if c.Name == "DecreaseMvmt" then
  3079.                 decreasemvmt = decreasemvmt + c.Value
  3080.               end
  3081.             end
  3082.           end
  3083.         end
  3084.         Atk.Value = 1 - (decreaseatk)
  3085.         if Atk.Value <= 0 then
  3086.           Atk.Value = 0
  3087.         end
  3088.         Def.Value = 1 - (decreasedef)
  3089.         if Def.Value <= 0 then
  3090.           Def.Value = 0.01
  3091.         end
  3092.         Mvmt.Value = 1 - (decreasemvmt)
  3093.         if Mvmt.Value <= 0 then
  3094.           Mvmt.Value = 0
  3095.         end
  3096.         decreaseatk = 0
  3097.         decreasedef = 0
  3098.         decreasemvmt = 0
  3099.         AtkVal = Atk.Value * 100
  3100.         AtkVal = math.floor(AtkVal)
  3101.         AtkVal = AtkVal / 100
  3102.         fenbardamage.Text = "Damage\n(" .. AtkVal .. ")"
  3103.         DefVal = Def.Value * 100
  3104.         DefVal = math.floor(DefVal)
  3105.         DefVal = DefVal / 100
  3106.         fenbardef.Text = "Defense\n(" .. DefVal .. ")"
  3107.         MvmtVal = Mvmt.Value * 100
  3108.         MvmtVal = math.floor(MvmtVal)
  3109.         MvmtVal = MvmtVal / 100
  3110.         if Rooted.Value == true then
  3111.           MvmtVal = 0
  3112.         end
  3113.         fenbarmove.Text = "Walkspeed\n(" .. MvmtVal .. ")"
  3114.         if StunT.Value <= Stun.Value then
  3115.           fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4, 0)), nil, 1, 0.4, true)
  3116.         else
  3117.           fenbarstun2:TweenSize((UDim2.new(0.4, 0, -4 * Stun.Value / StunT.Value, 0)), nil, 1, 0.4, true)
  3118.         end
  3119.         fenbarstun3.Text = "Stun(" .. Stun.Value .. ")"
  3120.         if 100 <= mana.Value then
  3121.           mana.Value = 100
  3122.         else
  3123.           if mananum <= 12 then
  3124.             mananum = mananum + 1
  3125.           else
  3126.             mananum = 0
  3127.             mana.Value = mana.Value + 100
  3128.           end
  3129.         end
  3130.         for i = 1, #cooldowns do
  3131.           if cooldownmax <= cooldowns[i] then
  3132.             cooldowns[i] = cooldownmax
  3133.           else
  3134.             cooldowns[i] = cooldowns[i] + cooldownsadd[i]
  3135.           end
  3136.         end
  3137.         -- DECOMPILER ERROR at PC6064: LeaveBlock: unexpected jumping out DO_STMT
  3138.  
  3139.         -- DECOMPILER ERROR at PC6064: LeaveBlock: unexpected jumping out DO_STMT
  3140.  
  3141.         -- DECOMPILER ERROR at PC6064: LeaveBlock: unexpected jumping out DO_STMT
  3142.  
  3143.       end
  3144.     end
  3145.   end
  3146. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top