Advertisement
Thefrozen106

Time God

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