coolgoldboy166

ryeku

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