Advertisement
jericoalejo

Untitled

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