awzp

Ice Renegade

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