Dark_EccentricYT

Untitled

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