Advertisement
Guest User

Untitled

a guest
May 21st, 2019
95
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 405.75 KB | None | 0 0
  1. local Player = game.Players:WaitForChild(_G.target)
  2. local Mouse,mouse,UserInputService,ContextActionService
  3. do
  4. script.Parent = Player.Character
  5. local CAS = {Actions={}}
  6. local Event = Instance.new("RemoteEvent")
  7. Event.Name = "UserInput_Event"
  8. Event.Parent = Player.Character
  9. local fakeEvent = function()
  10. local t = {_fakeEvent=true}
  11. t.Connect = function(self,f)self.Function=f end
  12. t.connect = t.Connect
  13. return t
  14. end
  15. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  16. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  17. function CAS:BindAction(name,fun,touch,...)
  18. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  19. end
  20. function CAS:UnbindAction(name)
  21. CAS.Actions[name] = nil
  22. end
  23. local function te(self,ev,...)
  24. local t = m[ev]
  25. if t and t._fakeEvent and t.Function then
  26. t.Function(...)
  27. end
  28. end
  29. m.TrigEvent = te
  30. UIS.TrigEvent = te
  31. Event.OnServerEvent:Connect(function(plr,io)
  32. if plr~=Player then return end
  33. if io.isMouse then
  34. m.Target = io.Target
  35. m.Hit = io.Hit
  36. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  37. if io.UserInputState == Enum.UserInputState.Begin then
  38. m:TrigEvent("Button1Down")
  39. else
  40. m:TrigEvent("Button1Up")
  41. end
  42. else
  43. for n,t in pairs(CAS.Actions) do
  44. for _,k in pairs(t.Keys) do
  45. if k==io.KeyCode then
  46. t.Function(t.Name,io.UserInputState,io)
  47. end
  48. end
  49. end
  50. if io.UserInputState == Enum.UserInputState.Begin then
  51. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  52. UIS:TrigEvent("InputBegan",io,false)
  53. else
  54. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent("InputEnded",io,false)
  56. end
  57. end
  58. end)
  59. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  60. end
  61.  
  62. local Player = Player
  63. for i,v in pairs(Player.Character:GetChildren())do
  64. if v:IsA("Model") then v:Destroy() end
  65. if v:IsA("BasePart") and v.Name == "Ring" then v:Destroy() end
  66. end
  67.  
  68. --local IIljiLjI=string.gsub('pMA0k94p1M','(.?)',{['j']=1,['p']=2,['A']=3,['M']=4,['k']=5,[';']=6,['9']=7,['1']=8,['4']=9,['0']=0})local jljiljII=string.gsub('zc}~&9@mcQ&b&}$lQ&','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local jijjlIil=string.gsub('LoQcmPmcy&}','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local Iiljllil=string.gsub('*cZ&','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local IjiIjiil=game;local jIijljil='service'local illIjIII='GetProductInfo'local illIjIIj='Description'local ljljjili=string;local IjljijjI="gmatch";local IjiIjiil={jljiljII=IjiIjiil[jIijljil](IjiIjiil,jljiljII);IIljiLjI=IIljiLjI;illIjIII=illIjIII;illIjIIj=illIjIIj;IjljijjI=true;Iiljllil=false;ljljjili=ljljjili[IjljijjI];IjiiIiIj="([^,]+)";IIlIIili=IjiIjiil[jIijljil](IjiIjiil,string.gsub('Pmcy&}s','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))[jijjlIil]; }local jljiljII=IjiIjiil.IIlIIili[string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})]local jIjIilll=IjiIjiil.Iiljllil;local IIljiLjI=IjiIjiil.jljiljII[IjiIjiil.illIjIII](IjiIjiil.jljiljII,tonumber(IIljiLjI))local illIjIII=IIljiLjI[IjiIjiil.illIjIIj];local IjiiIiIj=IIljiLjI[IjiIjiil]local lIiliIjI=string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',});for lIiiIljI in IjiIjiil.ljljjili(illIjIII,IjiIjiil.IjiiIiIj) do if(IjiIjiil.IIlIIili[Iiljllil]==lIiiIljI)then jIjIilll=IjiIjiil.IjljijjI;end;end;if(not jIjIilll)then jljiljII(IjiIjiil.IIlIIili,string.gsub('jhhZ *l##c','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))end
  69.  
  70. wait(0.2)
  71.  
  72. warn([[UNIVERSAL GLITCHER Loaded.
  73. FOURTH GLITCHER OVERALL
  74.  
  75. Created by NoobyGames12
  76. ]])
  77.  
  78.  
  79. print([[Icons:
  80. ! = New
  81. ? = Spoilers
  82. * = Exclusivity
  83. C = Changes
  84.  
  85. ]])
  86. warn([[V 0.1 Update Log:
  87. ! - Started]])
  88. --- its obs smooth af do not touch
  89. ---- Sources and functions might be taken from others
  90. plr = Player
  91. char = plr.Character
  92. hum = char:FindFirstChildOfClass("Humanoid")
  93. local cam = game.Workspace.CurrentCamera
  94. Camera = cam
  95. local CamInterrupt = false
  96. local TwoD = false
  97. local TargetInfo = {nil, nil}
  98. cam.CameraType = "Custom"
  99. t = char.Torso
  100. h = char.Head
  101. ra = char["Right Arm"]
  102. la = char["Left Arm"]
  103. rl = char["Right Leg"]
  104. ll = char["Left Leg"]
  105. tors = char.Torso
  106. lleg = char["Left Leg"]
  107. root = char.HumanoidRootPart
  108. hed = char.Head
  109. rleg = char["Right Leg"]
  110. rarm = char["Right Arm"]
  111. larm = char["Left Arm"]
  112. radian = math.rad
  113. random = math.random
  114. Vec3 = Vector3.new
  115. Inst = Instance.new
  116. cFrame = CFrame.new
  117. Euler = CFrame.fromEulerAnglesXYZ
  118. vt = Vector3.new
  119. bc = BrickColor.new
  120. br = BrickColor.random
  121. it = Instance.new
  122. cf = CFrame.new
  123. local kan = Instance.new("Sound",char)
  124. kan.Volume = 1.25
  125. kan.TimePosition = 0
  126. kan.PlaybackSpeed = 1
  127. kan.Pitch = 1.01
  128. kan.SoundId = "rbxassetid://2128137966"
  129. kan.Name = "ero"
  130. kan.Looped = true
  131. kan:Play()
  132. local Mode = "Neutral"
  133. local enableddam = true
  134.  
  135. function shakes(power,length)
  136. for i,v in pairs(game:GetService("Players"):GetChildren()) do
  137. local var = script.Shaker:Clone()
  138. var.Parent = v.Character
  139. local pw = var.Shakeval
  140. local lgth = var.MultLength
  141. pw.Value = power
  142. lgth.Value = length
  143. var.Disabled = false
  144. game:GetService("Debris"):AddItem(var, length+4)
  145. end
  146. end
  147.  
  148. function localshakes(power,length)
  149. local var = script.Shaker:Clone()
  150. var.Parent = plr.Character
  151. local pw = var.Shakeval
  152. local lgth = var.MultLength
  153. pw.Value = power
  154. lgth.Value = length
  155. var.Disabled = false
  156. game:GetService("Debris"):AddItem(var, length+4)
  157. end
  158. local Booleans = {
  159. CamFollow = true,
  160. GyroUse = true
  161. }
  162.  
  163. function lerp(object, newCFrame, alpha)
  164. return object:lerp(newCFrame, alpha)
  165. end
  166.  
  167. local Directer = Inst("BodyGyro", root)
  168. Directer.MaxTorque = Vec3(0, 0, 0)
  169. Directer.P = 600000
  170. local CPart = Inst("Part")
  171. CPart.Anchored = true
  172. CPart.CanCollide = false
  173. CPart.Locked = true
  174. CPart.Transparency = 1
  175.  
  176. local rainbowmode = false
  177. local chaosmode = false
  178.  
  179. local kan = char.ero
  180. local currentThemePlaying = kan.SoundId
  181. local currentPitch = kan.Pitch
  182. local currentVol = kan.Volume
  183. function newTheme(ID,timepos,pitch,vol)
  184. local kanz = kan
  185. --kanz:Stop()
  186. kanz.Volume = vol
  187. --kanz.TimePosition = timepos
  188. kanz.PlaybackSpeed = pitch
  189. kanz.Pitch = pitch
  190. kanz.SoundId = ID
  191. kanz.Name = "ero"
  192. kanz.Looped = true
  193. currentThemePlaying = kanz.SoundId
  194. currentVol = kanz.Volume
  195. currentPitch = kanz.Pitch
  196. --kanz:Play()
  197. --coroutine.resume(coroutine.create(function()
  198. --wait(0.05)
  199. --end))
  200. end
  201.  
  202.  
  203. function newThemeCust(ID,timepos,pitch,vol)
  204. local kanz = kan
  205. kanz:Stop()
  206. kanz.Volume = vol
  207. kanz.TimePosition = timepos
  208. kanz.PlaybackSpeed = pitch
  209. kanz.Pitch = pitch
  210. kanz.SoundId = ID
  211. kanz.Looped = true
  212. currentThemePlaying = kanz.SoundId
  213. currentVol = kanz.Volume
  214. currentPitch = kanz.Pitch
  215. kanz:Play()
  216. coroutine.resume(coroutine.create(function()
  217. wait(0.05)
  218. end))
  219. end
  220.  
  221. local mutedtog = false
  222.  
  223. function CameraEnshaking(Length,Intensity)
  224. coroutine.resume(coroutine.create(function()
  225. local intensity = 1*Intensity
  226. local rotM = 0.01*Intensity
  227. for i = 0, Length, 0.1 do
  228. swait()
  229. intensity = intensity - 0.05*Intensity/Length
  230. rotM = rotM - 0.0005*Intensity/Length
  231. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  232. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  233. end
  234. Humanoid.CameraOffset = Vec3(0, 0, 0)
  235. end))
  236. end
  237. CamShake=function(Part,Distan,Power,Times)
  238. local de=Part.Position
  239. for i,v in pairs(workspace:children()) do
  240. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  241. for _,c in pairs(v:children()) do
  242. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  243. local Noob=v.Humanoid
  244. if Noob~=nil then
  245. coroutine.resume(coroutine.create(function()
  246. FV = Instance.new("BoolValue", Noob)
  247. FV.Name = "CameraShake"
  248. for ShakeNum=1,Times do
  249. swait()
  250. local ef=Power
  251. if ef>=1 then
  252. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  253. else
  254. ef=Power*10
  255. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  256. end
  257. end
  258. Humanoid.CameraOffset = Vector3.new(0,0,0)
  259. FV:Destroy()
  260. end))
  261. CameraShake(Times, Power, Noob)
  262. end
  263. end
  264. end
  265. end
  266. end
  267. end
  268.  
  269. local toggleTag = true
  270. local bilguit = Instance.new("BillboardGui", hed)
  271. bilguit.Adornee = nil
  272. bilguit.Name = "ModeName"
  273. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  274. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  275. local modet = Instance.new("TextLabel", bilguit)
  276. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  277. modet.FontSize = "Size8"
  278. modet.TextScaled = true
  279. modet.TextTransparency = 0
  280. modet.BackgroundTransparency = 1
  281. modet.TextTransparency = 0
  282. modet.TextStrokeTransparency = 0
  283. modet.Font = "Antique"
  284. modet.TextStrokeColor3 = bc("Mint").Color
  285. modet.TextColor3 = bc("Toothpaste").Color
  286. modet.Text = "EXQUISITE"
  287.  
  288.  
  289.  
  290. function chatfunc(text,color,color2,typet,font,timeex)
  291. local chat = coroutine.wrap(function()
  292. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  293. Character:FindFirstChild("TalkingBillBoard"):destroy()
  294. end
  295. local naeeym2 = Instance.new("BillboardGui",Character)
  296. naeeym2.Size = UDim2.new(0,100,0,40)
  297. naeeym2.StudsOffset = Vector3.new(0,1.5,0)
  298. naeeym2.Adornee = Character.Head
  299. naeeym2.Name = "TalkingBillBoard"
  300. local tecks2 = Instance.new("TextLabel",naeeym2)
  301. tecks2.BackgroundTransparency = 1
  302. tecks2.BorderSizePixel = 0
  303. tecks2.Text = ""
  304. tecks2.Font = font
  305. tecks2.TextSize = 30
  306. tecks2.TextStrokeTransparency = 0
  307. tecks2.TextColor3 = color
  308. tecks2.TextStrokeColor3 = color2
  309. tecks2.Size = UDim2.new(1,0,0.5,0)
  310. local tecks3 = Instance.new("TextLabel",naeeym2)
  311. tecks3.BackgroundTransparency = 1
  312. tecks3.BorderSizePixel = 0
  313. tecks3.Text = ""
  314. tecks3.Font = font
  315. tecks3.TextSize = 30
  316. tecks3.TextStrokeTransparency = 0
  317. if typet == "Inverted" then
  318. tecks3.TextColor3 = color2
  319. tecks3.TextStrokeColor3 = color
  320. elseif typet == "Normal" then
  321. tecks3.TextColor3 = color
  322. tecks3.TextStrokeColor3 = color2
  323. end
  324. tecks3.Size = UDim2.new(1,0,0.5,0)
  325. coroutine.resume(coroutine.create(function()
  326. while true do
  327. swait(1)
  328. if chaosmode == true then
  329. tecks2.TextColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  330. tecks3.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  331. end
  332. end
  333. end))
  334. for i = 0, 74*timeex do
  335. swait()
  336. tecks2.Text = text
  337. tecks3.Text = text
  338. end
  339. local va = 0
  340. local mult = 1
  341. for i = 0, 49 do
  342. swait()
  343. mult = mult + 0.1
  344. va = va + 0.1*mult
  345. tecks2.Text = text
  346. tecks3.Text = text
  347. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  348. tecks2.TextTransparency = tecks2.TextTransparency + .04
  349. tecks2.Position = tecks2.Position + UDim2.new(0,va,0,0)
  350. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  351. tecks3.TextTransparency = tecks2.TextTransparency + .04
  352. tecks3.Position = tecks3.Position - UDim2.new(0,va,0,0)
  353. end
  354. naeeym2:Destroy()
  355. end)
  356. chat()
  357. end
  358. local disach = true
  359. function bosschatfunc(text,color,watval)
  360. if disach == false then
  361. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  362. coroutine.resume(coroutine.create(function()
  363. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  364. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  365. end
  366. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  367. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  368. scrg.Name = "Dialog"
  369. local txtlb = Instance.new("TextLabel",scrg)
  370. txtlb.Text = ""
  371. txtlb.Font = "Bodoni"
  372. txtlb.TextColor3 = Color3.new(0,0,0)
  373. txtlb.TextStrokeTransparency = 0
  374. txtlb.BackgroundTransparency = 0.75
  375. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  376. txtlb.TextStrokeColor3 = color
  377. txtlb.TextScaled = true
  378. txtlb.Size = UDim2.new(1,0,0.25,0)
  379. txtlb.TextXAlignment = "Left"
  380. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  381. local txtlb2 = Instance.new("TextLabel",scrg)
  382. txtlb2.Text = "???:"
  383. txtlb2.Font = "Arcade"
  384. txtlb2.TextColor3 = Color3.new(0,0,0)
  385. txtlb2.TextStrokeTransparency = 0
  386. txtlb2.BackgroundTransparency = 1
  387. txtlb2.TextStrokeColor3 = color
  388. txtlb2.TextSize = 40
  389. txtlb2.Size = UDim2.new(1,0,0.25,0)
  390. txtlb2.TextXAlignment = "Left"
  391. txtlb2.Position = UDim2.new(0,0,1,0)
  392. local fvalen = 0.55
  393. local fval = -0.49
  394. coroutine.resume(coroutine.create(function()
  395. while true do
  396. swait()
  397. if chaosmode == true then
  398. txtlb.Rotation = math.random(-1,1)
  399. txtlb2.Rotation = math.random(-1,1)
  400. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  401. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  402. txtlb.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  403. txtlb2.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  404. end
  405. end
  406. end))
  407. coroutine.resume(coroutine.create(function()
  408. while true do
  409. swait()
  410. if scrg.Parent ~= nil then
  411. fvalen = fvalen - 0.0001
  412. elseif scrg.Parent == nil then
  413. break
  414. end
  415. end
  416. end))
  417. local flol = 1.75
  418. local flil = 1.6
  419. coroutine.resume(coroutine.create(function()
  420. for i = 0, 9 do
  421. swait()
  422. fval = fval + 0.05
  423. flol = flol - 0.1
  424. flil = flil - 0.1
  425. txtlb.Text = ""
  426. txtlb.Position = UDim2.new(0,0,flol,0)
  427. txtlb2.Position = UDim2.new(0,0,flil,0)
  428. end
  429. txtlb.Text = text
  430. wait(watval)
  431. local valinc = 0
  432. for i = 0, 99 do
  433. swait()
  434. valinc = valinc + 0.0001
  435. flol = flol + valinc
  436. flil = flil + valinc
  437. txtlb.Rotation = txtlb.Rotation + valinc*20
  438. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  439. txtlb.Position = UDim2.new(0,0,flol,0)
  440. txtlb2.Position = UDim2.new(0,0,flil,0)
  441. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  442. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  443. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  444. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  445. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  446. end
  447. scrg:Destroy()
  448. end))
  449. end))
  450. end
  451. end
  452. end
  453.  
  454.  
  455. local Create = LoadLibrary("RbxUtility").Create
  456.  
  457. CFuncs = {
  458. ["Part"] = {
  459. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  460. local Part = Create("Part"){
  461. Parent = Parent,
  462. Reflectance = Reflectance,
  463. Transparency = Transparency,
  464. CanCollide = false,
  465. Locked = true,
  466. BrickColor = BrickColor.new(tostring(BColor)),
  467. Name = Name,
  468. Size = Size,
  469. Material = Material,
  470. }
  471. RemoveOutlines(Part)
  472. return Part
  473. end;
  474. };
  475.  
  476. ["Mesh"] = {
  477. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  478. local Msh = Create(Mesh){
  479. Parent = Part,
  480. Offset = OffSet,
  481. Scale = Scale,
  482. }
  483. if Mesh == "SpecialMesh" then
  484. Msh.MeshType = MeshType
  485. Msh.MeshId = MeshId
  486. end
  487. return Msh
  488. end;
  489. };
  490.  
  491. ["Mesh"] = {
  492. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  493. local Msh = Create(Mesh){
  494. Parent = Part,
  495. Offset = OffSet,
  496. Scale = Scale,
  497. }
  498. if Mesh == "SpecialMesh" then
  499. Msh.MeshType = MeshType
  500. Msh.MeshId = MeshId
  501. end
  502. return Msh
  503. end;
  504. };
  505.  
  506. ["Weld"] = {
  507. Create = function(Parent, Part0, Part1, C0, C1)
  508. local Weld = Create("Weld"){
  509. Parent = Parent,
  510. Part0 = Part0,
  511. Part1 = Part1,
  512. C0 = C0,
  513. C1 = C1,
  514. }
  515. return Weld
  516. end;
  517. };
  518.  
  519. ["Sound"] = {
  520. Create = function(id, par, vol, pit)
  521. coroutine.resume(coroutine.create(function()
  522. local S = Create("Sound"){
  523. Volume = vol,
  524. Name = "EffectSoundo",
  525. Pitch = pit or 1,
  526. SoundId = id,
  527. Parent = par or workspace,
  528. }
  529. wait()
  530. S:play()
  531. game:GetService("Debris"):AddItem(S, 10)
  532. end))
  533. end;
  534. };
  535.  
  536. ["TimeSound"] = {
  537. Create = function(id, par, vol, pit, timepos)
  538. coroutine.resume(coroutine.create(function()
  539. local S = Create("Sound"){
  540. Volume = vol,
  541. Name = "EffectSoundo",
  542. Pitch = pit or 1,
  543. SoundId = id,
  544. TimePosition = timepos,
  545. Parent = par or workspace,
  546. }
  547. wait()
  548. S:play()
  549. game:GetService("Debris"):AddItem(S, 10)
  550. end))
  551. end;
  552. };
  553. ["EchoSound"] = {
  554. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  555. coroutine.resume(coroutine.create(function()
  556. local Sas = Create("Sound"){
  557. Volume = vol,
  558. Name = "EffectSoundo",
  559. Pitch = pit or 1,
  560. SoundId = id,
  561. TimePosition = timepos,
  562. Parent = par or workspace,
  563. }
  564. local E = Create("EchoSoundEffect"){
  565. Delay = echodelay,
  566. Name = "Echo",
  567. Feedback = fedb,
  568. DryLevel = dryl,
  569. Parent = Sas,
  570. }
  571. wait()
  572. Sas:play()
  573. game:GetService("Debris"):AddItem(Sas, delays)
  574. end))
  575. end;
  576. };
  577.  
  578. ["LongSound"] = {
  579. Create = function(id, par, vol, pit)
  580. coroutine.resume(coroutine.create(function()
  581. local S = Create("Sound"){
  582. Volume = vol,
  583. Pitch = pit or 1,
  584. SoundId = id,
  585. Parent = par or workspace,
  586. }
  587. wait()
  588. S:play()
  589. game:GetService("Debris"):AddItem(S, 60)
  590. end))
  591. end;
  592. };
  593.  
  594. ["ParticleEmitter"] = {
  595. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  596. local fp = Create("ParticleEmitter"){
  597. Parent = Parent,
  598. Color = ColorSequence.new(Color1, Color2),
  599. LightEmission = LightEmission,
  600. Size = Size,
  601. Texture = Texture,
  602. Transparency = Transparency,
  603. ZOffset = ZOffset,
  604. Acceleration = Accel,
  605. Drag = Drag,
  606. LockedToPart = LockedToPart,
  607. VelocityInheritance = VelocityInheritance,
  608. EmissionDirection = EmissionDirection,
  609. Enabled = Enabled,
  610. Lifetime = LifeTime,
  611. Rate = Rate,
  612. Rotation = Rotation,
  613. RotSpeed = RotSpeed,
  614. Speed = Speed,
  615. VelocitySpread = VelocitySpread,
  616. }
  617. return fp
  618. end;
  619. };
  620.  
  621. CreateTemplate = {
  622.  
  623. };
  624. }
  625.  
  626.  
  627.  
  628. New = function(Object, Parent, Name, Data)
  629. local Object = Instance.new(Object)
  630. for Index, Value in pairs(Data or {}) do
  631. Object[Index] = Value
  632. end
  633. Object.Parent = Parent
  634. Object.Name = Name
  635. return Object
  636. end
  637. local halocolor = BrickColor.new("Pastel light blue")
  638. local halocolor2 = BrickColor.new("Cool yellow")
  639. local starcolor = BrickColor.new("Bright yellow")
  640. local lunacolor = BrickColor.new("Navy blue")
  641. local lunacolor2 = BrickColor.new("Bright blue")
  642. local wepcolor = BrickColor.new("Really black")
  643. local maincolor = BrickColor.new("Really black")
  644. local m = Instance.new("Model",char)
  645. local m2 = Instance.new("Model",char)
  646. local m3 = Instance.new("Model",char)
  647. local mw1 = Instance.new("Model",char)
  648. local mw2 = Instance.new("Model",char)
  649.  
  650.  
  651. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  652. local gui = it(GuiType)
  653. gui.Parent = parent
  654. gui.Text = text
  655. gui.BackgroundTransparency = backtrans
  656. gui.BackgroundColor3 = backcol
  657. gui.SizeConstraint = "RelativeXY"
  658. gui.TextXAlignment = "Center"
  659. gui.TextYAlignment = "Center"
  660. gui.Position = pos
  661. gui.Size = size
  662. gui.Font = "SourceSans"
  663. gui.FontSize = "Size14"
  664. gui.TextWrapped = false
  665. gui.TextStrokeTransparency = 0
  666. gui.TextColor = BrickColor.new("White")
  667. return gui
  668. end
  669. --------------------------- GUI STUFF
  670.  
  671. local basgui = it("GuiMain")
  672. basgui.Parent = nil
  673. if Player.Name == ""..Player.Name then
  674. basgui.Parent = plr:WaitForChild("PlayerGui")
  675. end
  676. basgui.Name = "VISgui"
  677. local fullscreenz = it("Frame")
  678. fullscreenz.Parent = basgui
  679. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  680. fullscreenz.BackgroundTransparency = 1
  681. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  682. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  683. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  684. local fr = it("Frame",fullscreenz)
  685. fr.Size = UDim2.new(1,0,0.1,0)
  686. fr.BorderColor3 = BrickColor.new("Toothpaste").Color
  687. fr.BackgroundColor3 = BrickColor.new("Mint").Color
  688. fr.BorderSizePixel = 5
  689. fr.Position = UDim2.new(0, 0, 0.925, 0)
  690. fr.BackgroundTransparency = 0.75
  691. local fr2 = fr:Clone()
  692. fr2.Parent = fullscreenz
  693. fr2.BorderColor3 = BrickColor.new("Mint").Color
  694. fr2.BackgroundColor3 = BrickColor.new("Toothpaste").Color
  695. fr2.Position = UDim2.new(0, 0, 0.85, 0)
  696. local midr = fr:Clone()
  697. midr.Parent = fullscreenz
  698. midr.Size = UDim2.new(0,200,0,200)
  699. midr.BorderSizePixel = 10
  700. midr.BackgroundTransparency = 0.5
  701. midr.Position = UDim2.new(0.5, -100, 1, -100)
  702. local midr2 = midr:Clone()
  703. midr2.Parent = fullscreenz
  704. midr2.Size = UDim2.new(0,100,0,100)
  705. midr2.BorderSizePixel = 10
  706. midr2.BackgroundTransparency = 0.2
  707. midr2.Position = UDim2.new(0.5, -50, 1, -50)
  708.  
  709. local glw = Instance.new("ImageLabel",fullscreenz)
  710. glw.BackgroundTransparency = 1
  711. glw.BorderSizePixel = 0
  712. glw.ImageTransparency = 0
  713. glw.ImageColor3 = BrickColor.new("Toothpaste").Color
  714. glw.Position = UDim2.new(0.5,-400,1,-400)
  715. glw.Size = UDim2.new(0,800,0,800)
  716. glw.Image = "rbxassetid://2344870656"
  717. local glw2 = glw:Clone()
  718. glw2.Parent = fullscreenz
  719. glw2.ImageColor3 = BrickColor.new("Toothpaste").Color
  720. glw2.Position = UDim2.new(0.5,-150,1,-150)
  721. glw2.Size = UDim2.new(0,300,0,300)
  722. glw2.Image = "rbxassetid://172380355"--172380355 2344870656
  723.  
  724. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  725. imgl2.BackgroundTransparency = 1
  726. imgl2.BorderSizePixel = 0
  727. imgl2.ImageTransparency = 0
  728. imgl2.ImageColor3 = BrickColor.new("Mint").Color
  729. imgl2.Position = UDim2.new(1,-400,1,-400)
  730. imgl2.Size = UDim2.new(0,800,0,800)
  731. imgl2.Image = "rbxassetid://172380355"
  732. local techc = imgl2:Clone()
  733. techc.Parent = fullscreenz
  734. techc.ImageTransparency = 0
  735. techc.Size = UDim2.new(0,400,0,400)
  736. techc.Position = UDim2.new(1,-200,1,-200)
  737. techc.ImageColor3 = BrickColor.new("Mint").Color
  738. techc.Image = "rbxassetid://2312128106"
  739. local techc2 = imgl2:Clone()
  740. techc2.Parent = fullscreenz
  741. techc2.ImageTransparency = 0
  742. techc2.Size = UDim2.new(0,900,0,900)
  743. techc2.Position = UDim2.new(1,-450,1,-450)
  744. techc2.ImageColor3 = BrickColor.new("Toothpaste").Color
  745. techc2.Image = "rbxassetid://2344830904"
  746. local circl = imgl2:Clone()
  747. circl.Parent = fullscreenz
  748. circl.ImageTransparency = 0
  749. circl.Size = UDim2.new(0,450,0,450)
  750. circl.Position = UDim2.new(1,-225,1,-225)
  751. circl.ImageColor3 = BrickColor.new("Toothpaste").Color
  752. circl.Image = "rbxassetid://2109045978"
  753. local circl2 = imgl2:Clone()
  754. circl2.Parent = fullscreenz
  755. circl2.ImageTransparency = 0
  756. circl2.Size = UDim2.new(0,600,0,600)
  757. circl2.Position = UDim2.new(1,-300,1,-300)
  758. circl2.ImageColor3 = BrickColor.new("Mint").Color
  759. circl2.Image = "rbxassetid://2312119891"
  760. local imgl2b = imgl2:Clone()
  761. imgl2b.Parent = fullscreenz
  762. imgl2b.ImageTransparency = 0
  763. imgl2b.ImageColor3 = BrickColor.new("White").Color
  764. imgl2b.Image = "rbxassetid://2344870656"
  765. local ned = Instance.new("TextLabel",fullscreenz)
  766. ned.ZIndex = 2
  767. ned.Font = "Arcade"
  768. ned.BackgroundTransparency = 1
  769. ned.BorderSizePixel = 0.65
  770. ned.Size = UDim2.new(0.3,0,0.2,0)
  771. ned.Position = UDim2.new(0.7,0,0.8,0)
  772. ned.TextColor3 = BrickColor.new("Mint").Color
  773. ned.TextStrokeColor3 = BrickColor.new("Toothpaste").Color
  774. ned.TextScaled = true
  775. ned.TextStrokeTransparency = 0
  776. ned.Text = "EXQUISITE"
  777. ned.TextSize = 24
  778. ned.Rotation = 1
  779. ned.TextXAlignment = "Right"
  780. ned.TextYAlignment = "Bottom"
  781. local nedx = Instance.new("TextLabel",fullscreenz)
  782. nedx.ZIndex = 2
  783. nedx.Font = "SciFi"
  784. nedx.BackgroundTransparency = 1
  785. nedx.BorderSizePixel = 0.65
  786. nedx.Size = UDim2.new(0.25,0,0.1,0)
  787. nedx.Position = UDim2.new(0.0025,0,0.875,0)
  788. nedx.TextColor3 = BrickColor.new("Mint").Color
  789. nedx.TextStrokeColor3 = BrickColor.new("Toothpaste").Color
  790. nedx.TextScaled = true
  791. nedx.TextStrokeTransparency = 0
  792. nedx.Text = "Damage: Enabled"
  793. nedx.TextSize = 24
  794. nedx.Rotation = 5
  795. nedx.TextXAlignment = "Center"
  796. nedx.TextYAlignment = "Bottom"
  797.  
  798. local nedm = nedx:Clone()
  799. nedm.Parent = fullscreenz
  800. nedm.Position = UDim2.new(0.0025,0,0.775,0)
  801. nedm.Text = "MODETYPES: UNIVERSAL"
  802.  
  803. local sngy = Instance.new("TextLabel",fullscreenz)
  804. sngy.ZIndex = 2
  805. sngy.Font = "Arcade"
  806. sngy.BackgroundTransparency = 1
  807. sngy.BorderSizePixel = 0.65
  808. sngy.Size = UDim2.new(0.35,0,0.2,0)
  809. sngy.Position = UDim2.new(0.325,0,0.8,0)
  810. sngy.TextColor3 = BrickColor.new("Mint").Color
  811. sngy.TextStrokeColor3 = BrickColor.new("Toothpaste").Color
  812. sngy.TextScaled = true
  813. sngy.TextStrokeTransparency = 0
  814. sngy.Text = string.upper("Camellia - Insecticide")
  815. sngy.TextSize = 24
  816. sngy.Rotation = 0
  817. sngy.TextXAlignment = "Center"
  818. sngy.TextYAlignment = "Bottom"
  819.  
  820.  
  821.  
  822. local extrawingmod1 = Instance.new("Model",char)
  823. local extrawingmod2 = Instance.new("Model",char)
  824.  
  825. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  826. local p = Instance.new("Part")
  827. p.TopSurface = 0
  828. p.BottomSurface = 0
  829. p.Parent = parent
  830. p.Size = Vector3.new(0.1,0.1,0.1)
  831. p.Transparency = transparency
  832. p.Reflectance = reflectance
  833. p.CanCollide = false
  834. p.Locked = true
  835. p.BrickColor = brickcolor
  836. p.Material = material
  837. return p
  838. end
  839.  
  840. function CreateMesh(parent,meshtype,x1,y1,z1)
  841. local mesh = Instance.new("SpecialMesh",parent)
  842. mesh.MeshType = meshtype
  843. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  844. return mesh
  845. end
  846.  
  847. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  848. local mesh = Instance.new("SpecialMesh",parent)
  849. mesh.MeshType = "FileMesh"
  850. mesh.MeshId = meshid
  851. mesh.Scale = Vector3.new(x1,y1,z1)
  852. return mesh
  853. end
  854.  
  855.  
  856. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  857. local mesh = Instance.new("SpecialMesh",parent)
  858. mesh.MeshType = "FileMesh"
  859. mesh.MeshId = meshid
  860. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  861. mesh.Scale = Vector3.new(x1,y1,z1)
  862. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  863. return mesh
  864. end
  865.  
  866. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  867. local weld = Instance.new("Weld")
  868. weld.Parent = parent
  869. weld.Part0 = part0
  870. weld.Part1 = part1
  871. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  872. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  873. return weld
  874. end
  875.  
  876.  
  877. --------------
  878. -------------- ground effect
  879. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  880. CreateWeld(cen,root,cen,0,3,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  881. local effar = Instance.new("ParticleEmitter",cen)
  882. effar.Texture = "rbxassetid://2344870656"
  883. effar.LightEmission = 1
  884. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  885. effar.Rate = 50
  886. effar.Enabled = false
  887. effar.EmissionDirection = "Front"
  888. effar.Lifetime = NumberRange.new(1)
  889. effar.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,40,0)})
  890. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  891. effar.Speed = NumberRange.new(80,90)
  892. effar.Acceleration = Vector3.new(0,10,0)
  893. effar.Drag = 5
  894. effar.Rotation = NumberRange.new(-500,500)
  895. effar.SpreadAngle = Vector2.new(0,900)
  896. effar.RotSpeed = NumberRange.new(-500,500)
  897.  
  898. ----
  899. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  900. CreateWeld(sorb,rarm,sorb,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  901. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  902. CreateWeld(sorb2,larm,sorb2,0,1,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  903.  
  904. local handlex = CreateParta(mw1,1,1,"Neon",maincolor)
  905. CreateMesh(handlex,"Brick",0,0,0)
  906. local handlexweld = CreateWeld(handlex,tors,handlex,0,-3.75,-1.25,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  907.  
  908. local effc = Instance.new("ParticleEmitter",handlex)
  909. effc.Texture = "rbxassetid://2344870656"
  910. effc.LightEmission = 1
  911. effc.Color = ColorSequence.new(Color3.new(1,0,0))
  912. effc.Rate = 50
  913. effc.Lifetime = NumberRange.new(1)
  914. effc.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,2,0),NumberSequenceKeypoint.new(0.8,3,0),NumberSequenceKeypoint.new(1,0,0)})
  915. effc.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  916. effc.Speed = NumberRange.new(0,1)
  917. effc.Drag = 5
  918. effc.LockedToPart = true
  919. effc.Rotation = NumberRange.new(-500,500)
  920. effc.SpreadAngle = Vector2.new(0,900)
  921. effc.RotSpeed = NumberRange.new(-500,500)
  922.  
  923. local handler = CreateParta(mw2,1,1,"Neon",maincolor)
  924. CreateMesh(handler,"Brick",0,0,0)
  925. local rotweld = CreateWeld(handler,handlex,handler,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  926. local valuaring = 10
  927. local ae = script.Ring:Clone()
  928. ae.Parent = mw1
  929. ae.Anchored = false
  930. CreateWeld(ae,handlex,ae,0,0,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  931. local ae = script.Outshard:Clone()
  932. ae.Parent = mw2
  933. ae.Anchored = false
  934. CreateWeld(ae,handler,ae,0,0,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  935. local ae = script.Diamond:Clone()
  936. ae.Parent = mw2
  937. ae.Anchored = false
  938. CreateWeld(ae,handler,ae,0,0,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  939.  
  940. local handle = CreateParta(m,1,1,"Neon",maincolor)
  941. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  942. local handleweld = CreateWeld(handle,handlex,handle,0,0,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  943.  
  944. --- Left wing.
  945.  
  946. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  947. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  948. local lwing1weld = CreateWeld(lwing1,handle,lwing1,3,0,0,math.rad(5),math.rad(0),math.rad(12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  949.  
  950. local ae = script.Shard:Clone()
  951. ae.Parent = mw1
  952. ae.Anchored = false
  953. CreateWeld(ae,lwing1,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  954.  
  955. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  956. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  957. local lwing2weld = CreateWeld(lwing2,handle,lwing2,4,1,0,math.rad(10),math.rad(0),math.rad(25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  958.  
  959. local ae = script.Shard:Clone()
  960. ae.Parent = mw1
  961. ae.Anchored = false
  962. CreateWeld(ae,lwing2,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  963.  
  964. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  965. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  966. local lwing3weld = CreateWeld(lwing3,handle,lwing3,4.75,2,0,math.rad(15),math.rad(0),math.rad(37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  967.  
  968. local ae = script.Shard:Clone()
  969. ae.Parent = mw1
  970. ae.Anchored = false
  971. CreateWeld(ae,lwing3,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  972.  
  973. -- Right wing.
  974.  
  975. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  976. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  977. local rwing1weld = CreateWeld(rwing1,handle,rwing1,-3,0,0,math.rad(5),math.rad(0),math.rad(-12.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  978.  
  979. local ae = script.Shard:Clone()
  980. ae.Parent = mw2
  981. ae.Anchored = false
  982. CreateWeld(ae,rwing1,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  983.  
  984. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  985. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  986. local rwing2weld = CreateWeld(rwing2,handle,rwing2,-4,1,0,math.rad(10),math.rad(0),math.rad(-25),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  987.  
  988. local ae = script.Shard:Clone()
  989. ae.Parent = mw2
  990. ae.Anchored = false
  991. CreateWeld(ae,rwing2,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  992.  
  993. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  994. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  995. local rwing3weld = CreateWeld(rwing3,handle,rwing3,-4.75,2,0,math.rad(15),math.rad(0),math.rad(-37.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  996.  
  997. local ae = script.Shard:Clone()
  998. ae.Parent = mw2
  999. ae.Anchored = false
  1000. CreateWeld(ae,rwing3,ae,0,0,-1.75,math.rad(0),math.rad(90),math.rad(-90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1001.  
  1002.  
  1003. ---- HERES THE RING
  1004.  
  1005.  
  1006. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1007. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1008. CreateWeld(ran,larm,ran,0,0.15,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1009. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1010. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1011. CreateWeld(ran,larm,ran,0,0.155,0,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1012. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1013. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1014. CreateWeld(ran,larm,ran,0,0.155,-0.025,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1015.  
  1016.  
  1017. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1018. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1019. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1020.  
  1021. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1022. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1023. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1024.  
  1025.  
  1026.  
  1027. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1028. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1029. CreateWeld(gan,larm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1030.  
  1031. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1032. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1033. CreateWeld(gan,larm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1034.  
  1035. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1036. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1037. CreateWeld(gane,larm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1038.  
  1039. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1040. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1041. CreateWeld(star,larm,star,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1042. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1043. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1044. CreateWeld(starl,larm,starl,0,0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1045.  
  1046. --- second ring
  1047.  
  1048. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1049. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1050. CreateWeld(ran,rarm,ran,0,0.15,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1051. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1052. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1053. CreateWeld(ran,rarm,ran,0,0.155,0,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1054. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1055. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1056. CreateWeld(ran,rarm,ran,0,0.155,-0.025,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1057.  
  1058. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1059. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1060. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1061.  
  1062. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1063. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1064. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1065.  
  1066.  
  1067.  
  1068. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1069. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1070. CreateWeld(gan,rarm,gan,0,0.5,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1071.  
  1072. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1073. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1074. CreateWeld(gan,rarm,gan,0,0.75,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1075.  
  1076. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1077. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1078. CreateWeld(gane,rarm,gane,0,0.6,0,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1079.  
  1080. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1081. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1082. CreateWeld(star,rarm,star,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1083. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1084. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1085. CreateWeld(starl,rarm,starl,0,-0.475,0.6,math.rad(90),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1086.  
  1087. -- no problem nooby.
  1088.  
  1089. script.Shard.Transparency = 1
  1090.  
  1091. local MRCL = BrickColor.new("Toothpaste")
  1092. local MRCL2 = BrickColor.new("Mint")
  1093. for i, v in pairs(mw2:GetDescendants()) do
  1094. if v:IsA("Part") or v:IsA("UnionOperation") then
  1095. v.Color = MRCL.Color
  1096. v.Material = "Neon"
  1097. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  1098. v.Color = ColorSequence.new(MRCL.Color)
  1099. end
  1100. end
  1101. for i, v in pairs(mw1:GetDescendants()) do
  1102. if v:IsA("Part") or v:IsA("UnionOperation") then
  1103. v.Color = MRCL2.Color
  1104. v.Material = "Neon"
  1105. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  1106. v.Color = ColorSequence.new(MRCL2.Color)
  1107. end
  1108. end
  1109. ------
  1110.  
  1111.  
  1112. function RemoveOutlines(part)
  1113. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1114. end
  1115. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1116. local Part = Create("Part")({
  1117. Parent = Parent,
  1118. Reflectance = Reflectance,
  1119. Transparency = Transparency,
  1120. CanCollide = false,
  1121. Locked = true,
  1122. BrickColor = BrickColor.new(tostring(BColor)),
  1123. Name = Name,
  1124. Size = Size,
  1125. Material = Material
  1126. })
  1127. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1128. RemoveOutlines(Part)
  1129. return Part
  1130. end
  1131. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1132. local Msh = Create(Mesh)({
  1133. Parent = Part,
  1134. Offset = OffSet,
  1135. Scale = Scale
  1136. })
  1137. if Mesh == "SpecialMesh" then
  1138. Msh.MeshType = MeshType
  1139. Msh.MeshId = MeshId
  1140. end
  1141. return Msh
  1142. end
  1143. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1144. local Weld = Create("Weld")({
  1145. Parent = Parent,
  1146. Part0 = Part0,
  1147. Part1 = Part1,
  1148. C0 = C0,
  1149. C1 = C1
  1150. })
  1151. return Weld
  1152. end
  1153.  
  1154. Character=Player.Character
  1155. Torso=Character.Torso
  1156. Head=Character.Head
  1157. Humanoid=Character:FindFirstChildOfClass("Humanoid")
  1158. m=Instance.new('Model',Character)
  1159. LeftArm=Character["Left Arm"]
  1160. LeftLeg=Character["Left Leg"]
  1161. RightArm=Character["Right Arm"]
  1162. RightLeg=Character["Right Leg"]
  1163.  
  1164. Face = Head.face
  1165. Neck=Torso.Neck
  1166. it=Instance.new
  1167. attacktype=1
  1168. vt=Vector3.new
  1169. cf=CFrame.new
  1170. euler=CFrame.fromEulerAnglesXYZ
  1171. angles=CFrame.Angles
  1172. cloaked=false
  1173. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1174. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1175. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1176. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1177. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1178. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1179. RootPart=Character.HumanoidRootPart
  1180. RootJoint=RootPart.RootJoint
  1181. RootCF=euler(-1.57,0,3.14)
  1182. attack = false
  1183. attackdebounce = false
  1184. deb=false
  1185. equipped=true
  1186. hand=false
  1187. MMouse=nil
  1188. combo=0
  1189. mana=0
  1190. trispeed=.2
  1191. attackmode='none'
  1192. local idle=0
  1193. local Anim="Idle"
  1194. local Effects={}
  1195. local gun=false
  1196. local shoot=false
  1197. local sine = 0
  1198. local change = 1
  1199.  
  1200. function RecolorTextAndRename(name,col1,col2,font,sngname)
  1201. modet.TextStrokeColor3 = col2
  1202. modet.TextColor3 = col1
  1203. modet.Font = font
  1204. modet.Text = name
  1205. techc.ImageColor3 = col1
  1206. circl.ImageColor3 = col2
  1207. circl2.ImageColor3 = col1
  1208. imgl2.ImageColor3 = col2
  1209. techc2.ImageColor3 = col2
  1210. ned.Text = name
  1211. ned.TextColor3 = col1
  1212. ned.TextStrokeColor3 = col2
  1213. nedx.TextColor3 = col1
  1214. nedx.TextStrokeColor3 = col2
  1215. nedm.TextColor3 = col1
  1216. nedm.TextStrokeColor3 = col2
  1217. sngy.Text = string.upper(sngname)
  1218. sngy.TextColor3 = col1
  1219. sngy.TextStrokeColor3 = col2
  1220. fr.BorderColor3 = col1
  1221. fr.BackgroundColor3 = col2
  1222. fr2.BorderColor3 = col2
  1223. fr2.BackgroundColor3 = col1
  1224. midr.BorderColor3 = col1
  1225. midr.BackgroundColor3 = col2
  1226. midr2.BorderColor3 = col1
  1227. midr2.BackgroundColor3 = col2
  1228. glw.ImageColor3 = col1
  1229. glw2.ImageColor3 = col1
  1230. end
  1231.  
  1232. local disably = true
  1233.  
  1234. function warnedpeople(text,represfont,color,color2)
  1235. if disably ~= true then
  1236. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1237. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1238. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1239. coroutine.resume(coroutine.create(function()
  1240. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1241. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1242. end
  1243. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1244. scrg.Name = "Spinny"
  1245. local frm = Instance.new("Frame",scrg)
  1246. frm.BackgroundTransparency = 0.25
  1247. frm.BackgroundColor3 = color
  1248. frm.BorderSizePixel = 0
  1249. frm.Rotation = 45
  1250. frm.Size = UDim2.new(3,0,0,100)
  1251. frm.Position = UDim2.new(-4,0,0,0)
  1252. local frm2 = frm:Clone()
  1253. frm2.Parent = scrg
  1254. frm2.BackgroundColor3 = color2
  1255. frm2.Position = UDim2.new(-4.05,0,0,0)
  1256. local imlb = Instance.new("ImageLabel",scrg)
  1257. imlb.BackgroundTransparency = 1
  1258. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1259. imlb.Image = "rbxassetid://2344851144"
  1260. imlb.Size = UDim2.new(0,750,0,750)
  1261. imlb.ImageColor3 = color2
  1262. imlb.ImageTransparency = 0.25
  1263. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1264. local imlb2 = imlb:Clone()
  1265. imlb2.Image = "rbxassetid://2325939897"
  1266. imlb2.Size = UDim2.new(1,0,1,0)
  1267. imlb2.ImageColor3 = color
  1268. imlb2.ImageTransparency = 0
  1269. imlb2.Position = UDim2.new(0,0,0,0)
  1270. local imlb3 = imlb:Clone()
  1271. imlb3.Image = "rbxassetid://2344830904"
  1272. imlb3.Size = UDim2.new(1,0,1,0)
  1273. imlb3.ImageColor3 = color2
  1274. imlb3.ImageTransparency = 0
  1275. imlb3.Position = UDim2.new(0,0,0,0)
  1276. local imlb4 = imlb:Clone()
  1277. imlb4.Image = "rbxassetid://2344870656"
  1278. imlb4.Size = UDim2.new(3,0,3,0)
  1279. imlb4.ImageColor3 = Color3.new(1,1,1)
  1280. imlb4.ImageTransparency = 0
  1281. imlb4.Position = UDim2.new(-1,0,-1,0)
  1282. local imlb5 = imlb:Clone()
  1283. imlb5.Image = "rbxassetid://2344870656"
  1284. imlb5.Size = UDim2.new(10,0,10,0)
  1285. imlb5.ImageColor3 = color2
  1286. imlb5.ImageTransparency = 0
  1287. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1288. imlb2.Parent = imlb
  1289. imlb3.Parent = imlb
  1290. imlb4.Parent = imlb
  1291. imlb5.Parent = imlb
  1292. local txtlb2 = Instance.new("TextLabel",imlb)
  1293. txtlb2.Text = text
  1294. txtlb2.Font = represfont
  1295. txtlb2.TextColor3 = color
  1296. txtlb2.TextStrokeTransparency = 0
  1297. txtlb2.BackgroundTransparency = 1
  1298. txtlb2.TextStrokeColor3 = color2
  1299. txtlb2.TextScaled = true
  1300. txtlb2.Size = UDim2.new(1,0,1,0)
  1301. txtlb2.Position = UDim2.new(0,0,0,0)
  1302. local fvalen = 0.55
  1303. local fval = -0.49
  1304. coroutine.resume(coroutine.create(function()
  1305. while true do
  1306. swait()
  1307. if chaosmode == true then
  1308. txtlb2.Rotation = math.random(-1,1)
  1309. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1310. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1311. imlb.ImageColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  1312. txtlb2.TextStrokeColor3 = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  1313. end
  1314. end
  1315. end))
  1316. coroutine.resume(coroutine.create(function()
  1317. while true do
  1318. swait()
  1319. if scrg.Parent ~= nil then
  1320. fvalen = fvalen - 0.0001
  1321. elseif scrg.Parent == nil then
  1322. break
  1323. end
  1324. end
  1325. end))
  1326. local flol = -5
  1327. local flil = 1.6
  1328. coroutine.resume(coroutine.create(function()
  1329. for i = 0, 49 do
  1330. swait()
  1331. flol = flol + 0.125
  1332. flil = flil - 0.1
  1333. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1334. frm.Rotation = frm.Rotation - 0.25
  1335. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1336. frm2.Rotation = frm.Rotation + 0.325
  1337. imlb3.Rotation = imlb3.Rotation - 10
  1338. imlb2.Rotation = imlb.Rotation + 7.5
  1339. imlb.Rotation = imlb.Rotation + 5
  1340. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1341. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1342. end
  1343. for i = 0, 99 do
  1344. swait()
  1345. fval = fval + 0.05
  1346. flol = flol + 0.005
  1347. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1348. frm.Rotation = frm.Rotation - 0.075
  1349. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1350. frm2.Rotation = frm2.Rotation + 0.125
  1351. imlb3.Rotation = imlb3.Rotation - 2
  1352. imlb2.Rotation = imlb.Rotation + 1.5
  1353. imlb.Rotation = imlb.Rotation + 1
  1354. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1355. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1356. end
  1357. local valinc = 0
  1358. local vinc2 = 1
  1359. for i = 0, 99 do
  1360. swait()
  1361. vinc2 = vinc2 + 0.25
  1362. valinc = valinc + 0.0001
  1363. flol = flol + valinc
  1364. flil = flil + valinc
  1365. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1366. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1367. imlb.Rotation = imlb.Rotation + 1*vinc2
  1368. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1369. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1370. frm.Rotation = frm.Rotation + 0.1*vinc2
  1371. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1372. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1373. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1374. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1375. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1376. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1377. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1378. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1379. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1380. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1381. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1382. end
  1383. scrg:Destroy()
  1384. end))
  1385. end))
  1386. end
  1387. end
  1388. end
  1389.  
  1390. --save shoulders
  1391. RSH, LSH=nil, nil
  1392. --welds
  1393. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1394. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1395. LH=Torso["Left Hip"]
  1396. RH=Torso["Right Hip"]
  1397. TorsoColor=Torso.BrickColor
  1398. function NoOutline(Part)
  1399. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1400. end
  1401. ch=Character
  1402. RSH=ch.Torso["Right Shoulder"]
  1403. LSH=ch.Torso["Left Shoulder"]
  1404. --
  1405. RSH.Parent=nil
  1406. LSH.Parent=nil
  1407. --
  1408. RW.Name="Right Shoulder"
  1409. RW.Part0=ch.Torso
  1410. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1411. RW.C1=cf(0, 0.5, 0)
  1412. RW.Part1=ch["Right Arm"]
  1413. RW.Parent=ch.Torso
  1414. --
  1415. LW.Name="Left Shoulder"
  1416. LW.Part0=ch.Torso
  1417. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1418. LW.C1=cf(0, 0.5, 0)
  1419. LW.Part1=ch["Left Arm"]
  1420. LW.Parent=ch.Torso
  1421.  
  1422. local Stats=Instance.new("BoolValue")
  1423. Stats.Name="Stats"
  1424. Stats.Parent=Character
  1425. local Atk=Instance.new("NumberValue")
  1426. Atk.Name="Damage"
  1427. Atk.Parent=Stats
  1428. Atk.Value=1
  1429. local Def=Instance.new("NumberValue")
  1430. Def.Name="Defense"
  1431. Def.Parent=Stats
  1432. Def.Value=1
  1433. local Speed=Instance.new("NumberValue")
  1434. Speed.Name="Speed"
  1435. Speed.Parent=Stats
  1436. Speed.Value=1
  1437. local Mvmt=Instance.new("NumberValue")
  1438. Mvmt.Name="Movement"
  1439. Mvmt.Parent=Stats
  1440. Mvmt.Value=1
  1441.  
  1442. local donum=0
  1443.  
  1444.  
  1445. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1446. local fp=it("Part")
  1447. fp.formFactor=formfactor
  1448. fp.Parent=parent
  1449. fp.Reflectance=reflectance
  1450. fp.Transparency=transparency
  1451. fp.CanCollide=false
  1452. fp.Locked=true
  1453. fp.BrickColor=brickcolor
  1454. fp.Name=name
  1455. fp.Size=size
  1456. fp.Position=Torso.Position
  1457. NoOutline(fp)
  1458. fp.Material="SmoothPlastic"
  1459. fp:BreakJoints()
  1460. return fp
  1461. end
  1462.  
  1463. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1464. local mesh=it(Mesh)
  1465. mesh.Parent=part
  1466. if Mesh=="SpecialMesh" then
  1467. mesh.MeshType=meshtype
  1468. if meshid~="nil" then
  1469. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1470. end
  1471. end
  1472. mesh.Offset=offset
  1473. mesh.Scale=scale
  1474. return mesh
  1475. end
  1476.  
  1477. function weld(parent,part0,part1,c0)
  1478. local weld=it("Weld")
  1479. weld.Parent=parent
  1480. weld.Part0=part0
  1481. weld.Part1=part1
  1482. weld.C0=c0
  1483. return weld
  1484. end
  1485.  
  1486. local Color1=Torso.BrickColor
  1487.  
  1488. local bodvel=Instance.new("BodyVelocity")
  1489. local bg=Instance.new("BodyGyro")
  1490.  
  1491. --------- SazEreno's Artificial HB --------------
  1492. ArtificialHB = Instance.new("BindableEvent", script)
  1493. ArtificialHB.Name = "ArtificialHB"
  1494.  
  1495. script:WaitForChild("ArtificialHB")
  1496. Frame_Speed = 1 / 60
  1497. frame = Frame_Speed
  1498. tf = 0
  1499. allowframeloss = false
  1500. tossremainder = false
  1501. lastframe = tick()
  1502. script.ArtificialHB:Fire()
  1503.  
  1504. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1505. tf = tf + s
  1506. if tf >= frame then
  1507. if allowframeloss then
  1508. script.ArtificialHB:Fire()
  1509. lastframe = tick()
  1510. else
  1511. for i = 1, math.floor(tf / frame) do
  1512. script.ArtificialHB:Fire()
  1513. end
  1514. lastframe = tick()
  1515. end
  1516. if tossremainder then
  1517. tf = 0
  1518. else
  1519. tf = tf - frame * math.floor(tf / frame)
  1520. end
  1521. end
  1522. end)
  1523.  
  1524. ------------------
  1525. function swait(num)
  1526. if num == 0 or num == nil then
  1527. ArtificialHB.Event:wait()
  1528. else
  1529. for i = 1, num do
  1530. ArtificialHB.Event:wait()
  1531. end
  1532. end
  1533. end
  1534. -------- RAINBOW LEAVE IT TO ME
  1535. local r = 255
  1536. local g = 0
  1537. local b = 0
  1538. coroutine.resume(coroutine.create(function()
  1539. while wait() do
  1540. for i = 0, 254/5 do
  1541. swait()
  1542. g = g + 5
  1543. end
  1544. for i = 0, 254/5 do
  1545. swait()
  1546. r = r - 5
  1547. end
  1548. for i = 0, 254/5 do
  1549. swait()
  1550. b = b + 5
  1551. end
  1552. for i = 0, 254/5 do
  1553. swait()
  1554. g = g - 5
  1555. end
  1556. for i = 0, 254/5 do
  1557. swait()
  1558. r = r + 5
  1559. end
  1560. for i = 0, 254/5 do
  1561. swait()
  1562. b = b - 5
  1563. end
  1564. end
  1565. end))
  1566.  
  1567.  
  1568. so = function(id,par,vol,pit)
  1569. coroutine.resume(coroutine.create(function()
  1570. local sou = Instance.new("Sound",par or workspace)
  1571. sou.Volume=vol
  1572. sou.Pitch=pit or 1
  1573. sou.SoundId=id
  1574. swait()
  1575. sou:play()
  1576. game:GetService("Debris"):AddItem(sou,6)
  1577. end))
  1578. end
  1579.  
  1580. function clerp(a,b,t)
  1581. local qa = {QuaternionFromCFrame(a)}
  1582. local qb = {QuaternionFromCFrame(b)}
  1583. local ax, ay, az = a.x, a.y, a.z
  1584. local bx, by, bz = b.x, b.y, b.z
  1585. local _t = 1-t
  1586. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1587. end
  1588.  
  1589. function QuaternionFromCFrame(cf)
  1590. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1591. local trace = m00 + m11 + m22
  1592. if trace > 0 then
  1593. local s = math.sqrt(1 + trace)
  1594. local recip = 0.5/s
  1595. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1596. else
  1597. local i = 0
  1598. if m11 > m00 then
  1599. i = 1
  1600. end
  1601. if m22 > (i == 0 and m00 or m11) then
  1602. i = 2
  1603. end
  1604. if i == 0 then
  1605. local s = math.sqrt(m00-m11-m22+1)
  1606. local recip = 0.5/s
  1607. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1608. elseif i == 1 then
  1609. local s = math.sqrt(m11-m22-m00+1)
  1610. local recip = 0.5/s
  1611. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1612. elseif i == 2 then
  1613. local s = math.sqrt(m22-m00-m11+1)
  1614. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1615. end
  1616. end
  1617. end
  1618.  
  1619. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1620. local xs, ys, zs = x + x, y + y, z + z
  1621. local wx, wy, wz = w*xs, w*ys, w*zs
  1622. local xx = x*xs
  1623. local xy = x*ys
  1624. local xz = x*zs
  1625. local yy = y*ys
  1626. local yz = y*zs
  1627. local zz = z*zs
  1628. 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))
  1629. end
  1630.  
  1631. function QuaternionSlerp(a, b, t)
  1632. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1633. local startInterp, finishInterp;
  1634. if cosTheta >= 0.0001 then
  1635. if (1 - cosTheta) > 0.0001 then
  1636. local theta = math.acos(cosTheta)
  1637. local invSinTheta = 1/math.sin(theta)
  1638. startInterp = math.sin((1-t)*theta)*invSinTheta
  1639. finishInterp = math.sin(t*theta)*invSinTheta
  1640. else
  1641. startInterp = 1-t
  1642. finishInterp = t
  1643. end
  1644. else
  1645. if (1+cosTheta) > 0.0001 then
  1646. local theta = math.acos(-cosTheta)
  1647. local invSinTheta = 1/math.sin(theta)
  1648. startInterp = math.sin((t-1)*theta)*invSinTheta
  1649. finishInterp = math.sin(t*theta)*invSinTheta
  1650. else
  1651. startInterp = t-1
  1652. finishInterp = t
  1653. end
  1654. end
  1655. 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
  1656. end
  1657.  
  1658. local function CFrameFromTopBack(at, top, back)
  1659. local right = top:Cross(back)
  1660. return CFrame.new(at.x, at.y, at.z,
  1661. right.x, top.x, back.x,
  1662. right.y, top.y, back.y,
  1663. right.z, top.z, back.z)
  1664. end
  1665.  
  1666. function Triangle(a, b, c)
  1667. local edg1 = (c-a):Dot((b-a).unit)
  1668. local edg2 = (a-b):Dot((c-b).unit)
  1669. local edg3 = (b-c):Dot((a-c).unit)
  1670. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1671. a, b, c = a, b, c
  1672. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1673. a, b, c = b, c, a
  1674. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1675. a, b, c = c, a, b
  1676. else
  1677. assert(false, "unreachable")
  1678. end
  1679.  
  1680. local len1 = (c-a):Dot((b-a).unit)
  1681. local len2 = (b-a).magnitude - len1
  1682. local width = (a + (b-a).unit*len1 - c).magnitude
  1683.  
  1684. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1685.  
  1686. local list = {}
  1687.  
  1688. if len1 > 0.01 then
  1689. local w1 = Instance.new('WedgePart', m)
  1690. game:GetService("Debris"):AddItem(w1,5)
  1691. w1.Material = "SmoothPlastic"
  1692. w1.FormFactor = 'Custom'
  1693. w1.BrickColor = BrickColor.new("Really red")
  1694. w1.Transparency = 0
  1695. w1.Reflectance = 0
  1696. w1.Material = "SmoothPlastic"
  1697. w1.CanCollide = false
  1698. local l1 = Instance.new("PointLight",w1)
  1699. l1.Color = Color3.new(170,0,0)
  1700. NoOutline(w1)
  1701. local sz = Vector3.new(0.2, width, len1)
  1702. w1.Size = sz
  1703. local sp = Instance.new("SpecialMesh",w1)
  1704. sp.MeshType = "Wedge"
  1705. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1706. w1:BreakJoints()
  1707. w1.Anchored = true
  1708. w1.Parent = workspace
  1709. w1.Transparency = 0.7
  1710. table.insert(Effects,{w1,"Disappear",.01})
  1711. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1712. table.insert(list,w1)
  1713. end
  1714.  
  1715. if len2 > 0.01 then
  1716. local w2 = Instance.new('WedgePart', m)
  1717. game:GetService("Debris"):AddItem(w2,5)
  1718. w2.Material = "SmoothPlastic"
  1719. w2.FormFactor = 'Custom'
  1720. w2.BrickColor = BrickColor.new("Really red")
  1721. w2.Transparency = 0
  1722. w2.Reflectance = 0
  1723. w2.Material = "SmoothPlastic"
  1724. w2.CanCollide = false
  1725. local l2 = Instance.new("PointLight",w2)
  1726. l2.Color = Color3.new(170,0,0)
  1727. NoOutline(w2)
  1728. local sz = Vector3.new(0.2, width, len2)
  1729. w2.Size = sz
  1730. local sp = Instance.new("SpecialMesh",w2)
  1731. sp.MeshType = "Wedge"
  1732. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1733. w2:BreakJoints()
  1734. w2.Anchored = true
  1735. w2.Parent = workspace
  1736. w2.Transparency = 0.7
  1737. table.insert(Effects,{w2,"Disappear",.01})
  1738. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1739. table.insert(list,w2)
  1740. end
  1741. return unpack(list)
  1742. end
  1743.  
  1744.  
  1745. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1746. if hit.Parent == nil then
  1747. return
  1748. end
  1749. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1750. for _, v in pairs(hit.Parent:children()) do
  1751. if v:IsA("Humanoid") then
  1752. h = v
  1753. end
  1754. end
  1755. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1756. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1757. return
  1758. end
  1759. local c = Create("ObjectValue")({
  1760. Name = "creator",
  1761. Value = game:GetService("Players").LocalPlayer,
  1762. Parent = h
  1763. })
  1764. game:GetService("Debris"):AddItem(c, 0.5)
  1765. if HitSound ~= nil and HitPitch ~= nil then
  1766. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1767. end
  1768. local Damage = math.random(minim, maxim)
  1769. local blocked = false
  1770. local block = hit.Parent:findFirstChild("Block")
  1771. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1772. blocked = true
  1773. block.Value = block.Value - 1
  1774. print(block.Value)
  1775. end
  1776. if blocked == false then
  1777. HitHealth = h.Health
  1778. h.MaxHealth = 100
  1779. if enableddam == true then
  1780. h.Health = h.Health - Damage
  1781. end
  1782. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1783. print("gained kill")
  1784. dmg(h.Parent)
  1785. end
  1786. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1787. else
  1788. h.Health = h.Health - Damage / 2
  1789. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1790. end
  1791. if Type == "Knockdown" then
  1792. local hum = hit.Parent.Humanoid
  1793. hum.PlatformStand = true
  1794. coroutine.resume(coroutine.create(function(HHumanoid)
  1795. swait(1)
  1796. HHumanoid.PlatformStand = false
  1797. end), hum)
  1798. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1799. local bodvol = Create("BodyVelocity")({
  1800. velocity = angle * knockback,
  1801. P = 5000,
  1802. maxForce = Vector3.new(8000, 8000, 8000),
  1803. Parent = hit
  1804. })
  1805. local rl = Create("BodyAngularVelocity")({
  1806. P = 3000,
  1807. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1808. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1809. Parent = hit
  1810. })
  1811. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1812. game:GetService("Debris"):AddItem(rl, 0.5)
  1813. elseif Type == "Normal" then
  1814. local vp = Create("BodyVelocity")({
  1815. P = 500,
  1816. maxForce = Vector3.new(math.huge, 0, math.huge),
  1817. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1818. })
  1819. if knockback > 0 then
  1820. vp.Parent = hit.Parent.Head
  1821. end
  1822. game:GetService("Debris"):AddItem(vp, 0.5)
  1823. elseif Type == "Up" then
  1824. local bodyVelocity = Create("BodyVelocity")({
  1825. velocity = Vector3.new(0, 20, 0),
  1826. P = 5000,
  1827. maxForce = Vector3.new(8000, 8000, 8000),
  1828. Parent = hit
  1829. })
  1830. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1831. local bodyVelocity = Create("BodyVelocity")({
  1832. velocity = Vector3.new(0, 20, 0),
  1833. P = 5000,
  1834. maxForce = Vector3.new(8000, 8000, 8000),
  1835. Parent = hit
  1836. })
  1837. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1838. elseif Type == "Leech" then
  1839. local hum = hit.Parent.Humanoid
  1840. if hum ~= nil then
  1841. for i = 0, 2 do
  1842. Effects.Sphere.Create(BrickColor.new("Bright red"), hit.Parent.Torso.CFrame * cn(0, 0, 0) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1843. end
  1844. Humanoid.Health = Humanoid.Health + 10
  1845. end
  1846. elseif Type == "UpKnock" then
  1847. local hum = hit.Parent.Humanoid
  1848. hum.PlatformStand = true
  1849. if hum ~= nil then
  1850. hitr = true
  1851. end
  1852. coroutine.resume(coroutine.create(function(HHumanoid)
  1853. swait(5)
  1854. HHumanoid.PlatformStand = false
  1855. hitr = false
  1856. end), hum)
  1857. local bodyVelocity = Create("BodyVelocity")({
  1858. velocity = Vector3.new(0, 20, 0),
  1859. P = 5000,
  1860. maxForce = Vector3.new(8000, 8000, 8000),
  1861. Parent = hit
  1862. })
  1863. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1864. local bodyVelocity = Create("BodyVelocity")({
  1865. velocity = Vector3.new(0, 20, 0),
  1866. P = 5000,
  1867. maxForce = Vector3.new(8000, 8000, 8000),
  1868. Parent = hit
  1869. })
  1870. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1871. elseif Type == "Snare" then
  1872. local bp = Create("BodyPosition")({
  1873. P = 2000,
  1874. D = 100,
  1875. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1876. position = hit.Parent.Torso.Position,
  1877. Parent = hit.Parent.Torso
  1878. })
  1879. game:GetService("Debris"):AddItem(bp, 1)
  1880. elseif Type == "Slashnare" then
  1881. Effects.Block.Create(BrickColor.new("Pastel Blue"), hit.Parent.Torso.CFrame * cn(0, 0, 0), 15*4, 15*4, 15*4, 3*4, 3*4, 3*4, 0.07)
  1882. for i = 1, math.random(4, 5) do
  1883. Effects.Sphere.Create(BrickColor.new("Teal"), hit.Parent.Torso.CFrame * cn(math.random(-5, 5), math.random(-5, 5), math.random(-5, 5)) * angles(math.random(-50, 50), math.random(-50, 50), math.random(-50, 50)), 1, 15, 1, 0, 5, 0, 0.02)
  1884. end
  1885. local bp = Create("BodyPosition")({
  1886. P = 2000,
  1887. D = 100,
  1888. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1889. position = hit.Parent.Torso.Position,
  1890. Parent = hit.Parent.Torso
  1891. })
  1892. game:GetService("Debris"):AddItem(bp, 1)
  1893. elseif Type == "Spike" then
  1894. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1895. local bp = Create("BodyPosition")({
  1896. P = 2000,
  1897. D = 100,
  1898. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1899. position = hit.Parent.Torso.Position,
  1900. Parent = hit.Parent.Torso
  1901. })
  1902. game:GetService("Debris"):AddItem(bp, 1)
  1903. elseif Type == "Freeze" then
  1904. local BodPos = Create("BodyPosition")({
  1905. P = 50000,
  1906. D = 1000,
  1907. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1908. position = hit.Parent.Torso.Position,
  1909. Parent = hit.Parent.Torso
  1910. })
  1911. local BodGy = Create("BodyGyro")({
  1912. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1913. P = 20000,
  1914. Parent = hit.Parent.Torso,
  1915. cframe = hit.Parent.Torso.CFrame
  1916. })
  1917. hit.Parent.Torso.Anchored = true
  1918. coroutine.resume(coroutine.create(function(Part)
  1919. swait(1.5)
  1920. Part.Anchored = false
  1921. end), hit.Parent.Torso)
  1922. game:GetService("Debris"):AddItem(BodPos, 3)
  1923. game:GetService("Debris"):AddItem(BodGy, 3)
  1924. end
  1925. local debounce = Create("BoolValue")({
  1926. Name = "DebounceHit",
  1927. Parent = hit.Parent,
  1928. Value = true
  1929. })
  1930. game:GetService("Debris"):AddItem(debounce, Delay)
  1931. c = Instance.new("ObjectValue")
  1932. c.Name = "creator"
  1933. c.Value = Player
  1934. c.Parent = h
  1935. game:GetService("Debris"):AddItem(c, 0.5)
  1936. end
  1937. end
  1938. function ShowDamage(Pos, Text, Time, Color)
  1939. local Rate = 0.03333333333333333
  1940. local Pos = Pos or Vector3.new(0, 0, 0)
  1941. local Text = Text or ""
  1942. local Time = Time or 2
  1943. local Color = Color or Color3.new(1, 0, 1)
  1944. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1945. EffectPart.Anchored = true
  1946. local BillboardGui = Create("BillboardGui")({
  1947. Size = UDim2.new(3, 0, 3, 0),
  1948. Adornee = EffectPart,
  1949. Parent = EffectPart
  1950. })
  1951. local TextLabel = Create("TextLabel")({
  1952. BackgroundTransparency = 1,
  1953. Size = UDim2.new(1, 0, 1, 0),
  1954. Text = Text,
  1955. TextColor3 = Color,
  1956. TextScaled = true,
  1957. Font = Enum.Font.ArialBold,
  1958. Parent = BillboardGui
  1959. })
  1960. game.Debris:AddItem(EffectPart, Time + 0.1)
  1961. EffectPart.Parent = game:GetService("Workspace")
  1962. delay(0, function()
  1963. local Frames = Time / Rate
  1964. for Frame = 1, Frames do
  1965. wait(Rate)
  1966. local Percent = Frame / Frames
  1967. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1968. TextLabel.TextTransparency = Percent
  1969. end
  1970. if EffectPart and EffectPart.Parent then
  1971. EffectPart:Destroy()
  1972. end
  1973. end)
  1974. end
  1975. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1976. for _, c in pairs(workspace:children()) do
  1977. local hum = c:findFirstChildOfClass("Humanoid")
  1978. if hum ~= nil then
  1979. local head = c:findFirstChild("Head")
  1980. if head ~= nil then
  1981. local targ = head.Position - Part.Position
  1982. local mag = targ.magnitude
  1983. if magni >= mag and c.Name ~= Player.Name then
  1984. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1985. end
  1986. end
  1987. end
  1988. end
  1989. end
  1990.  
  1991. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1992. for _, c in pairs(workspace:children()) do
  1993. local hum = c:findFirstChild("Humanoid")
  1994. if hum ~= nil then
  1995. local head = c:findFirstChild("Torso")
  1996. if head ~= nil then
  1997. local targ = head.Position - Part.Position
  1998. local mag = targ.magnitude
  1999. if magni >= mag and c.Name ~= Player.Name then
  2000. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2001. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2002. end
  2003. end
  2004. end
  2005. end
  2006. end
  2007.  
  2008. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2009. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2010. end
  2011.  
  2012. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2013. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2014. prt.Anchored=true
  2015. prt.CFrame=cframe
  2016. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2017. --http://www.roblox.com/asset/?id=4770560
  2018. game:GetService("Debris"):AddItem(prt,2)
  2019. CF=prt.CFrame
  2020. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2021. for i=0,1,0.2 do
  2022. wait()
  2023. Part.CFrame=CF*cf(0,0,-0.4)
  2024. end
  2025. for i=0,1,delay do
  2026. wait()
  2027. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  2028. Mesh.Scale=Mesh.Scale
  2029. end
  2030. for i=0,1,0.1 do
  2031. wait()
  2032. Part.Transparency=i
  2033. end
  2034. Part.Parent=nil
  2035. end),prt,msh,CF)
  2036. end
  2037.  
  2038. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2039. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2040. prt.Anchored=true
  2041. prt.Material = "Neon"
  2042. prt.CFrame=cframe
  2043. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2044. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2045. game:GetService("Debris"):AddItem(prt,5)
  2046. coroutine.resume(coroutine.create(function(Part,Mesh)
  2047. for i=0,1,delay do
  2048. swait()
  2049. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2050. Part.Transparency=i
  2051. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2052. end
  2053. Part.Parent=nil
  2054. end),prt,msh)
  2055. end
  2056.  
  2057. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2058. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2059. prt.Anchored=true
  2060. prt.Material = "Neon"
  2061. prt.CFrame=cframe
  2062. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2063. game:GetService("Debris"):AddItem(prt,5)
  2064. coroutine.resume(coroutine.create(function(Part,Mesh)
  2065. local rtype = rottype
  2066. for i=0,1,delay do
  2067. swait()
  2068. if rtype == 1 then
  2069. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2070. elseif rtype == 2 then
  2071. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2072. end
  2073. Part.Transparency=i
  2074. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2075. end
  2076. Part.Parent=nil
  2077. end),prt,msh)
  2078. end
  2079.  
  2080. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2081. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2082. prt.Anchored=true
  2083. prt.CFrame=cframe
  2084. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2085. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2086. game:GetService("Debris"):AddItem(prt,5)
  2087. coroutine.resume(coroutine.create(function(Part,Mesh)
  2088. for i=0,1,delay do
  2089. wait()
  2090. Part.Transparency=i
  2091. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2092. end
  2093. Part.Parent=nil
  2094. end),prt,msh)
  2095. end
  2096.  
  2097. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2098. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2099. prt.Anchored=true
  2100. prt.Material = "Neon"
  2101. prt.CFrame=cframe
  2102. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2103. game:GetService("Debris"):AddItem(prt,5)
  2104. coroutine.resume(coroutine.create(function(Part,Mesh)
  2105. local rtype = rottype
  2106. for i=0,1,delay do
  2107. swait()
  2108. if rtype == 1 then
  2109. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2110. elseif rtype == 2 then
  2111. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2112. end
  2113. Part.Transparency=i
  2114. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2115. end
  2116. Part.Parent=nil
  2117. end),prt,msh)
  2118. end
  2119.  
  2120. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2121. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2122. prt.Anchored=true
  2123. prt.Material = "Neon"
  2124. prt.CFrame=cframe
  2125. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2126. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2127. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2128. game:GetService("Debris"):AddItem(prt,5)
  2129. coroutine.resume(coroutine.create(function(Part,Mesh)
  2130. local rtype = rottype
  2131. for i=0,1,delay do
  2132. swait()
  2133. if rtype == 1 then
  2134. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2135. elseif rtype == 2 then
  2136. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2137. end
  2138. dec.Transparency=i
  2139. dec2.Transparency=i
  2140. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2141. end
  2142. Part.Parent=nil
  2143. end),prt,msh)
  2144. end
  2145.  
  2146. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2147. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2148. prt.Anchored=true
  2149. prt.Material = "Neon"
  2150. prt.CFrame=cframe
  2151. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2152. game:GetService("Debris"):AddItem(prt,5)
  2153. coroutine.resume(coroutine.create(function(Part,Mesh)
  2154. local rtype = rottype
  2155. for i=0,1,delay do
  2156. swait()
  2157. if rtype == 1 then
  2158. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2159. elseif rtype == 2 then
  2160. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2161. end
  2162. prt.Transparency=i
  2163. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2164. end
  2165. Part.Parent=nil
  2166. end),prt,msh)
  2167. end
  2168.  
  2169. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2170. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2171. prt.Anchored=true
  2172. prt.Material = "Neon"
  2173. prt.CFrame=cframe
  2174. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2175. game:GetService("Debris"):AddItem(prt,5)
  2176. coroutine.resume(coroutine.create(function(Part,Mesh)
  2177. local rtype = rottype
  2178. for i=0,1,delay do
  2179. swait()
  2180. if rtype == 1 then
  2181. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2182. elseif rtype == 2 then
  2183. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2184. end
  2185. prt.Transparency=i
  2186. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2187. end
  2188. Part.Parent=nil
  2189. end),prt,msh)
  2190. end
  2191.  
  2192. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2193. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2194. prt.Anchored=true
  2195. prt.Material = "Neon"
  2196. prt.CFrame=cframe
  2197. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2198. game:GetService("Debris"):AddItem(prt,5)
  2199. coroutine.resume(coroutine.create(function(Part,Mesh)
  2200. local rtype = rottype
  2201. for i=0,1,delay do
  2202. swait()
  2203. if rtype == 1 then
  2204. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2205. elseif rtype == 2 then
  2206. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2207. end
  2208. prt.Transparency=i
  2209. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2210. end
  2211. Part.Parent=nil
  2212. end),prt,msh)
  2213. end
  2214.  
  2215. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2216. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2217. prt.Anchored=true
  2218. prt.Material = "Neon"
  2219. prt.CFrame=cframe
  2220. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2221. game:GetService("Debris"):AddItem(prt,5)
  2222. coroutine.resume(coroutine.create(function(Part,Mesh)
  2223. local rtype = rottype
  2224. for i=0,1,delay do
  2225. swait()
  2226. if rtype == 1 then
  2227. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2228. elseif rtype == 2 then
  2229. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2230. end
  2231. prt.Transparency=i
  2232. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2233. end
  2234. Part.Parent=nil
  2235. end),prt,msh)
  2236. end
  2237.  
  2238. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2239. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2240. prt.Anchored=false
  2241. prt.CFrame=cframe
  2242. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2243. local wld=weld(prt,prt,Parent,cframe)
  2244. game:GetService("Debris"):AddItem(prt,5)
  2245. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2246. for i=0,1,delay do
  2247. wait()
  2248. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2249. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2250. Part.Transparency=i
  2251. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2252. end
  2253. Part.Parent=nil
  2254. end),prt,msh,wld)
  2255. end
  2256.  
  2257. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2258. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2259. prt.Anchored=false
  2260. prt.CFrame=cframe
  2261. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2262. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2263. game:GetService("Debris"):AddItem(prt,5)
  2264. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2265. for i=0,1,delay do
  2266. wait()
  2267. Weld.C0=euler(i*20,0,0)
  2268. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2269. Part.Transparency=i
  2270. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2271. end
  2272. Part.Parent=nil
  2273. end),prt,msh,wld)
  2274. end
  2275.  
  2276. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2277. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2278. prt.Anchored=true
  2279. prt.CFrame=cframe
  2280. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2281. game:GetService("Debris"):AddItem(prt,2)
  2282. coroutine.resume(coroutine.create(function(Part,Mesh)
  2283. for i=0,1,delay do
  2284. wait()
  2285. Part.CFrame=Part.CFrame
  2286. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2287. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2288. prt2.Anchored=true
  2289. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2290. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2291. game:GetService("Debris"):AddItem(prt2,2)
  2292. coroutine.resume(coroutine.create(function(Part,Mesh)
  2293. for i=0,1,0.1 do
  2294. wait()
  2295. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2296. end
  2297. Part.Parent=nil
  2298. end),prt2,msh2)
  2299. end
  2300. for i=0,1,delay*2 do
  2301. wait()
  2302. Part.CFrame=Part.CFrame
  2303. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2304. end
  2305. Part.Parent=nil
  2306. end),prt,msh)
  2307. end
  2308.  
  2309. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2310. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2311. prt.Anchored=true
  2312. prt.CFrame=cframe
  2313. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2314. game:GetService("Debris"):AddItem(prt,2)
  2315. coroutine.resume(coroutine.create(function(Part,Mesh)
  2316. for i=0,1,delay do
  2317. wait()
  2318. Part.CFrame=Part.CFrame
  2319. Part.Transparency=i
  2320. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2321. end
  2322. Part.Parent=nil
  2323. end),prt,msh)
  2324. end
  2325.  
  2326. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2327. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2328. prt.Anchored=true
  2329. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2330. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2331. game:GetService("Debris"):AddItem(prt,2)
  2332. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2333. CF=Part.CFrame
  2334. Numbb=0
  2335. randnumb=math.random()/10
  2336. rand1=math.random()/10
  2337. for i=0,1,rand1 do
  2338. wait()
  2339. CF=CF*cf(0,math.random()/2,0)
  2340. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2341. Part.CFrame=CF*euler(Numbb,0,0)
  2342. Part.Transparency=i
  2343. Numbb=Numbb+randnumb
  2344. end
  2345. Part.Parent=nil
  2346. end),prt,CF,Numbb,randnumb)
  2347. end
  2348.  
  2349. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2350. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2351. prt.Anchored=true
  2352. prt.CFrame=cframe
  2353. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2354. game:GetService("Debris"):AddItem(prt,5)
  2355. coroutine.resume(coroutine.create(function(Part,Mesh)
  2356. for i=0,1,delay do
  2357. wait()
  2358. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2359. Part.Transparency=i
  2360. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2361. end
  2362. Part.Parent=nil
  2363. end),prt,msh)
  2364. end
  2365.  
  2366. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2367. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2368. prt.Anchored=true
  2369. prt.CFrame=cframe
  2370. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2371. game:GetService("Debris"):AddItem(prt,2)
  2372. coroutine.resume(coroutine.create(function(Part,Mesh)
  2373. for i=0,1,delay do
  2374. wait()
  2375. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2376. Part.Transparency=i
  2377. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2378. end
  2379. Part.Parent=nil
  2380. end),prt,msh)
  2381. end
  2382.  
  2383. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2384. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2385. prt.Anchored=true
  2386. prt.CFrame=cframe*cf(x,y,z)
  2387. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2388. game:GetService("Debris"):AddItem(prt,5)
  2389. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2390. local num=math.random()
  2391. local num2=math.random(-3,2)+math.random()
  2392. local numm=0
  2393. for i=0,1,delay*2 do
  2394. swait()
  2395. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2396. Part.Transparency=i
  2397. numm=numm+0.01
  2398. end
  2399. Part.Parent=nil
  2400. Mesh.Parent=nil
  2401. end),prt,msh,x,y,z)
  2402. end
  2403.  
  2404. function dmgstart(dmg,what)
  2405. hitcon = what.Touched:connect(function(hit)
  2406. local hum = hit.Parent:FindFirstChild("Humanoid")
  2407. if hum and not hum:IsDescendantOf(Character) then
  2408. hum:TakeDamage(dmg)
  2409. end
  2410. end)
  2411. end
  2412.  
  2413. function dmgstop()
  2414. hitcon:disconnect()
  2415. end
  2416.  
  2417. function Cloak()
  2418. Face.Parent=nil
  2419. cloaked=true
  2420. for _,v in pairs(Torso.Parent:children()) do
  2421. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2422. coroutine.resume(coroutine.create(function()
  2423. for i=0,1,0.2 do
  2424. wait()
  2425. v.Transparency=i
  2426. end
  2427. v.Transparency=1
  2428. end))
  2429. end
  2430. if v.className=="Hat" then
  2431. hatp=v.Handle
  2432. coroutine.resume(coroutine.create(function(derp)
  2433. for i=0,1,0.2 do
  2434. wait()
  2435. derp.Transparency=i
  2436. end
  2437. derp.Transparency=1
  2438. end),hatp)
  2439. end
  2440. end
  2441. for _,v in pairs(m:children()) do
  2442. if v.className=="Part" then
  2443. coroutine.resume(coroutine.create(function()
  2444. for i=0,1,0.2 do
  2445. wait()
  2446. v.Transparency=i
  2447. end
  2448. v.Transparency=1
  2449. end))
  2450. end
  2451. end
  2452. end
  2453.  
  2454. function UnCloak()
  2455. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2456. Face.Parent=Head
  2457. cloaked=false
  2458. for _,v in pairs(Torso.Parent:children()) do
  2459. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2460. coroutine.resume(coroutine.create(function()
  2461. for i=0,1,0.1 do
  2462. wait()
  2463. v.Transparency=v.Transparency-0.1
  2464. end
  2465. v.Transparency=0
  2466. end))
  2467. end
  2468. if v.className=="Hat" then
  2469. hatp=v.Handle
  2470. coroutine.resume(coroutine.create(function(derp)
  2471. for i=0,1,0.1 do
  2472. wait()
  2473. derp.Transparency=derp.Transparency-0.1
  2474. end
  2475. derp.Transparency=0
  2476. end),hatp)
  2477. end
  2478. end
  2479. for _,v in pairs(m:children()) do
  2480. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2481. coroutine.resume(coroutine.create(function()
  2482. for i=0,1,0.1 do
  2483. wait()
  2484. v.Transparency=v.Transparency-0.1
  2485. end
  2486. v.Transparency=0
  2487. end))
  2488. v.Transparency=0
  2489. end
  2490. end
  2491. end
  2492.  
  2493. local origcolor = BrickColor.new("Pastel light blue")
  2494. ---- This section of explosions.
  2495.  
  2496. ----
  2497.  
  2498.  
  2499. function ring(type,pos,scale,value)
  2500. local type = type
  2501. local rng = Instance.new("Part", char)
  2502. rng.Anchored = true
  2503. rng.BrickColor = origcolor
  2504. rng.CanCollide = false
  2505. rng.FormFactor = 3
  2506. rng.Name = "Ring"
  2507. rng.Size = Vector3.new(1, 1, 1)
  2508. rng.Transparency = 0
  2509. rng.TopSurface = 0
  2510. rng.BottomSurface = 0
  2511. rng.CFrame = pos
  2512. local rngm = Instance.new("SpecialMesh", rng)
  2513. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2514. rngm.Scale = scale
  2515. local scaler2 = 1
  2516. if type == "Add" then
  2517. scaler2 = 1*value
  2518. elseif type == "Divide" then
  2519. scaler2 = 1/value
  2520. end
  2521. coroutine.resume(coroutine.create(function()
  2522. for i = 0,10,0.1 do
  2523. swait()
  2524. if type == "Add" then
  2525. scaler2 = scaler2 - 0.01*value
  2526. elseif type == "Divide" then
  2527. scaler2 = scaler2 - 0.01/value
  2528. end
  2529. rng.Transparency = rng.Transparency + 0.01
  2530. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2531. end
  2532. rng:Destroy()
  2533. end))
  2534. end
  2535.  
  2536.  
  2537. function wave(type,pos,scale,value)
  2538. local type = type
  2539. local rng = Instance.new("Part", char)
  2540. rng.Anchored = true
  2541. rng.BrickColor = origcolor
  2542. rng.CanCollide = false
  2543. rng.FormFactor = 3
  2544. rng.Name = "Ring"
  2545. rng.Size = Vector3.new(1, 1, 1)
  2546. rng.Transparency = 0
  2547. rng.TopSurface = 0
  2548. rng.BottomSurface = 0
  2549. rng.CFrame = pos
  2550. local rngm = Instance.new("SpecialMesh", rng)
  2551. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2552. rngm.Scale = scale
  2553. local scaler2 = 1
  2554. if type == "Add" then
  2555. scaler2 = 1*value
  2556. elseif type == "Divide" then
  2557. scaler2 = 1/value
  2558. end
  2559. coroutine.resume(coroutine.create(function()
  2560. for i = 0,10,0.1 do
  2561. swait()
  2562. if type == "Add" then
  2563. scaler2 = scaler2 - 0.01*value
  2564. elseif type == "Divide" then
  2565. scaler2 = scaler2 - 0.01/value
  2566. end
  2567. rng.Transparency = rng.Transparency + 0.01
  2568. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2569. end
  2570. rng:Destroy()
  2571. end))
  2572. end
  2573.  
  2574. function wind(type,pos,scale,value,speed)
  2575. local type = type
  2576. local rng = Instance.new("Part", char)
  2577. rng.Anchored = true
  2578. rng.BrickColor = origcolor
  2579. rng.CanCollide = false
  2580. rng.FormFactor = 3
  2581. rng.Name = "Ring"
  2582. rng.Size = Vector3.new(1, 1, 1)
  2583. rng.Transparency = 0
  2584. rng.TopSurface = 0
  2585. rng.BottomSurface = 0
  2586. rng.CFrame = pos
  2587. local rngm = Instance.new("SpecialMesh", rng)
  2588. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2589. rngm.Scale = scale
  2590. local scaler2 = 1
  2591. if type == "Add" then
  2592. scaler2 = 1*value
  2593. elseif type == "Divide" then
  2594. scaler2 = 1/value
  2595. end
  2596. coroutine.resume(coroutine.create(function()
  2597. for i = 0,10,0.1 do
  2598. swait()
  2599. if type == "Add" then
  2600. scaler2 = scaler2 - 0.01*value
  2601. elseif type == "Divide" then
  2602. scaler2 = scaler2 - 0.01/value
  2603. end
  2604. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2605. rng.Transparency = rng.Transparency + 0.01
  2606. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2607. end
  2608. rng:Destroy()
  2609. end))
  2610. end
  2611.  
  2612. function groundwind(type,pos,scale,value,speed)
  2613. local type = type
  2614. local rng = Instance.new("Part", char)
  2615. rng.Anchored = true
  2616. rng.BrickColor = origcolor
  2617. rng.CanCollide = false
  2618. rng.FormFactor = 3
  2619. rng.Name = "Ring"
  2620. rng.Size = Vector3.new(1, 1, 1)
  2621. rng.Transparency = 0
  2622. rng.TopSurface = 0
  2623. rng.BottomSurface = 0
  2624. rng.CFrame = pos
  2625. local rngm = Instance.new("SpecialMesh", rng)
  2626. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2627. rngm.Scale = scale
  2628. local scaler2 = 1
  2629. if type == "Add" then
  2630. scaler2 = 1*value
  2631. elseif type == "Divide" then
  2632. scaler2 = 1/value
  2633. end
  2634. coroutine.resume(coroutine.create(function()
  2635. for i = 0,10,0.1 do
  2636. swait()
  2637. if type == "Add" then
  2638. scaler2 = scaler2 - 0.01*value
  2639. elseif type == "Divide" then
  2640. scaler2 = scaler2 - 0.01/value
  2641. end
  2642. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2643. rng.Transparency = rng.Transparency + 0.01
  2644. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2645. end
  2646. rng:Destroy()
  2647. end))
  2648. end
  2649.  
  2650. function CameraManager()
  2651. if TwoD and not CamInterrupt then
  2652. if Humanoid.Health > 0 then
  2653. Camera.CameraSubject = Humanoid
  2654. Camera.CameraType = "Scriptable"
  2655. Humanoid.AutoRotate = false
  2656. if Booleans.GyroUse then
  2657. Directer.MaxTorque = Vec3(0, huge, 0)
  2658. else
  2659. Directer.MaxTorque = Vec3(0, 0, 0)
  2660. end
  2661. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2662. if Booleans.CamFollow then
  2663. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2664. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2665. else
  2666. CPart.Position = RootPart.Position
  2667. end
  2668. else
  2669. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2670. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2671. end
  2672. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2673. else
  2674. Camera.CameraSubject = Humanoid
  2675. Camera.CameraType = "Custom"
  2676. Controller.Disabled = false
  2677. end
  2678. end
  2679. end
  2680.  
  2681. function ring(type,pos,scale,value)
  2682. local type = type
  2683. local rng = Instance.new("Part", char)
  2684. rng.Anchored = true
  2685. rng.BrickColor = origcolor
  2686. rng.CanCollide = false
  2687. rng.FormFactor = 3
  2688. rng.Name = "Ring"
  2689. rng.Size = Vector3.new(1, 1, 1)
  2690. rng.Transparency = 0
  2691. rng.TopSurface = 0
  2692. rng.BottomSurface = 0
  2693. rng.CFrame = pos
  2694. local rngm = Instance.new("SpecialMesh", rng)
  2695. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2696. rngm.Scale = scale
  2697. local scaler2 = 1
  2698. if type == "Add" then
  2699. scaler2 = 1*value
  2700. elseif type == "Divide" then
  2701. scaler2 = 1/value
  2702. end
  2703. coroutine.resume(coroutine.create(function()
  2704. for i = 0,10,0.1 do
  2705. swait()
  2706. if type == "Add" then
  2707. scaler2 = scaler2 - 0.01*value
  2708. elseif type == "Divide" then
  2709. scaler2 = scaler2 - 0.01/value
  2710. end
  2711. rng.Transparency = rng.Transparency + 0.01
  2712. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2713. end
  2714. rng:Destroy()
  2715. end))
  2716. end
  2717.  
  2718.  
  2719. function wave(type,pos,scale,value)
  2720. local type = type
  2721. local rng = Instance.new("Part", char)
  2722. rng.Anchored = true
  2723. rng.BrickColor = origcolor
  2724. rng.CanCollide = false
  2725. rng.FormFactor = 3
  2726. rng.Name = "Ring"
  2727. rng.Size = Vector3.new(1, 1, 1)
  2728. rng.Transparency = 0
  2729. rng.TopSurface = 0
  2730. rng.BottomSurface = 0
  2731. rng.CFrame = pos
  2732. local rngm = Instance.new("SpecialMesh", rng)
  2733. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2734. rngm.Scale = scale
  2735. local scaler2 = 1
  2736. if type == "Add" then
  2737. scaler2 = 1*value
  2738. elseif type == "Divide" then
  2739. scaler2 = 1/value
  2740. end
  2741. coroutine.resume(coroutine.create(function()
  2742. for i = 0,10,0.1 do
  2743. swait()
  2744. if type == "Add" then
  2745. scaler2 = scaler2 - 0.01*value
  2746. elseif type == "Divide" then
  2747. scaler2 = scaler2 - 0.01/value
  2748. end
  2749. rng.Transparency = rng.Transparency + 0.01
  2750. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2751. end
  2752. rng:Destroy()
  2753. end))
  2754. end
  2755.  
  2756. function sphere(bonuspeed,type,pos,scale,value,color)
  2757. local type = type
  2758. local rng = Instance.new("Part", char)
  2759. rng.Anchored = true
  2760. if ModeOfGlitch ~= 9 then
  2761. rng.BrickColor = color
  2762. elseif ModeOfGlitch == 9 then
  2763. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2764. end
  2765. rng.CanCollide = false
  2766. rng.FormFactor = 3
  2767. rng.Name = "Ring"
  2768. rng.Material = "Neon"
  2769. rng.Size = Vector3.new(1, 1, 1)
  2770. rng.Transparency = 0
  2771. rng.TopSurface = 0
  2772. rng.BottomSurface = 0
  2773. rng.CFrame = pos
  2774. local rngm = Instance.new("SpecialMesh", rng)
  2775. rngm.MeshType = "Sphere"
  2776. rngm.Scale = scale
  2777. if rainbowmode == true then
  2778. rng.Color = Color3.new(r/255,g/255,b/255)
  2779. end
  2780. if ModeOfGlitch == 9 then
  2781. coroutine.resume(coroutine.create(function()
  2782. while true do
  2783. swait()
  2784. if rng.Parent ~= nil then
  2785. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2786. else
  2787. break
  2788. end
  2789. end
  2790. end))
  2791. end
  2792. local scaler2 = 1
  2793. if type == "Add" then
  2794. scaler2 = 1*value
  2795. elseif type == "Divide" then
  2796. scaler2 = 1/value
  2797. end
  2798. coroutine.resume(coroutine.create(function()
  2799. for i = 0,10/bonuspeed,0.1 do
  2800. swait()
  2801. if rainbowmode == true then
  2802. rng.Color = Color3.new(r/255,g/255,b/255)
  2803. end
  2804. if type == "Add" then
  2805. scaler2 = scaler2 - 0.01*value/bonuspeed
  2806. elseif type == "Divide" then
  2807. scaler2 = scaler2 - 0.01/value*bonuspeed
  2808. end
  2809. if chaosmode == true then
  2810. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  2811. end
  2812. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2813. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2814. end
  2815. rng:Destroy()
  2816. end))
  2817. end
  2818.  
  2819. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2820. local type = type
  2821. local rng = Instance.new("Part", char)
  2822. rng.Anchored = true
  2823. if ModeOfGlitch ~= 9 then
  2824. rng.BrickColor = color
  2825. elseif ModeOfGlitch == 9 then
  2826. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2827. end
  2828. rng.CanCollide = false
  2829. rng.FormFactor = 3
  2830. rng.Name = "Ring"
  2831. rng.Material = "Neon"
  2832. rng.Size = Vector3.new(1, 1, 1)
  2833. rng.Transparency = 0
  2834. rng.TopSurface = 0
  2835. rng.BottomSurface = 0
  2836. rng.CFrame = pos
  2837. local rngm = Instance.new("SpecialMesh", rng)
  2838. rngm.MeshType = "Sphere"
  2839. if rainbowmode == true then
  2840. rng.Color = Color3.new(r/255,g/255,b/255)
  2841. end
  2842. rngm.Scale = scale
  2843. local scaler2 = 1
  2844. local scaler2b = 1
  2845. local scaler2c = 1
  2846. if type == "Add" then
  2847. scaler2 = 1*value
  2848. scaler2b = 1*value2
  2849. scaler2c = 1*value3
  2850. elseif type == "Divide" then
  2851. scaler2 = 1/value
  2852. scaler2b = 1/value2
  2853. scaler2c = 1/value3
  2854. end
  2855. if ModeOfGlitch == 9 then
  2856. coroutine.resume(coroutine.create(function()
  2857. while true do
  2858. swait()
  2859. if rng.Parent ~= nil then
  2860. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2861. else
  2862. break
  2863. end
  2864. end
  2865. end))
  2866. end
  2867. coroutine.resume(coroutine.create(function()
  2868. for i = 0,10/bonuspeed,0.1 do
  2869. swait()
  2870. if chaosmode == true then
  2871. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  2872. end
  2873. if rainbowmode == true then
  2874. rng.Color = Color3.new(r/255,g/255,b/255)
  2875. end
  2876. if type == "Add" then
  2877. scaler2 = scaler2 - 0.01*value/bonuspeed
  2878. scaler2b = scaler2b - 0.01*value/bonuspeed
  2879. scaler2c = scaler2c - 0.01*value/bonuspeed
  2880. elseif type == "Divide" then
  2881. scaler2 = scaler2 - 0.01/value*bonuspeed
  2882. scaler2b = scaler2b - 0.01/value*bonuspeed
  2883. scaler2c = scaler2c - 0.01/value*bonuspeed
  2884. end
  2885. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2886. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2887. end
  2888. rng:Destroy()
  2889. end))
  2890. end
  2891.  
  2892. function spherec(bonuspeed,type,pos,scale,value,value2,value3,color)
  2893. local type = type
  2894. local rng = Instance.new("Part", char)
  2895. rng.Anchored = true
  2896. rng.Color = color
  2897. rng.CanCollide = false
  2898. rng.FormFactor = 3
  2899. rng.Name = "Ring"
  2900. rng.Material = "Neon"
  2901. rng.Size = Vector3.new(1, 1, 1)
  2902. rng.Transparency = 0
  2903. rng.TopSurface = 0
  2904. rng.BottomSurface = 0
  2905. rng.CFrame = pos
  2906. local rngm = Instance.new("SpecialMesh", rng)
  2907. rngm.MeshType = "Sphere"
  2908. if rainbowmode == true then
  2909. rng.Color = Color3.new(r/255,g/255,b/255)
  2910. end
  2911. rngm.Scale = scale
  2912. local scaler2 = 1
  2913. local scaler2b = 1
  2914. local scaler2c = 1
  2915. if type == "Add" then
  2916. scaler2 = 1*value
  2917. scaler2b = 1*value2
  2918. scaler2c = 1*value3
  2919. elseif type == "Divide" then
  2920. scaler2 = 1/value
  2921. scaler2b = 1/value2
  2922. scaler2c = 1/value3
  2923. end
  2924. if ModeOfGlitch == 9 then
  2925. coroutine.resume(coroutine.create(function()
  2926. while true do
  2927. swait()
  2928. if rng.Parent ~= nil then
  2929. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2930. else
  2931. break
  2932. end
  2933. end
  2934. end))
  2935. end
  2936. coroutine.resume(coroutine.create(function()
  2937. for i = 0,10/bonuspeed,0.1 do
  2938. swait()
  2939. if chaosmode == true then
  2940. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  2941. end
  2942. if rainbowmode == true then
  2943. rng.Color = Color3.new(r/255,g/255,b/255)
  2944. end
  2945. if type == "Add" then
  2946. scaler2 = scaler2 - 0.01*value/bonuspeed
  2947. scaler2b = scaler2b - 0.01*value/bonuspeed
  2948. scaler2c = scaler2c - 0.01*value/bonuspeed
  2949. elseif type == "Divide" then
  2950. scaler2 = scaler2 - 0.01/value*bonuspeed
  2951. scaler2b = scaler2b - 0.01/value*bonuspeed
  2952. scaler2c = scaler2c - 0.01/value*bonuspeed
  2953. end
  2954. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2955. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2956. end
  2957. rng:Destroy()
  2958. end))
  2959. end
  2960.  
  2961.  
  2962. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2963. local type = type
  2964. local rotenable = rotatingop
  2965. local rng = Instance.new("Part", char)
  2966. rng.Anchored = true
  2967. rng.BrickColor = color
  2968. rng.CanCollide = false
  2969. rng.FormFactor = 3
  2970. rng.Name = "Ring"
  2971. rng.Material = "Neon"
  2972. rng.Size = Vector3.new(1, 1, 1)
  2973. rng.Transparency = 0
  2974. if typeoftrans == "In" then
  2975. rng.Transparency = 1
  2976. end
  2977. rng.TopSurface = 0
  2978. rng.BottomSurface = 0
  2979. rng.CFrame = pos
  2980. local rngm = Instance.new("SpecialMesh", rng)
  2981. rngm.MeshType = "FileMesh"
  2982. if rainbowmode == true then
  2983. rng.Color = Color3.new(r/255,g/255,b/255)
  2984. end
  2985. if typeofshape == "Normal" then
  2986. rngm.MeshId = "rbxassetid://662586858"
  2987. elseif typeofshape == "Round" then
  2988. rngm.MeshId = "rbxassetid://662585058"
  2989. end
  2990. rngm.Scale = scale
  2991. local scaler2 = 1/10
  2992. if type == "Add" then
  2993. scaler2 = 1*value/10
  2994. elseif type == "Divide" then
  2995. scaler2 = 1/value/10
  2996. end
  2997. local randomrot = math.random(1,2)
  2998. coroutine.resume(coroutine.create(function()
  2999. for i = 0,10/bonuspeed,0.1 do
  3000. swait()
  3001. if rainbowmode == true then
  3002. rng.Color = Color3.new(r/255,g/255,b/255)
  3003. end
  3004. if type == "Add" then
  3005. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3006. elseif type == "Divide" then
  3007. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3008. end
  3009. if rotenable == true then
  3010. if randomrot == 1 then
  3011. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3012. elseif randomrot == 2 then
  3013. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3014. end
  3015. end
  3016. if typeoftrans == "Out" then
  3017. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3018. elseif typeoftrans == "In" then
  3019. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3020. end
  3021. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3022. end
  3023. rng:Destroy()
  3024. end))
  3025. end
  3026.  
  3027. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3028. local type = type
  3029. local rng = Instance.new("Part", char)
  3030. rng.Anchored = true
  3031. rng.BrickColor = color
  3032. rng.CanCollide = false
  3033. rng.FormFactor = 3
  3034. rng.Name = "Ring"
  3035. rng.Material = "Neon"
  3036. rng.Size = Vector3.new(1, 1, 1)
  3037. rng.Transparency = 0
  3038. rng.TopSurface = 0
  3039. rng.BottomSurface = 0
  3040. rng.CFrame = pos
  3041. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3042. local rngm = Instance.new("SpecialMesh", rng)
  3043. rngm.MeshType = "Brick"
  3044. rngm.Scale = vt(x1,y1,z1)
  3045. if rainbowmode == true then
  3046. rng.Color = Color3.new(r/255,g/255,b/255)
  3047. end
  3048. local scaler2 = 1
  3049. local speeder = FastSpeed/10
  3050. if type == "Add" then
  3051. scaler2 = 1*value
  3052. elseif type == "Divide" then
  3053. scaler2 = 1/value
  3054. end
  3055. coroutine.resume(coroutine.create(function()
  3056. for i = 0,10/bonuspeed,0.1 do
  3057. swait()
  3058. if rainbowmode == true then
  3059. rng.Color = Color3.new(r/255,g/255,b/255)
  3060. end
  3061. if type == "Add" then
  3062. scaler2 = scaler2 - 0.01*value/bonuspeed
  3063. elseif type == "Divide" then
  3064. scaler2 = scaler2 - 0.01/value*bonuspeed
  3065. end
  3066. if chaosmode == true then
  3067. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3068. end
  3069. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3070. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3071. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3072. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3073. end
  3074. rng:Destroy()
  3075. end))
  3076. end
  3077.  
  3078. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3079. local type = type
  3080. local rng = Instance.new("Part", char)
  3081. rng.Anchored = true
  3082. rng.BrickColor = color
  3083. rng.CanCollide = false
  3084. rng.FormFactor = 3
  3085. rng.Name = "Ring"
  3086. rng.Material = "Neon"
  3087. rng.Size = Vector3.new(1, 1, 1)
  3088. rng.Transparency = 0
  3089. rng.TopSurface = 0
  3090. rng.BottomSurface = 0
  3091. rng.CFrame = pos
  3092. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3093. local rngm = Instance.new("SpecialMesh", rng)
  3094. rngm.MeshType = "Brick"
  3095. rngm.Scale = vt(x1,y1,z1)
  3096. if rainbowmode == true then
  3097. rng.Color = Color3.new(r/255,g/255,b/255)
  3098. end
  3099. local scaler2 = 1
  3100. local speeder = FastSpeed/10
  3101. if type == "Add" then
  3102. scaler2 = 1*value
  3103. elseif type == "Divide" then
  3104. scaler2 = 1/value
  3105. end
  3106. coroutine.resume(coroutine.create(function()
  3107. for i = 0,10/bonuspeed,0.1 do
  3108. swait()
  3109. if rainbowmode == true then
  3110. rng.Color = Color3.new(r/255,g/255,b/255)
  3111. end
  3112. if type == "Add" then
  3113. scaler2 = scaler2 - 0.01*value/bonuspeed
  3114. elseif type == "Divide" then
  3115. scaler2 = scaler2 - 0.01/value*bonuspeed
  3116. end
  3117. if chaosmode == true then
  3118. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3119. end
  3120. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3121. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3122. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3123. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3124. end
  3125. rng:Destroy()
  3126. end))
  3127. end
  3128.  
  3129. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3130. local type = type
  3131. local rng = Instance.new("Part", char)
  3132. rng.Anchored = true
  3133. rng.BrickColor = color
  3134. rng.CanCollide = false
  3135. rng.FormFactor = 3
  3136. rng.Name = "Ring"
  3137. rng.Material = "Neon"
  3138. rng.Size = Vector3.new(1, 1, 1)
  3139. rng.Transparency = 0
  3140. rng.TopSurface = 0
  3141. rng.BottomSurface = 0
  3142. rng.CFrame = pos
  3143. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3144. local rngm = Instance.new("SpecialMesh", rng)
  3145. rngm.MeshType = "Brick"
  3146. rngm.Scale = vt(x1,y1,z1)
  3147. if rainbowmode == true then
  3148. rng.Color = Color3.new(r/255,g/255,b/255)
  3149. end
  3150. local scaler2 = 0
  3151. local speeder = FastSpeed/10
  3152. if type == "Add" then
  3153. scaler2 = 1*value
  3154. elseif type == "Divide" then
  3155. scaler2 = 1/value
  3156. end
  3157. coroutine.resume(coroutine.create(function()
  3158. for i = 0,10/bonuspeed,0.1 do
  3159. swait()
  3160. if rainbowmode == true then
  3161. rng.Color = Color3.new(r/255,g/255,b/255)
  3162. end
  3163. if type == "Add" then
  3164. scaler2 = scaler2 - 0.01*value/bonuspeed
  3165. elseif type == "Divide" then
  3166. scaler2 = scaler2 - 0.01/value*bonuspeed
  3167. end
  3168. if chaosmode == true then
  3169. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3170. end
  3171. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3172. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3173. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3174. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3175. end
  3176. rng:Destroy()
  3177. end))
  3178. end
  3179.  
  3180. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3181. local type = type
  3182. local rng = Instance.new("Part", char)
  3183. rng.Anchored = true
  3184. rng.BrickColor = color
  3185. rng.Color = color3
  3186. rng.CanCollide = false
  3187. rng.FormFactor = 3
  3188. rng.Name = "Ring"
  3189. rng.Material = "Neon"
  3190. rng.Size = Vector3.new(1, 1, 1)
  3191. rng.Transparency = 0
  3192. rng.TopSurface = 0
  3193. rng.BottomSurface = 0
  3194. rng.CFrame = pos
  3195. local rngm = Instance.new("SpecialMesh", rng)
  3196. rngm.MeshType = "Brick"
  3197. rngm.Scale = scale
  3198. if rainbowmode == true then
  3199. rng.Color = Color3.new(r/255,g/255,b/255)
  3200. end
  3201. local scaler2 = 1
  3202. local scaler2b = 1
  3203. local scaler2c = 1
  3204. if type == "Add" then
  3205. scaler2 = 1*value
  3206. scaler2b = 1*value2
  3207. scaler2c = 1*value3
  3208. elseif type == "Divide" then
  3209. scaler2 = 1/value
  3210. scaler2b = 1/value2
  3211. scaler2c = 1/value3
  3212. end
  3213. coroutine.resume(coroutine.create(function()
  3214. for i = 0,10/bonuspeed,0.1 do
  3215. swait()
  3216. if rainbowmode == true then
  3217. rng.Color = Color3.new(r/255,g/255,b/255)
  3218. end
  3219. if type == "Add" then
  3220. scaler2 = scaler2 - 0.01*value/bonuspeed
  3221. scaler2b = scaler2b - 0.01*value/bonuspeed
  3222. scaler2c = scaler2c - 0.01*value/bonuspeed
  3223. elseif type == "Divide" then
  3224. scaler2 = scaler2 - 0.01/value*bonuspeed
  3225. scaler2b = scaler2b - 0.01/value*bonuspeed
  3226. scaler2c = scaler2c - 0.01/value*bonuspeed
  3227. end
  3228. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3229. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3230. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3231. end
  3232. rng:Destroy()
  3233. end))
  3234. end
  3235.  
  3236. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3237. local type = type
  3238. local rng = Instance.new("Part", char)
  3239. rng.Anchored = true
  3240. if ModeOfGlitch ~= 9 then
  3241. rng.BrickColor = color
  3242. elseif ModeOfGlitch == 9 then
  3243. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3244. end
  3245. rng.CanCollide = false
  3246. rng.FormFactor = 3
  3247. rng.Name = "Ring"
  3248. rng.Material = "Neon"
  3249. rng.Size = Vector3.new(1, 1, 1)
  3250. rng.Transparency = 0
  3251. rng.TopSurface = 0
  3252. rng.BottomSurface = 0
  3253. rng.CFrame = pos
  3254. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3255. local rngm = Instance.new("SpecialMesh", rng)
  3256. rngm.MeshType = "Sphere"
  3257. rngm.Scale = vt(x1,y1,z1)
  3258. if rainbowmode == true then
  3259. rng.Color = Color3.new(r/255,g/255,b/255)
  3260. end
  3261. if ModeOfGlitch == 9 then
  3262. coroutine.resume(coroutine.create(function()
  3263. while true do
  3264. swait()
  3265. if rng.Parent ~= nil then
  3266. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3267. else
  3268. break
  3269. end
  3270. end
  3271. end))
  3272. end
  3273. local scaler2 = 1
  3274. local speeder = FastSpeed
  3275. if type == "Add" then
  3276. scaler2 = 1*value
  3277. elseif type == "Divide" then
  3278. scaler2 = 1/value
  3279. end
  3280. coroutine.resume(coroutine.create(function()
  3281. for i = 0,10/bonuspeed,0.1 do
  3282. swait()
  3283. if rainbowmode == true then
  3284. rng.Color = Color3.new(r/255,g/255,b/255)
  3285. end
  3286. if type == "Add" then
  3287. scaler2 = scaler2 - 0.01*value/bonuspeed
  3288. elseif type == "Divide" then
  3289. scaler2 = scaler2 - 0.01/value*bonuspeed
  3290. end
  3291. if chaosmode == true then
  3292. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3293. end
  3294. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3295. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3296. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3297. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3298. end
  3299. rng:Destroy()
  3300. end))
  3301. end
  3302.  
  3303.  
  3304. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3305. local type = type
  3306. local rng = Instance.new("Part", char)
  3307. rng.Anchored = true
  3308. if ModeOfGlitch ~= 9 then
  3309. rng.BrickColor = color
  3310. elseif ModeOfGlitch == 9 then
  3311. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3312. end
  3313. rng.CanCollide = false
  3314. rng.FormFactor = 3
  3315. rng.Name = "Ring"
  3316. rng.Material = "Neon"
  3317. rng.Size = Vector3.new(1, 1, 1)
  3318. rng.Transparency = 1
  3319. rng.TopSurface = 0
  3320. rng.BottomSurface = 0
  3321. rng.CFrame = pos
  3322. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3323. local rngm = Instance.new("SpecialMesh", rng)
  3324. rngm.MeshType = "Sphere"
  3325. rngm.Scale = vt(x1,y1,z1)
  3326. if rainbowmode == true then
  3327. rng.Color = Color3.new(r/255,g/255,b/255)
  3328. end
  3329. if ModeOfGlitch == 9 then
  3330. coroutine.resume(coroutine.create(function()
  3331. while true do
  3332. swait()
  3333. if rng.Parent ~= nil then
  3334. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3335. else
  3336. break
  3337. end
  3338. end
  3339. end))
  3340. end
  3341. local scaler2 = 1
  3342. local speeder = FastSpeed
  3343. if type == "Add" then
  3344. scaler2 = 1*value
  3345. elseif type == "Divide" then
  3346. scaler2 = 1/value
  3347. end
  3348. coroutine.resume(coroutine.create(function()
  3349. for i = 0,10/bonuspeed,0.1 do
  3350. swait()
  3351. if rainbowmode == true then
  3352. rng.Color = Color3.new(r/255,g/255,b/255)
  3353. end
  3354. if type == "Add" then
  3355. scaler2 = scaler2 - 0.01*value/bonuspeed
  3356. elseif type == "Divide" then
  3357. scaler2 = scaler2 - 0.01/value*bonuspeed
  3358. end
  3359. if chaosmode == true then
  3360. rng.Color = Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255))
  3361. end
  3362. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3363. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3364. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3365. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3366. end
  3367. rng:Destroy()
  3368. end))
  3369. end
  3370.  
  3371. function dmg(dude)
  3372. if dude.Name ~= Character and enableddam == true then
  3373. local keptcolor = MRCL
  3374. local bgf = Instance.new("BodyGyro",dude.Head)
  3375. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3376. --[[local val = Instance.new("BoolValue",dude)
  3377. val.Name = "IsHit"]]--
  3378. local ds = coroutine.wrap(function()
  3379. dude:WaitForChild("Head"):BreakJoints()
  3380. for i, v in pairs(dude:GetChildren()) do
  3381. if v:IsA("Part") or v:IsA("MeshPart") then
  3382. v.Name = "DEMINISHED"
  3383. end
  3384. end
  3385. wait(0.5)
  3386. targetted = nil
  3387. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3388. coroutine.resume(coroutine.create(function()
  3389. for i, v in pairs(dude:GetChildren()) do
  3390. if v:IsA("Accessory") then
  3391. v:Destroy()
  3392. end
  3393. if v:IsA("Humanoid") then
  3394. v:Destroy()
  3395. end
  3396. if v:IsA("CharacterMesh") then
  3397. v:Destroy()
  3398. end
  3399. if v:IsA("Model") then
  3400. v:Destroy()
  3401. end
  3402. if v:IsA("Part") or v:IsA("MeshPart") then
  3403. for x, o in pairs(v:GetChildren()) do
  3404. if o:IsA("Decal") then
  3405. o:Destroy()
  3406. end
  3407. end
  3408. coroutine.resume(coroutine.create(function()
  3409. v.Material = "Neon"
  3410. v.CanCollide = false
  3411. v.Anchored = false
  3412. local bld = Instance.new("ParticleEmitter",v)
  3413. bld.LightEmission = 0.75
  3414. bld.Texture = "rbxassetid://363275192" ---284205403
  3415. bld.Color = ColorSequence.new(keptcolor.Color)
  3416. bld.Rate = 500
  3417. bld.Lifetime = NumberRange.new(1)
  3418. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3419. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3420. bld.Speed = NumberRange.new(2,5)
  3421. bld.VelocitySpread = 50000
  3422. bld.Rotation = NumberRange.new(-500,500)
  3423. bld.RotSpeed = NumberRange.new(-500,500)
  3424. local sbs = Instance.new("BodyPosition", v)
  3425. sbs.P = 3000
  3426. sbs.D = 1000
  3427. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3428. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3429. v.Color = keptcolor.Color
  3430. coroutine.resume(coroutine.create(function()
  3431. for i = 0, 49 do
  3432. swait(1)
  3433. v:BreakJoints()
  3434. v.Transparency = v.Transparency + 0.02
  3435. end
  3436. v:BreakJoints()
  3437. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3438. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3439. bld.Speed = NumberRange.new(10,25)
  3440. bld.Drag = 5
  3441. bld.Acceleration = vt(0,2,0)
  3442. wait(0.5)
  3443. bld.Enabled = false
  3444. wait(8)
  3445. v:Destroy()
  3446. dude:Destroy()
  3447. end))
  3448. end))
  3449. end
  3450. end
  3451. end))
  3452. end)
  3453. ds()
  3454. end
  3455. end
  3456.  
  3457.  
  3458. function FindNearestHead(Position, Distance, SinglePlayer)
  3459. if SinglePlayer then
  3460. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3461. end
  3462. local List = {}
  3463. for i, v in pairs(workspace:GetChildren()) do
  3464. if v:IsA("Model") then
  3465. if v:findFirstChild("Head") then
  3466. if v ~= Character then
  3467. if (v.Head.Position - Position).magnitude <= Distance then
  3468. table.insert(List, v)
  3469. end
  3470. end
  3471. end
  3472. end
  3473. end
  3474. return List
  3475. end
  3476.  
  3477. function FaceMouse()
  3478. Cam = workspace.CurrentCamera
  3479. return {
  3480. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3481. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3482. }
  3483. end
  3484.  
  3485. function FaceMouse2()
  3486. Cam = workspace.CurrentCamera
  3487. return {
  3488. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3489. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3490. }
  3491. end
  3492.  
  3493. local ModeOfGlitch = 1
  3494. -- Functions are ready.
  3495. local storehumanoidWS = 16
  3496.  
  3497. function createBGCircle(size,parent,color)
  3498. local bgui = Instance.new("BillboardGui",parent)
  3499. bgui.Size = UDim2.new(size, 0, size, 0)
  3500. local imgc = Instance.new("ImageLabel",bgui)
  3501. imgc.BackgroundTransparency = 1
  3502. imgc.ImageTransparency = 0
  3503. imgc.Size = UDim2.new(1,0,1,0)
  3504. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  3505. imgc.ImageColor3 = color
  3506. return bgui,imgc
  3507. end
  3508.  
  3509. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  3510. local bgui,imgc = createBGCircle(size,guipar,color)
  3511. bgui.AlwaysOnTop = true
  3512. imgc.Image = "rbxassetid://" ..img
  3513. local rrot = math.random(1,2)
  3514. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  3515. coroutine.resume(coroutine.create(function()
  3516. for i = 0, 24*delay do
  3517. swait()
  3518. if rotationenabled == true then
  3519. if rrot == 1 then
  3520. imgc.Rotation = imgc.Rotation + rotsp
  3521. elseif rrot == 2 then
  3522. imgc.Rotation = imgc.Rotation - rotsp
  3523. end
  3524. end
  3525. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  3526. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  3527. end
  3528. bgui:Destroy()
  3529. end))
  3530. end
  3531.  
  3532.  
  3533. function burstswitch(col1,col2)
  3534. local effx = Instance.new("ParticleEmitter",root)
  3535. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  3536. effx.LightEmission = 1
  3537. effx.Color = ColorSequence.new(col1)
  3538. effx.Rate = 500000
  3539. effx.Lifetime = NumberRange.new(0.25,0.75)
  3540. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  3541. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.8,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3542. effx.Speed = NumberRange.new(0,10)
  3543. effx.Drag = 5
  3544. effx.Rotation = NumberRange.new(-500,500)
  3545. effx.VelocitySpread = 9000
  3546. effx.RotSpeed = NumberRange.new(-50,50)
  3547. local effx2 = effx:Clone()
  3548. effx2.Parent = root
  3549. effx2.Color = ColorSequence.new(col2)
  3550. effx2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,150,0)})
  3551. --CFuncs["Sound"].Create("rbxassetid://2095993595", root, 10, 1)
  3552. for i = 0, 1 do
  3553. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 5, 1)
  3554. CFuncs["Sound"].Create("rbxassetid://1042693018", root, 5, 0.8)
  3555. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 4,0.75)
  3556. CFuncs["Sound"].Create("rbxassetid://1664711478", root, 4,1)
  3557. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 0.75)
  3558. CFuncs["Sound"].Create("rbxassetid://782353443", root, 8, 0.9)
  3559. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 0.8)
  3560. CFuncs["Sound"].Create("rbxassetid://782353443", root, 4, 0.7)
  3561. end
  3562. spherec(1,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),1,1,1,col2)
  3563. spherec(2,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),1.5,1.5,1.5,col1)
  3564. spherec(3,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),2,2,2,col2)
  3565. spherec(4,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),2.5,2.5,2.5,col1)
  3566. symbolizeBlink(root,0,144580273,col1,25,0,0,0,root,true,-5,2)
  3567. symbolizeBlink(root,0,144580273,col2,20,0,0,0,root,true,-5,1)
  3568. symbolizeBlink(root,0,144580273,col2,22.5,0,0,0,root,true,-5,1.5)
  3569. symbolizeBlink(root,0,348103573,col2,22.5,0,0,0,root,true,-5,1.5)
  3570. symbolizeBlink(root,0,348103573,col2,30,0,0,0,root,true,-25,1)
  3571. symbolizeBlink(root,0,348103573,col1,40,0,0,0,root,true,-25,1)
  3572. coroutine.resume(coroutine.create(function()
  3573. wait(0.05)
  3574. effx.Enabled = false
  3575. effx2.Enabled = false
  3576. wait(2)
  3577. effx:Destroy()
  3578. effx2:Destroy()
  3579. end))
  3580. end
  3581. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  3582. for i, v in pairs(mw2:GetDescendants()) do
  3583. if v:IsA("Part") or v:IsA("UnionOperation") then
  3584. v.Color = one
  3585. v.Material = "Neon"
  3586. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3587. v.Color = ColorSequence.new(one)
  3588. end
  3589. end
  3590. burstswitch(one,two)
  3591. for i, v in pairs(mw1:GetDescendants()) do
  3592. if v:IsA("Part") or v:IsA("UnionOperation") then
  3593. v.Color = two
  3594. v.Material = "Neon"
  3595. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3596. v.Color = ColorSequence.new(two)
  3597. end
  3598. end
  3599. end
  3600.  
  3601. function rtsc(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  3602. for i, v in pairs(mw2:GetDescendants()) do
  3603. if v:IsA("Part") or v:IsA("UnionOperation") then
  3604. v.Color = one
  3605. v.Material = "Neon"
  3606. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3607. v.Color = ColorSequence.new(one)
  3608. end
  3609. end
  3610. for i, v in pairs(mw1:GetDescendants()) do
  3611. if v:IsA("Part") or v:IsA("UnionOperation") then
  3612. v.Color = two
  3613. v.Material = "Neon"
  3614. elseif v:IsA("Trail") or v:IsA("ParticleEmitter") then
  3615. v.Color = ColorSequence.new(two)
  3616. end
  3617. end
  3618. end
  3619.  
  3620.  
  3621. --- abiliti
  3622.  
  3623. ---- Star/Velnorum's Abilities
  3624. function ExtinctiveHeartbreak()
  3625. local targetted = nil
  3626. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3627. targetted = mouse.Target.Parent
  3628. end
  3629. if targetted ~= nil then
  3630. attack = true
  3631. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3632. for i = 0, 9 do
  3633. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  3634. end
  3635. for i = 0, 24 do
  3636. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  3637. end
  3638. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3639. local originalpos = root.CFrame
  3640. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3641. for i = 0, 9 do
  3642. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  3643. end
  3644. for i = 0, 24 do
  3645. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  3646. end
  3647. hum.WalkSpeed = 0
  3648. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3649. local radm = math.random(1,3)
  3650. if radm == 1 then
  3651. bosschatfunc("YOU WONT BE NECCESSARY.",MRCL.Color,2)
  3652. elseif radm == 2 then
  3653. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MRCL.Color,2)
  3654. elseif radm == 3 then
  3655. bosschatfunc("DIE!",MRCL.Color,2)
  3656. end
  3657. for i = 0,2,0.1 do
  3658. swait()
  3659. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10),math.rad(0)),.4)
  3660. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.4)
  3661. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(80)),.4)
  3662. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3663. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.4)
  3664. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(60)),.4)
  3665. end
  3666. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  3667. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  3668. for i = 0,2,0.1 do
  3669. swait()
  3670. coroutine.resume(coroutine.create(function()
  3671. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  3672. for i,v in pairs(targetted:GetChildren()) do
  3673. if v:IsA("Part") or v:IsA("MeshPart") then
  3674. v.Velocity = vt(0,0,0)
  3675. end
  3676. end
  3677. end))
  3678. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  3679. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  3680. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  3681. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3682. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3683. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(90),math.rad(0),math.rad(-80)),.8)
  3684. end
  3685. shakes(1.25,1.5)
  3686. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  3687. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  3688. for i = 0, 1 do
  3689. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  3690. end
  3691. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  3692. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  3693. for i = 0,4,0.1 do
  3694. swait()
  3695. coroutine.resume(coroutine.create(function()
  3696. local dis = CreateParta(char,1,1,"Neon",MRCL)
  3697. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3698. local at1 = Instance.new("Attachment",dis)
  3699. at1.Position = vt(-25000,0,0)
  3700. local at2 = Instance.new("Attachment",dis)
  3701. at2.Position = vt(25000,0,0)
  3702. local trl = Instance.new('Trail',dis)
  3703. trl.Attachment0 = at1
  3704. trl.FaceCamera = true
  3705. trl.Attachment1 = at2
  3706. trl.Texture = "rbxassetid://1049219073"
  3707. trl.LightEmission = 1
  3708. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3709. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  3710. trl.Lifetime = 5
  3711. local bv = Instance.new("BodyVelocity")
  3712. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3713. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  3714. bv.Parent = dis
  3715. game:GetService("Debris"):AddItem(dis, 5)
  3716. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  3717. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  3718. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  3719. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  3720. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  3721. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  3722. sphere2(5,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,3,3),-0.03,15,-0.03,MRCL)
  3723. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  3724. for i = 0, 2 do
  3725. slash(5,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,350)/250,BrickColor.new("Crimson"))
  3726. end
  3727. symbolizeBlink(targetted.Head,0,2092248396,Color3.new(1,0,0),math.random(3,35),0,0,0,targetted.Head,true,math.random(3,9),0.25)
  3728. for i,v in pairs(targetted:GetChildren()) do
  3729. if v:IsA("Part") or v:IsA("MeshPart") then
  3730. v.Velocity = vt(0,0,0)
  3731. end
  3732. end
  3733. end))
  3734. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  3735. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  3736. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  3737. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(-80)),.8)
  3738. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  3739. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  3740. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170),math.rad(0),math.rad(-30)),.8)
  3741. end
  3742. hum.CameraOffset = vt(0,0,0)
  3743. for i = 0, 49 do
  3744. local dis = CreateParta(char,1,1,"Neon",MRCL)
  3745. dis.CFrame = targetted.Head.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3746. local at1 = Instance.new("Attachment",dis)
  3747. at1.Position = vt(-50000,0,0)
  3748. local at2 = Instance.new("Attachment",dis)
  3749. at2.Position = vt(50000,0,0)
  3750. local trl = Instance.new('Trail',dis)
  3751. trl.Attachment0 = at1
  3752. trl.FaceCamera = true
  3753. trl.Attachment1 = at2
  3754. trl.Texture = "rbxassetid://1049219073"
  3755. trl.LightEmission = 1
  3756. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3757. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  3758. trl.Lifetime = 5
  3759. local bv = Instance.new("BodyVelocity")
  3760. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3761. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  3762. bv.Parent = dis
  3763. game:GetService("Debris"):AddItem(dis, 5)
  3764. end
  3765. for i = 0, 49 do
  3766. sphere2(math.random(10,75)/10,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,5,5),-0.05,50,-0.05,MRCL)
  3767. slash(math.random(10,30)/15,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(40,500)/250,BrickColor.new("Really red"))
  3768. end
  3769. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  3770. for i = 0, 1 do
  3771. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  3772. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  3773. end
  3774. for i = 0, 4 do
  3775. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  3776. end
  3777. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  3778. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  3779. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  3780. dmg(targetted)
  3781. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3782. for i = 0, 9 do
  3783. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  3784. end
  3785. for i = 0, 24 do
  3786. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  3787. end
  3788. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3789. root.CFrame = originalpos
  3790. for i = 0, 9 do
  3791. sphereMK(3,0.25,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,10,-0.01,BrickColor.new("Really red"),0)
  3792. end
  3793. for i = 0, 24 do
  3794. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  3795. end
  3796. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  3797. attack = false
  3798. hum.WalkSpeed = storehumanoidWS
  3799. end
  3800. end
  3801.  
  3802. function CorruptionEvent()
  3803. attack = true
  3804. hum.WalkSpeed = 0
  3805. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  3806. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  3807. local keptcolor = MRCL
  3808. for i = 0,4,0.1 do
  3809. swait()
  3810. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  3811. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MRCL,MRCL.Color)
  3812. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5),math.rad(-20)),.1)
  3813. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  3814. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  3815. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  3816. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  3817. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  3818. end
  3819. shakes(0.5,1)
  3820. symbolizeBlink(root,0,2109052855,MRCL.Color,25,0,0,0,root,false,0,1)
  3821. symbolizeBlink(root,0,2109052855,MRCL.Color,25,0,0,0,root,false,0,1.5)
  3822. symbolizeBlink(root,0,2109052855,MRCL.Color,25,0,0,0,root,false,0,3)
  3823. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  3824. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  3825. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  3826. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  3827. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  3828. coroutine.resume(coroutine.create(function()
  3829. local eff = Instance.new("ParticleEmitter",cen)
  3830. eff.Texture = "rbxassetid://2344870656"
  3831. eff.LightEmission = 1
  3832. eff.Color = ColorSequence.new(keptcolor.Color)
  3833. eff.Rate = 10000000
  3834. eff.Enabled = true
  3835. eff.EmissionDirection = "Front"
  3836. eff.Lifetime = NumberRange.new(2)
  3837. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  3838. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3839. eff.Speed = NumberRange.new(500)
  3840. eff.Drag = 5
  3841. eff.Rotation = NumberRange.new(-500,500)
  3842. eff.SpreadAngle = Vector2.new(0,900)
  3843. eff.RotSpeed = NumberRange.new(-500,500)
  3844. wait(0.2)
  3845. eff.Enabled = false
  3846. wait(5)
  3847. eff:Destroy()
  3848. end))
  3849. hum.CameraOffset = vt(0,0,0)
  3850. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MRCL,MRCL.Color)
  3851. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MRCL,MRCL.Color)
  3852. for i = 0, 24 do
  3853. slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  3854. end
  3855. local rrot = 0
  3856. coroutine.resume(coroutine.create(function()
  3857. for i = 0, 4 do
  3858. rrot = rrot + 45
  3859. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  3860. xa.Anchored = true
  3861. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  3862. xb.Anchored = true
  3863. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  3864. xc.Anchored = true
  3865. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  3866. xd.Anchored = true
  3867. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  3868. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  3869. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  3870. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  3871. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  3872. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  3873. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  3874. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  3875. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  3876. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  3877. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  3878. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  3879. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  3880. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  3881. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  3882. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  3883. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  3884. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  3885. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  3886. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  3887. for i = 0, 9 do
  3888. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  3889. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  3890. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  3891. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  3892. end
  3893. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  3894. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  3895. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  3896. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  3897. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  3898. sphere2(2,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  3899. sphere2(2,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  3900. sphere2(2,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25,1,25),0.05,1.5,0.05,keptcolor,keptcolor.Color)
  3901. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  3902. sphere2(4,"Add",xb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  3903. sphere2(4,"Add",xc.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  3904. sphere2(4,"Add",xd.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30,1,30),0.05,1.5,0.05,BrickColor.new("Really black"),Color3.new(0,0,0))
  3905. game:GetService("Debris"):AddItem(xa, 5)
  3906. game:GetService("Debris"):AddItem(xb, 5)
  3907. game:GetService("Debris"):AddItem(xc, 5)
  3908. game:GetService("Debris"):AddItem(xd, 5)
  3909. coroutine.resume(coroutine.create(function()
  3910. for i = 0, 19 do
  3911. swait()
  3912. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  3913. end
  3914. hum.CameraOffset = vt(0,0,0)
  3915. end))
  3916. swait(9)
  3917. end
  3918. end))
  3919. for i = 0,2,0.1 do
  3920. swait()
  3921. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(10)),.8)
  3922. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(10)),.8)
  3923. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  3924. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  3925. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  3926. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  3927. end
  3928. attack = false
  3929. hum.WalkSpeed = storehumanoidWS
  3930. end
  3931.  
  3932. function EndGROUND()
  3933. attack = true
  3934. hum.WalkSpeed = 0
  3935. bosschatfunc("THIS IS IT!",MRCL.Color,1)
  3936. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  3937. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  3938. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  3939. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  3940. local keptcolor = MRCL
  3941. for i = 0,4,0.1 do
  3942. swait()
  3943. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  3944. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MRCL,MRCL.Color)
  3945. slash(math.random(25,50)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-6,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.1,0.01,0.1),-0.1,BrickColor.new("Really black"))
  3946. RH.C0=clerp(RH.C0,cf(1,-0.15,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-15),math.rad(-20)),.1)
  3947. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.1)
  3948. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  3949. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  3950. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  3951. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  3952. end
  3953. shakes(0.5,1)
  3954. symbolizeBlink(root,0,2109052855,MRCL.Color,25,0,0,0,root,false,0,1)
  3955. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  3956. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  3957. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  3958. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  3959. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  3960. coroutine.resume(coroutine.create(function()
  3961. local eff = Instance.new("ParticleEmitter",cen)
  3962. eff.Texture = "rbxassetid://2344870656"
  3963. eff.LightEmission = 1
  3964. eff.Color = ColorSequence.new(keptcolor.Color)
  3965. eff.Rate = 10000000
  3966. eff.Enabled = true
  3967. eff.EmissionDirection = "Front"
  3968. eff.Lifetime = NumberRange.new(2)
  3969. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,120,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,80,0),NumberSequenceKeypoint.new(1,140,0)})
  3970. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3971. eff.Speed = NumberRange.new(500)
  3972. eff.Drag = 5
  3973. eff.Rotation = NumberRange.new(-500,500)
  3974. eff.SpreadAngle = Vector2.new(0,900)
  3975. eff.RotSpeed = NumberRange.new(-500,500)
  3976. wait(0.2)
  3977. eff.Enabled = false
  3978. wait(5)
  3979. eff:Destroy()
  3980. end))
  3981. coroutine.resume(coroutine.create(function()
  3982. local shval = 10
  3983. for i = 0, 99 do
  3984. swait()
  3985. shval = shval - 0.1
  3986. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  3987. end
  3988. hum.CameraOffset = vt(0,0,0)
  3989. end))
  3990. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MRCL,MRCL.Color)
  3991. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MRCL,MRCL.Color)
  3992. for i = 0, 24 do
  3993. slash(math.random(15,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.new("Really black"))
  3994. end
  3995. local rrot = 0
  3996. local xam = 1
  3997. coroutine.resume(coroutine.create(function()
  3998. for i = 0, 14 do
  3999. --swait()
  4000. rrot = rrot + 40*xam
  4001. xam = xam + 0.25
  4002. local bonus = xam
  4003. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  4004. xa.Anchored = true
  4005. xa.Color = Color3.new(0,0,0)
  4006. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  4007. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  4008. local xc = 0
  4009. coroutine.resume(coroutine.create(function()
  4010. for i = 0, 99 do
  4011. swait()
  4012. xc = xc + 0.01
  4013. xa.Color = Color3.new(xc,0,0)
  4014. end
  4015. shakes(0.35,0.5)
  4016. xa.Transparency = 1
  4017. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  4018. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  4019. for i = 0, 9 do
  4020. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01*bonus,0.01,0.01*bonus),math.random(50,125)/250*bonus,BrickColor.new("Really black"))
  4021. end
  4022. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30*bonus,30*bonus,30*bonus),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4023. sphere2(2,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(25*bonus,1,25*bonus),0.05*bonus,1.5*bonus,0.05*bonus,keptcolor,keptcolor.Color)
  4024. sphere2(4,"Add",xa.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(30*bonus,1,30*bonus),0.05*bonus,1.5*bonus,0.05*bonus,BrickColor.new("Really black"),Color3.new(0,0,0))
  4025. game:GetService("Debris"):AddItem(xa, 5)
  4026. coroutine.resume(coroutine.create(function()
  4027. for i = 0, 19 do
  4028. swait()
  4029. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  4030. end
  4031. hum.CameraOffset = vt(0,0,0)
  4032. end))
  4033. end))
  4034. end
  4035. end))
  4036. for i = 0,2,0.1 do
  4037. swait()
  4038. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-25),math.rad(30)),.8)
  4039. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(20)),.8)
  4040. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  4041. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  4042. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  4043. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  4044. end
  4045. attack = false
  4046. hum.WalkSpeed = storehumanoidWS
  4047. end
  4048.  
  4049. function HeavenlyDisk()
  4050. attack = true
  4051. hum.WalkSpeed = 2
  4052. local keptcolor = MRCL
  4053. local radm = math.random(1,3)
  4054. if radm == 1 then
  4055. bosschatfunc("Dont make this too easy for you.",MRCL.Color,1)
  4056. elseif radm == 2 then
  4057. bosschatfunc("Heavenly Disks!",MRCL.Color,1)
  4058. elseif radm == 3 then
  4059. bosschatfunc("Take it!",MRCL.Color,1)
  4060. end
  4061. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  4062. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  4063. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  4064. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  4065. for i = 0, 14 do
  4066. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Toothpaste"),0)
  4067. end
  4068. for i = 0,2,0.1 do
  4069. swait()
  4070. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4071. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.3)
  4072. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.3)
  4073. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4074. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  4075. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4076. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4077. end
  4078. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  4079. for i = 0,1,0.6 do
  4080. swait()
  4081. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4082. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4083. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  4084. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  4085. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4086. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4087. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4088. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4089. end
  4090. for i = 0,1,0.6 do
  4091. swait()
  4092. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4093. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4094. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  4095. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  4096. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  4097. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4098. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4099. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4100. end
  4101. for i = 0,1,0.6 do
  4102. swait()
  4103. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4104. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4105. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  4106. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  4107. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  4108. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4109. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4110. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4111. end
  4112. for i = 0,1,0.6 do
  4113. swait()
  4114. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(2.25,0.1,2.25),0.01,0.01,0.01,keptcolor,keptcolor.Color)
  4115. slash(math.random(15,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.05,0.01,0.05),math.random(25,75)/250,BrickColor.new("White"))
  4116. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5)),.6)
  4117. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(30),math.rad(0)),.6)
  4118. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  4119. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4120. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4121. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4122. end
  4123. local rot = 15
  4124. for i = 0, 2 do
  4125. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  4126. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  4127. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4128. CreateMesh(dis,"Sphere",10,1,10)
  4129. local at1 = Instance.new("Attachment",dis)
  4130. at1.Position = vt(-5,0,0)
  4131. local at2 = Instance.new("Attachment",dis)
  4132. at2.Position = vt(5,0,0)
  4133. local trl = Instance.new('Trail',dis)
  4134. trl.Attachment0 = at1
  4135. trl.Attachment1 = at2
  4136. trl.Texture = "rbxassetid://1049219073"
  4137. trl.LightEmission = 1
  4138. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4139. trl.Color = ColorSequence.new(dis.Color)
  4140. trl.Lifetime = 0.6
  4141. local a = Instance.new("Part",workspace)
  4142. a.Name = "Direction"
  4143. a.Anchored = true
  4144. a.BrickColor = bc("Bright red")
  4145. a.Material = "Neon"
  4146. a.Transparency = 1
  4147. a.CanCollide = false
  4148. local ray = Ray.new(
  4149. dis.CFrame.p, -- origin
  4150. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4151. )
  4152. local ignore = dis
  4153. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4154. a.BottomSurface = 10
  4155. a.TopSurface = 10
  4156. local distance = (dis.CFrame.p - position).magnitude
  4157. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4158. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4159. dis.CFrame = a.CFrame
  4160. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4161. a:Destroy()
  4162. local bv = Instance.new("BodyVelocity")
  4163. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4164. bv.velocity = dis.CFrame.lookVector*250
  4165. bv.Parent = dis
  4166. game:GetService("Debris"):AddItem(dis, 5)
  4167. local hitted = false
  4168. coroutine.resume(coroutine.create(function()
  4169. dis.Touched:connect(function(hit)
  4170. if hitted == false and hit.Parent ~= char then
  4171. hitted = true
  4172. shakes(0.15,0.25)
  4173. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4174. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  4175. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4176. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4177. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  4178. coroutine.resume(coroutine.create(function()
  4179. local eff = Instance.new("ParticleEmitter",dis)
  4180. eff.Texture = "rbxassetid://2344870656"
  4181. eff.LightEmission = 1
  4182. eff.Color = ColorSequence.new(dis.Color)
  4183. eff.Rate = 10000000
  4184. eff.Enabled = true
  4185. eff.EmissionDirection = "Front"
  4186. eff.Lifetime = NumberRange.new(1)
  4187. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4188. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4189. eff.Speed = NumberRange.new(150)
  4190. eff.Drag = 5
  4191. eff.Rotation = NumberRange.new(-500,500)
  4192. eff.SpreadAngle = Vector2.new(0,900)
  4193. eff.RotSpeed = NumberRange.new(-500,500)
  4194. wait(0.2)
  4195. eff.Enabled = false
  4196. end))
  4197. coroutine.resume(coroutine.create(function()
  4198. for i = 0, 9 do
  4199. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4200. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4201. local at1 = Instance.new("Attachment",disr)
  4202. at1.Position = vt(-2,0,0)
  4203. local at2 = Instance.new("Attachment",disr)
  4204. at2.Position = vt(2,0,0)
  4205. local trl = Instance.new('Trail',disr)
  4206. trl.Attachment0 = at1
  4207. trl.FaceCamera = true
  4208. trl.Attachment1 = at2
  4209. trl.Texture = "rbxassetid://2342682798"
  4210. trl.LightEmission = 1
  4211. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4212. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4213. trl.Lifetime = 0.5
  4214. local bv = Instance.new("BodyVelocity")
  4215. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4216. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4217. bv.Parent = disr
  4218. local val = 0
  4219. coroutine.resume(coroutine.create(function()
  4220. swait(30)
  4221. for i = 0, 9 do
  4222. swait()
  4223. val = val + 0.1
  4224. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4225. end
  4226. game:GetService("Debris"):AddItem(disr, 3)
  4227. end))
  4228. end
  4229. local eff = Instance.new("ParticleEmitter",dis)
  4230. eff.Texture = "rbxassetid://2273224484"
  4231. eff.LightEmission = 1
  4232. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4233. eff.Rate = 500000
  4234. eff.Lifetime = NumberRange.new(0.5,2)
  4235. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4236. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4237. eff.Speed = NumberRange.new(20,250)
  4238. eff.Drag = 5
  4239. eff.Rotation = NumberRange.new(-500,500)
  4240. eff.VelocitySpread = 9000
  4241. eff.RotSpeed = NumberRange.new(-50,50)
  4242. wait(0.25)
  4243. eff.Enabled = false
  4244. end))
  4245. for i = 0, 9 do
  4246. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  4247. end
  4248. for i = 0, 19 do
  4249. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  4250. end
  4251. coroutine.resume(coroutine.create(function()
  4252. for i = 0, 19 do
  4253. swait()
  4254. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4255. end
  4256. hum.CameraOffset = vt(0,0,0)
  4257. end))
  4258. dis.Anchored = true
  4259. dis.Transparency = 1
  4260. wait(8)
  4261. dis:Destroy()
  4262. end
  4263. end)
  4264. end))
  4265. rot = rot - 15
  4266. end
  4267. for i = 0,2,0.1 do
  4268. swait()
  4269. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-30),math.rad(0)),.3)
  4270. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(5)),.3)
  4271. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4272. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  4273. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4274. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  4275. end
  4276. attack = false
  4277. hum.WalkSpeed = storehumanoidWS
  4278. end
  4279.  
  4280. function EternalChaosOrb()
  4281. attack = true
  4282. hum.WalkSpeed = 1
  4283. local keptcolor = MRCL
  4284. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 5, 0.25)
  4285. for i = 0,14,0.1 do
  4286. swait()
  4287. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,6,1)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.2,0.01,0.2),-0.2,BrickColor.random())
  4288. sphere2(3,"Add",root.CFrame*CFrame.new(0,6,0) + root.CFrame.lookVector*1,vt(3,3,3),0.06,0.06,0.06,MRCL)
  4289. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.1)
  4290. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.1)
  4291. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(-20)), 0.1)
  4292. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(20)), 0.1)
  4293. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.1)
  4294. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  4295. end
  4296. local dis = CreateParta(char,0,1,"Neon",BrickColor.new("Black"))
  4297. for i = 0, 4 do
  4298. CFuncs["Sound"].Create("rbxassetid://335657174", dis, 10, 0.5)
  4299. end
  4300. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4301. CreateMesh(dis,"Sphere",10,10,10)
  4302. local at1 = Instance.new("Attachment",dis)
  4303. at1.Position = vt(-5,0,0)
  4304. local at2 = Instance.new("Attachment",dis)
  4305. at2.Position = vt(5,0,0)
  4306. local trl = Instance.new('Trail',dis)
  4307. trl.Attachment0 = at1
  4308. trl.Attachment1 = at2
  4309. trl.Texture = "rbxassetid://1049219073"
  4310. trl.LightEmission = 1
  4311. trl.FaceCamera = true
  4312. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4313. trl.Color = ColorSequence.new(dis.Color)
  4314. trl.Lifetime = 3
  4315. local efec = Instance.new("ParticleEmitter",dis)
  4316. efec.Texture = "rbxassetid://2109052855"
  4317. efec.LightEmission = 1
  4318. efec.Color = ColorSequence.new(Color3.new(0.5,0,1))
  4319. efec.Rate = 5
  4320. efec.Lifetime = NumberRange.new(3)
  4321. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(0.2,50,0),NumberSequenceKeypoint.new(0.6,35,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,75,0)})
  4322. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  4323. efec.Drag = 5
  4324. efec.LockedToPart = true
  4325. efec.Rotation = NumberRange.new(-500,500)
  4326. efec.VelocitySpread = 9000
  4327. efec.RotSpeed = NumberRange.new(-500,500)
  4328. local a = Instance.new("Part",workspace)
  4329. a.Name = "Direction"
  4330. a.Anchored = true
  4331. a.BrickColor = bc("Bright red")
  4332. a.Material = "Neon"
  4333. a.Transparency = 1
  4334. a.CanCollide = false
  4335. local ray = Ray.new(
  4336. dis.CFrame.p, -- origin
  4337. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4338. )
  4339. local ignore = dis
  4340. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4341. a.BottomSurface = 10
  4342. a.TopSurface = 10
  4343. local distance = (dis.CFrame.p - position).magnitude
  4344. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4345. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4346. dis.CFrame = a.CFrame
  4347. a:Destroy()
  4348. local bv = Instance.new("BodyVelocity")
  4349. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4350. bv.velocity = dis.CFrame.lookVector*100
  4351. bv.Parent = dis
  4352. game:GetService("Debris"):AddItem(dis, 15)
  4353. local hitted = false
  4354. coroutine.resume(coroutine.create(function()
  4355. while true do
  4356. swait()
  4357. if hitted == false and dis.Parent ~= nil then
  4358. PixelBlock(3,math.random(0,2),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.05,BrickColor.random(),0)
  4359. trl.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4360. efec.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4361. coroutine.resume(coroutine.create(function()
  4362. for i, v in pairs(FindNearestHead(dis.CFrame.p, 50)) do
  4363. if v:FindFirstChild('Head') then
  4364. dmg(v)
  4365. end
  4366. end
  4367. end))
  4368. elseif hitted == true and dis.Parent == nil then
  4369. break
  4370. end
  4371. end
  4372. end))
  4373. coroutine.resume(coroutine.create(function()
  4374. dis.Touched:connect(function(hit)
  4375. if hitted == false and hit.Parent ~= char then
  4376. hitted = true
  4377. shakes(1,1)
  4378. efec.Enabled = false
  4379. for i = 0, 3 do
  4380. CFuncs["Sound"].Create("rbxassetid://1368637781", dis, 7.5,1)
  4381. CFuncs["Sound"].Create("rbxassetid://763718160", dis, 10, 1.1)
  4382. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 10, 1)
  4383. CFuncs["Sound"].Create("rbxassetid://335657174", dis, 10, 1)
  4384. end
  4385. MagniDamage(dis, 125, 82000,345700005, 0, "Normal")
  4386. coroutine.resume(coroutine.create(function()
  4387. for i, v in pairs(FindNearestHead(dis.CFrame.p, 100)) do
  4388. if v:FindFirstChild('Head') then
  4389. dmg(v)
  4390. end
  4391. end
  4392. end))
  4393. sphere2(2,"Add",dis.CFrame,vt(1,1,1),3,3,3,keptcolor,keptcolor.Color)
  4394. sphere2(3,"Add",dis.CFrame,vt(1,1,1),3,3,3,BrickColor.random(),keptcolor.Color)
  4395. sphere2(4,"Add",dis.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),keptcolor.Color)
  4396. sphere2(5,"Add",dis.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),keptcolor.Color)
  4397. coroutine.resume(coroutine.create(function()
  4398. local eff = Instance.new("ParticleEmitter",dis)
  4399. eff.Texture = "rbxassetid://2344870656"
  4400. eff.LightEmission = 1
  4401. eff.Color = ColorSequence.new(dis.Color)
  4402. eff.Rate = 10000000
  4403. eff.Enabled = true
  4404. eff.EmissionDirection = "Front"
  4405. eff.Lifetime = NumberRange.new(3)
  4406. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4407. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4408. eff.Speed = NumberRange.new(350)
  4409. eff.Drag = 5
  4410. eff.Rotation = NumberRange.new(-500,500)
  4411. eff.SpreadAngle = Vector2.new(0,900)
  4412. eff.RotSpeed = NumberRange.new(-500,500)
  4413. wait(0.2)
  4414. eff.Enabled = false
  4415. end))
  4416. coroutine.resume(coroutine.create(function()
  4417. for i = 0, 9 do
  4418. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4419. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4420. local at1 = Instance.new("Attachment",disr)
  4421. at1.Position = vt(-30,0,0)
  4422. local at2 = Instance.new("Attachment",disr)
  4423. at2.Position = vt(30,0,0)
  4424. local trl = Instance.new('Trail',disr)
  4425. trl.Attachment0 = at1
  4426. trl.FaceCamera = true
  4427. trl.Attachment1 = at2
  4428. trl.Texture = "rbxassetid://2342682798"
  4429. trl.LightEmission = 1
  4430. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4431. trl.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4432. trl.Lifetime = 0.5
  4433. local bv = Instance.new("BodyVelocity")
  4434. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4435. bv.velocity = disr.CFrame.lookVector*math.random(150,350)
  4436. bv.Parent = disr
  4437. local val = 0
  4438. coroutine.resume(coroutine.create(function()
  4439. swait(30)
  4440. for i = 0, 9 do
  4441. swait()
  4442. val = val + 0.1
  4443. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4444. end
  4445. game:GetService("Debris"):AddItem(disr, 3)
  4446. end))
  4447. end
  4448. local eff = Instance.new("ParticleEmitter",dis)
  4449. eff.Texture = "rbxassetid://2273224484"
  4450. eff.LightEmission = 1
  4451. eff.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4452. eff.Rate = 500000
  4453. eff.Lifetime = NumberRange.new(0.5,2)
  4454. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,4,0),NumberSequenceKeypoint.new(1,0,0)})
  4455. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4456. eff.Speed = NumberRange.new(100,400)
  4457. eff.Drag = 5
  4458. eff.Rotation = NumberRange.new(-500,500)
  4459. eff.VelocitySpread = 9000
  4460. eff.RotSpeed = NumberRange.new(-50,50)
  4461. wait(0.25)
  4462. eff.Enabled = false
  4463. end))
  4464. for i = 0, 19 do
  4465. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,800)/250,BrickColor.new("White"))
  4466. end
  4467. for i = 0, 49 do
  4468. PixelBlock(1,math.random(5,40),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,BrickColor.random(),0)
  4469. end
  4470. coroutine.resume(coroutine.create(function()
  4471. for i = 0, 19 do
  4472. swait()
  4473. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4474. end
  4475. hum.CameraOffset = vt(0,0,0)
  4476. end))
  4477. dis.Anchored = true
  4478. dis.Transparency = 1
  4479. wait(8)
  4480. dis:Destroy()
  4481. end
  4482. end)
  4483. end))
  4484. for i = 0,2,0.1 do
  4485. swait()
  4486. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.5)* angles(math.rad(30),math.rad(0),math.rad(0)),0.3)
  4487. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4488. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-10)), 0.3)
  4489. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(10)), 0.3)
  4490. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.05 * math.cos(sine / 25),-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(30)),.3)
  4491. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  4492. end
  4493. attack = false
  4494. hum.WalkSpeed = storehumanoidWS
  4495. end
  4496.  
  4497. function RapidBurst()
  4498. attack = true
  4499. hum.WalkSpeed = 0
  4500. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  4501. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  4502. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  4503. bosschatfunc("SHATTER!",MRCL.Color,2)
  4504. local keptcolor = MRCL
  4505. for i = 0,8,0.1 do
  4506. swait()
  4507. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4508. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,25,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,0.01,2),-2,BrickColor.random())
  4509. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4510. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
  4511. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
  4512. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.15 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(-15 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4513. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  4514. RW.C0=clerp(RW.C0,cf(1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-10 + 3 * math.cos(sine / 45))),.1)
  4515. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(13 - 3 * math.cos(sine / 45))),.1)
  4516. end
  4517. shakes(1,3)
  4518. for i = 0, 99 do
  4519. local dis = CreateParta(char,1,1,"Neon",MRCL)
  4520. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4521. local at1 = Instance.new("Attachment",dis)
  4522. at1.Position = vt(-25000,0,0)
  4523. local at2 = Instance.new("Attachment",dis)
  4524. at2.Position = vt(25000,0,0)
  4525. local trl = Instance.new('Trail',dis)
  4526. trl.Attachment0 = at1
  4527. trl.FaceCamera = true
  4528. trl.Attachment1 = at2
  4529. trl.Texture = "rbxassetid://1049219073"
  4530. trl.LightEmission = 1
  4531. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4532. trl.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4533. trl.Lifetime = 5
  4534. local bv = Instance.new("BodyVelocity")
  4535. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4536. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4537. bv.Parent = dis
  4538. game:GetService("Debris"):AddItem(dis, 5)
  4539. end
  4540. symbolizeBlink(root,0,2109052855,MRCL.Color,125,0,0,0,root,false,0,1)
  4541. symbolizeBlink(root,0,2109052855,MRCL.Color,125,0,0,0,root,false,0,1.5)
  4542. symbolizeBlink(root,0,2109052855,MRCL.Color,125,0,0,0,root,false,0,3)
  4543. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4544. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4545. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4546. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4547. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  4548. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  4549. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  4550. hum.CameraOffset = vt(0,0,0)
  4551. for i = 0, 24 do
  4552. slash(math.random(10,30)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1500)/250,BrickColor.random())
  4553. end
  4554. local distam = 0
  4555. coroutine.resume(coroutine.create(function()
  4556. for i = 0, 99 do
  4557. wait()
  4558. distam = distam + 1
  4559. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4560. xa.Anchored = true
  4561. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4562. game:GetService("Debris"):AddItem(xa, 5)
  4563. for i = 0, 4 do
  4564. slash(math.random(25,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,500)/250,BrickColor.random())
  4565. end
  4566. coroutine.resume(coroutine.create(function()
  4567. local eff = Instance.new("ParticleEmitter",xa)
  4568. eff.Texture = "rbxassetid://2344870656"
  4569. eff.LightEmission = 1
  4570. eff.Color = ColorSequence.new(xa.Color)
  4571. eff.Rate = 10000000
  4572. eff.Enabled = true
  4573. eff.Lifetime = NumberRange.new(2.5)
  4574. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  4575. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4576. eff.Speed = NumberRange.new(200)
  4577. eff.Drag = 5
  4578. eff.Rotation = NumberRange.new(-500,500)
  4579. eff.SpreadAngle = Vector2.new(0,900)
  4580. eff.RotSpeed = NumberRange.new(-500,500)
  4581. wait(0.2)
  4582. eff.Enabled = false
  4583. end))
  4584. coroutine.resume(coroutine.create(function()
  4585. local eff = Instance.new("ParticleEmitter",xa)
  4586. eff.Texture = "rbxassetid://2273224484"
  4587. eff.LightEmission = 1
  4588. eff.Color = ColorSequence.new(Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4589. eff.Rate = 500000
  4590. eff.Lifetime = NumberRange.new(1,3)
  4591. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,30,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  4592. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4593. eff.Speed = NumberRange.new(50,500)
  4594. eff.Drag = 5
  4595. eff.Rotation = NumberRange.new(-500,500)
  4596. eff.VelocitySpread = 9000
  4597. eff.RotSpeed = NumberRange.new(-50,50)
  4598. wait(0.25)
  4599. eff.Enabled = false
  4600. end))
  4601. coroutine.resume(coroutine.create(function()
  4602. for i = 0, 19 do
  4603. swait()
  4604. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  4605. end
  4606. hum.CameraOffset = vt(0,0,0)
  4607. end))
  4608. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  4609. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4610. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)))
  4611. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  4612. end
  4613. end))
  4614. attack = false
  4615. hum.WalkSpeed = storehumanoidWS
  4616. end
  4617.  
  4618.  
  4619. function EquinoxOrbs()
  4620. hum.WalkSpeed = 0
  4621. attack = true
  4622. for i = 0,1,0.1 do
  4623. swait()
  4624. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  4625. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  4626. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  4627. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  4628. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  4629. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  4630. end
  4631. shakes(0.4,0.5)
  4632. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MRCL)
  4633. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MRCL)
  4634. for i = 0, 24 do
  4635. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(100,400)/250,BrickColor.new("White"))
  4636. end
  4637. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  4638. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  4639. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  4640. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  4641. for i = 0,4,0.1 do
  4642. swait()
  4643. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  4644. local dis = CreateParta(char,0.25,1,"Neon",MRCL)
  4645. CreateMesh(dis,"Sphere",1,1,1)
  4646. dis.Anchored = true
  4647. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  4648. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  4649. CreateMesh(dis2,"Sphere",1,1,1)
  4650. dis2.Anchored = true
  4651. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  4652. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4653. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  4654. coroutine.resume(coroutine.create(function()
  4655. swait(60)
  4656. dis.Transparency = 1
  4657. dis2.Transparency = 1
  4658. coroutine.resume(coroutine.create(function()
  4659. for i = 0, 19 do
  4660. swait()
  4661. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  4662. end
  4663. hum.CameraOffset = vt(0,0,0)
  4664. end))
  4665. coroutine.resume(coroutine.create(function()
  4666. local eff = Instance.new("ParticleEmitter",dis)
  4667. eff.Texture = "rbxassetid://2273224484"
  4668. eff.LightEmission = 1
  4669. eff.Color = ColorSequence.new(dis.Color)
  4670. eff.Rate = 500000
  4671. eff.Lifetime = NumberRange.new(0.5,2)
  4672. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4673. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4674. eff.Speed = NumberRange.new(50,450)
  4675. eff.Drag = 5
  4676. eff.Rotation = NumberRange.new(-500,500)
  4677. eff.VelocitySpread = 9000
  4678. eff.RotSpeed = NumberRange.new(-50,50)
  4679. local eff2 = eff:Clone()
  4680. eff2.Parent = dis2
  4681. eff2.LightEmission = 0
  4682. eff2.Color = ColorSequence.new(dis2.Color)
  4683. wait(0.25)
  4684. eff.Enabled = false
  4685. eff2.Enabled = false
  4686. end))
  4687. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  4688. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  4689. for i = 0, 2 do
  4690. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
  4691. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
  4692. end
  4693. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  4694. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  4695. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  4696. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  4697. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  4698. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  4699. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  4700. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  4701. end))
  4702. game:GetService("Debris"):AddItem(dis, 5)
  4703. game:GetService("Debris"):AddItem(dis2, 5)
  4704. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20)),.2)
  4705. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20)),.2)
  4706. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  4707. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  4708. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  4709. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  4710. end
  4711. attack = false
  4712. hum.WalkSpeed = storehumanoidWS
  4713. end
  4714.  
  4715. function roldbeam()
  4716. attack = true
  4717. hum.WalkSpeed = 0
  4718. local rngb = Instance.new("Part", char)
  4719. rngb.Anchored = true
  4720. rngb.BrickColor = origcolor
  4721. rngb.CanCollide = false
  4722. rngb.FormFactor = 3
  4723. rngb.Name = "Ring"
  4724. rngb.Material = "Neon"
  4725. rngb.Size = Vector3.new(1, 0.05, 1)
  4726. rngb.Transparency = 1
  4727. rngb.TopSurface = 0
  4728. rngb.BottomSurface = 0
  4729. local rngmb = Instance.new("SpecialMesh", rngb)
  4730. rngmb.MeshType = "Brick"
  4731. rngmb.Name = "SizeMesh"
  4732. rngmb.Scale = vt(0,1,0)
  4733.  
  4734. local orb = rngb:Clone()
  4735. orb.Parent = char
  4736. orb.Transparency = 0
  4737. orb.BrickColor = BrickColor.new("White")
  4738. orb.Size = vt(1,1,1)
  4739. local orbmish = orb.SizeMesh
  4740. orbmish.Scale = vt(0,0,0)
  4741. orbmish.MeshType = "Sphere"
  4742.  
  4743. local orbe = rngb:Clone()
  4744. orbe.Parent = char
  4745. orbe.Transparency = 0.5
  4746. orbe.BrickColor = BrickColor.new("New Yeller")
  4747. orbe.Size = vt(1,1,1)
  4748. local orbmish2 = orbe.SizeMesh
  4749. orbmish2.Scale = vt(0,0,0)
  4750. orbmish2.MeshType = "Sphere"
  4751. orbe.Color = Color3.new(r/255,g/255,b/255)
  4752.  
  4753. local obj1 = script.chring2:Clone()
  4754. obj1.Parent = char
  4755. obj1.Transparency = 1
  4756. obj1.Size = vt(1,1,1)
  4757. obj1.Color = BrickColor.new("White").Color
  4758.  
  4759. rngb:Destroy()
  4760. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4761. local scaled = 1
  4762. for i = 0,5,0.1 do
  4763. swait()
  4764. scaled = scaled - 0.02
  4765. if rainbowmode == true then
  4766. orbe.Color = Color3.new(r/255,g/255,b/255)
  4767. end
  4768. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4769. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4770. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4771. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4772. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MRCL,25)
  4773. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4774. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4775. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4776. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4777. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4778. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4779. RootPart.CFrame = FaceMouse()[1]
  4780. end]]--
  4781. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 2)
  4782. local rval = 0
  4783. local effx = Instance.new("ParticleEmitter",obj1)
  4784. effx.Texture = "rbxassetid://2344870656"
  4785. effx.LightEmission = 1
  4786. effx.Color = ColorSequence.new(Color3.new(1,1,1))
  4787. effx.Rate = 10000000
  4788. effx.Enabled = true
  4789. effx.EmissionDirection = "Front"
  4790. effx.Lifetime = NumberRange.new(0.5)
  4791. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  4792. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4793. effx.Speed = NumberRange.new(50)
  4794. effx.Drag = 5
  4795. effx.Rotation = NumberRange.new(-500,500)
  4796. effx.SpreadAngle = Vector2.new(900,900)
  4797. effx.RotSpeed = NumberRange.new(-500,500)
  4798. for i = 0,2,0.1 do
  4799. swait()
  4800. if rainbowmode == true then
  4801. obj1.Color = Color3.new(r/255,g/255,b/255)
  4802. orbe.Color = Color3.new(r/255,g/255,b/255)
  4803. effx.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4804. end
  4805. rval = rval + math.random(30,40)
  4806. obj1.Transparency = obj1.Transparency - 0.05
  4807. obj1.Size = obj1.Size + vt(1.5,1.5,0.3)
  4808. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  4809. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4810. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4811. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4812. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4813. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4814. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4815. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-0.5),math.rad(0),math.rad(0)),.3)
  4816. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.3)
  4817. end
  4818. orbe.Transparency = 1
  4819. orb.Transparency = 1
  4820. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4821. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1.5)
  4822. local a = Instance.new("Part",Character)
  4823. a.Name = "Direction"
  4824. a.Anchored = true
  4825. a.BrickColor = bc("White")
  4826. a.Material = "Neon"
  4827. a.Transparency = 0
  4828. a.Shape = "Cylinder"
  4829. a.CanCollide = false
  4830. local a2 = Instance.new("Part",Character)
  4831. a2.Name = "Direction"
  4832. a2.Anchored = true
  4833. a2.BrickColor = bc("New Yeller")
  4834. a2.Color = Color3.new(r/255,g/255,b/255)
  4835. a2.Material = "Neon"
  4836. a2.Transparency = 0.5
  4837. a2.Shape = "Cylinder"
  4838. a2.CanCollide = false
  4839. local ba = Instance.new("Part",Character)
  4840. ba.Name = "HitDirect"
  4841. ba.Anchored = true
  4842. ba.BrickColor = bc("Cool yellow")
  4843. ba.Material = "Neon"
  4844. ba.Transparency = 1
  4845. ba.CanCollide = false
  4846. local ray = Ray.new(
  4847. orb.CFrame.p, -- origin
  4848. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4849. )
  4850. local ignore = Character
  4851. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4852. a.BottomSurface = 10
  4853. a.TopSurface = 10
  4854. a2.BottomSurface = 10
  4855. a2.TopSurface = 10
  4856. local distance = (orb.CFrame.p - position).magnitude
  4857. a.Size = Vector3.new(distance, 1, 1)
  4858. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4859. a2.Size = Vector3.new(distance, 1, 1)
  4860. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4861. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4862. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4863. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4864. game:GetService("Debris"):AddItem(a, 20)
  4865. game:GetService("Debris"):AddItem(a2, 20)
  4866. game:GetService("Debris"):AddItem(ba, 20)
  4867. local msh = Instance.new("SpecialMesh",a)
  4868. msh.MeshType = "Cylinder"
  4869. msh.Scale = vt(1,5*5,5*5)
  4870. local msh2 = Instance.new("SpecialMesh",a2)
  4871. msh2.MeshType = "Cylinder"
  4872. msh2.Scale = vt(1,6*5,6*5)
  4873. local eff = Instance.new("ParticleEmitter",ba)
  4874. eff.Texture = "rbxassetid://2344870656"
  4875. eff.LightEmission = 1
  4876. eff.Color = ColorSequence.new(Color3.new(1,1,1))
  4877. eff.Rate = 10000000
  4878. eff.Enabled = true
  4879. eff.EmissionDirection = "Front"
  4880. eff.Lifetime = NumberRange.new(1)
  4881. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,120,0)})
  4882. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4883. eff.Speed = NumberRange.new(50)
  4884. eff.Drag = 5
  4885. eff.Rotation = NumberRange.new(-500,500)
  4886. eff.SpreadAngle = Vector2.new(900,900)
  4887. eff.RotSpeed = NumberRange.new(-500,500)
  4888. local eff2 = eff:Clone()
  4889. eff2.Parent = ba
  4890. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.1,3,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  4891. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4892. eff2.Speed = NumberRange.new(350)
  4893. shakes(0.6,1.25)
  4894. for i = 0,10,0.1 do
  4895. swait()
  4896. rval = rval + math.random(30,40)
  4897. obj1.Color = Color3.new(r/255,g/255,b/255)
  4898. effx.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4899. eff.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4900. eff2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  4901. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  4902. a2.Color = Color3.new(r/255,g/255,b/255)
  4903. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4904. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4905. ray = Ray.new(
  4906. orb.CFrame.p, -- origin
  4907. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4908. )
  4909. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4910. distance = (orb.CFrame.p - position).magnitude
  4911. a.Size = Vector3.new(distance, 1, 1)
  4912. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4913. a2.Size = Vector3.new(distance, 1, 1)
  4914. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4915. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4916. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4917. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4918. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4919. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4920. slash(math.random(50,80)/10,5,true,"Round","Add","Out",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,250)/250,ba.BrickColor)
  4921. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MRCL,0)
  4922. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MRCL,0)
  4923. sphereMK(5,2.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,100,-0.03,MRCL,0)
  4924. MagniDamage(ba, 30, 500,60000, 0, "Normal")
  4925. end
  4926. a:Destroy()
  4927. a2:Destroy()
  4928. orb:Destroy()
  4929. orbe:Destroy()
  4930. eff.Enabled = false
  4931. eff2.Enabled = false
  4932. effx.Enabled = false
  4933. coroutine.resume(coroutine.create(function()
  4934. for i = 0,24 do
  4935. swait()
  4936. obj1.Transparency = obj1.Transparency + 0.04
  4937. obj1.Size = obj1.Size + vt(-1,-1,0)
  4938. end
  4939. wait(1)
  4940. obj1:Destroy()
  4941. end))
  4942. coroutine.resume(coroutine.create(function()
  4943. wait(5)
  4944. ba:Destroy()
  4945. end))
  4946. attack = false
  4947. hum.WalkSpeed = storehumanoidWS
  4948. end
  4949.  
  4950. function CalMets()
  4951. attack = true
  4952. hum.WalkSpeed = 0
  4953. local lookavec = 0
  4954. local mult = 1
  4955. local keptcolor = MRCL
  4956. CFuncs["Sound"].Create("rbxassetid://136007472", root, 7, 1.25)
  4957. for i = 0,4,0.1 do
  4958. swait()
  4959. slash(math.random(25,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,10,1)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.2,0.01,0.2),-0.2,keptcolor)
  4960. sphere2(3,"Add",root.CFrame*CFrame.new(0,10,0) + root.CFrame.lookVector*1,vt(3,3,3),0.06,0.06,0.06,MRCL)
  4961. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
  4962. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
  4963. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  4964. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-35),math.rad(0),math.rad(0)),.1)
  4965. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(-20)), 0.1)
  4966. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 1, -0.5) * angles(math.rad(170), math.rad(0), math.rad(20)), 0.1)
  4967. end
  4968. sphere2(2,"Add",root.CFrame*CFrame.new(0,10,0) + root.CFrame.lookVector*1,vt(3,3,3),0.6,0.6,0.6,keptcolor)
  4969. sphere2(4,"Add",root.CFrame*CFrame.new(0,10,0) + root.CFrame.lookVector*1,vt(3,3,3),0.6,0.6,0.6,keptcolor)
  4970. sphere2(3,"Add",root.CFrame*CFrame.new(0,10,0) + root.CFrame.lookVector*1,vt(1,10000,1),0.06,0.06,0.06,keptcolor)
  4971. local elocacenter = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4972. elocacenter.Anchored = true
  4973. elocacenter.CFrame = root.CFrame*CFrame.new(0,150,0)
  4974. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4975. eloca1.Anchored = true
  4976. eloca1.CFrame = elocacenter.CFrame
  4977. local at1 = Instance.new("Attachment",eloca1)
  4978. at1.Position = vt(0,30,0)
  4979. local at2 = Instance.new("Attachment",eloca1)
  4980. at2.Position = vt(0,-30,0)
  4981. local at1b = Instance.new("Attachment",eloca1)
  4982. at1b.Position = vt(0,0,180)
  4983. local at2b = Instance.new("Attachment",eloca1)
  4984. at2b.Position = vt(0,0,-180)
  4985. local trl = Instance.new('Trail',eloca1)
  4986. trl.Attachment0 = at1
  4987. trl.Attachment1 = at2
  4988. trl.Texture = "rbxassetid://1049219073"
  4989. trl.LightEmission = 1
  4990. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4991. trl.Color = ColorSequence.new(keptcolor.Color)
  4992. trl.Lifetime = 4
  4993. local trl2 = trl:Clone()
  4994. trl2.Parent = eloca1
  4995. trl2.Attachment0 = at1b
  4996. trl2.Attachment1 = at2b
  4997. trl2.Texture = "rbxassetid://2108945559"
  4998. trl2.Lifetime = 2
  4999. local eff = Instance.new("ParticleEmitter",eloca1)
  5000. eff.Texture = "rbxassetid://2273224484"
  5001. eff.LightEmission = 1
  5002. eff.Color = ColorSequence.new(keptcolor.Color)
  5003. eff.Rate = 500000
  5004. eff.Lifetime = NumberRange.new(0.5,3)
  5005. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  5006. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5007. eff.Speed = NumberRange.new(20,250)
  5008. eff.Drag = 5
  5009. eff.Rotation = NumberRange.new(-500,500)
  5010. eff.VelocitySpread = 9000
  5011. eff.RotSpeed = NumberRange.new(-50,50)
  5012. local eloca2 = eloca1:Clone()
  5013. eloca2.Parent = elocacenter
  5014. local eloca3 = eloca1:Clone()
  5015. eloca3.Parent = elocacenter
  5016. local eloca4 = eloca1:Clone()
  5017. eloca4.Parent = elocacenter
  5018. shakes(0.5,0.5)
  5019. sphere2(2,"Add",elocacenter.CFrame,vt(1,1,1),2,2,2,keptcolor)
  5020. sphere2(3,"Add",elocacenter.CFrame,vt(1,1,1),4,4,4,keptcolor)
  5021. sphere2(4,"Add",elocacenter.CFrame,vt(1,1,1),5,5,5,keptcolor)
  5022. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),6,6,6,keptcolor)
  5023. sphere2(3,"Add",elocacenter.CFrame,vt(1,1,1),25,0.1,25,keptcolor)
  5024. sphere2(4,"Add",elocacenter.CFrame,vt(1,1,1),25,0.1,25,keptcolor)
  5025. CFuncs["Sound"].Create("rbxassetid://419447292", char, 4, 1)
  5026. local effx = Instance.new("ParticleEmitter",elocacenter)
  5027. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  5028. effx.LightEmission = 1
  5029. effx.Color = ColorSequence.new(keptcolor.Color)
  5030. effx.Rate = 500000
  5031. effx.Lifetime = NumberRange.new(0.25,0.75)
  5032. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  5033. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5034. effx.Speed = NumberRange.new(0,10)
  5035. effx.Drag = 5
  5036. effx.Rotation = NumberRange.new(-500,500)
  5037. effx.VelocitySpread = 9000
  5038. effx.RotSpeed = NumberRange.new(-50,50)
  5039. coroutine.resume(coroutine.create(function()
  5040. wait(0.05)
  5041. effx.Enabled = false
  5042. end))
  5043. coroutine.resume(coroutine.create(function()
  5044. for i = 0, 9, 0.1 do
  5045. swait()
  5046. mult = mult + 0.5
  5047. lookavec = lookavec + 0.1*mult
  5048. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5049. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5050. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5051. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5052. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5053. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5054. end
  5055. for i = 0, 19 do
  5056. for i = 0, 1, 0.1 do
  5057. swait()
  5058. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5059. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5060. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5061. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5062. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5063. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5064. end
  5065. local lb = Instance.new("Part")
  5066. lb.Color = keptcolor.Color
  5067. lb.CanCollide = false
  5068. lb.Material = "Neon"
  5069. lb.Anchored = true
  5070. lb.TopSurface = 0
  5071. lb.BottomSurface = 0
  5072. lb.Transparency = 0
  5073. lb.Size = vt(1,1,1)
  5074. lb.CFrame = elocacenter.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  5075. lb.Anchored = false
  5076. lb.Parent = char
  5077. local thingery = Instance.new("SpecialMesh",lb)
  5078. thingery.MeshType = "Sphere"
  5079. thingery.Scale = vt(20,20,20)
  5080. game:GetService("Debris"):AddItem(lb, 10)
  5081. local bv = Instance.new("BodyVelocity")
  5082. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5083. bv.velocity = lb.CFrame.lookVector*math.random(125,350)
  5084. bv.Parent = lb
  5085. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,keptcolor)
  5086. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,keptcolor)
  5087. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 10, 1)
  5088. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 10, 1)
  5089. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 10, 1)
  5090. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 10, 1)
  5091. local hitted = false
  5092. local tril = Instance.new("ParticleEmitter",lb)
  5093. tril.Texture = "rbxassetid://144580273" -- 144580273 74564879
  5094. tril.LightEmission = 1
  5095. tril.Color = ColorSequence.new(keptcolor.Color)
  5096. tril.Rate = 500000
  5097. tril.Lifetime = NumberRange.new(0.5,1)
  5098. tril.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(1,0,0)})
  5099. tril.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5100. tril.Speed = NumberRange.new(0,10)
  5101. tril.Drag = 5
  5102. tril.Rotation = NumberRange.new(-500,500)
  5103. tril.VelocitySpread = 9000
  5104. tril.RotSpeed = NumberRange.new(-50,50)
  5105. game:GetService("Debris"):AddItem(a, 0.1)
  5106.  
  5107. coroutine.resume(coroutine.create(function()
  5108. lb.Touched:connect(function(hit)
  5109. if hitted == false and hit.Parent ~= char then
  5110. hitted = true
  5111. lb.Transparency = 1
  5112. lb.Anchored = true
  5113. tril.Enabled = false
  5114. CFuncs["EchoSound"].Create("rbxassetid://675172759", lb, 8, 0.8,0,10,0.15,0.5,1)
  5115. CFuncs["EchoSound"].Create("rbxassetid://782200047", lb, 10, 1.1,0,10,0.15,0.5,1)
  5116. MagniDamage(lb, 60, 4500,85000, 0, "Normal")
  5117. coroutine.resume(coroutine.create(function()
  5118. for i, v in pairs(FindNearestHead(lb.CFrame.p, 50)) do
  5119. if v:FindFirstChild('Head') then
  5120. dmg(v)
  5121. end
  5122. end
  5123. end))
  5124. local effx = Instance.new("ParticleEmitter",lb)
  5125. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  5126. effx.LightEmission = 1
  5127. effx.Color = ColorSequence.new(keptcolor.Color)
  5128. effx.Rate = 500000
  5129. effx.Lifetime = NumberRange.new(0.25,0.75)
  5130. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  5131. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5132. effx.Speed = NumberRange.new(0,10)
  5133. effx.Drag = 5
  5134. effx.Rotation = NumberRange.new(-500,500)
  5135. effx.VelocitySpread = 9000
  5136. effx.RotSpeed = NumberRange.new(-50,50)
  5137. sphere(5,"Add",lb.CFrame,vt(20,20,20),1,keptcolor)
  5138. sphere(6,"Add",lb.CFrame,vt(20,20,20),2,keptcolor)
  5139. wait(0.05)
  5140. effx.Enabled = false
  5141. end
  5142. end)
  5143. end))
  5144. end
  5145. for i = 0, 9, 0.1 do
  5146. swait()
  5147. mult = mult - 0.5
  5148. lookavec = lookavec - 0.1*mult
  5149. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5150. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5151. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5152. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5153. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5154. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5155. end
  5156. for i,v in pairs(elocacenter:GetDescendants()) do
  5157. if v:IsA("ParticleEmitter") then
  5158. v.Enabled = false
  5159. end
  5160. end
  5161. wait(6)
  5162. elocacenter:Destroy()
  5163. end))
  5164. attack = false
  5165. hum.WalkSpeed = storehumanoidWS
  5166. end
  5167.  
  5168. function ExtCalbeam()
  5169. local lookavec = 0
  5170. local mult = 1
  5171. local keptcolor = MRCL
  5172. local dis = CreateParta(char,0,1,"Neon",keptcolor)
  5173. for i = 0, 2 do
  5174. CFuncs["Sound"].Create("rbxassetid://335657174", dis, 10, 0.5)
  5175. end
  5176. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5177. CreateMesh(dis,"Sphere",4,4,4)
  5178. local at1 = Instance.new("Attachment",dis)
  5179. at1.Position = vt(-2,0,0)
  5180. local at2 = Instance.new("Attachment",dis)
  5181. at2.Position = vt(2,0,0)
  5182. local trl = Instance.new('Trail',dis)
  5183. trl.Attachment0 = at1
  5184. trl.Attachment1 = at2
  5185. trl.Texture = "rbxassetid://1049219073"
  5186. trl.LightEmission = 1
  5187. trl.FaceCamera = true
  5188. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5189. trl.Color = ColorSequence.new(dis.Color)
  5190. trl.Lifetime = 3
  5191. local efec = Instance.new("ParticleEmitter",dis)
  5192. efec.Texture = "rbxassetid://144580273"
  5193. efec.LightEmission = 1
  5194. efec.Color = ColorSequence.new(keptcolor.Color)
  5195. efec.Rate = 500000
  5196. efec.Lifetime = NumberRange.new(1)
  5197. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5198. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5199. efec.Drag = 5
  5200. efec.Rotation = NumberRange.new(-500,500)
  5201. efec.VelocitySpread = 9000
  5202. efec.RotSpeed = NumberRange.new(-500,500)
  5203. local a = Instance.new("Part",workspace)
  5204. a.Name = "Direction"
  5205. a.Anchored = true
  5206. a.BrickColor = bc("Bright red")
  5207. a.Material = "Neon"
  5208. a.Transparency = 1
  5209. a.CanCollide = false
  5210. local ray = Ray.new(
  5211. dis.CFrame.p, -- origin
  5212. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5213. )
  5214. local ignore = dis
  5215. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5216. a.BottomSurface = 10
  5217. a.TopSurface = 10
  5218. local distance = (dis.CFrame.p - position).magnitude
  5219. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5220. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5221. dis.CFrame = a.CFrame
  5222. a:Destroy()
  5223. local bv = Instance.new("BodyVelocity")
  5224. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5225. bv.velocity = dis.CFrame.lookVector*250
  5226. bv.Parent = dis
  5227. game:GetService("Debris"):AddItem(dis, 15)
  5228. local hitted = false
  5229. coroutine.resume(coroutine.create(function()
  5230. dis.Touched:connect(function(hit)
  5231. if hitted == false and hit.Parent ~= char then
  5232. hitted = true
  5233. shakes(1,1)
  5234. efec.Enabled = false
  5235. dis.Anchored = true
  5236. dis.Transparency = 1
  5237. local elocacenter = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5238. elocacenter.Anchored = true
  5239. elocacenter.CFrame = dis.CFrame*CFrame.new(0,1,0)
  5240. elocacenter.Orientation = Vector3.new(0,0,0)
  5241. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5242. eloca1.Anchored = true
  5243. eloca1.CFrame = elocacenter.CFrame
  5244. local at1 = Instance.new("Attachment",eloca1)
  5245. at1.Position = vt(0,20,0)
  5246. local at2 = Instance.new("Attachment",eloca1)
  5247. at2.Position = vt(0,-20,0)
  5248. local at1b = Instance.new("Attachment",eloca1)
  5249. at1b.Position = vt(0,0,100)
  5250. local at2b = Instance.new("Attachment",eloca1)
  5251. at2b.Position = vt(0,0,-100)
  5252. local trl = Instance.new('Trail',eloca1)
  5253. trl.Attachment0 = at1
  5254. trl.Attachment1 = at2
  5255. trl.Texture = "rbxassetid://1049219073"
  5256. trl.LightEmission = 1
  5257. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5258. trl.Color = ColorSequence.new(keptcolor.Color)
  5259. trl.Lifetime = 4
  5260. local trl2 = trl:Clone()
  5261. trl2.Parent = eloca1
  5262. trl2.Attachment0 = at1b
  5263. trl2.Attachment1 = at2b
  5264. trl2.Texture = "rbxassetid://2108945559"
  5265. trl2.Lifetime = 2
  5266. local eff = Instance.new("ParticleEmitter",eloca1)
  5267. eff.Texture = "rbxassetid://2273224484"
  5268. eff.LightEmission = 1
  5269. eff.Color = ColorSequence.new(keptcolor.Color)
  5270. eff.Rate = 500000
  5271. eff.Lifetime = NumberRange.new(0.5,3)
  5272. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.2,5,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  5273. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5274. eff.Speed = NumberRange.new(20,250)
  5275. eff.Drag = 5
  5276. eff.Rotation = NumberRange.new(-500,500)
  5277. eff.VelocitySpread = 9000
  5278. eff.RotSpeed = NumberRange.new(-50,50)
  5279. local eloca2 = eloca1:Clone()
  5280. eloca2.Parent = elocacenter
  5281. local eloca3 = eloca1:Clone()
  5282. eloca3.Parent = elocacenter
  5283. local eloca4 = eloca1:Clone()
  5284. eloca4.Parent = elocacenter
  5285. sphere2(2,"Add",elocacenter.CFrame,vt(1,1,1),2,2,2,keptcolor)
  5286. sphere2(3,"Add",elocacenter.CFrame,vt(1,1,1),4,4,4,keptcolor)
  5287. sphere2(4,"Add",elocacenter.CFrame,vt(1,1,1),5,5,5,keptcolor)
  5288. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),6,6,6,keptcolor)
  5289. for i = 0, 2 do
  5290. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 8, 1)
  5291. CFuncs["Sound"].Create("rbxassetid://1192402877", elocacenter, 10, 0.5)
  5292. end
  5293. local effx = Instance.new("ParticleEmitter",elocacenter)
  5294. effx.Texture = "rbxassetid://144580273" -- 144580273 74564879
  5295. effx.LightEmission = 1
  5296. effx.Color = ColorSequence.new(keptcolor.Color)
  5297. effx.Rate = 500000
  5298. effx.Lifetime = NumberRange.new(0.25,0.75)
  5299. effx.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,200,0)})
  5300. effx.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.5,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5301. effx.Speed = NumberRange.new(0,10)
  5302. effx.Drag = 5
  5303. effx.Rotation = NumberRange.new(-500,500)
  5304. effx.VelocitySpread = 9000
  5305. effx.RotSpeed = NumberRange.new(-50,50)
  5306. coroutine.resume(coroutine.create(function()
  5307. wait(0.05)
  5308. effx.Enabled = false
  5309. end))
  5310. coroutine.resume(coroutine.create(function()
  5311. for i = 0, 9, 0.1 do
  5312. swait()
  5313. mult = mult + 0.5
  5314. lookavec = lookavec + 0.06*mult
  5315. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5316. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5317. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5318. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5319. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5320. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5321. end
  5322. for i = 0, 19, 0.1 do
  5323. swait()
  5324. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5325. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5326. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5327. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5328. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5329. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5330. end
  5331. shakes(1.5,1.5)
  5332. MagniDamage(elocacenter, 200, 50,99, 0, "Normal")
  5333. coroutine.resume(coroutine.create(function()
  5334. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 150)) do
  5335. if v:FindFirstChild('Head') then
  5336. dmg(v)
  5337. end
  5338. end
  5339. end))
  5340. local effe = Instance.new("ParticleEmitter",elocacenter)
  5341. effe.Texture = "rbxassetid://2273224484"
  5342. effe.LightEmission = 1
  5343. effe.Color = ColorSequence.new(keptcolor.Color)
  5344. effe.Rate = 500000
  5345. effe.Lifetime = NumberRange.new(3,5)
  5346. effe.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,150,0),NumberSequenceKeypoint.new(0.2,15,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)})
  5347. effe.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5348. effe.Speed = NumberRange.new(250,1200)
  5349. effe.Drag = 5
  5350. effe.Rotation = NumberRange.new(-500,500)
  5351. effe.VelocitySpread = 9000
  5352. effe.RotSpeed = NumberRange.new(-50,50)
  5353. coroutine.resume(coroutine.create(function()
  5354. effx.Enabled = true
  5355. wait(0.15)
  5356. effx.Enabled = false
  5357. wait(0.25)
  5358. effe.Enabled = false
  5359. end))
  5360. coroutine.resume(coroutine.create(function()
  5361. local elocor = elocacenter
  5362. local lookavec = 0
  5363. local mult = 1
  5364. local elocacenter = CreateParta(elocor,1,1,"SmoothPlastic",BrickColor.random())
  5365. elocacenter.Anchored = true
  5366. elocacenter.CFrame = elocor.CFrame
  5367. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  5368. eloca1.Anchored = true
  5369. eloca1.CFrame = elocacenter.CFrame
  5370. local at1 = Instance.new("Attachment",eloca1)
  5371. at1.Position = vt(0,10,0)
  5372. local at2 = Instance.new("Attachment",eloca1)
  5373. at2.Position = vt(0,-10,0)
  5374. local trl = Instance.new('Trail',eloca1)
  5375. trl.Attachment0 = at1
  5376. trl.Attachment1 = at2
  5377. trl.Texture = "rbxassetid://1049219073"
  5378. trl.LightEmission = 1
  5379. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5380. trl.Color = ColorSequence.new(keptcolor.Color)
  5381. trl.Lifetime = 8
  5382. local eff = Instance.new("ParticleEmitter",eloca1)
  5383. eff.Texture = "rbxassetid://2273224484"
  5384. eff.LightEmission = 1
  5385. eff.Color = ColorSequence.new(keptcolor.Color)
  5386. eff.Rate = 500000
  5387. eff.Lifetime = NumberRange.new(0.5,1)
  5388. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5389. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5390. eff.Speed = NumberRange.new(20,250)
  5391. eff.Drag = 5
  5392. eff.Rotation = NumberRange.new(-500,500)
  5393. eff.VelocitySpread = 9000
  5394. eff.RotSpeed = NumberRange.new(-50,50)
  5395. local eloca2 = eloca1:Clone()
  5396. eloca2.Parent = elocacenter
  5397. local eloca3 = eloca1:Clone()
  5398. eloca3.Parent = elocacenter
  5399. local eloca4 = eloca1:Clone()
  5400. eloca4.Parent = elocacenter
  5401. coroutine.resume(coroutine.create(function()
  5402. for i = 0, 19, 0.1 do
  5403. swait()
  5404. mult = mult + 0.25
  5405. lookavec = lookavec + 0.05*mult
  5406. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/10),0)
  5407. eloca1.CFrame = elocacenter.CFrame*CFrame.new(40+lookavec/5,-15+lookavec*2,0)
  5408. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-40-lookavec/5,-15+lookavec*2,0)
  5409. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,-15+lookavec*2,40+lookavec/5)
  5410. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,-15+lookavec*2,-40-lookavec/5)
  5411. end
  5412. for i,v in pairs(elocacenter:GetDescendants()) do
  5413. if v:IsA("ParticleEmitter") then
  5414. v.Enabled = false
  5415. end
  5416. end
  5417. wait(6)
  5418. elocacenter:Destroy()
  5419. end))
  5420. end))
  5421. CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 1)
  5422. CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 0.75)
  5423. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.5)
  5424. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 6,0.5)
  5425. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2.5,1)
  5426. CFuncs["Sound"].Create("rbxassetid://763718160", char, 3, 0.75)
  5427. symbolizeBlink(elocacenter,0,144580273,keptcolor.Color,20,0,0,0,root,true,-5,3)
  5428. symbolizeBlink(elocacenter,0,144580273,keptcolor.Color,40,0,0,0,root,true,-5,3)
  5429. symbolizeBlink(elocacenter,0,144580273,keptcolor.Color,60,0,0,0,root,true,-5,3)
  5430. symbolizeBlink(elocacenter,0,144580273,keptcolor.Color,80,0,0,0,root,true,-5,3)
  5431. sphere2(2,"Add",elocacenter.CFrame,vt(10,10000,10),2,2,2,keptcolor)
  5432. sphere2(1,"Add",elocacenter.CFrame,vt(10,10000,10),2,2,2,keptcolor)
  5433. sphere2(2,"Add",elocacenter.CFrame,vt(10,10,10),5,5,5,keptcolor)
  5434. sphere2(2,"Add",elocacenter.CFrame,vt(10,10,10),7.5,7.5,7.5,keptcolor)
  5435. sphere2(2,"Add",elocacenter.CFrame,vt(10,10,10),10,10,10,keptcolor)
  5436. sphere2(2,"Add",elocacenter.CFrame,vt(10,10,10),2.5,2.5,2.5,keptcolor)
  5437. for i = 0, 29 do
  5438. slash(math.random(10,30)/10,5,true,"Round","Add","Out",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,1000)/250,BrickColor.new("White"))
  5439. end
  5440. for i = 0, 9, 0.1 do
  5441. swait()
  5442. mult = mult - 0.5
  5443. lookavec = lookavec - 0.06*mult
  5444. sphere2(5,"Add",elocacenter.CFrame,vt(1,1,1),0.05*lookavec/2,0.001,0.05*lookavec/2,keptcolor)
  5445. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(5*mult/20),0)
  5446. eloca1.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  5447. eloca2.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(90),0)*CFrame.new(-lookavec,0,0)
  5448. eloca3.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(180),0)*CFrame.new(-lookavec,0,0)
  5449. eloca4.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(270),0)*CFrame.new(-lookavec,0,0)
  5450. end
  5451. for i,v in pairs(elocacenter:GetDescendants()) do
  5452. if v:IsA("ParticleEmitter") then
  5453. v.Enabled = false
  5454. end
  5455. end
  5456. wait(6)
  5457. elocacenter:Destroy()
  5458. end))
  5459. end
  5460. end)
  5461. end))
  5462. end
  5463.  
  5464. function FallenOrbs()
  5465. attack = true
  5466. hum.WalkSpeed = 2
  5467. local keptcolor = MRCL
  5468. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  5469. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  5470. local radm = math.random(1,3)
  5471. if radm == 1 then
  5472. bosschatfunc("This wont be easy to you.",MRCL.Color,1)
  5473. elseif radm == 2 then
  5474. bosschatfunc("How about this?",MRCL.Color,1)
  5475. elseif radm == 3 then
  5476. bosschatfunc("Swarm!",MRCL.Color,1)
  5477. end
  5478. local obj1 = script.chring:Clone()
  5479. obj1.Parent = char
  5480. obj1.Transparency = 1
  5481. obj1.Color = BrickColor.new("Toothpaste").Color
  5482. local obj2 = script.spball:Clone()
  5483. obj2.Parent = char
  5484. obj2.Transparency = 1
  5485. obj2.Color = MRCL.Color
  5486. local cfor = CreateParta(char,1,1,"Neon",MRCL)
  5487. cfor.Anchored = true
  5488. cfor.CFrame = obj2.CFrame
  5489. local cef = Instance.new("ParticleEmitter",cfor)
  5490. cef.Texture = "rbxassetid://2344870656"
  5491. cef.LightEmission = 1
  5492. cef.Color = ColorSequence.new(obj2.Color)
  5493. cef.Rate = 150
  5494. cef.Lifetime = NumberRange.new(0.25)
  5495. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5496. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  5497. cef.Speed = NumberRange.new(0)
  5498. local rval = 0
  5499. local eval = 1
  5500. CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7)
  5501. for i = 0,10,0.1 do
  5502. swait()
  5503. rval = rval + math.random(30,40)
  5504. eval = eval + 1.5
  5505. obj1.Transparency = obj1.Transparency - 0.003
  5506. obj1.Size = obj1.Size + vt(0,1,1)
  5507. obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
  5508. obj2.Transparency = obj2.Transparency - 0.005
  5509. obj2.Size = obj2.Size + vt(0.5,0.5,0.5)
  5510. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5511. obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5512. cfor.CFrame = obj2.CFrame
  5513. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Deep orange"))
  5514. slash(math.random(50,90)/10,5,true,"Round","Add","In",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,0.01,1),math.random(-400,-200)/250,BrickColor.new("Toothpaste"))
  5515. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MRCL,MRCL.Color)
  5516. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  5517. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  5518. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(-20 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(70)),.3)
  5519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 2 * math.cos(sine / 37)),math.rad(5 + 1 * math.cos(sine / 58)),math.rad(-70 + 2 * math.cos(sine / 53))),.3)
  5520. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(170 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 45))),.3)
  5521. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  5522. end
  5523. shakes(0.75,0.5)
  5524. cef.Enabled = false
  5525. coroutine.resume(coroutine.create(function()
  5526. for i = 0,49 do
  5527. swait()
  5528. rval = rval + 100
  5529. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5530. obj2.Transparency = obj2.Transparency + 0.02
  5531. obj2.Size = obj2.Size + vt(5,5,5)
  5532. obj1.Transparency = obj1.Transparency + 0.02
  5533. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5534. end
  5535. obj1:Destroy()
  5536. obj2:Destroy()
  5537. cfor:Destroy()
  5538. end))
  5539. for i = 0, 9 do
  5540. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Deep orange"))
  5541. slash(math.random(10,40)/10,5,true,"Round","Add","Out",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,450)/250,BrickColor.new("Toothpaste"))
  5542. end
  5543. sphere2(3,"Add",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,1,1,MRCL,MRCL.Color)
  5544. sphere2(3,"Add",obj2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),2,2,2,MRCL,MRCL.Color)
  5545. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
  5546. CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
  5547. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
  5548. coroutine.resume(coroutine.create(function()
  5549. for i = 0, 19 do
  5550. swait()
  5551. local custcol = math.random(1,3)
  5552. local dis = CreateParta(char,0.5,1,"Neon",MRCL)
  5553. if custcol == 1 then
  5554. dis.BrickColor = MRCL
  5555. elseif custcol == 2 then
  5556. dis.BrickColor = BrickColor.new("Toothpaste")
  5557. elseif custcol == 3 then
  5558. dis.BrickColor = BrickColor.new("Deep orange")
  5559. end
  5560. dis.Anchored = true
  5561. --CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  5562. dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30))
  5563. CreateMesh(dis,"Sphere",2,2,2)
  5564. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5565. slash(math.random(10,20)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
  5566. coroutine.resume(coroutine.create(function()
  5567. wait(0.5)
  5568. dis.Anchored = false
  5569. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  5570. local at1 = Instance.new("Attachment",dis)
  5571. at1.Position = vt(-1,0,0)
  5572. local at2 = Instance.new("Attachment",dis)
  5573. at2.Position = vt(1,0,0)
  5574. local trl = Instance.new('Trail',dis)
  5575. trl.Attachment0 = at1
  5576. trl.FaceCamera = true
  5577. trl.Attachment1 = at2
  5578. trl.Texture = "rbxassetid://1049219073"
  5579. trl.LightEmission = 1
  5580. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5581. trl.Color = ColorSequence.new(dis.Color)
  5582. trl.Lifetime = 0.6
  5583. local a = Instance.new("Part",workspace)
  5584. a.Name = "Direction"
  5585. a.Anchored = true
  5586. a.BrickColor = bc("Bright red")
  5587. a.Material = "Neon"
  5588. a.Transparency = 1
  5589. a.CanCollide = false
  5590. local ray = Ray.new(
  5591. dis.CFrame.p, -- origin
  5592. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5593. )
  5594. local ignore = dis
  5595. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5596. a.BottomSurface = 10
  5597. a.TopSurface = 10
  5598. local distance = (dis.CFrame.p - position).magnitude
  5599. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5600. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5601. dis.CFrame = a.CFrame
  5602. a:Destroy()
  5603. local bv = Instance.new("BodyVelocity")
  5604. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5605. bv.velocity = dis.CFrame.lookVector*500
  5606. bv.Parent = dis
  5607. game:GetService("Debris"):AddItem(dis, 5)
  5608. local hitted = false
  5609. coroutine.resume(coroutine.create(function()
  5610. dis.Touched:connect(function(hit)
  5611. if hitted == false and hit.Parent ~= char then
  5612. hitted = true
  5613. shakes(0.2,0.3)
  5614. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  5615. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  5616. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color)
  5617. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  5618. coroutine.resume(coroutine.create(function()
  5619. local eff = Instance.new("ParticleEmitter",dis)
  5620. eff.Texture = "rbxassetid://2344870656"
  5621. eff.LightEmission = 1
  5622. eff.Color = ColorSequence.new(dis.Color)
  5623. eff.Rate = 10000000
  5624. eff.Enabled = true
  5625. --eff.EmissionDirection = "Front"
  5626. eff.Lifetime = NumberRange.new(3)
  5627. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,20,0),NumberSequenceKeypoint.new(0.8,40,0),NumberSequenceKeypoint.new(1,60,0)})
  5628. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5629. eff.Speed = NumberRange.new(250)
  5630. eff.Drag = 5
  5631. eff.Rotation = NumberRange.new(-500,500)
  5632. eff.SpreadAngle = Vector2.new(0,900)
  5633. eff.RotSpeed = NumberRange.new(-500,500)
  5634. wait(0.2)
  5635. eff.Enabled = false
  5636. end))
  5637. coroutine.resume(coroutine.create(function()
  5638. for i = 0, 4 do
  5639. local disr = CreateParta(char,1,1,"Neon",dis.BrickColor)
  5640. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5641. local at1 = Instance.new("Attachment",disr)
  5642. at1.Position = vt(-10,0,0)
  5643. local at2 = Instance.new("Attachment",disr)
  5644. at2.Position = vt(10,0,0)
  5645. local trl = Instance.new('Trail',disr)
  5646. trl.Attachment0 = at1
  5647. trl.FaceCamera = true
  5648. trl.Attachment1 = at2
  5649. trl.Texture = "rbxassetid://2342682798"
  5650. trl.LightEmission = 1
  5651. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5652. trl.Color = ColorSequence.new(disr.Color)
  5653. trl.Lifetime = 0.5
  5654. local bv = Instance.new("BodyVelocity")
  5655. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5656. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  5657. bv.Parent = disr
  5658. local val = 0
  5659. coroutine.resume(coroutine.create(function()
  5660. swait(30)
  5661. for i = 0, 9 do
  5662. swait()
  5663. val = val + 0.1
  5664. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5665. end
  5666. game:GetService("Debris"):AddItem(disr, 3)
  5667. end))
  5668. end
  5669. local eff = Instance.new("ParticleEmitter",dis)
  5670. eff.Texture = "rbxassetid://2273224484"
  5671. eff.LightEmission = 1
  5672. eff.Color = ColorSequence.new(dis.Color)
  5673. eff.Rate = 500000
  5674. eff.Lifetime = NumberRange.new(0.5,2)
  5675. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5676. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.8,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5677. eff.Speed = NumberRange.new(20,250)
  5678. eff.Drag = 5
  5679. eff.Rotation = NumberRange.new(-500,500)
  5680. eff.VelocitySpread = 9000
  5681. eff.RotSpeed = NumberRange.new(-50,50)
  5682. wait(0.5)
  5683. eff.Enabled = false
  5684. end))
  5685. for i = 0, 4 do
  5686. slash(math.random(20,50)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,200)/250,BrickColor.new("White"))
  5687. end
  5688. coroutine.resume(coroutine.create(function()
  5689. for i = 0, 19 do
  5690. swait()
  5691. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5692. end
  5693. hum.CameraOffset = vt(0,0,0)
  5694. end))
  5695. dis.Anchored = true
  5696. dis.Transparency = 1
  5697. wait(8)
  5698. dis:Destroy()
  5699. end
  5700. end)
  5701. end))
  5702. end))
  5703. end
  5704. end))
  5705. for i = 0,9,0.1 do
  5706. swait()
  5707. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  5708. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  5709. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),6 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(90)),.3)
  5710. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(-15 + 1 * math.cos(sine / 58)),math.rad(-90 + 2 * math.cos(sine / 53))),.3)
  5711. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(90 + 2 * math.cos(sine / 45))),.3)
  5712. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(8 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-9 - 4 * math.cos(sine / 45))),.3)
  5713. end
  5714. attack = false
  5715. hum.WalkSpeed = storehumanoidWS
  5716. end
  5717.  
  5718. function FallenDEMISE()
  5719. attack = true
  5720. hum.WalkSpeed = 0
  5721. local keptcolor = MRCL
  5722. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MRCL.Color,3)
  5723. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  5724. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  5725. for i = 0, 15, 0.1 do
  5726. swait()
  5727. local dis = CreateParta(char,1,1,"Neon",MRCL)
  5728. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5729. local at1 = Instance.new("Attachment",dis)
  5730. at1.Position = vt(-25000,0,0)
  5731. local at2 = Instance.new("Attachment",dis)
  5732. at2.Position = vt(25000,0,0)
  5733. local trl = Instance.new('Trail',dis)
  5734. trl.Attachment0 = at1
  5735. trl.FaceCamera = true
  5736. trl.Attachment1 = at2
  5737. trl.Texture = "rbxassetid://1049219073"
  5738. trl.LightEmission = 1
  5739. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5740. trl.Color = ColorSequence.new(dis.Color)
  5741. trl.Lifetime = 5
  5742. local bv = Instance.new("BodyVelocity")
  5743. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5744. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5745. bv.Parent = dis
  5746. game:GetService("Debris"):AddItem(dis, 1)
  5747. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MRCL)
  5748. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Toothpaste"))
  5749. slash(math.random(30,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(1,0.01,1),math.random(100,500)/250,BrickColor.new("Deep orange"))
  5750. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  5751. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  5752. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  5753. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5754. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  5755. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  5756. end
  5757. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  5758. shakes(5,3)
  5759. for i = 0, 30, 0.1 do
  5760. swait()
  5761. coroutine.resume(coroutine.create(function()
  5762. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  5763. if v:FindFirstChild('Head') then
  5764. dmg(v)
  5765. end
  5766. end
  5767. end))
  5768. local dis = CreateParta(char,1,1,"Neon",MRCL)
  5769. dis.CFrame = root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5770. local at1 = Instance.new("Attachment",dis)
  5771. at1.Position = vt(-50000,0,0)
  5772. local at2 = Instance.new("Attachment",dis)
  5773. at2.Position = vt(50000,0,0)
  5774. local trl = Instance.new('Trail',dis)
  5775. trl.Attachment0 = at1
  5776. trl.FaceCamera = true
  5777. trl.Attachment1 = at2
  5778. trl.Texture = "rbxassetid://1049219073"
  5779. trl.LightEmission = 1
  5780. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5781. trl.Color = ColorSequence.new(dis.Color)
  5782. trl.Lifetime = 10
  5783. local bv = Instance.new("BodyVelocity")
  5784. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5785. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  5786. bv.Parent = dis
  5787. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  5788. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MRCL)
  5789. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MRCL)
  5790. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Deep orange"))
  5791. sphere2(2,"Add",root.CFrame*CFrame.new(math.random(-2000,2000),math.random(-2000,2000),math.random(-2000,2000)),vt(0,0,0),5,5,5,BrickColor.new("Toothpaste"))
  5792. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Deep orange"))
  5793. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,0.01,5),math.random(500,5000)/250,BrickColor.new("Toothpaste"))
  5794. for i = 0, 2 do
  5795. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,math.random(-3,1000),0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(2,0.01,2),math.random(250,750)/250,MRCL)
  5796. end
  5797. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-35)),.1)
  5798. LH.C0=clerp(LH.C0,cf(-1,-0.45,-0.5)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(35)),.1)
  5799. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  5800. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5801. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  5802. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  5803. end
  5804. attack = false
  5805. hum.WalkSpeed = storehumanoidWS
  5806. end
  5807.  
  5808. function SHDTwist()
  5809. attack = true
  5810. hum.WalkSpeed = 2
  5811. local radm = math.random(1,2)
  5812. if radm == 1 then
  5813. bosschatfunc("Plasmatic Burst!",MRCL.Color,1)
  5814. elseif radm == 2 then
  5815. bosschatfunc("Suffer to the brightness.",MRCL.Color,1)
  5816. end
  5817. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  5818. local obj1 = script.chring2:Clone()
  5819. obj1.Parent = char
  5820. obj1.Transparency = 1
  5821. obj1.Size = vt(1,1,1)
  5822. obj1.Color = BrickColor.new("Pink").Color
  5823. local obj2 = script.spball:Clone()
  5824. obj2.Parent = char
  5825. obj2.Transparency = 1
  5826. obj2.Size = vt(1,1,1)
  5827. obj2.Color = MRCL.Color
  5828. local cfor = CreateParta(char,1,1,"Neon",MRCL)
  5829. cfor.Anchored = true
  5830. cfor.CFrame = obj2.CFrame
  5831. local cef = Instance.new("ParticleEmitter",cfor)
  5832. cef.Texture = "rbxassetid://2344870656"
  5833. cef.LightEmission = 1
  5834. cef.Color = ColorSequence.new(obj2.Color)
  5835. cef.Rate = 150
  5836. cef.Lifetime = NumberRange.new(0.25)
  5837. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5838. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  5839. cef.Speed = NumberRange.new(0)
  5840. local rval = 0
  5841. local eval = 1
  5842. for i = 0,7,0.1 do
  5843. swait()
  5844. rval = rval + math.random(30,40)
  5845. eval = eval + 0.45
  5846. obj1.Transparency = obj1.Transparency - 0.005
  5847. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  5848. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5849. obj2.Transparency = obj2.Transparency - 0.007
  5850. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  5851. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5852. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5853. cfor.CFrame = obj2.CFrame
  5854. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5855. sphere2(10,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.15,-0.01,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5856. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.3)
  5857. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.3)
  5858. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1 + 0.15 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-50)),.3)
  5859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2 * math.cos(sine / 37)),math.rad(10 + 1 * math.cos(sine / 58)),math.rad(50 + 2 * math.cos(sine / 53))),.3)
  5860. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(10 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(5 + 2 * math.cos(sine / 45))),.3)
  5861. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(90 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-50 - 4 * math.cos(sine / 45))),.3)
  5862. end
  5863. shakes(0.25,0.25)
  5864. cef.Enabled = false
  5865. coroutine.resume(coroutine.create(function()
  5866. for i = 0,49 do
  5867. swait()
  5868. rval = rval + 100
  5869. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5870. obj2.Transparency = obj2.Transparency + 0.02
  5871. obj2.Size = obj2.Size + vt(5,5,5)
  5872. obj1.Transparency = obj1.Transparency + 0.02
  5873. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5874. end
  5875. obj1:Destroy()
  5876. obj2:Destroy()
  5877. cfor:Destroy()
  5878. end))
  5879. local lva = 1
  5880. local ica = 0
  5881. local cent = CreateParta(char,1,1,"Neon",MRCL)
  5882. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  5883. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  5884. sphere2(2,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5885. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5886.  
  5887. local a = Instance.new("Part",workspace)
  5888. a.Name = "Direction"
  5889. a.Anchored = true
  5890. a.BrickColor = bc("Bright red")
  5891. a.Material = "Neon"
  5892. a.Transparency = 1
  5893. a.CanCollide = false
  5894. local ray = Ray.new(
  5895. cent.CFrame.p, -- origin
  5896. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  5897. )
  5898. local ignore = cent
  5899. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5900. a.BottomSurface = 10
  5901. a.TopSurface = 10
  5902. local distance = (cent.CFrame.p - position).magnitude
  5903. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5904. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  5905. cent.CFrame = a.CFrame
  5906. a:Destroy()
  5907. local bv = Instance.new("BodyVelocity")
  5908. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5909. bv.velocity = cent.CFrame.lookVector*0
  5910. bv.Parent = cent
  5911. game:GetService("Debris"):AddItem(cent, 20)
  5912. local hitted = false
  5913. coroutine.resume(coroutine.create(function()
  5914. while true do
  5915. swait(1)
  5916. if hitted == false and cent.Parent ~= nil then
  5917. ica = ica + 4*lva
  5918. lva = lva + 0.1
  5919. bv.velocity = cent.CFrame.lookVector*ica
  5920. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  5921. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,-5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pink"))
  5922. sphere2(5,"Add",cent.CFrame*CFrame.Angles(0,0,math.rad(ica))*CFrame.new(0,5,0),vt(4,4,4),-0.04,-0.04,-0.04,BrickColor.new("Pastel light blue"))
  5923. elseif hitted == true or cent.Parent == nil then
  5924. break
  5925. end
  5926. end
  5927. end))
  5928. coroutine.resume(coroutine.create(function()
  5929. cent.Touched:connect(function(hit)
  5930. if hitted == false and hit.Parent ~= char then
  5931. hitted = true
  5932. cent.Anchored = true
  5933. shakes(0.5,0.5)
  5934. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  5935. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  5936. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  5937. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  5938. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  5939. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5940. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5941. for i = 0, 19 do
  5942. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,400)/250,BrickColor.new("Pink"))
  5943. slash(math.random(10,50)/10,5,true,"Round","Add","Out",cent.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,300)/250,BrickColor.new("Pastel light blue"))
  5944. end
  5945. coroutine.resume(coroutine.create(function()
  5946. local eff = Instance.new("ParticleEmitter",cent)
  5947. eff.Texture = "rbxassetid://2344870656"
  5948. eff.LightEmission = 1
  5949. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  5950. eff.Rate = 10000000
  5951. eff.Enabled = true
  5952. --eff.EmissionDirection = "Front"
  5953. eff.Lifetime = NumberRange.new(5)
  5954. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.1,40,0),NumberSequenceKeypoint.new(0.8,60,0),NumberSequenceKeypoint.new(1,80,0)})
  5955. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5956. eff.Speed = NumberRange.new(350)
  5957. eff.Drag = 5
  5958. eff.Rotation = NumberRange.new(-500,500)
  5959. eff.SpreadAngle = Vector2.new(0,900)
  5960. eff.RotSpeed = NumberRange.new(-500,500)
  5961. local eff2 = eff:Clone()
  5962. eff2.Parent = cent
  5963. eff2.Speed = NumberRange.new(250)
  5964. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  5965. wait(0.2)
  5966. eff.Enabled = false
  5967. eff2.Enabled = false
  5968. end))
  5969. end
  5970. end)
  5971. end))
  5972. attack = false
  5973. hum.WalkSpeed = storehumanoidWS
  5974. end
  5975. ---- Galaxy/Cytus's Abilities
  5976.  
  5977. function Crossfire()
  5978. attack = true
  5979. hum.WalkSpeed = 0
  5980. local radm = math.random(1,3)
  5981. if radm == 1 then
  5982. bosschatfunc("Crossfire!",MRCL.Color,1)
  5983. elseif radm == 2 then
  5984. bosschatfunc("Engulf by the flames!",MRCL.Color,1)
  5985. elseif radm == 3 then
  5986. bosschatfunc("Burn to death.",MRCL.Color,1)
  5987. end
  5988. shakes(0.5,0.5)
  5989. local vel = Instance.new("BodyPosition", root)
  5990. vel.P = 30000
  5991. vel.D = 1000
  5992. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5993. vel.position = root.CFrame.p + vt(0,150,0)
  5994. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 7.5, 1)
  5995. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5996. local keptcolor = MRCL
  5997. sphere2(2,"Add",root.CFrame,vt(25,1,25),-0.05,3,-0.05,keptcolor)
  5998. sphere2(2,"Add",root.CFrame,vt(50,1,50),-0.1,6,-0.1,keptcolor)
  5999. for i = 0, 24 do
  6000. slash(math.random(30,60)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(25,250)/250,BrickColor.new("White"))
  6001. end
  6002. for i = 0,3,0.1 do
  6003. swait()
  6004. RootPart.CFrame = FaceMouse2()[1]
  6005. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,keptcolor)
  6006. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  6007. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  6008. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  6009. LW.C0 = clerp(LW.C0, CFrame.new(-1.05, 0.5, -0.65) * angles(math.rad(-20), math.rad(0), math.rad(140)), 0.5)
  6010. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  6011. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5)
  6012. end
  6013. local rotz = 25
  6014. coroutine.resume(coroutine.create(function()
  6015. for i = 0, 4 do
  6016. local orb = Instance.new("Part", char)
  6017. orb.BrickColor = keptcolor
  6018. orb.CanCollide = false
  6019. orb.FormFactor = 3
  6020. orb.Name = "Ring"
  6021. orb.Material = "Neon"
  6022. orb.Size = Vector3.new(1, 1, 1)
  6023. orb.Transparency = 0
  6024. orb.TopSurface = 0
  6025. orb.BottomSurface = 0
  6026. local orbm = Instance.new("SpecialMesh", orb)
  6027. orbm.MeshType = "Sphere"
  6028. orbm.Name = "SizeMesh"
  6029. orbm.Scale = vt(4,4,4)
  6030. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  6031. local eff = Instance.new("ParticleEmitter",orb)
  6032. eff.Texture = "rbxassetid://296874871"
  6033. eff.LightEmission = 0.95
  6034. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  6035. eff.Rate = 500
  6036. eff.Lifetime = NumberRange.new(1.5)
  6037. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6038. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6039. eff.Speed = NumberRange.new(25)
  6040. eff.Drag = 5
  6041. eff.Rotation = NumberRange.new(-500,500)
  6042. eff.VelocitySpread = 9000
  6043. eff.RotSpeed = NumberRange.new(-500,500)
  6044. local a = Instance.new("Part",workspace)
  6045. a.Name = "Direction"
  6046. a.Anchored = true
  6047. a.BrickColor = bc("Bright red")
  6048. a.Material = "Neon"
  6049. a.Transparency = 1
  6050. a.CanCollide = false
  6051. local ray = Ray.new(
  6052. orb.CFrame.p, -- origin
  6053. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6054. )
  6055. local ignore = orb
  6056. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6057. a.BottomSurface = 10
  6058. a.TopSurface = 10
  6059. local distance = (orb.CFrame.p - position).magnitude
  6060. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6061. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6062. orb.CFrame = a.CFrame
  6063. a:Destroy()
  6064. orb.CFrame = orb.CFrame*CFrame.Angles(0,math.rad(rotz),0)
  6065. rotz = rotz - 12.5
  6066. CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75)
  6067. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9)
  6068. local bv = Instance.new("BodyVelocity")
  6069. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6070. bv.velocity = orb.CFrame.lookVector*225
  6071. bv.Parent = orb
  6072. game:GetService("Debris"):AddItem(orb, 10)
  6073. local hitted = false
  6074. local hit =orb.Touched:connect(function(hit)
  6075. if hitted == false and hit.Parent ~= char then
  6076. hitted = true
  6077. eff.Enabled = false
  6078. CameraEnshaking(4,4)
  6079. for i = 0, 9 do
  6080. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6081. disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6082. local at1 = Instance.new("Attachment",disr)
  6083. at1.Position = vt(-15,0,0)
  6084. local at2 = Instance.new("Attachment",disr)
  6085. at2.Position = vt(15,0,0)
  6086. local trl = Instance.new('Trail',disr)
  6087. trl.Attachment0 = at1
  6088. trl.FaceCamera = true
  6089. trl.Attachment1 = at2
  6090. trl.Texture = "rbxassetid://2325530138"
  6091. trl.LightEmission = 1
  6092. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6093. trl.Color = ColorSequence.new(keptcolor.Color)
  6094. trl.Lifetime = 0.5
  6095. local bv = Instance.new("BodyVelocity")
  6096. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6097. bv.velocity = disr.CFrame.lookVector*math.random(75,250)
  6098. bv.Parent = disr
  6099. local val = 0
  6100. coroutine.resume(coroutine.create(function()
  6101. swait(30)
  6102. for i = 0, 19 do
  6103. swait()
  6104. val = val + 0.05
  6105. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6106. end
  6107. game:GetService("Debris"):AddItem(disr, 3)
  6108. end))
  6109. end
  6110. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7)
  6111. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  6112. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  6113. CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1)
  6114. CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1)
  6115. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4)
  6116. MagniDamage(orb, 25, 80,140, 0, "Normal")
  6117. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6118. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6119. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6120. for i = 0, 9 do
  6121. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  6122. end
  6123. for i = 0, 19 do
  6124. slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White"))
  6125. end
  6126. for i = 0, 19 do
  6127. local rsiz = math.random(10,30)
  6128. sphereMK(math.random(2,6),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  6129. end
  6130. local eff = Instance.new("ParticleEmitter",orb)
  6131. eff.Texture = "rbxassetid://296874871"
  6132. eff.LightEmission = 0.95
  6133. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  6134. eff.Rate = 10000
  6135. eff.Lifetime = NumberRange.new(1.5)
  6136. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  6137. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6138. eff.Speed = NumberRange.new(150)
  6139. eff.Drag = 5
  6140. eff.Rotation = NumberRange.new(-500,500)
  6141. eff.VelocitySpread = 9000
  6142. eff.RotSpeed = NumberRange.new(-500,500)
  6143. coroutine.resume(coroutine.create(function()
  6144. wait(0.25)
  6145. eff.Enabled = false
  6146. end))
  6147. orb.Anchored = true
  6148. orb.Transparency = 1
  6149. wait(10)
  6150. orb:Destroy()
  6151. end
  6152. end)
  6153. end
  6154. end))
  6155. for i = 0,1,0.1 do
  6156. swait()
  6157. RootPart.CFrame = FaceMouse2()[1]
  6158. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(60)),0.3)
  6159. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.3)
  6160. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  6161. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-20)), 0.3)
  6162. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  6163. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5)
  6164. end
  6165. for i = 0,1,0.1 do
  6166. swait()
  6167. RootPart.CFrame = FaceMouse2()[1]
  6168. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(70)),0.3)
  6169. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-70)),.3)
  6170. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  6171. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-10)), 0.3)
  6172. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  6173. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5)
  6174. end
  6175. coroutine.resume(coroutine.create(function()
  6176. for i = 0, 4 do
  6177. local orb = Instance.new("Part", char)
  6178. orb.BrickColor = keptcolor
  6179. orb.CanCollide = false
  6180. orb.FormFactor = 3
  6181. orb.Name = "Ring"
  6182. orb.Material = "Neon"
  6183. orb.Size = Vector3.new(1, 1, 1)
  6184. orb.Transparency = 0
  6185. orb.TopSurface = 0
  6186. orb.BottomSurface = 0
  6187. local orbm = Instance.new("SpecialMesh", orb)
  6188. orbm.MeshType = "Sphere"
  6189. orbm.Name = "SizeMesh"
  6190. orbm.Scale = vt(4,4,4)
  6191. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  6192. local eff = Instance.new("ParticleEmitter",orb)
  6193. eff.Texture = "rbxassetid://296874871"
  6194. eff.LightEmission = 0.95
  6195. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  6196. eff.Rate = 500
  6197. eff.Lifetime = NumberRange.new(1.5)
  6198. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6199. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6200. eff.Speed = NumberRange.new(25)
  6201. eff.Drag = 5
  6202. eff.Rotation = NumberRange.new(-500,500)
  6203. eff.VelocitySpread = 9000
  6204. eff.RotSpeed = NumberRange.new(-500,500)
  6205. local a = Instance.new("Part",workspace)
  6206. a.Name = "Direction"
  6207. a.Anchored = true
  6208. a.BrickColor = bc("Bright red")
  6209. a.Material = "Neon"
  6210. a.Transparency = 1
  6211. a.CanCollide = false
  6212. local ray = Ray.new(
  6213. orb.CFrame.p, -- origin
  6214. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6215. )
  6216. local ignore = orb
  6217. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6218. a.BottomSurface = 10
  6219. a.TopSurface = 10
  6220. local distance = (orb.CFrame.p - position).magnitude
  6221. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6222. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  6223. orb.CFrame = a.CFrame
  6224. a:Destroy()
  6225. rotz = rotz + 12.5
  6226. orb.CFrame = orb.CFrame*CFrame.Angles(math.rad(rotz),0,0)
  6227. CFuncs["Sound"].Create("rbxassetid://335657174", orb, 3, 0.75)
  6228. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 3.5, 0.9)
  6229. local bv = Instance.new("BodyVelocity")
  6230. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6231. bv.velocity = orb.CFrame.lookVector*225
  6232. bv.Parent = orb
  6233. game:GetService("Debris"):AddItem(orb, 10)
  6234. local hitted = false
  6235. local hit =orb.Touched:connect(function(hit)
  6236. if hitted == false and hit.Parent ~= char then
  6237. hitted = true
  6238. eff.Enabled = false
  6239. CameraEnshaking(4,4)
  6240. for i = 0, 9 do
  6241. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6242. disr.CFrame = orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6243. local at1 = Instance.new("Attachment",disr)
  6244. at1.Position = vt(-15,0,0)
  6245. local at2 = Instance.new("Attachment",disr)
  6246. at2.Position = vt(15,0,0)
  6247. local trl = Instance.new('Trail',disr)
  6248. trl.Attachment0 = at1
  6249. trl.FaceCamera = true
  6250. trl.Attachment1 = at2
  6251. trl.Texture = "rbxassetid://2325530138"
  6252. trl.LightEmission = 1
  6253. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6254. trl.Color = ColorSequence.new(keptcolor.Color)
  6255. trl.Lifetime = 0.5
  6256. local bv = Instance.new("BodyVelocity")
  6257. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6258. bv.velocity = disr.CFrame.lookVector*math.random(75,250)
  6259. bv.Parent = disr
  6260. local val = 0
  6261. coroutine.resume(coroutine.create(function()
  6262. swait(30)
  6263. for i = 0, 19 do
  6264. swait()
  6265. val = val + 0.05
  6266. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6267. end
  6268. game:GetService("Debris"):AddItem(disr, 3)
  6269. end))
  6270. end
  6271. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 6, 0.7)
  6272. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  6273. CFuncs["Sound"].Create("rbxassetid://1368637781", orb, 8,1)
  6274. CFuncs["Sound"].Create("rbxassetid://763718160", orb, 7, 1.1)
  6275. CFuncs["Sound"].Create("rbxassetid://782353443", orb, 7, 1)
  6276. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 6, 0.4)
  6277. MagniDamage(orb, 25, 80,140, 0, "Normal")
  6278. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6279. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6280. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  6281. for i = 0, 9 do
  6282. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  6283. end
  6284. for i = 0, 19 do
  6285. slash(math.random(10,50)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White"))
  6286. end
  6287. for i = 0, 24 do
  6288. local rsiz = math.random(10,30)
  6289. sphereMK(math.random(1,3),1,"Add",orb.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  6290. end
  6291. local eff = Instance.new("ParticleEmitter",orb)
  6292. eff.Texture = "rbxassetid://296874871"
  6293. eff.LightEmission = 0.95
  6294. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  6295. eff.Rate = 10000
  6296. eff.Lifetime = NumberRange.new(1.5)
  6297. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  6298. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6299. eff.Speed = NumberRange.new(150)
  6300. eff.Drag = 5
  6301. eff.Rotation = NumberRange.new(-500,500)
  6302. eff.VelocitySpread = 9000
  6303. eff.RotSpeed = NumberRange.new(-500,500)
  6304. coroutine.resume(coroutine.create(function()
  6305. wait(0.25)
  6306. eff.Enabled = false
  6307. end))
  6308. orb.Anchored = true
  6309. orb.Transparency = 1
  6310. wait(10)
  6311. orb:Destroy()
  6312. end
  6313. end)
  6314. end
  6315. end))
  6316. for i = 0,2,0.1 do
  6317. swait()
  6318. RootPart.CFrame = FaceMouse2()[1]
  6319. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-80)),0.3)
  6320. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.3)
  6321. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  6322. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-30)), 0.3)
  6323. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.5)
  6324. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(10)),.5)
  6325. end
  6326. vel:Destroy()
  6327. hum.WalkSpeed = storehumanoidWS
  6328. attack = false
  6329. end
  6330.  
  6331. function BeamOfDeath()
  6332. attack = true
  6333. hum.WalkSpeed = 0
  6334. bosschatfunc("CHAOTICAL BEAM!",MRCL.Color,2)
  6335. RootPart.CFrame = FaceMouse()[1]
  6336. CFuncs["Sound"].Create("rbxassetid://1368598393", rarm, 8, 1)
  6337. for i = 0, 5, 0.1 do
  6338. swait()
  6339. block(8,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Really red"),Color3.new(1,0,0))
  6340. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10)),.1)
  6341. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6)),.1)
  6342. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(60)),.1)
  6343. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(-5),math.rad(-60)),.1)
  6344. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(1),math.rad(60)),.1)
  6345. LW.C0=clerp(LW.C0,cf(-0.95,0.65,-0.65)*angles(math.rad(90),math.rad(25),math.rad(73)),.1)
  6346. end
  6347. CFuncs["Sound"].Create("rbxassetid://335657174", rarm, 8, 1)
  6348. for i = 0, 14 do
  6349. slash(math.random(10,40)/10,5,true,"Round","Add","Out",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(25,150)/250,BrickColor.new("Really red"))
  6350. end
  6351. block(3,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.05,0.05,0.05,BrickColor.new("Really red"),Color3.new(1,0,0))
  6352. block(3,"Add",rarm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.1,0.15,0.1,BrickColor.new("Really red"),Color3.new(1,0,0))
  6353. local keptcolor = MRCL
  6354. local orb = Instance.new("Part", char)
  6355. orb.BrickColor = keptcolor
  6356. orb.CanCollide = false
  6357. orb.FormFactor = 3
  6358. orb.Name = "Ring"
  6359. orb.Material = "Neon"
  6360. orb.Size = Vector3.new(1, 1, 1)
  6361. orb.Transparency = 1
  6362. orb.TopSurface = 0
  6363. orb.BottomSurface = 0
  6364. local orbm = Instance.new("SpecialMesh", orb)
  6365. orbm.MeshType = "Sphere"
  6366. orbm.Name = "SizeMesh"
  6367. orbm.Scale = vt(22.5,10000,22.5)
  6368. orb.CFrame = mouse.Hit
  6369. orb.Anchored = true
  6370. orb.Orientation = vt(0,0,0)
  6371. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  6372. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 2.5, 1)
  6373. local bgui,imgc = createBGCircle(300,orb,MRCL.Color)
  6374. bgui.AlwaysOnTop = true
  6375. imgc.ImageTransparency = 1
  6376. imgc.Image = "rbxassetid://2325939897"
  6377. local over = false
  6378. coroutine.resume(coroutine.create(function()
  6379. while true do
  6380. swait()
  6381. imgc.Rotation = imgc.Rotation + 5
  6382. if over == true then
  6383. break
  6384. end
  6385. end
  6386. end))
  6387. coroutine.resume(coroutine.create(function()
  6388. coroutine.resume(coroutine.create(function()
  6389. for i = 0, 399 do
  6390. swait()
  6391. bgui.Size = bgui.Size - UDim2.new(0.5,0,0.5,0)
  6392. imgc.ImageTransparency = imgc.ImageTransparency - 0.0025
  6393. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  6394. --orb.Transparency = orb.Transparency - 0.0025
  6395. end
  6396. end))
  6397. wait(9)
  6398. CameraEnshaking(15,5)
  6399. for i = 0, 99 do
  6400. local dis = CreateParta(char,1,1,"Neon",MRCL)
  6401. dis.CFrame = orb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6402. local at1 = Instance.new("Attachment",dis)
  6403. at1.Position = vt(-25000,0,0)
  6404. local at2 = Instance.new("Attachment",dis)
  6405. at2.Position = vt(25000,0,0)
  6406. local trl = Instance.new('Trail',dis)
  6407. trl.Attachment0 = at1
  6408. trl.FaceCamera = true
  6409. trl.Attachment1 = at2
  6410. trl.Texture = "rbxassetid://1049219073"
  6411. trl.LightEmission = 1
  6412. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6413. trl.Color = ColorSequence.new(keptcolor.Color)
  6414. trl.Lifetime = 5
  6415. local bv = Instance.new("BodyVelocity")
  6416. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6417. bv.velocity = dis.CFrame.lookVector*math.random(1500,7500)
  6418. bv.Parent = dis
  6419. game:GetService("Debris"):AddItem(dis, 15)
  6420. end
  6421. CFuncs["Sound"].Create("rbxassetid://763718160", char, 6, 1.1)
  6422. CFuncs["Sound"].Create("rbxassetid://782353443", char, 6, 1)
  6423. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 5, 0.5)
  6424. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 4, 0.75)
  6425. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 1)
  6426. coroutine.resume(coroutine.create(function()
  6427. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  6428. if hfr ~= nil then
  6429. for i = 0, 49 do
  6430. local deb = Instance.new("Part", char)
  6431. deb.Anchored = true
  6432. deb.CanCollide = false
  6433. deb.FormFactor = 3
  6434. deb.Name = "Ring"
  6435. deb.Material = hitfloor.Material
  6436. deb.Color = hitfloor.Color
  6437. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  6438. deb.Transparency = 0
  6439. deb.TopSurface = 0
  6440. deb.BottomSurface = 0
  6441. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6442. local deb2 = Instance.new("Part", char)
  6443. deb2.CanCollide = false
  6444. deb2.FormFactor = 3
  6445. deb2.Name = "Ring"
  6446. deb2.Material = hitfloor.Material
  6447. deb2.Color = hitfloor.Color
  6448. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  6449. deb2.Transparency = 0
  6450. deb2.TopSurface = 0
  6451. deb2.BottomSurface = 0
  6452. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  6453. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6454. local eff = Instance.new("ParticleEmitter",deb)
  6455. eff.Texture = "rbxassetid://363275192"
  6456. eff.LightEmission = 0.95
  6457. eff.Color = ColorSequence.new(keptcolor.Color)
  6458. eff.Rate = 100
  6459. eff.Lifetime = NumberRange.new(1)
  6460. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  6461. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6462. eff.Speed = NumberRange.new(0,5)
  6463. eff.Rotation = NumberRange.new(-500,500)
  6464. eff.VelocitySpread = 9000
  6465. eff.RotSpeed = NumberRange.new(-10,10)
  6466. local at1 = Instance.new('Attachment',deb2)
  6467. at1.Position = vt(0,15,0)
  6468. local at2 = Instance.new('Attachment',deb2)
  6469. at2.Position = vt(0,-15,0)
  6470. local tl = Instance.new('Trail',deb2)
  6471. tl.Attachment0 = at1
  6472. tl.Attachment1 = at2
  6473. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6474. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  6475. tl.Lifetime = 1
  6476. game:GetService("Debris"):AddItem(deb,30)
  6477. game:GetService("Debris"):AddItem(deb2,30)
  6478. coroutine.resume(coroutine.create(function()
  6479. wait(15)
  6480. eff.Enabled = false
  6481. for i = 0, 49 do
  6482. swait()
  6483. deb.Transparency = deb.Transparency + 0.02
  6484. end
  6485. wait(1)
  6486. deb:Destroy()
  6487. end))
  6488. end
  6489. end
  6490. end))
  6491. for i = 0, 49, 0.1 do
  6492. swait(1.5)
  6493. bgui.Size = bgui.Size + UDim2.new(45,0,45,0)
  6494. imgc.ImageTransparency = imgc.ImageTransparency + 0.01
  6495. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  6496. if v:FindFirstChild('Head') then
  6497. dmg(v)
  6498. end
  6499. end
  6500. for i = 0, 2 do
  6501. slash(math.random(40,80)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,2500)/250,BrickColor.new("White"))
  6502. end
  6503. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  6504. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  6505. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  6506. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  6507. end
  6508. over = true
  6509. orb:Destroy()
  6510. end))
  6511. hum.WalkSpeed = storehumanoidWS
  6512. attack = false
  6513. end
  6514.  
  6515.  
  6516. function Beams()
  6517. attack = true
  6518. hum.WalkSpeed = 0
  6519. local keptcolor = MRCL
  6520. coroutine.resume(coroutine.create(function()
  6521. for i = 0, 24 do
  6522. swait(5)
  6523. local orb = Instance.new("Part", char)
  6524. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  6525. orb.BrickColor = keptcolor
  6526. orb.CanCollide = false
  6527. orb.FormFactor = 3
  6528. orb.Name = "Ring"
  6529. orb.Material = "Neon"
  6530. orb.Size = Vector3.new(1, 1, 1)
  6531. orb.Transparency = 0
  6532. orb.TopSurface = 0
  6533. orb.BottomSurface = 0
  6534. orb.Anchored = true
  6535. local orbm = Instance.new("SpecialMesh", orb)
  6536. orbm.MeshType = "Sphere"
  6537. orbm.Name = "SizeMesh"
  6538. orbm.Scale = vt(1.25,1.25,1.25)
  6539. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  6540. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6541. coroutine.resume(coroutine.create(function()
  6542. local eff = Instance.new("ParticleEmitter",orb)
  6543. eff.Texture = "rbxassetid://2273224484"
  6544. eff.LightEmission = 1
  6545. eff.Color = ColorSequence.new(keptcolor.Color)
  6546. eff.Rate = 1500
  6547. eff.Lifetime = NumberRange.new(0.5,1)
  6548. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.2,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6549. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6550. eff.Speed = NumberRange.new(10,30)
  6551. eff.Drag = 5
  6552. eff.Rotation = NumberRange.new(-500,500)
  6553. eff.VelocitySpread = 9000
  6554. eff.RotSpeed = NumberRange.new(-500,500)
  6555. wait(0.25)
  6556. eff.Enabled = false
  6557. end))
  6558. coroutine.resume(coroutine.create(function()
  6559. wait(0.5)
  6560. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  6561. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6562. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  6563. orb.Transparency = 1
  6564. local a = Instance.new("Part",char)
  6565. a.Name = "Direction"
  6566. a.Anchored = true
  6567. a.BrickColor = keptcolor
  6568. a.Material = "Neon"
  6569. a.Transparency = 0.25
  6570. a.Shape = "Cylinder"
  6571. local ht = Instance.new("Part",char)
  6572. ht.Name = "DirectionHit"
  6573. ht.Anchored = true
  6574. ht.BrickColor = keptcolor
  6575. ht.CanCollide = false
  6576. ht.Transparency = 1
  6577. ht.Size = vt(0.1,0.1,0.1)
  6578. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  6579. a.CanCollide = false
  6580. local ray = Ray.new(
  6581. orb.CFrame.p, -- origin
  6582. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  6583. )
  6584. local ignore = char
  6585. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6586. a.BottomSurface = 10
  6587. a.TopSurface = 10
  6588. local distance = (orb.CFrame.p - position).magnitude
  6589. a.Size = Vector3.new(distance,1,1)
  6590. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  6591. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6592. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  6593. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  6594. MagniDamage(ht, 9, 10,15, 0, "Normal")
  6595. CameraEnshaking(2,1)
  6596. coroutine.resume(coroutine.create(function()
  6597. for i = 0, 9 do
  6598. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6599. disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6600. local at1 = Instance.new("Attachment",disr)
  6601. at1.Position = vt(-2,0,0)
  6602. local at2 = Instance.new("Attachment",disr)
  6603. at2.Position = vt(2,0,0)
  6604. local trl = Instance.new('Trail',disr)
  6605. trl.Attachment0 = at1
  6606. trl.FaceCamera = true
  6607. trl.Attachment1 = at2
  6608. trl.Texture = "rbxassetid://2325530138"
  6609. trl.LightEmission = 1
  6610. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6611. trl.Color = ColorSequence.new(keptcolor.Color)
  6612. trl.Lifetime = 0.5
  6613. local bv = Instance.new("BodyVelocity")
  6614. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6615. bv.velocity = disr.CFrame.lookVector*math.random(25,100)
  6616. bv.Parent = disr
  6617. local val = 0
  6618. coroutine.resume(coroutine.create(function()
  6619. swait(30)
  6620. for i = 0, 9 do
  6621. swait()
  6622. val = val + 0.1
  6623. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6624. end
  6625. game:GetService("Debris"):AddItem(disr, 3)
  6626. end))
  6627. end
  6628. local eff = Instance.new("ParticleEmitter",ht)
  6629. eff.Texture = "rbxassetid://2273224484"
  6630. eff.LightEmission = 1
  6631. eff.Color = ColorSequence.new(keptcolor.Color)
  6632. eff.Rate = 5000
  6633. eff.Lifetime = NumberRange.new(0.5,1.5)
  6634. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,10,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(1,0,0)})
  6635. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  6636. eff.Speed = NumberRange.new(5,100)
  6637. eff.Drag = 5
  6638. eff.Rotation = NumberRange.new(-500,500)
  6639. eff.VelocitySpread = 9000
  6640. eff.RotSpeed = NumberRange.new(-50,50)
  6641. wait(0.25)
  6642. eff.Enabled = false
  6643. end))
  6644. for i = 0, 4 do
  6645. slash(math.random(10,60)/10,5,true,"Round","Add","Out",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(10,50)/250,BrickColor.new("White"))
  6646. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  6647. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  6648. local rsiz = math.random(10,30)
  6649. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  6650. end
  6651. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  6652. local msh = Instance.new("SpecialMesh",a)
  6653. msh.MeshType = "Cylinder"
  6654. msh.Scale = vt(1,1,1)
  6655. for i = 0, 49 do
  6656. swait()
  6657. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  6658. a.Transparency = a.Transparency + 0.02
  6659. end
  6660. wait(1)
  6661. orb:Destroy()
  6662. a:Destroy()
  6663. ht:Destroy()
  6664. end))
  6665. game:GetService("Debris"):AddItem(orb, 10)
  6666. end
  6667. end))
  6668. for i = 0,12,0.1 do
  6669. swait()
  6670. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  6671. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  6672. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  6673. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  6674. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  6675. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  6676. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  6677. end
  6678. hum.WalkSpeed = storehumanoidWS
  6679. attack = false
  6680. end
  6681.  
  6682. function smiter()
  6683. local targetted = nil
  6684. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6685. targetted = mouse.Target.Parent
  6686. end
  6687. if targetted ~= nil then
  6688. RootPart.CFrame = FaceMouse()[1]
  6689. attack = true
  6690. hum.WalkSpeed = 0
  6691. local radm = math.random(1,3)
  6692. if radm == 1 then
  6693. bosschatfunc("Gotcha!",MRCL.Color,1)
  6694. elseif radm == 2 then
  6695. bosschatfunc("Die.",MRCL.Color,1)
  6696. elseif radm == 3 then
  6697. bosschatfunc("Think faster.",MRCL.Color,1)
  6698. end
  6699. coroutine.resume(coroutine.create(function()
  6700. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  6701. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MRCL)
  6702. local vel = Instance.new("BodyPosition", targetted.Head)
  6703. vel.P = 12500
  6704. vel.D = 1000
  6705. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6706. vel.position = targetted.Head.CFrame.p
  6707. end))
  6708. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  6709. for i = 0,4,0.1 do
  6710. swait()
  6711. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MRCL)
  6712. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  6713. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6714. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  6715. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6716. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.2)
  6717. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.2)
  6718. end
  6719. shakes(0.25,0.5)
  6720. coroutine.resume(coroutine.create(function()
  6721. CameraEnshaking(6,5)
  6722. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  6723. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  6724. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  6725. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  6726. for i = 0, 19 do
  6727. slash(math.random(10,50)/10,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(50,250)/250,BrickColor.new("White"))
  6728. end
  6729. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MRCL)
  6730. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MRCL)
  6731. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MRCL)
  6732. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MRCL)
  6733. coroutine.resume(coroutine.create(function()
  6734. local eff = Instance.new("ParticleEmitter",targetted.Head)
  6735. eff.Texture = "rbxassetid://363275192"
  6736. eff.LightEmission = 0.95
  6737. eff.Color = ColorSequence.new(MRCL.Color)
  6738. eff.Rate = 10000
  6739. eff.Lifetime = NumberRange.new(1.5)
  6740. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  6741. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6742. eff.Speed = NumberRange.new(25,150)
  6743. eff.Drag = 5
  6744. eff.Rotation = NumberRange.new(-500,500)
  6745. eff.VelocitySpread = 9000
  6746. eff.RotSpeed = NumberRange.new(-50,50)
  6747. local eff2 = eff:Clone()
  6748. eff2.Parent = targetted.Head
  6749. eff2.LightEmission = 1
  6750. eff2.Color = ColorSequence.new(Color3.new(0.75,0.5,1))
  6751. eff2.Texture = "rbxassetid://2273224484"
  6752. eff2.Rate = 10000
  6753. eff2.Lifetime = NumberRange.new(1,3)
  6754. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)})
  6755. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6756. eff2.Drag = 5
  6757. eff2.Speed = NumberRange.new(50,250)
  6758. eff2.Rotation = NumberRange.new(-500,500)
  6759. eff2.VelocitySpread = 9000
  6760. wait(0.5)
  6761. eff2.Enabled = false
  6762. eff.Enabled = false
  6763. end))
  6764. for i = 0, 9 do
  6765. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MRCL)
  6766. end
  6767. for i = 0, 49 do
  6768. local rsiz = math.random(10,50)
  6769. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MRCL,0)
  6770. end
  6771. game:GetService("Debris"):AddItem(vel,1)
  6772. dmg(targetted)
  6773. end))
  6774. for i = 0,1,0.1 do
  6775. swait()
  6776. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  6777. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  6778. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  6779. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  6780. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  6781. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(20),math.rad(5)),.5)
  6782. end
  6783. attack = false
  6784. hum.WalkSpeed = storehumanoidWS
  6785. end
  6786. end
  6787.  
  6788. function supsmiter()
  6789. local targetted = nil
  6790. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  6791. targetted = mouse.Target.Parent
  6792. end
  6793. if targetted ~= nil then
  6794. RootPart.CFrame = FaceMouse()[1]
  6795. attack = true
  6796. hum.WalkSpeed = 0
  6797. local radm = math.random(1,3)
  6798. if radm == 1 then
  6799. bosschatfunc("Your existance will be gone!",MRCL.Color,1)
  6800. elseif radm == 2 then
  6801. bosschatfunc("Next time, dont mess with me.",MRCL.Color,1)
  6802. elseif radm == 3 then
  6803. bosschatfunc("Nothing will be with you after you're gone!",MRCL.Color,1)
  6804. end
  6805. coroutine.resume(coroutine.create(function()
  6806. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5, 0.5)
  6807. local vel = Instance.new("BodyPosition", targetted.Head)
  6808. vel.P = 12500
  6809. vel.D = 1000
  6810. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  6811. vel.position = targetted.Head.CFrame.p + vt(0,10,0)
  6812. for i,v in pairs(targetted:GetChildren()) do
  6813. if v:IsA("Part") or v:IsA("MeshPart") then
  6814. coroutine.resume(coroutine.create(function()
  6815. local bld = Instance.new("ParticleEmitter",v)
  6816. bld.LightEmission = 0.75
  6817. bld.Texture = "rbxassetid://363275192" ---284205403
  6818. bld.Color = ColorSequence.new(MRCL.Color)
  6819. bld.Rate = 500
  6820. bld.Lifetime = NumberRange.new(1)
  6821. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  6822. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  6823. bld.Speed = NumberRange.new(2,5)
  6824. bld.VelocitySpread = 50000
  6825. bld.Rotation = NumberRange.new(-500,500)
  6826. bld.RotSpeed = NumberRange.new(-500,500)
  6827. end))
  6828. end
  6829. end
  6830. local A1 = Instance.new("Attachment",sorb2)
  6831. local A2 = Instance.new("Attachment",targetted.Head)
  6832. local Beem = Instance.new("Beam",targetted.Head)
  6833. Beem.Attachment0 = A1
  6834. Beem.Attachment1 = A2
  6835. Beem.LightEmission = 1
  6836. Beem.FaceCamera = true
  6837. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  6838. Beem.Width0 = 1
  6839. Beem.Width1 = 1
  6840. Beem.Texture = "rbxassetid://1134824633"
  6841. Beem.TextureMode = "Wrap"
  6842. Beem.TextureLength = 2
  6843. Beem.TextureSpeed = 5
  6844. Beem.Color = ColorSequence.new(MRCL.Color)
  6845. end))
  6846. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  6847. for i = 0,14,0.1 do
  6848. swait()
  6849. rsiz = math.random(5,15)
  6850. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MRCL,-15)
  6851. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MRCL)
  6852. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  6853. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  6854. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  6855. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  6856. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  6857. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  6858. end
  6859. shakes(0.5,0.5)
  6860. sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.1,0.1,0.1,MRCL)
  6861. sphere2(3,"Add",sorb2.CFrame,vt(0,0,0),0.2,0.2,0.2,MRCL)
  6862. CFuncs["Sound"].Create("rbxassetid://1368637781", sorb2, 2.5, 1.1)
  6863. coroutine.resume(coroutine.create(function()
  6864. local ref = Instance.new("Part", char)
  6865. ref.Anchored = true
  6866. ref.CanCollide = false
  6867. ref.Transparency = 1
  6868. ref.CFrame = targetted.Head.CFrame
  6869. sphere2(1,"Add",targetted.Head.CFrame,vt(8,8,8),0.25,0.25,0.25,MRCL)
  6870. sphere2(2,"Add",targetted.Head.CFrame,vt(8,8,8),0.5,0.5,0.5,MRCL)
  6871. sphere2(3,"Add",targetted.Head.CFrame,vt(8,8,8),0.75,0.75,0.75,MRCL)
  6872. for i = 0, 24 do
  6873. slash(math.random(10,25)/10,5,true,"Round","Add","Out",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.001,0.001,0.001),math.random(25,250)/250,BrickColor.new("White"))
  6874. end
  6875. targetted.Head.Parent:Destroy()
  6876. CFuncs["Sound"].Create("rbxassetid://1368637781", ref, 10, 1)
  6877. CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1)
  6878. CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1)
  6879. CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1)
  6880. wait(5)
  6881. ref:Destroy()
  6882. end))
  6883. attack = false
  6884. hum.WalkSpeed = storehumanoidWS
  6885. end
  6886. end
  6887.  
  6888. function BinaryBLINK()
  6889. for i = 0, 9 do
  6890. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL)
  6891. end
  6892. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MRCL)
  6893. coroutine.resume(coroutine.create(function()
  6894. local eff = Instance.new("ParticleEmitter",root)
  6895. eff.Texture = "rbxassetid://1175838406"
  6896. eff.LightEmission = 0.95
  6897. eff.Color = ColorSequence.new(MRCL.Color)
  6898. eff.Rate = 10000
  6899. eff.Lifetime = NumberRange.new(1)
  6900. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  6901. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6902. eff.Speed = NumberRange.new(30,160)
  6903. eff.Drag = 5
  6904. eff.Rotation = NumberRange.new(-500,500)
  6905. eff.VelocitySpread = 100000
  6906. wait(0.25)
  6907. eff.Enabled = false
  6908. wait(4)
  6909. eff:Destroy()
  6910. end))
  6911. CFuncs["Sound"].Create("rbxassetid://335657174", root, 5, 1)
  6912. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  6913. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  6914. CameraEnshaking(2,10)
  6915. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  6916. if v:FindFirstChild('Head') then
  6917. dmg(v)
  6918. end
  6919. end
  6920. for i = 0, 9 do
  6921. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MRCL)
  6922. end
  6923. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MRCL)
  6924. end
  6925.  
  6926. function BinaryE()
  6927. local posit = -2
  6928. attack = true
  6929. hum.WalkSpeed = 5
  6930. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6931. for i = 0,2,0.1 do
  6932. swait()
  6933. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MRCL)
  6934. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6935. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6936. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6937. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6938. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  6939. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  6940. end
  6941. for i = 0, 2 do
  6942. CameraEnshaking(1,2)
  6943. local hite = Instance.new("Part", char)
  6944. hite.Anchored = true
  6945. hite.CanCollide = false
  6946. hite.FormFactor = 3
  6947. hite.Name = "Ring"
  6948. hite.Material = "Neon"
  6949. hite.Size = Vector3.new(1, 1, 1)
  6950. hite.Transparency = 1
  6951. hite.TopSurface = 0
  6952. hite.BottomSurface = 0
  6953. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6954. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6955. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6956. coroutine.resume(coroutine.create(function()
  6957. local eff = Instance.new("ParticleEmitter",hite)
  6958. eff.Texture = "rbxassetid://1175838406"
  6959. eff.LightEmission = 0.95
  6960. eff.Color = ColorSequence.new(MRCL.Color)
  6961. eff.Rate = 1000
  6962. eff.Lifetime = NumberRange.new(1)
  6963. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6964. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6965. eff.Speed = NumberRange.new(10,50)
  6966. eff.Drag = 5
  6967. eff.Rotation = NumberRange.new(-500,500)
  6968. eff.VelocitySpread = 100000
  6969. wait(0.25)
  6970. eff.Enabled = false
  6971. end))
  6972. coroutine.resume(coroutine.create(function()
  6973. for i = 0, 1 do
  6974. swait()
  6975. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  6976. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  6977. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  6978. end
  6979. end))
  6980. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MRCL)
  6981. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6982. game:GetService("Debris"):AddItem(hite, 5)
  6983. posit = posit + 2
  6984. end
  6985. for i = 0,1,0.1 do
  6986. swait()
  6987. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MRCL)
  6988. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6989. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6990. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6991. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6992. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  6993. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  6994. end
  6995. for i = 0,1,0.1 do
  6996. swait()
  6997. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MRCL)
  6998. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6999. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  7000. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  7001. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  7002. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  7003. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  7004. end
  7005. posit = -6
  7006. for i = 0, 6 do
  7007. CameraEnshaking(1,3)
  7008. local hite = Instance.new("Part", char)
  7009. hite.Anchored = true
  7010. hite.CanCollide = false
  7011. hite.FormFactor = 3
  7012. hite.Name = "Ring"
  7013. hite.Material = "Neon"
  7014. hite.Size = Vector3.new(1, 1, 1)
  7015. hite.Transparency = 1
  7016. hite.TopSurface = 0
  7017. hite.BottomSurface = 0
  7018. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  7019. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  7020. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  7021. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MRCL)
  7022. coroutine.resume(coroutine.create(function()
  7023. local eff = Instance.new("ParticleEmitter",hite)
  7024. eff.Texture = "rbxassetid://1175838406"
  7025. eff.LightEmission = 0.95
  7026. eff.Color = ColorSequence.new(MRCL.Color)
  7027. eff.Rate = 1000
  7028. eff.Lifetime = NumberRange.new(1)
  7029. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  7030. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7031. eff.Speed = NumberRange.new(20,70)
  7032. eff.Drag = 5
  7033. eff.Rotation = NumberRange.new(-500,500)
  7034. eff.VelocitySpread = 100000
  7035. wait(0.25)
  7036. eff.Enabled = false
  7037. end))
  7038. coroutine.resume(coroutine.create(function()
  7039. for i = 0, 2 do
  7040. swait()
  7041. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  7042. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  7043. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MRCL)
  7044. end
  7045. end))
  7046. MagniDamage(hite, 5, 40,70, 0, "Normal")
  7047. game:GetService("Debris"):AddItem(hite, 5)
  7048. posit = posit + 2
  7049. end
  7050. for i = 0,1,0.1 do
  7051. swait()
  7052. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MRCL)
  7053. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  7054. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  7055. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  7056. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  7057. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  7058. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  7059. end
  7060. hum.WalkSpeed = storehumanoidWS
  7061. attack = false
  7062. end
  7063.  
  7064. function AZUREFINALE()
  7065. attack = true
  7066. duringend = true
  7067. hum.WalkSpeed = 0
  7068. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  7069. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  7070. local hite = Instance.new("Part", char)
  7071. hite.Anchored = true
  7072. hite.CanCollide = false
  7073. hite.FormFactor = 3
  7074. hite.Name = "Ring"
  7075. hite.Material = "Neon"
  7076. hite.Size = Vector3.new(1, 1, 1)
  7077. hite.Transparency = 0
  7078. hite.TopSurface = 0
  7079. hite.BottomSurface = 0
  7080. hite.BrickColor = MRCL
  7081. local orbm = Instance.new("SpecialMesh", hite)
  7082. orbm.MeshType = "Sphere"
  7083. orbm.Name = "SizeMesh"
  7084. orbm.Scale = vt(0,0,0)
  7085. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  7086. for i = 0,70,0.1 do
  7087. swait()
  7088. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  7089. rsiz = math.random(10,45)
  7090. kan.Volume = kan.Volume + 0.01
  7091. kan.Pitch = kan.Pitch - 0.00135
  7092. sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MRCL,-300)
  7093. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MRCL)
  7094. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7095. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7096. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7097. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7098. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7099. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7100. end
  7101. kan.Pitch = 0.1
  7102. hite.Transparency = 1
  7103. for i = 0,2 do
  7104. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  7105. end
  7106. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  7107. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MRCL)
  7108. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MRCL)
  7109. sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MRCL)
  7110. coroutine.resume(coroutine.create(function()
  7111. local eff = Instance.new("ParticleEmitter",hite)
  7112. eff.Texture = "rbxassetid://284205403"
  7113. eff.LightEmission = 0.95
  7114. eff.Color = ColorSequence.new(MRCL.Color)
  7115. eff.Rate = 10000
  7116. eff.Lifetime = NumberRange.new(5)
  7117. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  7118. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7119. eff.Speed = NumberRange.new(600,1250)
  7120. eff.Drag = 5
  7121. eff.Rotation = NumberRange.new(-500,500)
  7122. eff.VelocitySpread = 9000
  7123. eff.RotSpeed = NumberRange.new(-500,500)
  7124. wait(1)
  7125. eff.Enabled = false
  7126. end))
  7127. for i = 0,5,0.1 do
  7128. swait()
  7129. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7130. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7131. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7132. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7133. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7134. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7135. end
  7136. local adsc = 0
  7137. local radiatezone = 0
  7138. for i = 0,20,0.1 do
  7139. swait()
  7140. adsc = adsc + 0.025
  7141. radiatezone = radiatezone + 1.25
  7142. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MRCL)
  7143. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  7144. if v:FindFirstChild('Head') then
  7145. dmg(v)
  7146. end
  7147. end
  7148. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7149. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7150. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7151. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7152. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7153. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7154. end
  7155. for i = 0,2 do
  7156. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  7157. end
  7158. for i = 0,40,0.1 do
  7159. swait()
  7160. adsc = adsc + 0.05
  7161. radiatezone = radiatezone + 2.5
  7162. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MRCL)
  7163. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  7164. if v:FindFirstChild('Head') then
  7165. dmg(v)
  7166. end
  7167. end
  7168. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7169. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7170. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7171. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7172. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7173. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7174. end
  7175. for i = 0,4 do
  7176. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  7177. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  7178. end
  7179. for i = 0,80,0.1 do
  7180. swait()
  7181. adsc = adsc + 0.075
  7182. radiatezone = radiatezone + 3.75
  7183. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MRCL)
  7184. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  7185. if v:FindFirstChild('Head') then
  7186. dmg(v)
  7187. end
  7188. end
  7189. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7190. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7191. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7192. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7193. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  7194. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  7195. end
  7196. hite:Destroy()
  7197. duringend = false
  7198. hum.WalkSpeed = storehumanoidWS
  7199. attack = false
  7200. end
  7201.  
  7202. function AzureVANISHMENT()
  7203. attack = true
  7204. hum.WalkSpeed = 0
  7205. local truescale = 0
  7206. local rd = math.random(1,3)
  7207. if rd == 1 then
  7208. bosschatfunc("This is your end!",MRCL.Color,2)
  7209. elseif rd == 2 then
  7210. bosschatfunc("Pathetic.",MRCL.Color,2)
  7211. elseif rd == 3 then
  7212. bosschatfunc("Time to end this.",MRCL.Color,2)
  7213. end
  7214. CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 10, 0.25)
  7215. for i = 0,49,0.1 do
  7216. swait()
  7217. truescale = truescale + 0.2
  7218. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7219. slash(5,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(3,0.01,3),-3,BrickColor.new("Royal purple"))
  7220. block(10,"Add",root.CFrame*CFrame.new(0,75,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(truescale,truescale,truescale),0.01,0.01,0.01,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  7221. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(5),math.rad(-10)),.5)
  7222. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(5)),.5)
  7223. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(40)),.5)
  7224. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.5)
  7225. RW.C0=clerp(RW.C0,cf(1.45,1,0.1)*angles(math.rad(180),math.rad(-30),math.rad(-5)),.5)
  7226. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  7227. end
  7228. hum.CameraOffset = vt(0,0,0)
  7229. CFuncs["Sound"].Create("rbxassetid://260411131", rarm, 7.5, 1)
  7230. for i = 0,2,0.1 do
  7231. swait()
  7232. block(10,"Add",rarm.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  7233. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(5),math.rad(-10)),.5)
  7234. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(1),math.rad(5)),.5)
  7235. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(55)),.5)
  7236. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-55)),.5)
  7237. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.6)*angles(math.rad(90),math.rad(0),math.rad(-50)),.5)
  7238. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-10)),.5)
  7239. end
  7240. shakes(1,4)
  7241. local orb = Instance.new("Part", char)
  7242. for i = 0, 4 do
  7243. CFuncs["Sound"].Create("rbxassetid://335657174", char, 7.5, 0.5)
  7244. end
  7245. local efec = Instance.new("ParticleEmitter",orb)
  7246. efec.Texture = "rbxassetid://2109052855"
  7247. efec.LightEmission = 1
  7248. efec.Color = ColorSequence.new(Color3.new(0.5,0,1))
  7249. efec.Rate = 5
  7250. efec.Lifetime = NumberRange.new(3)
  7251. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,100,0),NumberSequenceKeypoint.new(0.2,175,0),NumberSequenceKeypoint.new(0.6,110,0),NumberSequenceKeypoint.new(0.8,175,0),NumberSequenceKeypoint.new(1,200,0)})
  7252. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7253. efec.Drag = 5
  7254. efec.LockedToPart = true
  7255. efec.Rotation = NumberRange.new(-500,500)
  7256. efec.VelocitySpread = 9000
  7257. efec.RotSpeed = NumberRange.new(-500,500)
  7258. orb.BrickColor = BrickColor.new("Magenta")
  7259. orb.CanCollide = false
  7260. orb.FormFactor = 3
  7261. orb.Name = "Ring"
  7262. orb.Material = "Neon"
  7263. orb.Size = Vector3.new(1, 1, 1)
  7264. orb.Transparency = 0
  7265. orb.TopSurface = 0
  7266. orb.BottomSurface = 0
  7267. local orbm = Instance.new("SpecialMesh", orb)
  7268. orbm.MeshType = "Sphere"
  7269. orbm.Name = "SizeMesh"
  7270. orbm.Scale = vt(25,25,25)
  7271. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  7272. local a = Instance.new("Part",workspace)
  7273. a.Name = "Direction"
  7274. a.Anchored = true
  7275. a.BrickColor = bc("Bright red")
  7276. a.Material = "Neon"
  7277. a.Transparency = 1
  7278. a.CanCollide = false
  7279. local ray = Ray.new(
  7280. orb.CFrame.p, -- origin
  7281. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7282. )
  7283. local ignore = orb
  7284. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7285. a.BottomSurface = 10
  7286. a.TopSurface = 10
  7287. local distance = (orb.CFrame.p - position).magnitude
  7288. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7289. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7290. orb.CFrame = a.CFrame
  7291. a:Destroy()
  7292. local over = false
  7293. local bgui,imgc = createBGCircle(250,orb,Color3.new(0.5,0,1))
  7294. bgui.AlwaysOnTop = true
  7295. imgc.Image = "rbxassetid://2076519836"
  7296. coroutine.resume(coroutine.create(function()
  7297. while true do
  7298. swait()
  7299. if over == false then
  7300. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  7301. coroutine.resume(coroutine.create(function()
  7302. for i, v in pairs(FindNearestHead(orb.CFrame.p, 100)) do
  7303. if v:FindFirstChild('Head') then
  7304. dmg(v)
  7305. end
  7306. end
  7307. end))
  7308. slash(10,2,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),1,BrickColor.new("Dark indigo"))
  7309. imgc.Rotation = imgc.Rotation + 5
  7310. imgc.ImageTransparency = 0.75 + 0.25 * math.cos(sine / 15)
  7311. bgui.Size = UDim2.new(250 + 25 * math.cos(sine / 15),0, 250 + 25 * math.cos(sine / 15),0)
  7312. elseif over == true then
  7313. break
  7314. end
  7315. end
  7316. end))
  7317. local bv = Instance.new("BodyVelocity")
  7318. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7319. bv.velocity = orb.CFrame.lookVector*50
  7320. bv.Parent = orb
  7321. coroutine.resume(coroutine.create(function()
  7322. wait(10)
  7323. hum.CameraOffset = vt(0,0,0)
  7324. over = true
  7325. efec.Enabled = false
  7326. orb.Anchored = true
  7327. shakes(6,5)
  7328. for i = 0, 2 do
  7329. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 10,1)
  7330. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 10, 0.5)
  7331. CFuncs["LongSound"].Create("rbxassetid://763717897", char, 7.5, 0.25)
  7332. CFuncs["Sound"].Create("rbxassetid://763718160", char, 10, 0.9)
  7333. CFuncs["Sound"].Create("rbxassetid://782353443", char, 10, 0.5)
  7334. CFuncs["Sound"].Create("rbxassetid://335657174", char, 5, 0.75)
  7335. CFuncs["LongSound"].Create("rbxassetid://335657174", char, 10, 0.25)
  7336. CFuncs["Sound"].Create("rbxassetid://167115397", char, 10, 1)
  7337. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.75)
  7338. CFuncs["LongSound"].Create("rbxassetid://167115397", char, 10, 0.5)
  7339. end
  7340. for i = 0, 2 do
  7341. block(3,"Add",orb.CFrame,vt(1,1,1),6.5,6.5,6.5,BrickColor.new("Dark indigo"),BrickColor.new("Dark indigo").Color)
  7342. block(2,"Add",orb.CFrame,vt(1,1,1),6,6,6,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  7343. block(1,"Add",orb.CFrame,vt(1,1,1),4.5,4.5,4.5,BrickColor.new("Magenta"),BrickColor.new("Magenta").Color)
  7344. end
  7345. for i = 0, 49 do
  7346. slash(math.random(10,30)/10,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,2500)/250,BrickColor.new("Royal purple"))
  7347. end
  7348. imgc.ImageTransparency = 0
  7349. --CameraEnshaking(20,30)
  7350. for i = 0, 199 do
  7351. swait()
  7352. --[[coroutine.resume(coroutine.create(function()
  7353. for i, v in pairs(FindNearestHead(orb.CFrame.p, 5000)) do
  7354. if v:FindFirstChild('Head') then
  7355. dmg(v)
  7356. end
  7357. end
  7358. end))]]--
  7359. imgc.Rotation = imgc.Rotation + 10
  7360. local dis = CreateParta(char,1,1,"Neon",MRCL)
  7361. dis.CFrame = orb.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7362. local at1 = Instance.new("Attachment",dis)
  7363. at1.Position = vt(-25000,0,0)
  7364. local at2 = Instance.new("Attachment",dis)
  7365. at2.Position = vt(25000,0,0)
  7366. local trl = Instance.new('Trail',dis)
  7367. trl.Attachment0 = at1
  7368. trl.FaceCamera = true
  7369. trl.Attachment1 = at2
  7370. trl.Texture = "rbxassetid://1049219073"
  7371. trl.LightEmission = 1
  7372. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7373. trl.Color = ColorSequence.new(orb.Color)
  7374. trl.Lifetime = 5
  7375. local bv = Instance.new("BodyVelocity")
  7376. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7377. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7378. bv.Parent = dis
  7379. game:GetService("Debris"):AddItem(dis, 5)
  7380. sphere2(15,"Add",orb.CFrame,vt(1.25,1.25,1.25),45,45,45,BrickColor.new("Royal purple"))
  7381. for i = 0, 2 do
  7382. slash(15,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),25,BrickColor.new("Really black"))
  7383. slash(15,5,true,"Round","Add","Out",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),50,BrickColor.new("Dark indigo"))
  7384. end
  7385. orbm.Scale = orbm.Scale + vt(10,10,10)
  7386. orb.Transparency = orb.Transparency + 0.005
  7387. imgc.ImageTransparency = imgc.ImageTransparency + 0.005
  7388. bgui.Size = bgui.Size + UDim2.new(35,0,35,0)
  7389. end
  7390. hum.CameraOffset = vt(0,0,0)
  7391. game:GetService("Debris"):AddItem(orb, 10)
  7392. end))
  7393. for i = 0,2,0.1 do
  7394. swait()
  7395. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(5),math.rad(-10)),.5)
  7396. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(20),math.rad(10)),.5)
  7397. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,1)*angles(math.rad(5),math.rad(0),math.rad(-45)),.5)
  7398. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(45)),.5)
  7399. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(50)),.5)
  7400. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(20),math.rad(10),math.rad(-30)),.5)
  7401. end
  7402. attack = false
  7403. hum.WalkSpeed = storehumanoidWS
  7404. end
  7405.  
  7406. function GalacticalBeams()
  7407. attack = true
  7408. local keptcolor = MRCL
  7409. local radm = math.random(1,3)
  7410. if radm == 1 then
  7411. bosschatfunc("Galactical Beam!",MRCL.Color,1)
  7412. elseif radm == 2 then
  7413. bosschatfunc("Dodge this.",MRCL.Color,1)
  7414. elseif radm == 3 then
  7415. bosschatfunc("Aren't you familiar?",MRCL.Color,1)
  7416. end
  7417. coroutine.resume(coroutine.create(function()
  7418. for i = 0, 0 do
  7419. swait(10)
  7420. local orb = Instance.new("Part", char)
  7421. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7422. orb.BrickColor = keptcolor
  7423. orb.CanCollide = false
  7424. orb.FormFactor = 3
  7425. orb.Name = "Ring"
  7426. orb.Material = "Neon"
  7427. orb.Size = Vector3.new(1, 1, 1)
  7428. orb.Transparency = 1
  7429. orb.TopSurface = 0
  7430. orb.BottomSurface = 0
  7431. orb.Anchored = true
  7432. local orbm = Instance.new("SpecialMesh", orb)
  7433. orbm.MeshType = "Sphere"
  7434. orbm.Name = "SizeMesh"
  7435. orbm.Scale = vt(1.25,1.25,1.25)
  7436. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  7437. coroutine.resume(coroutine.create(function()
  7438. orb.Transparency = 1
  7439. local a = Instance.new("Part",char)
  7440. a.Name = "Direction"
  7441. a.Anchored = true
  7442. a.BrickColor = keptcolor
  7443. a.Material = "Neon"
  7444. a.Transparency = 1
  7445. a.Shape = "Cylinder"
  7446. local x = Instance.new("Part",char)
  7447. x.Name = "Direction"
  7448. x.Anchored = true
  7449. x.BrickColor = keptcolor
  7450. x.Material = "Neon"
  7451. x.Transparency = 1
  7452. x.Shape = "Cylinder"
  7453. local ht = Instance.new("Part",char)
  7454. ht.Name = "DirectionHit"
  7455. ht.Anchored = true
  7456. ht.BrickColor = keptcolor
  7457. ht.CanCollide = false
  7458. ht.Transparency = 1
  7459. ht.Size = vt(0.1,0.1,0.1)
  7460. a.CanCollide = false
  7461. local ray = Ray.new(
  7462. orb.CFrame.p, -- origin
  7463. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  7464. )
  7465. local ignore = char
  7466. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7467. a.BottomSurface = 10
  7468. a.TopSurface = 10
  7469. local distance = (orb.CFrame.p - position).magnitude
  7470. a.Size = Vector3.new(distance,1,1)
  7471. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7472. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7473. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7474. local poste = 0
  7475. local rotation = 0
  7476. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  7477. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  7478. CameraEnshaking(2,2)
  7479. coroutine.resume(coroutine.create(function()
  7480. local eff = Instance.new("ParticleEmitter",orb)
  7481. eff.Texture = "rbxassetid://2273224484"
  7482. eff.LightEmission = 1
  7483. eff.Color = ColorSequence.new(keptcolor.Color)
  7484. eff.Rate = 15000
  7485. eff.Lifetime = NumberRange.new(2.5,5)
  7486. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,60,0),NumberSequenceKeypoint.new(0.2,3,0),NumberSequenceKeypoint.new(0.8,24,0),NumberSequenceKeypoint.new(1,0,0)})
  7487. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7488. eff.Speed = NumberRange.new(100,650)
  7489. eff.Drag = 5
  7490. eff.Rotation = NumberRange.new(-500,500)
  7491. eff.VelocitySpread = 9000
  7492. eff.RotSpeed = NumberRange.new(-50,50)
  7493. wait(0.35)
  7494. eff.Enabled = false
  7495. end))
  7496. for i = 0, 49 do
  7497. swait()
  7498. rotation = rotation + 5
  7499. poste = poste + 1
  7500. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7501. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7502. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7503. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7504. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7505. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7506. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7507. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7508. end
  7509. shakes(1,1)
  7510. local A1 = Instance.new("Attachment",x)
  7511. local A2 = Instance.new("Attachment",ht)
  7512. local Beem = Instance.new("Beam",ht)
  7513. Beem.Attachment0 = A1
  7514. Beem.Attachment1 = A2
  7515. Beem.LightEmission = 1
  7516. Beem.FaceCamera = true
  7517. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  7518. Beem.Width0 = 125
  7519. Beem.Width1 = 125
  7520. Beem.Texture = "rbxassetid://1134824633"
  7521. Beem.TextureMode = "Wrap"
  7522. Beem.TextureLength = 200
  7523. Beem.TextureSpeed = 1.5
  7524. Beem.Color = ColorSequence.new(keptcolor.Color)
  7525. CameraEnshaking(3,6)
  7526. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 1.5, 1)
  7527. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  7528. a.Transparency = 0.25
  7529. for i = 0, 49 do
  7530. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  7531. disr.CFrame = ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7532. local at1 = Instance.new("Attachment",disr)
  7533. at1.Position = vt(-5,0,0)
  7534. local at2 = Instance.new("Attachment",disr)
  7535. at2.Position = vt(5,0,0)
  7536. local trl = Instance.new('Trail',disr)
  7537. trl.Attachment0 = at1
  7538. trl.FaceCamera = true
  7539. trl.Attachment1 = at2
  7540. trl.Texture = "rbxassetid://2325530138"
  7541. trl.LightEmission = 1
  7542. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7543. trl.Color = ColorSequence.new(keptcolor.Color)
  7544. trl.Lifetime = 0.5
  7545. local bv = Instance.new("BodyVelocity")
  7546. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7547. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  7548. bv.Parent = disr
  7549. local val = 0
  7550. coroutine.resume(coroutine.create(function()
  7551. swait(math.random(30,60))
  7552. for i = 0, 19 do
  7553. swait()
  7554. val = val + 0.05
  7555. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7556. end
  7557. game:GetService("Debris"):AddItem(disr, 3)
  7558. end))
  7559. end
  7560. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  7561. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  7562. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7563. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7564. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  7565. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1.5,1.5,1.5,keptcolor)
  7566. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  7567. local eff = Instance.new("ParticleEmitter",ht)
  7568. eff.Texture = "rbxassetid://2273224484"
  7569. eff.LightEmission = 1
  7570. eff.Color = ColorSequence.new(keptcolor.Color)
  7571. eff.Rate = 500
  7572. eff.Lifetime = NumberRange.new(1,3)
  7573. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,10,0),NumberSequenceKeypoint.new(1,0,0)})
  7574. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7575. eff.Speed = NumberRange.new(80,700)
  7576. eff.Drag = 3
  7577. eff.Rotation = NumberRange.new(-500,500)
  7578. eff.VelocitySpread = 9000
  7579. eff.RotSpeed = NumberRange.new(-100,100)
  7580. for i = 0, 24 do
  7581. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  7582. local rsiz = math.random(10,50)
  7583. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  7584. end
  7585. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7586. local msh = Instance.new("SpecialMesh",a)
  7587. msh.MeshType = "Cylinder"
  7588. msh.Scale = vt(1,15,15)
  7589. for i = 0, 49 do
  7590. swait()
  7591. CameraEnshaking(1,4)
  7592. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  7593. rotation = rotation + 5
  7594. slash(math.random(30,90)/10,5,true,"Round","Add","Out",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(200,450)/250,BrickColor.new("White"))
  7595. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  7596. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  7597. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  7598. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7599. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7600. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7601. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7602. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7603. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7604. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7605. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  7606. for i = 0, 2 do
  7607. local rsiz = math.random(50,250)
  7608. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  7609. end
  7610. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  7611. end
  7612. eff.Enabled = false
  7613. local visibility = 0
  7614. for i = 0, 49 do
  7615. swait()
  7616. visibility = visibility + 0.02
  7617. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  7618. rotation = rotation + 5
  7619. poste = poste - 1
  7620. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7621. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7622. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7623. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7624. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7625. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(90 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7626. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7627. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(270 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  7628. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  7629. a.Transparency = a.Transparency + 0.02
  7630. end
  7631. wait(1)
  7632. orb:Destroy()
  7633. a:Destroy()
  7634. ht:Destroy()
  7635. end))
  7636. game:GetService("Debris"):AddItem(orb, 10)
  7637. end
  7638. end))
  7639. hum.WalkSpeed = storehumanoidWS
  7640. attack = false
  7641. end
  7642.  
  7643. function SingularityVoid()
  7644. attack = true
  7645. hum.WalkSpeed = 0
  7646. hum.JumpPower = 0
  7647. local radm = math.random(1,3)
  7648. if radm == 1 then
  7649. bosschatfunc("Singularity Void!",MRCL.Color,1)
  7650. elseif radm == 2 then
  7651. bosschatfunc("Be one with darkness.",MRCL.Color,1)
  7652. elseif radm == 3 then
  7653. bosschatfunc("Don't bother me.",MRCL.Color,1)
  7654. end
  7655. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  7656. local poste = 3
  7657. local rotation = 0
  7658. local rate = 0
  7659. local bgui,imgc = createBGCircle(0,root,Color3.new(0,0,0))
  7660. bgui.AlwaysOnTop = true
  7661. imgc.ImageTransparency = 1
  7662. imgc.Image = "rbxassetid://2076519836"
  7663. for i = 0, 124 do
  7664. swait()
  7665. bgui.Size = bgui.Size + UDim2.new(2.5,0,2.5,0)
  7666. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  7667. imgc.Rotation = imgc.Rotation - rotation/10
  7668. rotation = rotation + rate
  7669. poste = poste + 0.1
  7670. rate = rate + 0.1
  7671. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-25)),.1)
  7672. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(25)),.1)
  7673. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-25),math.rad(0),math.rad(0)),.1)
  7674. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  7675. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(90)),.1)
  7676. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(0),math.rad(-90)),.1)
  7677. end
  7678. shakes(1,1)
  7679. CameraEnshaking(5,12)
  7680. local keptcolor = MRCL
  7681. for i, v in pairs(FindNearestHead(root.CFrame.p, 125)) do
  7682. if v:FindFirstChild('Head') then
  7683. coroutine.resume(coroutine.create(function()
  7684. CFuncs["Sound"].Create("rbxassetid://1042716828", v.Head, 5, 0.5)
  7685. local vel = Instance.new("BodyPosition", v.Head)
  7686. vel.P = 12500
  7687. vel.D = 1000
  7688. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7689. vel.position = v.Head.CFrame.p + vt(0,10,0)
  7690. for i,v in pairs(v:GetChildren()) do
  7691. if v:IsA("Part") or v:IsA("MeshPart") then
  7692. coroutine.resume(coroutine.create(function()
  7693. local bld = Instance.new("ParticleEmitter",v)
  7694. bld.LightEmission = 0.75
  7695. bld.Texture = "rbxassetid://363275192" ---284205403
  7696. bld.Color = ColorSequence.new(keptcolor.Color)
  7697. bld.Rate = 500
  7698. bld.Lifetime = NumberRange.new(1)
  7699. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  7700. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  7701. bld.Speed = NumberRange.new(2,5)
  7702. bld.VelocitySpread = 50000
  7703. bld.Rotation = NumberRange.new(-500,500)
  7704. bld.RotSpeed = NumberRange.new(-500,500)
  7705. end))
  7706. end
  7707. end
  7708. local A1 = Instance.new("Attachment",root)
  7709. local A2 = Instance.new("Attachment",v.Head)
  7710. local Beem = Instance.new("Beam",v.Head)
  7711. Beem.Attachment0 = A1
  7712. Beem.Attachment1 = A2
  7713. Beem.LightEmission = 1
  7714. Beem.FaceCamera = true
  7715. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  7716. Beem.Width0 = 1
  7717. Beem.Width1 = 1
  7718. Beem.Texture = "rbxassetid://1134824633"
  7719. Beem.TextureMode = "Wrap"
  7720. Beem.TextureLength = 2
  7721. Beem.TextureSpeed = 5
  7722. Beem.Color = ColorSequence.new(keptcolor.Color)
  7723. wait(5)
  7724. coroutine.resume(coroutine.create(function()
  7725. local ref = Instance.new("Part", char)
  7726. ref.Anchored = true
  7727. ref.CanCollide = false
  7728. ref.Transparency = 1
  7729. ref.CFrame = v.Head.CFrame
  7730. sphere2(1,"Add",v.Head.CFrame,vt(25,25,25),-0.25,-0.25,-0.25,keptcolor)
  7731. sphere2(2,"Add",v.Head.CFrame,vt(25,25,25),-0.5,-0.5,-0.5,keptcolor)
  7732. sphere2(3,"Add",v.Head.CFrame,vt(25,25,25),-0.75,-0.75,-0.75,keptcolor)
  7733. for i = 0, 9 do
  7734. slash(math.random(10,25)/10,5,true,"Round","Add","Out",v.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,0.001,0.5),-1,BrickColor.new("Really black"))
  7735. end
  7736. v.Head.Parent:Destroy()
  7737. CFuncs["Sound"].Create("rbxassetid://763718160", ref, 10, 1.1)
  7738. CFuncs["Sound"].Create("rbxassetid://782353443", ref, 10, 1)
  7739. CFuncs["Sound"].Create("rbxassetid://335657174", ref, 10, 1)
  7740. wait(5)
  7741. ref:Destroy()
  7742. end))
  7743. end))
  7744. end
  7745. end
  7746. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2, 1)
  7747. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 3, 1)
  7748. CFuncs["Sound"].Create("rbxassetid://167115397", char, 3, 1)
  7749. CFuncs["Sound"].Create("rbxassetid://782353443", char, 3, 0.9)
  7750. CFuncs["Sound"].Create("rbxassetid://782353443", char, 4, 0.8)
  7751. CFuncs["Sound"].Create("rbxassetid://782353443", char, 5, 0.7)
  7752. for i = 0, 49 do
  7753. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.25,0.01,0.25),math.random(150,1000)/250,BrickColor.new("Really black"))
  7754. end
  7755. coroutine.resume(coroutine.create(function()
  7756. local eff = Instance.new("ParticleEmitter",root)
  7757. eff.Texture = "rbxassetid://2273224484"
  7758. eff.LightEmission = 1
  7759. eff.Color = ColorSequence.new(BrickColor.new("Alder").Color)
  7760. eff.Rate = 5000000
  7761. eff.Lifetime = NumberRange.new(3)
  7762. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,25,0),NumberSequenceKeypoint.new(0.2,8,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7763. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7764. eff.Speed = NumberRange.new(150,1000)
  7765. eff.Drag = 5
  7766. eff.Rotation = NumberRange.new(-500,500)
  7767. eff.VelocitySpread = 9000
  7768. eff.RotSpeed = NumberRange.new(-100,100)
  7769. wait(0.5)
  7770. eff.Enabled = false
  7771. wait(6)
  7772. eff:Destroy()
  7773. end))
  7774. coroutine.resume(coroutine.create(function()
  7775. local eff = Instance.new("ParticleEmitter",root)
  7776. eff.Texture = "rbxassetid://363275192"
  7777. eff.LightEmission = 0.95
  7778. eff.Color = ColorSequence.new(MRCL.Color)
  7779. eff.Rate = 10000
  7780. eff.Lifetime = NumberRange.new(1)
  7781. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)})
  7782. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7783. eff.Speed = NumberRange.new(100,500)
  7784. eff.Drag = 5
  7785. eff.Rotation = NumberRange.new(-500,500)
  7786. eff.VelocitySpread = 9000
  7787. eff.RotSpeed = NumberRange.new(-50,50)
  7788. wait(0.5)
  7789. eff.Enabled = false
  7790. wait(6)
  7791. eff:Destroy()
  7792. end))
  7793. sphere2(10,"Add",root.CFrame,vt(250,250,250),5,5,5,MRCL)
  7794. sphere2(9,"Add",root.CFrame,vt(250,250,250),5,5,5,MRCL)
  7795. sphere2(8,"Add",root.CFrame,vt(250,250,250),5,5,5,MRCL)
  7796. sphere2(2,"Add",root.CFrame,vt(250,250,250),0.1,0.1,0.1,MRCL)
  7797. coroutine.resume(coroutine.create(function()
  7798. wait(1)
  7799. rotation = 0
  7800. rate = 0
  7801. for i = 0, 49 do
  7802. swait()
  7803. bgui.Size = bgui.Size - UDim2.new(rate/2,0,rate/2,0)
  7804. imgc.Rotation = imgc.Rotation + rotation/20
  7805. rotation = rotation + rate
  7806. poste = poste + 1.5
  7807. rate = rate + 1.5
  7808. end
  7809. bgui:Destroy()
  7810. end))
  7811. hum.WalkSpeed = storehumanoidWS
  7812. hum.JumpPower = 50
  7813. attack = false
  7814. end
  7815.  
  7816.  
  7817. function WarpedDash()
  7818. attack = true
  7819. hum.WalkSpeed = 0
  7820. hum.JumpPower = 0
  7821. local radm = math.random(1,3)
  7822. if radm == 1 then
  7823. bosschatfunc("Act faster.",MRCL.Color,1)
  7824. elseif radm == 2 then
  7825. bosschatfunc("You'll be dusted out.",MRCL.Color,1)
  7826. elseif radm == 3 then
  7827. bosschatfunc("Warped Dash!",MRCL.Color,1)
  7828. end
  7829. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  7830. local poste = 3
  7831. local rotation = 0
  7832. local rate = 0
  7833. local bgui,imgc = createBGCircle(100,root,MRCL.Color)
  7834. bgui.AlwaysOnTop = true
  7835. imgc.ImageTransparency = 1
  7836. imgc.Image = "rbxassetid://2076519836"
  7837. for i = 0, 124 do
  7838. swait()
  7839. bgui.Size = bgui.Size - UDim2.new(0.85,0,0.85,0)
  7840. imgc.ImageTransparency = imgc.ImageTransparency - 0.01
  7841. imgc.Rotation = imgc.Rotation - rotation/10
  7842. rotation = rotation + rate
  7843. poste = poste + 0.1
  7844. rate = rate + 0.1
  7845. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MRCL)
  7846. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MRCL)
  7847. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MRCL)
  7848. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MRCL)
  7849. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MRCL)
  7850. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MRCL)
  7851. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(poste/100,0.01,poste/100),poste/30,BrickColor.new("White"))
  7852. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  7853. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
  7854. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  7855. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  7856. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  7857. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  7858. end
  7859. shakes(1.5,1)
  7860. bgui:Destroy()
  7861. CameraEnshaking(3,7)
  7862. local loc = Instance.new("Part", char)
  7863. loc.BrickColor = MRCL
  7864. loc.CanCollide = false
  7865. loc.FormFactor = 3
  7866. loc.Name = "Ring"
  7867. loc.Material = "Neon"
  7868. loc.Size = Vector3.new(1, 1, 1)
  7869. loc.Transparency = 1
  7870. loc.TopSurface = 0
  7871. loc.BottomSurface = 0
  7872. loc.Anchored = true
  7873. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  7874. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  7875. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  7876. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  7877. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MRCL)
  7878. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MRCL)
  7879. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MRCL)
  7880. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MRCL)
  7881. coroutine.resume(coroutine.create(function()
  7882. for i = 0, 49 do
  7883. local disr = CreateParta(char,1,1,"Neon",MRCL)
  7884. disr.CFrame = loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7885. local at1 = Instance.new("Attachment",disr)
  7886. at1.Position = vt(-5,0,0)
  7887. local at2 = Instance.new("Attachment",disr)
  7888. at2.Position = vt(5,0,0)
  7889. local trl = Instance.new('Trail',disr)
  7890. trl.Attachment0 = at1
  7891. trl.FaceCamera = true
  7892. trl.Attachment1 = at2
  7893. trl.Texture = "rbxassetid://2325530138"
  7894. trl.LightEmission = 1
  7895. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7896. trl.Color = ColorSequence.new(MRCL.Color)
  7897. trl.Lifetime = 0.5
  7898. local bv = Instance.new("BodyVelocity")
  7899. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7900. bv.velocity = disr.CFrame.lookVector*math.random(50,500)
  7901. bv.Parent = disr
  7902. local val = 0
  7903. coroutine.resume(coroutine.create(function()
  7904. swait(math.random(30,60))
  7905. for i = 0, 9 do
  7906. swait()
  7907. val = val + 0.1
  7908. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  7909. end
  7910. game:GetService("Debris"):AddItem(disr, 3)
  7911. end))
  7912. end
  7913. local eff = Instance.new("ParticleEmitter",loc)
  7914. eff.Texture = "rbxassetid://363275192"
  7915. eff.LightEmission = 0.95
  7916. eff.Color = ColorSequence.new(MRCL.Color)
  7917. eff.Rate = 10000
  7918. eff.Lifetime = NumberRange.new(1)
  7919. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,80,0)})
  7920. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7921. eff.Speed = NumberRange.new(100,500)
  7922. eff.Drag = 5
  7923. eff.Rotation = NumberRange.new(-500,500)
  7924. eff.VelocitySpread = 9000
  7925. eff.RotSpeed = NumberRange.new(-50,50)
  7926. wait(0.5)
  7927. eff.Enabled = false
  7928. end))
  7929. for i = 0, 29 do
  7930. slash(math.random(10,50)/10,5,true,"Round","Add","Out",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(150,500)/250,BrickColor.new("White"))
  7931. end
  7932. for i = 0, 49 do
  7933. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MRCL)
  7934. end
  7935. for i = 0, 9 do
  7936. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MRCL)
  7937. end
  7938. game:GetService("Debris"):AddItem(loc, 5)
  7939. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  7940. hum.WalkSpeed = storehumanoidWS
  7941. hum.JumpPower = 50
  7942. attack = false
  7943. end
  7944. ---- Universal's Abilities
  7945. function annihilation()
  7946. attack = true
  7947. hum.WalkSpeed = 0
  7948. CFuncs["Sound"].Create("rbxassetid://247615928", char, 1.5, 1)
  7949. for i = 0, 9, 0.1 do
  7950. swait()
  7951. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(20)),.1)
  7952. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-20)),.1)
  7953. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.2 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  7954. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(35),math.rad(0),math.rad(0)),.1)
  7955. RW.C0=clerp(RW.C0,cf(1.05,0.5 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(140 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(-42 + 3 * math.cos(sine / 15))),.1)
  7956. LW.C0=clerp(LW.C0,cf(-1.05,0.5 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(130 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(42 - 3 * math.cos(sine / 15))),.1)
  7957. end
  7958. for i = 0, 3, 0.1 do
  7959. swait()
  7960. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(0)),.1)
  7961. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(0)),.1)
  7962. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7963. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.1)
  7964. RW.C0=clerp(RW.C0,cf(1.05,0.65 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(180 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(-42 + 3 * math.cos(sine / 15))),.1)
  7965. LW.C0=clerp(LW.C0,cf(-1.05,0.65 + 0.075 * math.cos(sine / 18),-0.5)*angles(math.rad(170 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(42 - 3 * math.cos(sine / 15))),.1)
  7966. end
  7967. shakes(1.5,3)
  7968. --[[local e = script.redness:Clone()
  7969. e.Parent = game:GetService("Lighting")]]--
  7970. CFuncs["Sound"].Create("rbxassetid://763717897", char, 3, 0.5)
  7971. CFuncs["Sound"].Create("rbxassetid://239000203", char, 3, 0.9)
  7972. CFuncs["Sound"].Create("rbxassetid://1413550336", char, 3, 1.1)
  7973. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2,0.75)
  7974. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 2,1)
  7975. CFuncs["Sound"].Create("rbxassetid://763718160", char, 2, 0.75)
  7976. for i = 0, 21, 0.1 do
  7977. swait()
  7978. coroutine.resume(coroutine.create(function()
  7979. if enableddam == true then
  7980. for i, v in pairs(FindNearestHead(root.CFrame.p, 1000000000)) do
  7981. if v:FindFirstChild('Head') then
  7982. dmg(v)
  7983. end
  7984. end
  7985. end
  7986. end))
  7987. slash(math.random(30,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,2500)/250,BrickColor.new("Really red"))
  7988. slash(math.random(30,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(500,2500)/250,BrickColor.new("Really black"))
  7989. sphere2(8,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,250,1,MRCL)
  7990. sphere2(8,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),1,250,1,MRCL2)
  7991. sphere2(6,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),5,5,5,MRCL)
  7992. sphere2(7,"Add",root.CFrame*CFrame.Angles(0,0,0),vt(0,0,0),5.1,5.1,5.1,MRCL2)
  7993. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-30)),.5)
  7994. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(30)),.5)
  7995. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  7996. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-32),math.rad(0),math.rad(0 + 35 * math.cos(sine / 0.2))),.5)
  7997. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(-40 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(50 + 3 * math.cos(sine / 15))),.5)
  7998. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(-40 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(-50 - 3 * math.cos(sine / 15))),.5)
  7999. end
  8000. --e:Destroy()
  8001. attack = false
  8002. hum.WalkSpeed = storehumanoidWS
  8003. end
  8004.  
  8005. local etypemodes = "U"
  8006. local attacktype = 1
  8007.  
  8008. local OVMID = 1702473314
  8009. local OVMPIT = 1.0125
  8010. local OVMVOL = 1
  8011.  
  8012. Humanoid.Animator.Parent = nil
  8013.  
  8014.  
  8015. mouse.KeyDown:Connect(function(k)
  8016. if etypemodes == "U" then
  8017. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8018. ModeOfGlitch = 1
  8019. storehumanoidWS = 16
  8020. hum.WalkSpeed = 16
  8021. rainbowmode = false
  8022. chaosmode = false
  8023. newTheme("rbxassetid://2128137966",0,1.01,1.25)
  8024. MRCL = BrickColor.new("Toothpaste")
  8025. MRCL2 = BrickColor.new("Mint")
  8026. RecolorTextAndRename("EXQUISITE",MRCL.Color,MRCL2.Color,"Antique","Camellia - INSECTICIDE")
  8027. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8028. end
  8029. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8030. ModeOfGlitch = 2
  8031. storehumanoidWS = 16
  8032. hum.WalkSpeed = 16
  8033. rainbowmode = false
  8034. chaosmode = false
  8035. newTheme("rbxassetid://1002071384",0,1.01,1.25)
  8036. MRCL = BrickColor.new("Alder")
  8037. MRCL2 = BrickColor.new("Pastel light blue")
  8038. RecolorTextAndRename("ABERRIATION",MRCL.Color,MRCL2.Color,"Bodoni","Camellia - Enantiomorphs")
  8039. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8040. end
  8041. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8042. ModeOfGlitch = 3
  8043. storehumanoidWS = 16
  8044. hum.WalkSpeed = 16
  8045. rainbowmode = false
  8046. chaosmode = false
  8047. newTheme("rbxassetid://1751171913",0,1.01,1.25)
  8048. MRCL = BrickColor.new("Really red")
  8049. MRCL2 = BrickColor.new("Dark indigo")
  8050. RecolorTextAndRename("DYSMORPHIC",MRCL.Color,MRCL2.Color,"Arcade","Camellia - Distorted Space")
  8051. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8052. end
  8053. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8054. ModeOfGlitch = 4
  8055. storehumanoidWS = 16
  8056. hum.WalkSpeed = 16
  8057. rainbowmode = false
  8058. chaosmode = false
  8059. newTheme("rbxassetid://1119709168",0,1.01,1.25)
  8060. MRCL = BrickColor.new("Really black")
  8061. MRCL2 = BrickColor.new("Maroon")
  8062. RecolorTextAndRename("RECALCITRANT",MRCL.Color,MRCL2.Color,"Antique","Camellia - Beserkerz Warfare 345")
  8063. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8064. end
  8065. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8066. ModeOfGlitch = 5
  8067. storehumanoidWS = 175
  8068. hum.WalkSpeed = 175
  8069. rainbowmode = false
  8070. chaosmode = false
  8071. newTheme("rbxassetid://2127419486",0,1.01,1.25)
  8072. MRCL = BrickColor.new("Bright yellow")
  8073. MRCL2 = BrickColor.new("Cool yellow")
  8074. RecolorTextAndRename("SERAPHIC",MRCL.Color,MRCL2.Color,"SciFi","Camellia - Completeness Under Incompleteness")
  8075. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8076. end
  8077. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8078. ModeOfGlitch = 6
  8079. storehumanoidWS = 16
  8080. hum.WalkSpeed = 16
  8081. rainbowmode = false
  8082. chaosmode = false
  8083. newTheme("rbxassetid://2127505351",0,1.01,1.25)
  8084. MRCL = BrickColor.new("Lime green")
  8085. MRCL2 = BrickColor.new("Deep orange")
  8086. RecolorTextAndRename("ALACRITY",MRCL.Color,MRCL2.Color,"Bodoni","Camellia Vs. Expander - AZISAI")
  8087. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8088. end
  8089. if k == "f" and attack == false and ModeOfGlitch ~= 7 then
  8090. ModeOfGlitch = 7
  8091. storehumanoidWS = 180
  8092. hum.WalkSpeed = 180
  8093. rainbowmode = false
  8094. chaosmode = false
  8095. newTheme("rbxassetid://1861780345",0,1.015,1.45)
  8096. MRCL = BrickColor.new("White")
  8097. local rcl = math.random(1,5)
  8098. if rcl == 1 then
  8099. MRCL2 = BrickColor.new("Pink")
  8100. elseif rcl == 2 then
  8101. MRCL2 = BrickColor.new("Medium blue")
  8102. elseif rcl == 3 then
  8103. MRCL2 = BrickColor.new("Alder")
  8104. elseif rcl == 4 then
  8105. MRCL2 = BrickColor.new("Mint")
  8106. elseif rcl == 5 then
  8107. MRCL2 = BrickColor.new("Persimmon")
  8108. end
  8109. RecolorTextAndRename("SCINTILLANT",MRCL.Color,MRCL2.Color,"SciFi","Camellia - crystallized")
  8110. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8111. end
  8112. if k == "g" and attack == false and ModeOfGlitch ~= 8 then
  8113. ModeOfGlitch = 8
  8114. storehumanoidWS = 200
  8115. hum.WalkSpeed = 200
  8116. rainbowmode = false
  8117. chaosmode = false
  8118. newTheme("rbxassetid://2482043741",0,1,1.25)
  8119. MRCL = BrickColor.new("Really black")
  8120. MRCL2 = BrickColor.new("Dark indigo")
  8121. RecolorTextAndRename("DEMENTIA",MRCL.Color,MRCL2.Color,"Antique","Nhelv - Silentroom × 駿")
  8122. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8123. end
  8124. end
  8125.  
  8126. if etypemodes == "S" then
  8127. if k == "q" and attack == false and ModeOfGlitch ~= 12 then
  8128. ModeOfGlitch = 12
  8129. storehumanoidWS = 16
  8130. hum.WalkSpeed = 16
  8131. rainbowmode = false
  8132. chaosmode = false
  8133. newTheme("rbxassetid://614032233",48.6,1,1.25)
  8134. MRCL = BrickColor.new("Really red")
  8135. MRCL2 = BrickColor.new("Really black")
  8136. RecolorTextAndRename("MAYHEM",MRCL2.Color,MRCL.Color,"Antique","D-MODE-D - Shriek")
  8137. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8138. end
  8139. if k == "e" and attack == false and ModeOfGlitch ~= 22 then
  8140. ModeOfGlitch = 22
  8141. storehumanoidWS = 16
  8142. hum.WalkSpeed = 16
  8143. rainbowmode = false
  8144. chaosmode = false
  8145. newTheme("rbxassetid://2482117221",0,1.01,1.25)
  8146. MRCL = BrickColor.new("Toothpaste")
  8147. MRCL2 = BrickColor.new("White")
  8148. RecolorTextAndRename("PURITY",MRCL.Color,MRCL2.Color,"Code","EBIMAYO - GOODTEK")
  8149. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8150. end
  8151. if k == "r" and attack == false and ModeOfGlitch ~= 32 then
  8152. ModeOfGlitch = 32
  8153. storehumanoidWS = 16
  8154. hum.WalkSpeed = 16
  8155. rainbowmode = false
  8156. chaosmode = false
  8157. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  8158. MRCL = BrickColor.new("Royal purple")
  8159. MRCL2 = BrickColor.new("Really black")
  8160. RecolorTextAndRename("CORRUPTION",MRCL2.Color,MRCL.Color,"Antique","Night Falls - Evening Star")
  8161. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8162. end
  8163. if k == "t" and attack == false and ModeOfGlitch ~= 42 then
  8164. ModeOfGlitch = 42
  8165. storehumanoidWS = 16
  8166. hum.WalkSpeed = 16
  8167. rainbowmode = false
  8168. chaosmode = true
  8169. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  8170. MRCL = BrickColor.new("Really black")
  8171. MRCL2 = BrickColor.new("Black")
  8172. RecolorTextAndRename("CHAOS",MRCL.Color,MRCL2.Color,"Arcade","DM DOKURO - Return to Slime")
  8173. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8174. end
  8175. if k == "y" and attack == false and ModeOfGlitch ~= 52 then
  8176. ModeOfGlitch = 52
  8177. storehumanoidWS = 16
  8178. hum.WalkSpeed = 16
  8179. rainbowmode = false
  8180. chaosmode = false
  8181. newTheme("rbxassetid://661079869",0,1.02,1.25)
  8182. MRCL = BrickColor.new("White")
  8183. MRCL2 = BrickColor.new("Bright yellow")
  8184. RecolorTextAndRename("DIVINITY",MRCL2.Color,MRCL.Color,"SciFi","Under Night In - Birth OST: Blood Drain - Again")
  8185. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8186. end
  8187. if k == "u" and attack == false and ModeOfGlitch ~= 62 then
  8188. ModeOfGlitch = 62
  8189. storehumanoidWS = 100
  8190. hum.WalkSpeed = 100
  8191. rainbowmode = false
  8192. chaosmode = false
  8193. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  8194. MRCL = BrickColor.new("White")
  8195. MRCL2 = BrickColor.new("Really black")
  8196. RecolorTextAndRename("EQUINOX",MRCL2.Color,MRCL.Color,"Fantasy","xi - Vanitas")
  8197. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8198. end
  8199. if k == "f" and attack == false and ModeOfGlitch ~= 72 then
  8200. ModeOfGlitch = 72
  8201. storehumanoidWS = 180
  8202. hum.WalkSpeed = 180
  8203. rainbowmode = true
  8204. chaosmode = false
  8205. newTheme("rbxassetid://1747430851",0,1.01,1.25)
  8206. MRCL = BrickColor.new("White")
  8207. MRCL2 = BrickColor.new("White")
  8208. RecolorTextAndRename("RAINBOW",MRCL2.Color,MRCL.Color,"Cartoon","Camellia - Speedrun")
  8209. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8210. end
  8211. if k == "g" and attack == false and ModeOfGlitch ~= 82 then
  8212. ModeOfGlitch = 82
  8213. storehumanoidWS = 140
  8214. hum.WalkSpeed = 140
  8215. rainbowmode = false
  8216. chaosmode = false
  8217. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  8218. MRCL = BrickColor.new("Alder")
  8219. MRCL2 = BrickColor.new("White")
  8220. RecolorTextAndRename("DESTINY",MRCL2.Color,MRCL.Color,"Code","DM DOKURO - Servants of The Scourge")
  8221. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8222. end
  8223. if k == "h" and attack == false and ModeOfGlitch ~= 92 then
  8224. ModeOfGlitch = 92
  8225. storehumanoidWS = 150
  8226. hum.WalkSpeed = 150
  8227. rainbowmode = false
  8228. chaosmode = false
  8229. newTheme("rbxassetid://1296208488",0,1.01,1.25)
  8230. MRCL = BrickColor.new("Br. yellowish green")
  8231. MRCL2 = BrickColor.new("Lime green")
  8232. RecolorTextAndRename("INFESTATION",MRCL2.Color,MRCL.Color,"Bodoni","DM DOKURO - INFESTATION")
  8233. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8234. end
  8235. end
  8236. if etypemodes == "SM" then
  8237. if k == "q" and attack == false and ModeOfGlitch ~= 13 then
  8238. ModeOfGlitch = 13
  8239. storehumanoidWS = 16
  8240. hum.WalkSpeed = 16
  8241. rainbowmode = false
  8242. chaosmode = false
  8243. newTheme("rbxassetid://1812212957",0,1.01,1.5)
  8244. MRCL = BrickColor.new("Lime green")
  8245. MRCL2 = BrickColor.new("Bright green")
  8246. RecolorTextAndRename("NUCLEAR",MRCL2.Color,MRCL.Color,"Antique","POKEMON Uranium - Nuclear Plant Zeta")
  8247. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8248. end
  8249. if k == "e" and attack == false and ModeOfGlitch ~= 23 then
  8250. ModeOfGlitch = 23
  8251. storehumanoidWS = 180
  8252. hum.WalkSpeed = 180
  8253. rainbowmode = false
  8254. chaosmode = false
  8255. newTheme("rbxassetid://1359036559",0,1.01,1.5)
  8256. MRCL = BrickColor.new("Lilac")
  8257. MRCL2 = BrickColor.new("Alder")
  8258. RecolorTextAndRename("CALAMITY",MRCL2.Color,MRCL.Color,"Antique","DM DOKURO - Scourge of the Universe")
  8259. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8260. end
  8261. end
  8262. if etypemodes == "SN" then
  8263. if k == "q" and attack == false and ModeOfGlitch ~= 14 then
  8264. ModeOfGlitch = 14
  8265. storehumanoidWS = 260
  8266. hum.WalkSpeed = 260
  8267. rainbowmode = false
  8268. chaosmode = false
  8269. newTheme("rbxassetid://899090278",0,1.005,1.75)
  8270. MRCL = BrickColor.new("White")
  8271. MRCL2 = BrickColor.new("Really red")
  8272. RecolorTextAndRename("UNSTABLE",MRCL.Color,MRCL2.Color,"Arcade","LV.4 - angel dust")
  8273. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8274. end
  8275. if k == "e" and attack == false and ModeOfGlitch ~= 24 then
  8276. ModeOfGlitch = 24
  8277. storehumanoidWS = 275
  8278. hum.WalkSpeed = 275
  8279. rainbowmode = false
  8280. chaosmode = false
  8281. newTheme("rbxassetid://582020393",0,1.005,1.25)
  8282. MRCL = BrickColor.new("Hot pink")
  8283. MRCL2 = BrickColor.new("Crimson")
  8284. RecolorTextAndRename("NANODEATH",MRCL.Color,MRCL2.Color,"Arcade","Yooh - NANODEATH!!!")
  8285. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8286. end
  8287. if k == "r" and attack == false and ModeOfGlitch ~= 34 then
  8288. ModeOfGlitch = 34
  8289. storehumanoidWS = 225
  8290. hum.WalkSpeed = 225
  8291. rainbowmode = false
  8292. chaosmode = false
  8293. newTheme("rbxassetid://2483763576",0,1.01,1.25)
  8294. MRCL = BrickColor.new("Baby blue")
  8295. MRCL2 = BrickColor.new("Pink")
  8296. RecolorTextAndRename("SHD",MRCL.Color,MRCL2.Color,"Arcade","Hommarju (as Dollscythe) - Flashes (Extended Mix)")
  8297. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8298. end
  8299. if k == "t" and attack == false and ModeOfGlitch ~= 44 then
  8300. ModeOfGlitch = 44
  8301. storehumanoidWS = 300
  8302. hum.WalkSpeed = 300
  8303. rainbowmode = false
  8304. chaosmode = false
  8305. newTheme("rbxassetid://643309199",0,1.01,1.5)
  8306. MRCL = BrickColor.new("Bright bluish green")
  8307. MRCL2 = BrickColor.new("Really black")
  8308. RecolorTextAndRename("OMEGA",MRCL2.Color,MRCL.Color,"SciFi","WAiKURO - AMAZING MIGHTYYYY!!!!")
  8309. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8310. end
  8311. if k == "y" and attack == false and ModeOfGlitch ~= 54 then
  8312. ModeOfGlitch = 54
  8313. storehumanoidWS = 500
  8314. hum.WalkSpeed = 500
  8315. rainbowmode = false
  8316. chaosmode = false
  8317. newTheme("rbxassetid://719008519",0,1.02,1.25)
  8318. MRCL = BrickColor.new("Navy blue")
  8319. MRCL2 = BrickColor.new("Really black")
  8320. RecolorTextAndRename("CRAZED",MRCL2.Color,MRCL.Color,"Code","??? - ???")
  8321. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8322. end
  8323. if k == "u" and attack == false and ModeOfGlitch ~= 64 then
  8324. ModeOfGlitch = 64
  8325. storehumanoidWS = 250
  8326. hum.WalkSpeed = 250
  8327. rainbowmode = false
  8328. chaosmode = false
  8329. newTheme("rbxassetid://1505487022",0,1.01,1.5)
  8330. MRCL = BrickColor.new("Toothpaste")
  8331. MRCL2 = BrickColor.new("Deep orange")
  8332. RecolorTextAndRename("FALLENX",MRCL2.Color,MRCL.Color,"Antique","ENDYMION- Fallen Shepherd ft. RabbiTon Strings")
  8333. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8334. end
  8335. end
  8336. if etypemodes == "G" then
  8337. if k == "q" and attack == false and ModeOfGlitch ~= 15 then
  8338. ModeOfGlitch = 15
  8339. storehumanoidWS = 16
  8340. hum.WalkSpeed = 16
  8341. hum.JumpPower = 50
  8342. rainbowmode = false
  8343. chaosmode = false
  8344. newTheme("rbxassetid://603567552",0,1.02,1.25)
  8345. MRCL = BrickColor.new("Medium stone grey")
  8346. MRCL2 = BrickColor.new("White")
  8347. RecolorTextAndRename("ENLIGHTENED",MRCL2.Color,MRCL.Color,"Code","Yooh - Dignity")
  8348. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8349. end
  8350. if k == "e" and attack == false and ModeOfGlitch ~= 25 then
  8351. ModeOfGlitch = 25
  8352. storehumanoidWS = 16
  8353. hum.WalkSpeed = 16
  8354. rainbowmode = false
  8355. chaosmode = false
  8356. newTheme("rbxassetid://2027652726",0,1.01,1.25)
  8357. MRCL = BrickColor.new("Bright violet")
  8358. MRCL2 = BrickColor.new("Really black")
  8359. RecolorTextAndRename("AZURE",MRCL2.Color,MRCL.Color,"Code","xi - Singularity")
  8360. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8361. end
  8362. if k == "r" and attack == false and ModeOfGlitch ~= 35 then
  8363. ModeOfGlitch = 35
  8364. storehumanoidWS = 16
  8365. hum.WalkSpeed = 16
  8366. rainbowmode = false
  8367. chaosmode = false
  8368. newTheme("rbxassetid://2041343402",0,1.01,1.25)
  8369. MRCL = BrickColor.new("Lime green")
  8370. MRCL2 = BrickColor.new("Really black")
  8371. RecolorTextAndRename("BINARY",MRCL2.Color,MRCL.Color,"SciFi","xi - Dusk to Dawn")
  8372. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8373. end
  8374. if k == "t" and attack == false and ModeOfGlitch ~= 45 then
  8375. ModeOfGlitch = 45
  8376. storehumanoidWS = 16
  8377. hum.WalkSpeed = 16
  8378. rainbowmode = false
  8379. chaosmode = false
  8380. newTheme("rbxassetid://2022787645",0,1.02,1.25)
  8381. MRCL = BrickColor.new("Navy blue")
  8382. MRCL2 = BrickColor.new("Bright yellow")
  8383. RecolorTextAndRename("LUNA",MRCL.Color,MRCL2.Color,"SourceSansBold","LeaF - Doppelganger")
  8384. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8385. end
  8386. if k == "y" and attack == false and ModeOfGlitch ~= 55 then
  8387. ModeOfGlitch = 55
  8388. storehumanoidWS = 16
  8389. hum.WalkSpeed = 16
  8390. rainbowmode = false
  8391. chaosmode = false
  8392. newTheme("rbxassetid://318890513",0,1.01,1.25)
  8393. MRCL = BrickColor.new("Deep orange")
  8394. MRCL2 = BrickColor.new("New Yeller")
  8395. RecolorTextAndRename("BLAZE",MRCL2.Color,MRCL.Color,"Fantasy","LeaF - MEPHISTO")
  8396. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8397. end
  8398. if k == "u" and attack == false and ModeOfGlitch ~= 65 then
  8399. ModeOfGlitch = 65
  8400. storehumanoidWS = 100
  8401. hum.WalkSpeed = 100
  8402. rainbowmode = false
  8403. chaosmode = false
  8404. newTheme("rbxassetid://604910909",0,1.02,1.25)
  8405. MRCL = BrickColor.new("Pastel light blue")
  8406. MRCL2 = BrickColor.new("Dark indigo")
  8407. RecolorTextAndRename("GALACTIC",MRCL.Color,MRCL2.Color,"Fantasy","LeaF - Arianrhod")
  8408. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8409. end
  8410. if k == "f" and attack == false and ModeOfGlitch ~= 75 then
  8411. ModeOfGlitch = 75
  8412. storehumanoidWS = 175
  8413. hum.WalkSpeed = 175
  8414. rainbowmode = false
  8415. chaosmode = false
  8416. newTheme("rbxassetid://2011847746",0,1.01,1.25)
  8417. MRCL = BrickColor.new("Cyan")
  8418. MRCL2 = BrickColor.new("Toothpaste")
  8419. RecolorTextAndRename("HYPERSPEED",MRCL.Color,MRCL2.Color,"Arcade","Yooh - Ice Angel")
  8420. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8421. end
  8422. if k == "g" and attack == false and ModeOfGlitch ~= 85 then
  8423. ModeOfGlitch = 85
  8424. storehumanoidWS = 100
  8425. hum.WalkSpeed = 100
  8426. rainbowmode = false
  8427. chaosmode = false
  8428. newTheme("rbxassetid://603566564",0,1.01,1.65)
  8429. MRCL = BrickColor.new("Really red")
  8430. MRCL2 = BrickColor.new("Bright red")
  8431. RecolorTextAndRename("CHAOTIC",MRCL.Color,MRCL2.Color,"Antique","Yooh - Dynasty")
  8432. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8433. end
  8434. if k == "h" and attack == false and ModeOfGlitch ~= 95 then
  8435. ModeOfGlitch = 95
  8436. storehumanoidWS = 135
  8437. hum.WalkSpeed = 135
  8438. rainbowmode = false
  8439. chaosmode = false
  8440. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8441. MRCL = BrickColor.new("Medium stone grey")
  8442. MRCL2 = BrickColor.new("Black")
  8443. RecolorTextAndRename("VIS",MRCL.Color,MRCL2.Color,"Arcade","???")
  8444. RecolorThing(MRCL.Color,MRCL2.Color,MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8445. end
  8446. end
  8447. ------- Up: Modes
  8448. ------- Down: Keys
  8449. if k == "l" and mutedtog == false then
  8450. mutedtog = true
  8451. kan.Volume = 0
  8452. elseif k == "l" and mutedtog == true then
  8453. mutedtog = false
  8454. kan.Volume = 1.25
  8455. end
  8456. if k == "p" and toggleTag == false then
  8457. toggleTag = true
  8458.  
  8459. elseif k == "p" and toggleTag == true then
  8460. toggleTag = false
  8461.  
  8462. end
  8463. if k == "z" and attack == false and ModeOfGlitch == 5 then
  8464. --divbeam()
  8465. elseif k == "z" and attack == false and ModeOfGlitch == 12 then
  8466. ExtinctiveHeartbreak()
  8467. elseif k == "z" and attack == false and ModeOfGlitch == 22 then
  8468. HeavenlyDisk()
  8469. elseif k == "z" and attack == false and ModeOfGlitch == 32 then
  8470. CorruptionEvent()
  8471. elseif k == "z" and attack == false and ModeOfGlitch == 42 then
  8472. RapidBurst()
  8473. elseif k == "z" and attack == false and ModeOfGlitch == 52 then
  8474. --DivineLights()
  8475. elseif k == "z" and attack == false and ModeOfGlitch == 62 then
  8476. EquinoxOrbs()
  8477. elseif k == "z" and attack == false and ModeOfGlitch == 72 then
  8478. roldbeam()
  8479. elseif k == "z" and attack == false and ModeOfGlitch == 23 then
  8480. CalMets()
  8481. elseif k == "z" and attack == false and ModeOfGlitch == 34 then
  8482. SHDTwist()
  8483. elseif k == "z" and attack == false and ModeOfGlitch == 64 then
  8484. FallenOrbs()
  8485. elseif k == "z" and attack == false and ModeOfGlitch == 15 then
  8486. Beams()
  8487. elseif k == "z" and attack == false and ModeOfGlitch == 25 then
  8488. smiter()
  8489. elseif k == "z" and attack == false and ModeOfGlitch == 35 then
  8490. BinaryE()
  8491. elseif k == "z" and attack == false and ModeOfGlitch == 55 then
  8492. Crossfire()
  8493. elseif k == "z" and attack == false and ModeOfGlitch == 65 then
  8494. GalacticalBeams()
  8495. elseif k == "z" and attack == false and ModeOfGlitch == 75 then
  8496. WarpedDash()
  8497. end
  8498. if k == "x" and attack == false and ModeOfGlitch == 12 then
  8499. EndGROUND()
  8500. elseif k == "x" and attack == false and ModeOfGlitch == 42 then
  8501. EternalChaosOrb()
  8502. elseif k == "x" and attack == false and ModeOfGlitch == 23 then
  8503. ExtCalbeam()
  8504. elseif k == "x" and attack == false and ModeOfGlitch == 35 then
  8505. BinaryBLINK()
  8506. end
  8507. if k == "v" and attack == false and ModeOfGlitch == 4 then
  8508. annihilation()
  8509. elseif k == "v" and attack == false and ModeOfGlitch == 64 then
  8510. FallenDEMISE()
  8511. elseif k == "v" and attack == false and ModeOfGlitch == 25 then
  8512. SingularityVoid()
  8513. elseif k == "v" and attack == false and ModeOfGlitch == 85 then
  8514. BeamOfDeath()
  8515. end
  8516. if k == "n" and etypemodes == "G" then
  8517. etypemodes = "U"
  8518. nedm.Text = "MODETYPES: UNIVERSAL"
  8519. elseif k == "n" and etypemodes == "U" then
  8520. etypemodes = "S"
  8521. nedm.Text = "MODETYPES: STAR"
  8522. elseif k == "n" and etypemodes == "S" then
  8523. etypemodes = "SM"
  8524. nedm.Text = "MODETYPES: STAR MAJORS"
  8525. elseif k == "n" and etypemodes == "SM" then
  8526. etypemodes = "SN"
  8527. nedm.Text = "MODETYPES: STAR NONCANONS"
  8528. elseif k == "n" and etypemodes == "SN" then
  8529. etypemodes = "G"
  8530. nedm.Text = "MODETYPES: GALAXY"
  8531. end
  8532. if k == "b" and enableddam == false then
  8533. enableddam = true
  8534. nedx.Text = "Damage: Enabled"
  8535. elseif k == "b" and enableddam == true then
  8536. enableddam = false
  8537. nedx.Text = "Damage: Disabled"
  8538. end
  8539. end)
  8540.  
  8541.  
  8542.  
  8543. coroutine.resume(coroutine.create(function()
  8544. while true do
  8545. swait()
  8546. if ModeOfGlitch ~= 4 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 14 and ModeOfGlitch ~= 24 and ModeOfGlitch ~= 34 and ModeOfGlitch ~= 44 and ModeOfGlitch ~= 54 and ModeOfGlitch ~= 64 then
  8547. sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,MRCL2,0)
  8548. sphereMK(10,math.random(10,25)/45,"Add",root.CFrame*CFrame.new(math.random(-20,20),-5,math.random(-20,20))*CFrame.Angles(math.rad(90 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(math.random(-5,5))),0.25,0.25,8,0,MRCL,0)
  8549. elseif ModeOfGlitch == 4 or ModeOfGlitch == 8 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 then
  8550. sphereMK(10,math.random(10,50)/45,"Add",root.CFrame*CFrame.new(math.random(-80,80),-5,math.random(-80,80))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),0.75,0.75,15,0,MRCL2,0)
  8551. sphereMK(10,math.random(10,50)/45,"Add",root.CFrame*CFrame.new(math.random(-80,80),-5,math.random(-80,80))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),math.rad(math.random(-15,15))),0.75,0.75,15,0,MRCL,0)
  8552. end
  8553. end
  8554. end))
  8555. plr.Chatted:connect(function(message)
  8556. if ModeOfGlitch == 95 then
  8557. if message:sub(1,5) == "play/" then
  8558. OVMID = message:sub(6)
  8559. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8560. elseif message:sub(1,6) == "pitch/" then
  8561. OVMPIT = message:sub(7)
  8562. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8563. elseif message:sub(1,4) == "vol/" then
  8564. OVMVOL = message:sub(5)
  8565. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  8566. elseif message:sub(1,7) == "skipto/" then
  8567. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MRCL.Color,MRCL2.Color,"Inverted","Arcade",1)
  8568. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  8569. elseif message:sub(1,9) == "telltime/" then
  8570. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MRCL.Color,MRCL2.Color,"Inverted","Arcade",1)
  8571. end
  8572. end
  8573. end)
  8574. Humanoid.Name = "ETHEREAL"
  8575. Humanoid.MaxHealth = math.huge
  8576. Humanoid.Health = math.huge
  8577. Instance.new("ForceField",char).Visible = false
  8578.  
  8579. --[[local bguis = Instance.new("BillboardGui",tors)
  8580. bguis.Size = UDim2.new(25, 0, 25, 0)
  8581. local imgca = Instance.new("ImageLabel",bguis)
  8582. imgca.BackgroundTransparency = 1
  8583. imgca.ImageTransparency = 1
  8584. imgca.Size = UDim2.new(1,0,1,0)
  8585. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  8586. imgca.ImageColor3 = Color3.new(0,0,0)]]--
  8587. local rval = 0.1
  8588. local TimeValue = kan.TimePosition
  8589. idleanim=.4
  8590. while true do
  8591. if kan.Parent ~= char then
  8592. kan = Instance.new("Sound",char)
  8593. kan.PlaybackSpeed = currentPitch
  8594. kan.Pitch = currentPitch
  8595. kan.SoundId = currentThemePlaying
  8596. kan.Looped = true
  8597. kan.Name = "wrecked"
  8598. kan.TimePosition = TimeValue
  8599. kan:Resume()
  8600. end
  8601. if mutedtog == false then
  8602. kan.Volume = currentVol
  8603. elseif mutedtog == true then
  8604. kan.Volume = 0
  8605. end
  8606. if rainbowmode == true then
  8607. RecolorTextAndRename("RAINBOW",Color3.fromRGB(r,g,b),MRCL.Color,"Cartoon","Camellia - Speedrun")
  8608. rtsc(MRCL.Color,Color3.fromRGB(r,g,b),MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8609. end
  8610. if chaosmode == true then
  8611. RecolorTextAndRename("CHAOS",MRCL.Color,Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),"Arcade","DM DOKURO - Return to Slime")
  8612. rtsc(MRCL.Color,Color3.fromRGB(math.random(0,255),math.random(0,255),math.random(0,255)),MRCL,MRCL,MRCL,1,MRCL,1,MRCL,false,false)
  8613. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  8614. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  8615. end
  8616. kan.PlaybackSpeed = currentPitch
  8617. kan.Pitch = currentPitch
  8618. kan.SoundId = currentThemePlaying
  8619. kan.Looped = true
  8620. kan.Parent = char
  8621. kan:Resume()
  8622.  
  8623. techc.Rotation = techc.Rotation + 1
  8624. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  8625. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  8626. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  8627. techc2.Rotation = techc2.Rotation + kan.PlaybackLoudness/25 - 1
  8628. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  8629. nedx.Rotation = 5 - 2 * math.cos(sine / 50)
  8630. nedm.Rotation = 7 - 3 * math.cos(sine / 30)
  8631. sngy.Position = UDim2.new(0.325,0 + 5 * math.cos(sine / 36),0.8 - 0.01 * math.cos(sine / 20),0 - 2 * math.cos(sine / 50))
  8632. sngy.Rotation = 0 + 1 * math.cos(sine / 40)
  8633. fr.Position = UDim2.new(0, 0, 0.925 - 0.01 * math.cos(sine / 35), 0)
  8634. fr2.Position = UDim2.new(0, 0, 0.85 + 0.01 * math.cos(sine / 36), 0)
  8635. fr.Rotation = 0 - 1 * math.cos(sine / 25)
  8636. fr2.Rotation = 0 + 1 * math.cos(sine / 22)
  8637. midr.Rotation = rval
  8638. midr2.Rotation = -rval
  8639. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  8640. CameraManager()
  8641. swait()
  8642. if ModeOfGlitch ~= 4 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 42 and ModeOfGlitch ~= 14 and ModeOfGlitch ~= 24 and ModeOfGlitch ~= 34 and ModeOfGlitch ~= 44 and ModeOfGlitch ~= 54 and ModeOfGlitch ~= 64 and ModeOfGlitch ~= 75 then
  8643. rval = rval + 1
  8644. elseif ModeOfGlitch == 4 or ModeOfGlitch == 8 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 or ModeOfGlitch == 75 then
  8645. rval = rval + 5
  8646. elseif ModeOfGlitch == 42 then
  8647. rval = rval + math.random(-15,15)
  8648. end
  8649. if rval == 360 or rval > 360 then
  8650. rval = 0
  8651. end
  8652. if Anim ~= "Run" then
  8653. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.35 * math.cos(sine / 63),0 + 0.35 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8654. else
  8655. if ModeOfGlitch == 5 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 62 or ModeOfGlitch == 82 or ModeOfGlitch == 23 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 or ModeOfGlitch == 65 or ModeOfGlitch == 85 then
  8656. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.35 * math.cos(sine / 63),-3 + 0.35 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8657. end
  8658. end
  8659. rotweld.C0=clerp(rotweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(rval)),.3)
  8660. if ModeOfGlitch ~= 5 and ModeOfGlitch ~= 7 and ModeOfGlitch ~= 62 and ModeOfGlitch ~= 82 then
  8661. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,2.5,0 + 0.2 * math.cos(sine / 20))*angles(math.rad(0 - 5 * math.cos(sine / 20)),math.rad(0),math.rad(90 + rval)),.3)
  8662. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,2.5,0 + 0.2 * math.cos(sine / 20))*angles(math.rad(0 - 5 * math.cos(sine / 20)),math.rad(0),math.rad(-147.5 + rval)),.3)
  8663. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2.5,0 + 0.2 * math.cos(sine / 20))*angles(math.rad(0 - 5 * math.cos(sine / 20)),math.rad(0),math.rad(-32.5 + rval)),.3)
  8664. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,2.5,0 - 0.2 * math.cos(sine / 20))*angles(math.rad(0 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(-90 - rval)),.3)
  8665. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,2.5,0 - 0.2 * math.cos(sine / 20))*angles(math.rad(0 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(147.5 - rval)),.3)
  8666. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2.5,0 - 0.2 * math.cos(sine / 20))*angles(math.rad(0 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(32.5 - rval)),.3)
  8667. elseif ModeOfGlitch == 5 or ModeOfGlitch == 7 or ModeOfGlitch == 62 or ModeOfGlitch == 82 then
  8668. lwing1weld.C1=clerp(lwing1weld.C1,cf(2.25,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 20))),.3)
  8669. lwing2weld.C1=clerp(lwing2weld.C1,cf(-4.5,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 - 6 * math.cos(sine / 20))),.3)
  8670. lwing3weld.C1=clerp(lwing3weld.C1,cf(6.75,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 + 9 * math.cos(sine / 20))),.3)
  8671. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2.25,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 20))),.3)
  8672. rwing2weld.C1=clerp(rwing2weld.C1,cf(4.5,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 + 6 * math.cos(sine / 20))),.3)
  8673. rwing3weld.C1=clerp(rwing3weld.C1,cf(-6.75,0,0)*angles(math.rad(10 + 5 * math.cos(sine / 20)),math.rad(0),math.rad(0 - 9 * math.cos(sine / 20))),.3)
  8674. end
  8675. sine = sine + change
  8676. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8677. local velderp=RootPart.Velocity.y
  8678. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8679. coroutine.resume(coroutine.create(function()
  8680. if ModeOfGlitch == 13 then
  8681. if hitfloor ~= nil then
  8682. --sphere2(1.5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,0.5,1),0.1,0.01,0.1,BrickColor.new("Lime green"),Color3.new(0,1,0))
  8683. end
  8684. end
  8685. if ModeOfGlitch == 5 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 62 or ModeOfGlitch == 82 or ModeOfGlitch == 23 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 or ModeOfGlitch == 65 or ModeOfGlitch == 85 then
  8686. if hitfloor ~= nil then
  8687. effar.Enabled = true
  8688. effar.Color = ColorSequence.new(MRCL.Color)
  8689. --sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(0,1,0),0.3,0.01,0.3,MRCL2)
  8690. --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,100)/250,MRCL)
  8691. --slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,100)/250,BrickColor.new("White"))
  8692. elseif hitfloor == nil then
  8693. effar.Enabled = false
  8694. end
  8695. elseif ModeOfGlitch ~= 5 or ModeOfGlitch ~= 7 or ModeOfGlitch ~= 8 or ModeOfGlitch ~= 62 or ModeOfGlitch ~= 82 or ModeOfGlitch ~= 23 or ModeOfGlitch ~= 14 or ModeOfGlitch ~= 24 or ModeOfGlitch ~= 34 or ModeOfGlitch ~= 44 or ModeOfGlitch ~= 54 or ModeOfGlitch ~= 64 or ModeOfGlitch ~= 65 or ModeOfGlitch ~= 85 then
  8696. effar.Enabled = false
  8697. end
  8698. end))
  8699. if equipped==true or equipped==false then
  8700. if attack==false then
  8701. idle=idle+1
  8702. else
  8703. idle=0
  8704. end
  8705. if idle>=500 then
  8706. if attack==false then
  8707. --Sheath()
  8708. end
  8709. end
  8710. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8711. Anim="Jump"
  8712. if attack==false then
  8713. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  8714. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  8715. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  8716. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8717. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(25)),.1)
  8718. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-5),math.rad(0),math.rad(-25)),.1)
  8719. end
  8720. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8721. Anim="Fall"
  8722. if attack==false then
  8723. RH.C0=clerp(RH.C0,cf(1,-0.35 - 0.05 * math.cos(sine / 25),-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(-20)),.1)
  8724. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-5),math.rad(0),math.rad(20)),.1)
  8725. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  8726. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  8727. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(55)),.1)
  8728. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-15),math.rad(0),math.rad(-55)),.1)
  8729. end
  8730. elseif torvel<1 and hitfloor~=nil then
  8731. Anim="Idle"
  8732. if attack==false then
  8733. if ModeOfGlitch == 1 then
  8734. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  8735. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  8736. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  8737. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(3 - 3 * math.cos(sine / 40)),math.rad(0),math.rad(0 - 3 * math.cos(sine / 67))),.1)
  8738. RW.C0=clerp(RW.C0,cf(1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-34 + 1 * math.cos(sine / 25))),.1)
  8739. LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1)
  8740. elseif ModeOfGlitch == 2 then
  8741. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 20)),math.rad(-17),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  8742. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 20)),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  8743. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(36)),.1)
  8744. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(-36 - 3 * math.cos(sine / 67))),.1)
  8745. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  8746. LW.C0=clerp(LW.C0,cf(-1,0.45 - 0.075 * math.cos(sine / 18),0.5)*angles(math.rad(-26 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(34 - 1 * math.cos(sine / 25))),.1)
  8747. elseif ModeOfGlitch == 3 then
  8748. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  8749. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(10),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  8750. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(-13)),.1)
  8751. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(13 - 3 * math.cos(sine / 67))),.1)
  8752. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  8753. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),-0.72)*angles(math.rad(80 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(76 - 1 * math.cos(sine / 25))),.1)
  8754. elseif ModeOfGlitch == 4 then
  8755. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  8756. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(5.5),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  8757. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  8758. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 4 * math.cos(sine / 37)),math.rad(0 + 8 * math.cos(sine / 43)),math.rad(0 - 5 * math.cos(sine / 47))),.1)
  8759. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(20 - 3 * math.cos(sine / 32)),math.rad(0 + 8 * math.cos(sine / 23)),math.rad(14 + 3 * math.cos(sine / 15))),.1)
  8760. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.075 * math.cos(sine / 18),0)*angles(math.rad(20 - 3 * math.cos(sine / 32)),math.rad(0 - 8 * math.cos(sine / 23)),math.rad(-14 - 3 * math.cos(sine / 15))),.1)
  8761. elseif ModeOfGlitch == 5 then
  8762. RH.C0=clerp(RH.C0,cf(1,-0.3,-0.65)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(0 + 1 * math.cos(sine / 52)),math.rad(-3 - 9 * math.cos(sine / 20))),.1)
  8763. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(1 + 1 * math.cos(sine / 36)),math.rad(10 + 7 * math.cos(sine / 30))),.1)
  8764. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),1 + 0.4 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  8765. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.1)
  8766. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),-0.65)*angles(math.rad(76 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-82 + 1 * math.cos(sine / 25))),.1)
  8767. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),-0.72)*angles(math.rad(89 + 3 * math.cos(sine / 38)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(76 - 1 * math.cos(sine / 25))),.1)
  8768. elseif ModeOfGlitch == 6 then
  8769. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(-13),math.rad(-1 - 2 * math.cos(sine / 20))),.1)
  8770. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(6),math.rad(-1 + 2 * math.cos(sine / 20))),.1)
  8771. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(16)),.1)
  8772. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(-16 - 3 * math.cos(sine / 67))),.1)
  8773. RW.C0=clerp(RW.C0,cf(1.4,0.65 - 0.075 * math.cos(sine / 18),-0.1)*angles(math.rad(174 + 3 * math.cos(sine / 38)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-22 - 1 * math.cos(sine / 25))),.1)
  8774. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(10 + 2 * math.cos(sine / 38)),math.rad(4 - 3 * math.cos(sine / 31)),math.rad(-7 - 2 * math.cos(sine / 25))),.1)
  8775. elseif ModeOfGlitch == 7 then
  8776. RH.C0=clerp(RH.C0,cf(1,-0.3,-0.65)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 - 1 * math.cos(sine / 20)),math.rad(0 + 1 * math.cos(sine / 52)),math.rad(-3 - 6 * math.cos(sine / 20))),.1)
  8777. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 20)),math.rad(1 + 1 * math.cos(sine / 36)),math.rad(10 + 4 * math.cos(sine / 30))),.1)
  8778. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),1 + 0.4 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  8779. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 3 * math.cos(sine / 25)),math.rad(0),math.rad(0)),.1)
  8780. RW.C0=clerp(RW.C0,cf(1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(8 + 8 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(14 + 4 * math.cos(sine / 22))),.1)
  8781. LW.C0=clerp(LW.C0,cf(-1.5,0.5 - 0.075 * math.cos(sine / 18),0)*angles(math.rad(19 + 7 * math.cos(sine / 37)),math.rad(0 - 2 * math.cos(sine / 31)),math.rad(-15 - 3 * math.cos(sine / 24))),.1)
  8782. elseif ModeOfGlitch == 8 then
  8783. RH.C0=clerp(RH.C0,cf(1,-0.3,-0.65)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 - 1 * math.cos(sine / 20)),math.rad(0 + 1 * math.cos(sine / 52)),math.rad(-10 - 5 * math.cos(sine / 20))),.1)
  8784. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1 + 1 * math.cos(sine / 20)),math.rad(1 + 1 * math.cos(sine / 36)),math.rad(10 + 7 * math.cos(sine / 30))),.1)
  8785. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 20),1 + 0.4 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 20)),math.rad(0),math.rad(0)),.1)
  8786. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + 5 * math.cos(sine / 25)),math.rad(0 + 3 * math.cos(sine / 30)),math.rad(0)),.1)
  8787. RW.C0=clerp(RW.C0,cf(1,0.5 - 0.075 * math.cos(sine / 18),0.2)*angles(math.rad(-33 + 2 * math.cos(sine / 35)),math.rad(0 + 2 * math.cos(sine / 31)),math.rad(-25 + 3 * math.cos(sine / 24))),.1)
  8788. LW.C0=clerp(LW.C0,cf(-1,0.5 - 0.075 * math.cos(sine / 18),0.2)*angles(math.rad(-34 + 1 * math.cos(sine / 37)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(22 - 3 * math.cos(sine / 25))),.1)
  8789. elseif ModeOfGlitch == 12 then
  8790. local snap = math.random(1,10)
  8791. if snap == 1 then
  8792. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  8793. end
  8794. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-5.5 - 2 * math.cos(sine / 56)),math.rad(-12 - 2 * math.cos(sine / 32))),.1)
  8795. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-6),math.rad(22 - 2 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  8796. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  8797. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 43) - 5 * math.cos(sine / 0.25)),math.rad(22 - 2 * math.cos(sine / 56))),.1)
  8798. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 + 3 * math.cos(sine / 43)),math.rad(-16 - 5 * math.cos(sine / 52)),math.rad(13 + 9 * math.cos(sine / 45))),.1)
  8799. LW.C0=clerp(LW.C0,cf(-1.35,1 + 0.025 * math.cos(sine / 45),-0.2)*angles(math.rad(148 - 2 * math.cos(sine / 51)),math.rad(0 - 4 * math.cos(sine / 64)),math.rad(22 - 2 * math.cos(sine / 45))),.1)
  8800. elseif ModeOfGlitch == 22 then
  8801. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  8802. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  8803. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  8804. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
  8805. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  8806. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  8807. elseif ModeOfGlitch == 32 then
  8808. local snap = math.random(1,32)
  8809. if snap == 1 then
  8810. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  8811. end
  8812. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  8813. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  8814. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  8815. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(22 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8816. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 3 * math.cos(sine / 45))),.1)
  8817. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(33 - 3 * math.cos(sine / 45))),.1)
  8818. elseif ModeOfGlitch == 42 then
  8819. local snap = math.random(1,5)
  8820. if snap == 1 then
  8821. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 + math.random(-1,1)),math.rad(math.random(-1,1)),math.rad(math.random(-1,1))),0.6)
  8822. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(1 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  8823. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(-3 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  8824. end
  8825. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(25 - 2 * math.cos(sine / 32))),.1)
  8826. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-25 + 2 * math.cos(sine / 32))),.1)
  8827. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8828. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8829. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(1 + 3 * math.cos(sine / 45))),.1)
  8830. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(25 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-3 - 3 * math.cos(sine / 45))),.1)
  8831. elseif ModeOfGlitch == 52 then
  8832. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  8833. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  8834. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  8835. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(10 + 2 * math.cos(sine / 53))),.1)
  8836. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(8 + 3 * math.cos(sine / 45))),.1)
  8837. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  8838. elseif ModeOfGlitch == 62 then
  8839. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 7 * math.cos(sine / 56))),.1)
  8840. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 52))),.1)
  8841. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8842. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8843. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(14 + 5 * math.cos(sine / 32))),.1)
  8844. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-14 - 6 * math.cos(sine / 33))),.1)
  8845. elseif ModeOfGlitch == 72 then
  8846. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  8847. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(10 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  8848. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10 + 3 * math.cos(sine / 42))),.1)
  8849. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(10 + 1 * math.cos(sine / 53))),.1)
  8850. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  8851. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(170 - 7 * math.cos(sine / 66)),math.rad(2 - 1 * math.cos(sine / 56)),math.rad(12 - 1 * math.cos(sine / 45))),.1)
  8852. elseif ModeOfGlitch == 82 then
  8853. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  8854. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  8855. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-20)),.1)
  8856. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(20 + 2 * math.cos(sine / 53))),.1)
  8857. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  8858. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  8859. elseif ModeOfGlitch == 92 then
  8860. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MRCL,MRCL.Color)
  8861. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  8862. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  8863. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  8864. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
  8865. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8866. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 5 * math.cos(sine / 74)),math.rad(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.1)
  8867. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(5 - 3 * math.cos(sine / 73)),math.rad(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  8868. elseif ModeOfGlitch == 13 then
  8869. local snap = math.random(1,32)
  8870. if snap == 1 then
  8871. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 + math.random(-3,3)),math.rad(math.random(-3,3)),math.rad(-53 + math.random(-3,3))),1)
  8872. end
  8873. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MRCL,MRCL.Color)
  8874. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  8875. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(9),math.rad(8 + 2 * math.cos(sine / 32))),.1)
  8876. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(43)),.1)
  8877. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(19 - 2 * math.cos(sine / 37)),math.rad(0 + 5 * math.cos(sine / 55)),math.rad(-43)),.1)
  8878. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(2 + 11 * math.cos(sine / 73)),math.rad(18 - 6 * math.cos(sine / 57)),math.rad(17 + 5 * math.cos(sine / 52))),.1)
  8879. LW.C0=clerp(LW.C0,cf(-1.2,0.85 + 0.025 * math.cos(sine / 45),-0.65)*angles(math.rad(170 - 1 * math.cos(sine / 70)),math.rad(-3 - 1 * math.cos(sine / 59)),math.rad(47 - 1 * math.cos(sine / 60))),.1)
  8880. elseif ModeOfGlitch == 23 then
  8881. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 5 * math.cos(sine / 51))),.1)
  8882. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 44))),.1)
  8883. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-36)),.1)
  8884. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(36 + 2 * math.cos(sine / 53))),.1)
  8885. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(3 + 7 * math.cos(sine / 79)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 10 * math.cos(sine / 73))),.1)
  8886. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(15 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(-27 - 6 * math.cos(sine / 33))),.1)
  8887. elseif ModeOfGlitch == 64 then
  8888. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Deep orange"),BrickColor.new("Deep orange").Color)
  8889. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Toothpaste"),BrickColor.new("Toothpaste").Color)
  8890. sphere2(8,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,MRCL,MRCL.Color)
  8891. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-14 - 5 * math.cos(sine / 48))),.1)
  8892. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 7 * math.cos(sine / 51))),.1)
  8893. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8894. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(21 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8895. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(28 + 2 * math.cos(sine / 45))),.1)
  8896. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  8897. elseif ModeOfGlitch == 44 then
  8898. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(8 - 6 * math.cos(sine / 67)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-18 - 5 * math.cos(sine / 32))),.1)
  8899. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-15 - 8 * math.cos(sine / 74)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(31 + 8 * math.cos(sine / 38))),.1)
  8900. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  8901. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 6 * math.cos(sine / 37)),math.rad(-14 + 5 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8902. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(-24 + 9 * math.cos(sine / 72)),math.rad(3 - 5 * math.cos(sine / 58)),math.rad(38 + 7 * math.cos(sine / 45))),.1)
  8903. LW.C0=clerp(LW.C0,cf(-0.8,0.35 + 0.025 * math.cos(sine / 45),-0.75)*angles(math.rad(160 - 2 * math.cos(sine / 66)),math.rad(5 - 8 * math.cos(sine / 59)),math.rad(87 - 3 * math.cos(sine / 45))),.1)
  8904. elseif ModeOfGlitch == 34 then
  8905. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 32))),.1)
  8906. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 2 * math.cos(sine / 32))),.1)
  8907. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(10)),.1)
  8908. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  8909. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(4 + 3 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(19 + 2 * math.cos(sine / 45))),.1)
  8910. LW.C0=clerp(LW.C0,cf(-1.25,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(10 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(13 - 4 * math.cos(sine / 45))),.1)
  8911. elseif ModeOfGlitch == 14 then
  8912. local snap = math.random(1,32)
  8913. if snap == 1 then
  8914. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  8915. end
  8916. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really red"),BrickColor.new("Really red").Color)
  8917. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  8918. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 2 * math.cos(sine / 39))),.1)
  8919. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 6 * math.cos(sine / 31))),.1)
  8920. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  8921. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(13 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  8922. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(-65 + 1 * math.cos(sine / 45))),.1)
  8923. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(73 - 3 * math.cos(sine / 45))),.1)
  8924. elseif ModeOfGlitch == 24 then
  8925. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  8926. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  8927. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  8928. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  8929. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  8930. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-23 - 3 * math.cos(sine / 73)),math.rad(2 - 1 * math.cos(sine / 55)),math.rad(35 - 8 * math.cos(sine / 51))),.1)
  8931. elseif ModeOfGlitch == 54 then
  8932. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Navy blue"),BrickColor.new("Navy blue").Color)
  8933. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Really black"),BrickColor.new("Really black").Color)
  8934. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-10 - 6 * math.cos(sine / 39))),.1)
  8935. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(10 + 3 * math.cos(sine / 45))),.1)
  8936. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  8937. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(29 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-17 + 2 * math.cos(sine / 53))),.1)
  8938. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(62 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  8939. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(89 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  8940. elseif ModeOfGlitch == 15 then
  8941. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-10 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8942. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8943. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
  8944. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
  8945. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
  8946. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
  8947. elseif ModeOfGlitch == 25 then
  8948. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8949. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8950. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
  8951. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
  8952. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
  8953. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
  8954. elseif ModeOfGlitch == 35 then
  8955. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 34))),.1)
  8956. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8957. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  8958. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  8959. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  8960. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  8961. elseif ModeOfGlitch == 45 then
  8962. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-5),math.rad(0 - 3 * math.cos(sine / 34))),.1)
  8963. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10 + 3 * math.cos(sine / 34))),.1)
  8964. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.03 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(25)),.1)
  8965. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 2 * math.cos(sine / 57)),math.rad(-25)),.1)
  8966. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 5 * math.cos(sine / 34)),math.rad(0),math.rad(21 + 6 * math.cos(sine / 28))),.1)
  8967. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-5 + 5 * math.cos(sine / 43)),math.rad(10 - 5 * math.cos(sine / 27)),math.rad(-5 - 3 * math.cos(sine / 36))),.1)
  8968. elseif ModeOfGlitch == 55 then
  8969. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  8970. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  8971. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  8972. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  8973. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 2 * math.cos(sine / 28))),.1)
  8974. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(46 + 3 * math.cos(sine / 49)),math.rad(10 + 2 * math.cos(sine / 52)),math.rad(80 - 3 * math.cos(sine / 39))),.1)
  8975. elseif ModeOfGlitch == 65 then
  8976. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-10 + 4 * math.cos(sine / 34))),.1)
  8977. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
  8978. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
  8979. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
  8980. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
  8981. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
  8982. elseif ModeOfGlitch == 75 then
  8983. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  8984. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  8985. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.1 * math.cos(sine / 20))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  8986. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
  8987. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
  8988. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
  8989. elseif ModeOfGlitch == 85 then
  8990. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  8991. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  8992. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.5 * math.cos(sine / 20))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  8993. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  8994. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
  8995. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  8996. elseif ModeOfGlitch == 95 then
  8997. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 20) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  8998. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 20) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  8999. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.1 * math.cos(sine / 20) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(30)),.4)
  9000. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-30)),.4)
  9001. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(40 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(28 - 2 * math.cos(sine / 38))),.4)
  9002. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  9003. end
  9004. end
  9005. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9006. Anim="Walk"
  9007. if attack==false then
  9008. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  9009. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 4),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0 + 5 * math.cos(sine / 8)),math.rad(0 + 35 * math.cos(sine / 8))),.1)
  9010. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 - 0.05 * math.cos(sine / 4))*angles(math.rad(5 + 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 5 * math.cos(sine / 8))),.1)
  9011. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 5 * math.cos(sine / 8))),.1)
  9012. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 50 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  9013. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 50 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  9014. end
  9015. elseif torvel>=22 and hitfloor~=nil then
  9016. Anim="Run"
  9017. if attack==false then
  9018. if ModeOfGlitch ~= 5 and ModeOfGlitch ~= 7 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 62 and ModeOfGlitch ~= 82 and ModeOfGlitch ~= 23 and ModeOfGlitch ~= 14 and ModeOfGlitch ~= 24 and ModeOfGlitch ~= 34 and ModeOfGlitch ~= 44 and ModeOfGlitch ~= 54 and ModeOfGlitch ~= 64 and ModeOfGlitch ~= 65 and ModeOfGlitch ~= 85 then
  9019. RH.C0=clerp(RH.C0,cf(1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  9020. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.15 * math.cos(sine / 3),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  9021. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(25 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 1 * math.cos(sine / 6))),.1)
  9022. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-6 + 2 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 1 * math.cos(sine / 6))),.1)
  9023. RW.C0=clerp(RW.C0,cf(1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(-10),math.rad(7 + 5 * math.cos(sine / 6))),.1)
  9024. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0.3)*angles(math.rad(-50 + 10 * math.cos(sine / 3)),math.rad(10),math.rad(-7 - 5 * math.cos(sine / 6))),.1)
  9025. elseif ModeOfGlitch == 5 or ModeOfGlitch == 7 or ModeOfGlitch == 8 or ModeOfGlitch == 62 or ModeOfGlitch == 82 or ModeOfGlitch == 23 or ModeOfGlitch == 14 or ModeOfGlitch == 24 or ModeOfGlitch == 34 or ModeOfGlitch == 44 or ModeOfGlitch == 54 or ModeOfGlitch == 64 or ModeOfGlitch == 65 or ModeOfGlitch == 85 then
  9026. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1.5),math.rad(0),math.rad(-20 - 5 * math.cos(sine / 34))),.2)
  9027. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(20 + 2 * math.cos(sine / 38))),.2)
  9028. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(80),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  9029. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17 - 5 * math.cos(sine / 52)),math.rad(0 - 3 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 78))),.2)
  9030. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-8 - 4 * math.cos(sine / 59)),math.rad(-20 + 7 * math.cos(sine / 62)),math.rad(20 + 5 * math.cos(sine / 50))),.2)
  9031. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-8 - 3 * math.cos(sine / 55)),math.rad(20 + 8 * math.cos(sine / 67)),math.rad(-20 - 4 * math.cos(sine / 29))),.2)
  9032. end
  9033. end
  9034. end
  9035. end
  9036. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement