ericdesouza

The cursed script

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