Dark_EccentricYT

Untitled

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