Advertisement
Dark_AJ1

crossing sans

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