Advertisement
memberhero

Grim Reaper Script2

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