Scriptorz5

Infected Sans [LEAKED]

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