Advertisement
1x1x1x1IAMbck

Cross sans

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