JRKPastesBins

Untitled

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