Advertisement
StarzoZero

Roblox FE Cross Sans

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