Advertisement
Thefrozen106

Prepare to be fu--

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