Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
234
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
LScript 309.12 KB | None | 0 0
  1.  
  2. local Player = game:GetService("Players").Saiyan_Savages
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5.     script.Parent = Player.Character
  6.     local CAS = {Actions={}}
  7.     local Event = Instance.new("RemoteEvent")
  8.     Event.Name = "UserInput_Event"
  9.     Event.Parent = Player.Character
  10.     local fakeEvent = function()
  11.         local t = {_fakeEvent=true}
  12.         t.Connect = function(self,f)self.Function=f end
  13.         t.connect = t.Connect
  14.         return t
  15.     end
  16.     local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17.     local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18.     function CAS:BindAction(name,fun,touch,...)
  19.         CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20.     end
  21.     function CAS:UnbindAction(name)
  22.         CAS.Actions[name] = nil
  23.     end
  24.     local function te(self,ev,...)
  25.         local t = m[ev]
  26.         if t and t._fakeEvent and t.Function then
  27.             t.Function(...)
  28.         end
  29.     end
  30.     m.TrigEvent = te
  31.     UIS.TrigEvent = te
  32.     Event.OnServerEvent:Connect(function(plr,io)
  33.         if plr~=Player then return end
  34.         if io.isMouse then
  35.             m.Target = io.Target
  36.             m.Hit = io.Hit
  37.         elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38.             if io.UserInputState == Enum.UserInputState.Begin then
  39.                 m:TrigEvent("Button1Down")
  40.             else
  41.                 m:TrigEvent("Button1Up")
  42.             end
  43.         else
  44.             for n,t in pairs(CAS.Actions) do
  45.                 for _,k in pairs(t.Keys) do
  46.                     if k==io.KeyCode then
  47.                         t.Function(t.Name,io.UserInputState,io)
  48.                     end
  49.                 end
  50.             end
  51.             if io.UserInputState == Enum.UserInputState.Begin then
  52.                 m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53.                 UIS:TrigEvent("InputBegan",io,false)
  54.             else
  55.                 m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56.                 UIS:TrigEvent("InputEnded",io,false)
  57.             end
  58.         end
  59.     end)
  60.     Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  61.     end
  62.  
  63. -- 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
  64.  
  65. wait(0.5)
  66.  
  67. warn([[SpectrumGlitcher v7 Loaded.
  68. The super switcher.
  69.  
  70. Created, Reworked by NoobyGames12
  71. 1st Edit by Tcgc121212 (SpectrumEeveez)
  72. 2nd Edit by wanTH092 (Filano)
  73. 3rd Edit by AlmightyToast
  74. 4th Edit by DerpzDeNugget_YT
  75. ]])
  76.  
  77.  
  78. ------------- ORIGINAL WIELDER OC: Velnorum
  79. print([[Icons:
  80. ! = New
  81. ? = Spoilers
  82. * = Exclusivity
  83. C = Changes
  84.  
  85. ]])
  86. warn([[V ? Update Log:
  87. -- Restarted Spectrum
  88. !? - Just add more Warned to mostly special mode
  89. !?C - Added Alpha mode (N of omega)
  90. - Renamed Infestation to Infection X and renamed Equinox to Equality.
  91. ]])
  92. --- its obs smooth af do not touch
  93. ---- Sources and functions might be taken from others
  94. plr = game:GetService("Players").ZaBlazy_y
  95. Player = plr
  96. -- mouse,Mouse = plr:GetMouse()
  97. char = plr.Character
  98. hum = char.Humanoid
  99. local cam = game.Workspace.CurrentCamera
  100. Camera = cam
  101. local CamInterrupt = false
  102. local TwoD = false
  103. local TargetInfo = {nil, nil}
  104. cam.CameraType = "Custom"
  105. t = char.Torso
  106. h = char.Head
  107. ra = char["Right Arm"]
  108. la = char["Left Arm"]
  109. rl = char["Right Leg"]
  110. ll = char["Left Leg"]
  111. tors = char.Torso
  112. lleg = char["Left Leg"]
  113. root = char.HumanoidRootPart
  114. hed = char.Head
  115. rleg = char["Right Leg"]
  116. rarm = char["Right Arm"]
  117. larm = char["Left Arm"]
  118. radian = math.rad
  119. random = math.random
  120. Vec3 = Vector3.new
  121. Inst = Instance.new
  122. cFrame = CFrame.new
  123. Euler = CFrame.fromEulerAnglesXYZ
  124. vt = Vector3.new
  125. bc = BrickColor.new
  126. br = BrickColor.random
  127. it = Instance.new
  128. cf = CFrame.new
  129.  
  130. local Booleans = {
  131.   CamFollow = true,
  132.   GyroUse = true
  133. }
  134.  
  135. function lerp(object, newCFrame, alpha)
  136.   return object:lerp(newCFrame, alpha)
  137. end
  138.  
  139. local Directer = Inst("BodyGyro", root)
  140. Directer.MaxTorque = Vec3(0, 0, 0)
  141. Directer.P = 600000
  142. local CPart = Inst("Part")
  143. CPart.Anchored = true
  144. CPart.CanCollide = false
  145. CPart.Locked = true
  146. CPart.Transparency = 1
  147.  
  148. local rainbowmode = false
  149. local chaosmode = false
  150.  
  151. local kan = Instance.new("Sound",char)
  152. kan.Volume = 1.25
  153. kan.TimePosition = 0
  154. kan.PlaybackSpeed = 1
  155. kan.Pitch = 1
  156. kan.SoundId = "rbxassetid://614032233"
  157. kan.Name = "wrecked"
  158. kan.Looped = true
  159. kan:Play()
  160.  
  161. local currentThemePlaying = kan.SoundId
  162. local currentPitch = kan.Pitch
  163. local currentVol = kan.Volume
  164. function newTheme(ID,timepos,pitch,vol)
  165. local kanz = kan
  166. --kanz:Stop()
  167. kanz.Volume = vol
  168. --kanz.TimePosition = timepos
  169. kanz.PlaybackSpeed = pitch
  170. kanz.Pitch = pitch
  171. kanz.SoundId = ID
  172. kanz.Name = "wrecked"
  173. kanz.Looped = true
  174. currentThemePlaying = kanz.SoundId
  175. currentVol = kanz.Volume
  176. currentPitch = kanz.Pitch
  177. --kanz:Play()
  178. --coroutine.resume(coroutine.create(function()
  179. --wait(0.05)
  180. --end))
  181. end
  182.  
  183.  
  184. function newThemeCust(ID,timepos,pitch,vol)
  185. local kanz = kan
  186. kanz:Stop()
  187. kanz.Volume = vol
  188. kanz.TimePosition = timepos
  189. kanz.PlaybackSpeed = pitch
  190. kanz.Pitch = pitch
  191. kanz.SoundId = ID
  192. kanz.Name = "wrecked"
  193. kanz.Looped = true
  194. currentThemePlaying = kanz.SoundId
  195. currentVol = kanz.Volume
  196. currentPitch = kanz.Pitch
  197. kanz:Play()
  198. coroutine.resume(coroutine.create(function()
  199. wait(0.05)
  200. end))
  201. end
  202.  
  203. local mutedtog = false
  204.  
  205. function CameraEnshaking(Length,Intensity)
  206. coroutine.resume(coroutine.create(function()
  207.       local intensity = 1*Intensity
  208.       local rotM = 0.01*Intensity
  209. for i = 0, Length, 0.1 do
  210. swait()
  211. intensity = intensity - 0.05*Intensity/Length
  212. rotM = rotM - 0.0005*Intensity/Length
  213.       hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  214.       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)
  215. end
  216. Humanoid.CameraOffset = Vec3(0, 0, 0)
  217. end))
  218. end
  219. CamShake=function(Part,Distan,Power,Times)
  220. local de=Part.Position
  221. for i,v in pairs(workspace:children()) do
  222.  if v:IsA("Model") and v:findFirstChild("Humanoid") then
  223. for _,c in pairs(v:children()) do
  224. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  225. local Noob=v.Humanoid
  226. if Noob~=nil then
  227. coroutine.resume(coroutine.create(function()
  228. FV = Instance.new("BoolValue", Noob)
  229. FV.Name = "CameraShake"
  230. for ShakeNum=1,Times do
  231. swait()
  232. local ef=Power
  233.   if ef>=1 then
  234.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  235.   else
  236.    ef=Power*10
  237.    Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  238.   end  
  239. end
  240. Humanoid.CameraOffset = Vector3.new(0,0,0)
  241. FV:Destroy()
  242. end))
  243. CameraShake(Times, Power, Noob)
  244. end
  245. end
  246. end
  247. end
  248. end
  249. end
  250.  
  251. local toggleTag = true
  252. local bilguit = Instance.new("BillboardGui", hed)
  253. bilguit.Adornee = nil
  254. bilguit.Name = "ModeName"
  255. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  256. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  257. local modet = Instance.new("TextLabel", bilguit)
  258. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  259. modet.FontSize = "Size8"
  260. modet.TextScaled = true
  261. modet.TextTransparency = 0
  262. modet.BackgroundTransparency = 1
  263. modet.TextTransparency = 0
  264. modet.TextStrokeTransparency = 0
  265. modet.Font = "Antique"
  266. modet.TextStrokeColor3 = Color3.new(1,0,0)
  267. modet.TextColor3 = Color3.new(0.25,0,0)
  268. modet.Text = "MAYHEM"
  269.  
  270.  
  271. function chatfunc(text,color,typet,font,timeex)
  272. local chat = coroutine.wrap(function()
  273. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  274. Character:FindFirstChild("TalkingBillBoard"):destroy()
  275. end
  276. local naeeym2 = Instance.new("BillboardGui",Character)
  277. naeeym2.Size = UDim2.new(0,100,0,40)
  278. naeeym2.StudsOffset = Vector3.new(0,3,0)
  279. naeeym2.Adornee = Character.Head
  280. naeeym2.Name = "TalkingBillBoard"
  281. local tecks2 = Instance.new("TextLabel",naeeym2)
  282. tecks2.BackgroundTransparency = 1
  283. tecks2.BorderSizePixel = 0
  284. tecks2.Text = ""
  285. tecks2.Font = font
  286. tecks2.TextSize = 30
  287. tecks2.TextStrokeTransparency = 0
  288. tecks2.TextColor3 = color
  289. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  290. tecks2.Size = UDim2.new(1,0,0.5,0)
  291. local tecks3 = Instance.new("TextLabel",naeeym2)
  292. tecks3.BackgroundTransparency = 1
  293. tecks3.BorderSizePixel = 0
  294. tecks3.Text = ""
  295. tecks3.Font = font
  296. tecks3.TextSize = 30
  297. tecks3.TextStrokeTransparency = 0
  298. if typet == "Inverted" then
  299. tecks3.TextColor3 = Color3.new(0,0,0)
  300. tecks3.TextStrokeColor3 = color
  301. elseif typet == "Normal" then
  302. tecks3.TextColor3 = color
  303. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  304. end
  305. tecks3.Size = UDim2.new(1,0,0.5,0)
  306. coroutine.resume(coroutine.create(function()
  307. while true do
  308. swait(1)
  309. if chaosmode == true then
  310. tecks2.TextColor3 = BrickColor.random().Color
  311. tecks3.TextStrokeColor3 = BrickColor.random().Color
  312. end
  313. end
  314. end))
  315. modet.TextTransparency = modet.TextTransparency  + 1
  316. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  317. for i = 0, 74*timeex do
  318. swait()
  319. modet.TextTransparency = 1
  320. modet.TextStrokeTransparency = 1
  321. tecks2.Text = text
  322. tecks3.Text = text
  323. end
  324. local randomrot = math.random(1,2)
  325. if randomrot == 1 then
  326. for i = 1, 50 do
  327. swait()
  328. tecks2.Text = text
  329. tecks3.Text = text
  330. modet.TextTransparency = modet.TextTransparency - .02
  331. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  332. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  333. tecks2.TextTransparency = tecks2.TextTransparency + .04
  334. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  335. tecks3.TextTransparency = tecks2.TextTransparency + .04
  336. end
  337. elseif randomrot == 2 then
  338.     for i = 1, 50 do
  339. swait()
  340. tecks2.Text = text
  341. tecks3.Text = text
  342. modet.TextTransparency = modet.TextTransparency - .02
  343. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  344. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  345. tecks2.TextTransparency = tecks2.TextTransparency + .04
  346. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  347. tecks3.TextTransparency = tecks2.TextTransparency + .04
  348. end
  349. end
  350. modet.TextTransparency = 0
  351. modet.TextStrokeTransparency = 0
  352. if toggleTag == false then
  353. modet.TextTransparency = 1
  354. modet.TextStrokeTransparency = 1
  355. end
  356. naeeym2:Destroy()
  357. end)
  358. chat()
  359. end
  360.  
  361. function bosschatfunc(text,color,watval)
  362. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  363. coroutine.resume(coroutine.create(function()
  364. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  365. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  366. end
  367. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  368. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  369. scrg.Name = "Dialog"
  370. local txtlb = Instance.new("TextLabel",scrg)
  371. txtlb.Text = ""
  372. txtlb.Font = "Bodoni"
  373. txtlb.TextColor3 = Color3.new(0,0,0)
  374. txtlb.TextStrokeTransparency = 0
  375. txtlb.BackgroundTransparency = 0.75
  376. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  377. txtlb.TextStrokeColor3 = color
  378. txtlb.TextScaled = true
  379. txtlb.Size = UDim2.new(1,0,0.25,0)
  380. txtlb.TextXAlignment = "Left"
  381. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  382. local txtlb2 = Instance.new("TextLabel",scrg)
  383. txtlb2.Text = "???:"
  384. txtlb2.Font = "Arcade"
  385. txtlb2.TextColor3 = Color3.new(0,0,0)
  386. txtlb2.TextStrokeTransparency = 0
  387. txtlb2.BackgroundTransparency = 1
  388. txtlb2.TextStrokeColor3 = color
  389. txtlb2.TextSize = 40
  390. txtlb2.Size = UDim2.new(1,0,0.25,0)
  391. txtlb2.TextXAlignment = "Left"
  392. txtlb2.Position = UDim2.new(0,0,1,0)
  393. local fvalen = 0.55
  394. local fval = -0.49
  395. coroutine.resume(coroutine.create(function()
  396. while true do
  397. swait()
  398. if chaosmode == true then
  399. txtlb.Rotation = math.random(-1,1)
  400. txtlb2.Rotation = math.random(-1,1)
  401. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  402. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  403. txtlb.TextStrokeColor3 = BrickColor.random().Color
  404. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  405. end
  406. end
  407. end))
  408. coroutine.resume(coroutine.create(function()
  409. while true do
  410. swait()
  411. if scrg.Parent ~= nil then
  412.     fvalen = fvalen - 0.0001
  413. elseif scrg.Parent == nil then
  414. break
  415. end
  416. end
  417. end))
  418. local flol = 1.75
  419. local flil = 1.6
  420. coroutine.resume(coroutine.create(function()
  421.     for i = 0, 9 do
  422.         swait()
  423.         fval = fval + 0.05
  424.         flol = flol - 0.1
  425.         flil = flil - 0.1
  426.         txtlb.Text = ""
  427.         txtlb.Position = UDim2.new(0,0,flol,0)
  428.         txtlb2.Position = UDim2.new(0,0,flil,0)
  429.     end
  430.     txtlb.Text = text
  431. wait(watval)
  432. local valinc = 0
  433. for i = 0, 99 do
  434. swait()
  435. valinc = valinc + 0.0001
  436. flol = flol + valinc
  437. flil = flil + valinc
  438. txtlb.Rotation = txtlb.Rotation + valinc*20
  439. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  440. txtlb.Position = UDim2.new(0,0,flol,0)
  441. txtlb2.Position = UDim2.new(0,0,flil,0)
  442. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  443. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  444. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  445. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  446. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  447. end
  448. scrg:Destroy()
  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. local basgui = it("GuiMain")
  671. basgui.Parent = plr.PlayerGui
  672. basgui.Name = "VISgui"
  673. local fullscreenz = it("Frame")
  674. fullscreenz.Parent = basgui
  675. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  676. fullscreenz.BackgroundTransparency = 1
  677. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  678. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  679. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  680. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  681. imgl2.BackgroundTransparency = 1
  682. imgl2.BorderSizePixel = 0
  683. imgl2.ImageTransparency = 0.5
  684. imgl2.ImageColor3 = Color3.new(1,0,0)
  685. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  686. imgl2.Size = UDim2.new(0,1000,0,1000)
  687. imgl2.Image = "rbxassetid://2325939897"
  688. local techc = imgl2:Clone()
  689. techc.Parent = fullscreenz
  690. techc.ImageTransparency = 0
  691. techc.Size = UDim2.new(0,900,0,900)
  692. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  693. techc.ImageColor3 = Color3.new(1,0,0)
  694. techc.Image = "rbxassetid://2273224484"
  695. local circl = imgl2:Clone()
  696. circl.Parent = fullscreenz
  697. circl.ImageTransparency = 0
  698. circl.Size = UDim2.new(0,550,0,550)
  699. circl.Position = UDim2.new(0.75,25,0.55,25)
  700. circl.ImageColor3 = Color3.new(0,0,0)
  701. circl.Image = "rbxassetid://2312119891"
  702. local circl2 = imgl2:Clone()
  703. circl2.Parent = fullscreenz
  704. circl2.ImageTransparency = 0
  705. circl2.Size = UDim2.new(0,700,0,700)
  706. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  707. circl2.ImageColor3 = Color3.new(1,0,0)
  708. circl2.Image = "rbxassetid://2312119891"
  709. local imgl2b = imgl2:Clone()
  710. imgl2b.Parent = fullscreenz
  711. imgl2b.ImageTransparency = 0
  712. imgl2b.Size = UDim2.new(0,800,0,800)
  713. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  714. imgl2b.ImageColor3 = Color3.new(0,0,0)
  715. local ned = Instance.new("TextLabel",fullscreenz)
  716. ned.ZIndex = 2
  717. ned.Font = "Arcade"
  718. ned.BackgroundTransparency = 1
  719. ned.BorderSizePixel = 0.65
  720. ned.Size = UDim2.new(0.3,0,0.2,0)
  721. ned.Position = UDim2.new(0.7,0,0.8,0)
  722. ned.TextColor3 = BrickColor.new("Really red").Color
  723. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  724. ned.TextScaled = true
  725. ned.TextStrokeTransparency = 0
  726. ned.Text = "MAYHEM"
  727. ned.TextSize = 24
  728. ned.Rotation = 1
  729. ned.TextXAlignment = "Right"
  730. ned.TextYAlignment = "Bottom"
  731.  
  732. local extrawingmod1 = Instance.new("Model",char)
  733. local extrawingmod2 = Instance.new("Model",char)
  734.  
  735. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  736. local p = Instance.new("Part")
  737. p.TopSurface = 0
  738. p.BottomSurface = 0
  739. p.Parent = parent
  740. p.Size = Vector3.new(0.1,0.1,0.1)
  741. p.Transparency = transparency
  742. p.Reflectance = reflectance
  743. p.CanCollide = false
  744. p.Locked = true
  745. p.BrickColor = brickcolor
  746. p.Material = material
  747. return p
  748. end
  749.  
  750. function CreateMesh(parent,meshtype,x1,y1,z1)
  751. local mesh = Instance.new("SpecialMesh",parent)
  752. mesh.MeshType = meshtype
  753. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  754. return mesh
  755. end
  756.  
  757. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  758. local mesh = Instance.new("SpecialMesh",parent)
  759. mesh.MeshType = "FileMesh"
  760. mesh.MeshId = meshid
  761. mesh.Scale = Vector3.new(x1,y1,z1)
  762. return mesh
  763. end
  764.  
  765.  
  766. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  767. local mesh = Instance.new("SpecialMesh",parent)
  768. mesh.MeshType = "FileMesh"
  769. mesh.MeshId = meshid
  770. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  771. mesh.Scale = Vector3.new(x1,y1,z1)
  772. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  773. return mesh
  774. end
  775.  
  776. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  777. local weld = Instance.new("Weld")
  778. weld.Parent = parent
  779. weld.Part0 = part0
  780. weld.Part1 = part1
  781. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  782. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  783. return weld
  784. end
  785.  
  786.  
  787. --------------
  788. -------------- ground effect
  789. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  790. 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))
  791. local effar = Instance.new("ParticleEmitter",cen)
  792. effar.Texture = "rbxassetid://2344870656"
  793. effar.LightEmission = 1
  794. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  795. effar.Rate = 50
  796. effar.Enabled = false
  797. effar.EmissionDirection = "Front"
  798. effar.Lifetime = NumberRange.new(1)
  799. 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)})
  800. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  801. effar.Speed = NumberRange.new(80,90)
  802. effar.Acceleration = Vector3.new(0,10,0)
  803. effar.Drag = 5
  804. effar.Rotation = NumberRange.new(-500,500)
  805. effar.SpreadAngle = Vector2.new(0,900)
  806. effar.RotSpeed = NumberRange.new(-500,500)
  807.  
  808. ----
  809. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  810. 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))
  811. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  812. 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))
  813.  
  814. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  815. CreateMesh(handle,"Brick",0,0,0)
  816. local handlexweld = CreateWeld(handlex,tors,handlex,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  817. local valuaring = 10
  818. for i = 0, 49 do
  819.     valuaring = valuaring + 10
  820. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  821. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  822. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  823. end
  824.  
  825. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  826. CreateMesh(handle,"Brick",0,0,0)
  827. CreateWeld(handlex,tors,handlex,0,-1.5,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  828. local valuaring = 10
  829. for i = 0, 49 do
  830.     valuaring = valuaring + 10
  831. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  832. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  833. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  834. end
  835.  
  836.  
  837. local handle = CreateParta(m,1,1,"Neon",maincolor)
  838. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  839. local handleweld = CreateWeld(handle,tors,handle,0,-1.5,-1.05,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  840.  
  841. --- Left wing.
  842.  
  843. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  844. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  845. 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))
  846.  
  847. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  848. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  849. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  850. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  851. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  852. CreateWeld(wed,lwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  853. A0 = Instance.new('Attachment',wed)
  854. A0.Position = vt(0,0.25,0.25)
  855. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  856. CreateMesh(wed,"Wedge",0.05,0.5,3)
  857. CreateWeld(wed,lwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  858. A1 = Instance.new('Attachment',wed)
  859. A1.Position = vt(0,-0.25,-2)
  860. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  861. CreateMesh(wed,"Wedge",0.05,3,0.5)
  862. CreateWeld(wed,lwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  863.  
  864. tl1 = Instance.new('Trail',wed)
  865. tl1.Attachment0 = A1
  866. tl1.Attachment1 = A0
  867. tl1.Texture = "rbxassetid://2108945559"
  868. tl1.LightEmission = 1
  869. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  870. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  871. tl1.Lifetime = 0.6
  872.  
  873.  
  874. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  875. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  876. 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))
  877.  
  878. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  879. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  880. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  881. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  882. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  883. CreateWeld(wed,lwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  884. A0 = Instance.new('Attachment',wed)
  885. A0.Position = vt(0,0.25,0.25)
  886. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  887. CreateMesh(wed,"Wedge",0.05,0.5,3)
  888. CreateWeld(wed,lwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  889. A1 = Instance.new('Attachment',wed)
  890. A1.Position = vt(0,-0.25,-2)
  891. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  892. CreateMesh(wed,"Wedge",0.05,3,0.5)
  893. CreateWeld(wed,lwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  894.  
  895. tl2 = Instance.new('Trail',wed)
  896. tl2.Attachment0 = A1
  897. tl2.Attachment1 = A0
  898. tl2.Texture = "rbxassetid://2108945559"
  899. tl2.LightEmission = 1
  900. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  901. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  902. tl2.Lifetime = 0.6
  903.  
  904. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  905. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  906. 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))
  907.  
  908. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  909. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  910. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  911. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  912. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  913. CreateWeld(wed,lwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  914. A0 = Instance.new('Attachment',wed)
  915. A0.Position = vt(0,0.25,0.25)
  916. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  917. CreateMesh(wed,"Wedge",0.05,0.5,3)
  918. CreateWeld(wed,lwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  919. A1 = Instance.new('Attachment',wed)
  920. A1.Position = vt(0,-0.25,-2)
  921. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  922. CreateMesh(wed,"Wedge",0.05,3,0.5)
  923. CreateWeld(wed,lwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  924.  
  925. tl3 = Instance.new('Trail',wed)
  926. tl3.Attachment0 = A1
  927. tl3.Attachment1 = A0
  928. tl3.Texture = "rbxassetid://2108945559"
  929. tl3.LightEmission = 1
  930. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  931. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  932. tl3.Lifetime = 0.6
  933. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  934. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  935. local lwing4weld = CreateWeld(lwing4,handle,lwing4,5.75,3,0,math.rad(20),math.rad(0),math.rad(50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  936.  
  937. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  938. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  939. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  940. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  941. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  942. CreateWeld(wed,lwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  943. A0 = Instance.new('Attachment',wed)
  944. A0.Position = vt(0,0.25*2,0.25*2)
  945. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  946. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  947. CreateWeld(wed,lwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  948. A1 = Instance.new('Attachment',wed)
  949. A1.Position = vt(0,-0.25*2,-2*2)
  950. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  951. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  952. CreateWeld(wed,lwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  953.  
  954. tl4 = Instance.new('Trail',wed)
  955. tl4.Attachment0 = A1
  956. tl4.Attachment1 = A0
  957. tl4.Texture = "rbxassetid://2108945559"
  958. tl4.LightEmission = 1
  959. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  960. tl4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  961. tl4.Lifetime = 0.6
  962. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  963. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  964. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  965.  
  966. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  967. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  968. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  969. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  970. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  971. CreateWeld(wed,lwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  972. A0 = Instance.new('Attachment',wed)
  973. A0.Position = vt(0,0.25*2,0.25*2)
  974. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  975. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  976. CreateWeld(wed,lwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  977. A1 = Instance.new('Attachment',wed)
  978. A1.Position = vt(0,-0.25*2,-2*2)
  979. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  980. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  981. CreateWeld(wed,lwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  982.  
  983. tl5 = Instance.new('Trail',wed)
  984. tl5.Attachment0 = A1
  985. tl5.Attachment1 = A0
  986. tl5.Texture = "rbxassetid://2108945559"
  987. tl5.LightEmission = 1
  988. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  989. tl5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  990. tl5.Lifetime = 0.6
  991. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  992. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  993. local lwing6weld = CreateWeld(lwing6,handle,lwing6,7.75,5,0,math.rad(30),math.rad(0),math.rad(75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  994.  
  995. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  996. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  997. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  998. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1000. CreateWeld(wed,lwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1001. A0 = Instance.new('Attachment',wed)
  1002. A0.Position = vt(0,0.25*2,0.25*2)
  1003. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1004. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1005. CreateWeld(wed,lwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1006. A1 = Instance.new('Attachment',wed)
  1007. A1.Position = vt(0,-0.25*2,-2*2)
  1008. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1010. CreateWeld(wed,lwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1011. tl6 = Instance.new('Trail',wed)
  1012. tl6.Attachment0 = A1
  1013. tl6.Attachment1 = A0
  1014. tl6.Texture = "rbxassetid://2108945559"
  1015. tl6.LightEmission = 1
  1016. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1017. tl6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1018. tl6.Lifetime = 0.6
  1019.  
  1020. tl1.Enabled = false
  1021. tl2.Enabled = false
  1022. tl3.Enabled = false
  1023. tl4.Enabled = false
  1024. tl5.Enabled = false
  1025. tl6.Enabled = false
  1026. -- Right wing.
  1027.  
  1028. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1029. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1030. 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))
  1031.  
  1032. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1033. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1034. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1035. A0 = Instance.new('Attachment',wed)
  1036. A0.Position = vt(0,0.25,0.25)
  1037. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1039. CreateWeld(wed,rwing1,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1040. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1042. CreateWeld(wed,rwing1,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1043. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1045. CreateWeld(wed,rwing1,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1046. A1 = Instance.new('Attachment',wed)
  1047. A1.Position = vt(0,2,0.25)
  1048.  
  1049. tr1 = Instance.new('Trail',wed)
  1050. tr1.Attachment0 = A1
  1051. tr1.Attachment1 = A0
  1052. tr1.Texture = "rbxassetid://2108945559"
  1053. tr1.LightEmission = 1
  1054. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1055. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1056. tr1.Lifetime = 0.6
  1057.  
  1058. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1059. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1060. 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))
  1061.  
  1062. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1063. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1064. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1065. A0 = Instance.new('Attachment',wed)
  1066. A0.Position = vt(0,0.25,0.25)
  1067. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1068. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1069. CreateWeld(wed,rwing2,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1070. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1071. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1072. CreateWeld(wed,rwing2,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1073. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1074. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1075. CreateWeld(wed,rwing2,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1076. A1 = Instance.new('Attachment',wed)
  1077. A1.Position = vt(0,2,0.25)
  1078.  
  1079. tr2 = Instance.new('Trail',wed)
  1080. tr2.Attachment0 = A1
  1081. tr2.Attachment1 = A0
  1082. tr2.Texture = "rbxassetid://2108945559"
  1083. tr2.LightEmission = 1
  1084. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1085. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1086. tr2.Lifetime = 0.6
  1087.  
  1088. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1089. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1090. 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))
  1091.  
  1092. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1093. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1094. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1095. A0 = Instance.new('Attachment',wed)
  1096. A0.Position = vt(0,0.25,0.25)
  1097. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1098. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1099. CreateWeld(wed,rwing3,wed,0,0,0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1100. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1101. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1102. CreateWeld(wed,rwing3,wed,0,-0.25,1.75,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1103. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1104. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1105. CreateWeld(wed,rwing3,wed,0,-1.75,0.25,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1106. A1 = Instance.new('Attachment',wed)
  1107. A1.Position = vt(0,2,0.25)
  1108.  
  1109. tr3 = Instance.new('Trail',wed)
  1110. tr3.Attachment0 = A1
  1111. tr3.Attachment1 = A0
  1112. tr3.Texture = "rbxassetid://2108945559"
  1113. tr3.LightEmission = 1
  1114. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1115. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1116. tr3.Lifetime = 0.6
  1117.  
  1118.  
  1119. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1120. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1121. local rwing4weld = CreateWeld(rwing4,handle,rwing4,-5.75,3,0,math.rad(20),math.rad(0),math.rad(-50),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1122.  
  1123. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1124. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1125. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1126. A0 = Instance.new('Attachment',wed)
  1127. A0.Position = vt(0,0.25*2,0.25*2)
  1128. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1129. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1130. CreateWeld(wed,rwing4,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1131. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1132. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1133. CreateWeld(wed,rwing4,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1134. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1135. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1136. CreateWeld(wed,rwing4,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1137. A1 = Instance.new('Attachment',wed)
  1138. A1.Position = vt(0,2,0.25)
  1139.  
  1140. tr4 = Instance.new('Trail',wed)
  1141. tr4.Attachment0 = A1
  1142. tr4.Attachment1 = A0
  1143. tr4.Texture = "rbxassetid://2108945559"
  1144. tr4.LightEmission = 1
  1145. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1146. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1147. tr4.Lifetime = 0.6
  1148.  
  1149. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1150. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1151. local rwing5weld = CreateWeld(rwing5,handle,rwing5,-6.75,4,0,math.rad(25),math.rad(0),math.rad(-62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1152.  
  1153. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1154. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1155. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1156. A0 = Instance.new('Attachment',wed)
  1157. A0.Position = vt(0,0.25*2,0.25*2)
  1158. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1159. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1160. CreateWeld(wed,rwing5,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1161. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1162. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1163. CreateWeld(wed,rwing5,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1164. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1165. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1166. CreateWeld(wed,rwing5,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1167. A1 = Instance.new('Attachment',wed)
  1168. A1.Position = vt(0,2,0.25)
  1169.  
  1170. tr5 = Instance.new('Trail',wed)
  1171. tr5.Attachment0 = A1
  1172. tr5.Attachment1 = A0
  1173. tr5.Texture = "rbxassetid://2108945559"
  1174. tr5.LightEmission = 1
  1175. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1176. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1177. tr5.Lifetime = 0.6
  1178.  
  1179. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1180. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1181. local rwing6weld = CreateWeld(rwing6,handle,rwing6,-7.75,3,0,math.rad(30),math.rad(0),math.rad(-75),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1182.  
  1183. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1184. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1185. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1186. A0 = Instance.new('Attachment',wed)
  1187. A0.Position = vt(0,0.25*2,0.25*2)
  1188. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1189. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1190. CreateWeld(wed,rwing6,wed,0,0,0.25*2,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1191. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1192. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1193. CreateWeld(wed,rwing6,wed,0,-0.25*2,1.75*2,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1194. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1195. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1196. CreateWeld(wed,rwing6,wed,0,-1.75*2,0.25*2,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1197. A1 = Instance.new('Attachment',wed)
  1198. A1.Position = vt(0,2,0.25)
  1199.  
  1200. tr6 = Instance.new('Trail',wed)
  1201. tr6.Attachment0 = A1
  1202. tr6.Attachment1 = A0
  1203. tr6.Texture = "rbxassetid://2108945559"
  1204. tr6.LightEmission = 1
  1205. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1206. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1207. tr6.Lifetime = 0.6
  1208.  
  1209. tr4.Enabled = false
  1210. tr5.Enabled = false
  1211. tr6.Enabled = false
  1212. ---- HERES THE RING
  1213.  
  1214.  
  1215. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1216. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1217. 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))
  1218. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1219. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1220. 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))
  1221. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1222. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1223. 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))
  1224.  
  1225.  
  1226. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1227. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1228. 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))
  1229.  
  1230. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1231. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1232. 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))
  1233.  
  1234.  
  1235.  
  1236. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1237. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1238. 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))
  1239.  
  1240. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1241. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1242. 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))
  1243.  
  1244. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1245. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1246. 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))
  1247.  
  1248. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1249. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1250. 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))
  1251. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1252. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1253. 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))
  1254.  
  1255. --- second ring
  1256.  
  1257. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1258. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1259. 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))
  1260. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1261. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1262. 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))
  1263. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1264. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1265. 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))
  1266.  
  1267. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1268. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1269. 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))
  1270.  
  1271. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1272. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1273. 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))
  1274.  
  1275.  
  1276.  
  1277. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1278. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1279. 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))
  1280.  
  1281. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1282. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1283. 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))
  1284.  
  1285. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1286. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1287. 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))
  1288.  
  1289. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1290. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1291. 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))
  1292. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1293. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1294. 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))]]--
  1295.  
  1296.  
  1297.  
  1298. for i, v in pairs(m:GetChildren()) do
  1299. if v:IsA("Part") then
  1300. v.BrickColor = BrickColor.new("Really black")
  1301. v.Material = "Glass"
  1302. end
  1303. end
  1304. for i, v in pairs(m2:GetChildren()) do
  1305. if v:IsA("Part") then
  1306. v.BrickColor = BrickColor.new("Crimson")
  1307. v.Material = "Granite"
  1308. end
  1309. end
  1310. for i, v in pairs(m3:GetChildren()) do
  1311. if v:IsA("Part") then
  1312. v.BrickColor = BrickColor.new("Really red")
  1313. v.Material = "Neon"
  1314. end
  1315. end
  1316. for i, v in pairs(mw2:GetChildren()) do
  1317. if v:IsA("Part") then
  1318. v.BrickColor = BrickColor.new("Really red")
  1319. v.Material = "Neon"
  1320. end
  1321. end
  1322. for i, v in pairs(mw1:GetChildren()) do
  1323. if v:IsA("Part") then
  1324. v.Transparency = 1
  1325. v.BrickColor = BrickColor.new("Really red")
  1326. v.Material = "Neon"
  1327. end
  1328. end
  1329. for i, v in pairs(extrawingmod1:GetChildren()) do
  1330. if v:IsA("Part") then
  1331. v.Transparency = 1
  1332. v.BrickColor = BrickColor.new("White")
  1333. v.Material = "Neon"
  1334. end
  1335. end
  1336. for i, v in pairs(extrawingmod2:GetChildren()) do
  1337. if v:IsA("Part") then
  1338. v.Transparency = 1
  1339. v.BrickColor = BrickColor.new("White")
  1340. v.Material = "Neon"
  1341. end
  1342. end
  1343. local MAINRUINCOLOR = BrickColor.new("Really red")
  1344. ------
  1345.  
  1346.  
  1347. function RemoveOutlines(part)
  1348.   part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1349. end
  1350. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1351.   local Part = Create("Part")({
  1352.     Parent = Parent,
  1353.     Reflectance = Reflectance,
  1354.     Transparency = Transparency,
  1355.     CanCollide = false,
  1356.     Locked = true,
  1357.     BrickColor = BrickColor.new(tostring(BColor)),
  1358.     Name = Name,
  1359.     Size = Size,
  1360.     Material = Material
  1361.   })
  1362.   Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1363.   RemoveOutlines(Part)
  1364.   return Part
  1365. end
  1366. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1367.   local Msh = Create(Mesh)({
  1368.     Parent = Part,
  1369.     Offset = OffSet,
  1370.     Scale = Scale
  1371.   })
  1372.   if Mesh == "SpecialMesh" then
  1373.     Msh.MeshType = MeshType
  1374.     Msh.MeshId = MeshId
  1375.   end
  1376.   return Msh
  1377. end
  1378. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1379.   local Weld = Create("Weld")({
  1380.     Parent = Parent,
  1381.     Part0 = Part0,
  1382.     Part1 = Part1,
  1383.     C0 = C0,
  1384.     C1 = C1
  1385.   })
  1386.   return Weld
  1387. end
  1388.  
  1389. Character=Player.Character
  1390. PlayerGui=Player.PlayerGui
  1391. Backpack=Player.Backpack
  1392. Torso=Character.Torso
  1393. Head=Character.Head
  1394. Humanoid=Character.Humanoid
  1395. m=Instance.new('Model',Character)
  1396. LeftArm=Character["Left Arm"]
  1397. LeftLeg=Character["Left Leg"]
  1398. RightArm=Character["Right Arm"]
  1399. RightLeg=Character["Right Leg"]
  1400. LS=Torso["Left Shoulder"]
  1401. LH=Torso["Left Hip"]
  1402. RS=Torso["Right Shoulder"]
  1403. RH=Torso["Right Hip"]
  1404. Face = Head.face
  1405. Neck=Torso.Neck
  1406. it=Instance.new
  1407. attacktype=1
  1408. vt=Vector3.new
  1409. cf=CFrame.new
  1410. euler=CFrame.fromEulerAnglesXYZ
  1411. angles=CFrame.Angles
  1412. cloaked=false
  1413. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1414. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1415. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1416. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1417. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1418. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1419. RootPart=Character.HumanoidRootPart
  1420. RootJoint=RootPart.RootJoint
  1421. RootCF=euler(-1.57,0,3.14)
  1422. attack = false
  1423. attackdebounce = false
  1424. deb=false
  1425. equipped=true
  1426. hand=false
  1427. MMouse=nil
  1428. combo=0
  1429. mana=0
  1430. trispeed=.2
  1431. attackmode='none'
  1432. local idle=0
  1433. local Anim="Idle"
  1434. local Effects={}
  1435. local gun=false
  1436. local shoot=false
  1437. local sine = 0
  1438. local change = 1
  1439. local CRAZED = false
  1440.  
  1441.  
  1442. function RecolorTextAndRename(name,col1,col2,font)
  1443. modet.TextStrokeColor3 = col2
  1444. modet.TextColor3 = col1
  1445. modet.Font = font
  1446. modet.Text = name
  1447. techc.ImageColor3 = col2
  1448. circl.ImageColor3 = col2
  1449. circl2.ImageColor3 = col1
  1450. imgl2.ImageColor3 = col1
  1451. imgl2b.ImageColor3 = col2
  1452. ned.Text = name
  1453. ned.TextColor3 = col1
  1454. ned.TextStrokeColor3 = col2
  1455. end
  1456.  
  1457. local disably = false
  1458.  
  1459. function warnedpeople(text,represfont,color,color2)
  1460.     if disably ~= true then
  1461. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1462. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1463. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1464. coroutine.resume(coroutine.create(function()
  1465. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1466. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1467. end
  1468. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1469. scrg.Name = "Spinny"
  1470. local frm = Instance.new("Frame",scrg)
  1471. frm.BackgroundTransparency = 0.25
  1472. frm.BackgroundColor3 = color
  1473. frm.BorderSizePixel = 0
  1474. frm.Rotation = 45
  1475. frm.Size = UDim2.new(3,0,0,100)
  1476. frm.Position = UDim2.new(-4,0,0,0)
  1477. local frm2 = frm:Clone()
  1478. frm2.Parent = scrg
  1479. frm2.BackgroundColor3 = color2
  1480. frm2.Position = UDim2.new(-4.05,0,0,0)
  1481. local imlb = Instance.new("ImageLabel",scrg)
  1482. imlb.BackgroundTransparency = 1
  1483. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1484. imlb.Image = "rbxassetid://2344851144"
  1485. imlb.Size = UDim2.new(0,750,0,750)
  1486. imlb.ImageColor3 = color2
  1487. imlb.ImageTransparency = 0.25
  1488. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1489. local imlb2 = imlb:Clone()
  1490. imlb2.Image = "rbxassetid://2325939897"
  1491. imlb2.Size = UDim2.new(1,0,1,0)
  1492. imlb2.ImageColor3 = color
  1493. imlb2.ImageTransparency = 0
  1494. imlb2.Position = UDim2.new(0,0,0,0)
  1495. local imlb3 = imlb:Clone()
  1496. imlb3.Image = "rbxassetid://2344830904"
  1497. imlb3.Size = UDim2.new(1,0,1,0)
  1498. imlb3.ImageColor3 = color2
  1499. imlb3.ImageTransparency = 0
  1500. imlb3.Position = UDim2.new(0,0,0,0)
  1501. local imlb4 = imlb:Clone()
  1502. imlb4.Image = "rbxassetid://2344870656"
  1503. imlb4.Size = UDim2.new(3,0,3,0)
  1504. imlb4.ImageColor3 = Color3.new(1,1,1)
  1505. imlb4.ImageTransparency = 0
  1506. imlb4.Position = UDim2.new(-1,0,-1,0)
  1507. local imlb5 = imlb:Clone()
  1508. imlb5.Image = "rbxassetid://2344870656"
  1509. imlb5.Size = UDim2.new(10,0,10,0)
  1510. imlb5.ImageColor3 = color2
  1511. imlb5.ImageTransparency = 0
  1512. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1513. imlb2.Parent = imlb
  1514. imlb3.Parent = imlb
  1515. imlb4.Parent = imlb
  1516. imlb5.Parent = imlb
  1517. local txtlb2 = Instance.new("TextLabel",imlb)
  1518. txtlb2.Text = text
  1519. txtlb2.Font = represfont
  1520. txtlb2.TextColor3 = color
  1521. txtlb2.TextStrokeTransparency = 0
  1522. txtlb2.BackgroundTransparency = 1
  1523. txtlb2.TextStrokeColor3 = color2
  1524. txtlb2.TextScaled = true
  1525. txtlb2.Size = UDim2.new(1,0,1,0)
  1526. txtlb2.Position = UDim2.new(0,0,0,0)
  1527. local fvalen = 0.55
  1528. local fval = -0.49
  1529. coroutine.resume(coroutine.create(function()
  1530. while true do
  1531. swait()
  1532. if CRAZED == true then
  1533. txtlb2.Rotation = math.random(-1,1)
  1534. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1535. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1536. txtlb2.TextStrokeColor3 = Color3.new(0,0,math.random(0.1,1))
  1537. txtlb2.TextColor3 = Color3.new(0,0,math.random(0,0.2))
  1538. imlb.ImageColor3 = Color3.new(0,0,math.random(0.1,1))
  1539. frm.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  1540. frm2.BackgroundColor3 = Color3.new(0,0,math.random(0.1,1))
  1541. end
  1542. end
  1543. end))
  1544. coroutine.resume(coroutine.create(function()
  1545. while true do
  1546. swait()
  1547. if chaosmode == true then
  1548. txtlb2.Rotation = math.random(-1,1)
  1549. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1550. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1551. imlb.ImageColor3 = BrickColor.random().Color
  1552. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1553. end
  1554. end
  1555. end))
  1556. coroutine.resume(coroutine.create(function()
  1557. while true do
  1558. swait()
  1559. if scrg.Parent ~= nil then
  1560.     fvalen = fvalen - 0.0001
  1561. elseif scrg.Parent == nil then
  1562. break
  1563. end
  1564. end
  1565. end))
  1566. local flol = -5
  1567. local flil = 1.6
  1568. coroutine.resume(coroutine.create(function()
  1569.     for i = 0, 49 do
  1570.         swait()
  1571.         flol = flol + 0.125
  1572.         flil = flil - 0.1
  1573.         frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1574.         frm.Rotation = frm.Rotation - 0.25
  1575.         frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1576.         frm2.Rotation = frm.Rotation + 0.325
  1577.         imlb3.Rotation = imlb3.Rotation - 10
  1578.         imlb2.Rotation = imlb.Rotation + 7.5
  1579.         imlb.Rotation = imlb.Rotation + 5
  1580.         txtlb2.Rotation = txtlb2.Rotation - 5.125
  1581.         imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1582.     end
  1583.     for i = 0, 99 do
  1584.         swait()
  1585.         fval = fval + 0.05
  1586.         flol = flol + 0.005
  1587.         frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1588.         frm.Rotation = frm.Rotation - 0.075
  1589.         frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1590.         frm2.Rotation = frm2.Rotation + 0.125
  1591.         imlb3.Rotation = imlb3.Rotation - 2
  1592.         imlb2.Rotation = imlb.Rotation + 1.5
  1593.         imlb.Rotation = imlb.Rotation + 1
  1594.         txtlb2.Rotation = txtlb2.Rotation - 1.125
  1595.         imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1596.     end
  1597. local valinc = 0
  1598. local vinc2 = 1
  1599. for i = 0, 99 do
  1600. swait()
  1601. vinc2 = vinc2 + 0.25
  1602. valinc = valinc + 0.0001
  1603. flol = flol + valinc
  1604. flil = flil + valinc
  1605. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1606. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1607. imlb.Rotation = imlb.Rotation + 1*vinc2
  1608. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1609. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1610. frm.Rotation = frm.Rotation + 0.1*vinc2
  1611. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1612. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1613. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1614. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1615. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1616. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1617. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1618. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1619. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1620. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1621. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1622. end
  1623. scrg:Destroy()
  1624. end))
  1625. end))
  1626. end
  1627. end
  1628. end
  1629.  
  1630.  
  1631. --save shoulders
  1632. RSH, LSH=nil, nil
  1633. --welds
  1634. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1635. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1636. LH=Torso["Left Hip"]
  1637. RH=Torso["Right Hip"]
  1638. TorsoColor=Torso.BrickColor
  1639. function NoOutline(Part)
  1640. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1641. end
  1642. ch=Character
  1643. RSH=ch.Torso["Right Shoulder"]
  1644. LSH=ch.Torso["Left Shoulder"]
  1645. --
  1646. RSH.Parent=nil
  1647. LSH.Parent=nil
  1648. --
  1649. RW.Name="Right Shoulder"
  1650. RW.Part0=ch.Torso
  1651. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1652. RW.C1=cf(0, 0.5, 0)
  1653. RW.Part1=ch["Right Arm"]
  1654. RW.Parent=ch.Torso
  1655. --
  1656. LW.Name="Left Shoulder"
  1657. LW.Part0=ch.Torso
  1658. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1659. LW.C1=cf(0, 0.5, 0)
  1660. LW.Part1=ch["Left Arm"]
  1661. LW.Parent=ch.Torso
  1662.  
  1663. local Stats=Instance.new("BoolValue")
  1664. Stats.Name="Stats"
  1665. Stats.Parent=Character
  1666. local Atk=Instance.new("NumberValue")
  1667. Atk.Name="Damage"
  1668. Atk.Parent=Stats
  1669. Atk.Value=1
  1670. local Def=Instance.new("NumberValue")
  1671. Def.Name="Defense"
  1672. Def.Parent=Stats
  1673. Def.Value=1
  1674. local Speed=Instance.new("NumberValue")
  1675. Speed.Name="Speed"
  1676. Speed.Parent=Stats
  1677. Speed.Value=1
  1678. local Mvmt=Instance.new("NumberValue")
  1679. Mvmt.Name="Movement"
  1680. Mvmt.Parent=Stats
  1681. Mvmt.Value=1
  1682.  
  1683. local donum=0
  1684.  
  1685.  
  1686. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1687. local fp=it("Part")
  1688. fp.formFactor=formfactor
  1689. fp.Parent=parent
  1690. fp.Reflectance=reflectance
  1691. fp.Transparency=transparency
  1692. fp.CanCollide=false
  1693. fp.Locked=true
  1694. fp.BrickColor=brickcolor
  1695. fp.Name=name
  1696. fp.Size=size
  1697. fp.Position=Torso.Position
  1698. NoOutline(fp)
  1699. fp.Material="SmoothPlastic"
  1700. fp:BreakJoints()
  1701. return fp
  1702. end
  1703.  
  1704. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1705. local mesh=it(Mesh)
  1706. mesh.Parent=part
  1707. if Mesh=="SpecialMesh" then
  1708. mesh.MeshType=meshtype
  1709. if meshid~="nil" then
  1710. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1711. end
  1712. end
  1713. mesh.Offset=offset
  1714. mesh.Scale=scale
  1715. return mesh
  1716. end
  1717.  
  1718. function weld(parent,part0,part1,c0)
  1719. local weld=it("Weld")
  1720. weld.Parent=parent
  1721. weld.Part0=part0
  1722. weld.Part1=part1
  1723. weld.C0=c0
  1724. return weld
  1725. end
  1726.  
  1727. local Color1=Torso.BrickColor
  1728.  
  1729. local bodvel=Instance.new("BodyVelocity")
  1730. local bg=Instance.new("BodyGyro")
  1731.  
  1732. --------- SazEreno's Artificial HB --------------
  1733. ArtificialHB = Instance.new("BindableEvent", script)
  1734. ArtificialHB.Name = "ArtificialHB"
  1735.  
  1736. script:WaitForChild("ArtificialHB")
  1737. Frame_Speed = 1 / 60
  1738. frame = Frame_Speed
  1739. tf = 0
  1740. allowframeloss = false
  1741. tossremainder = false
  1742. lastframe = tick()
  1743. script.ArtificialHB:Fire()
  1744.  
  1745. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1746.     tf = tf + s
  1747.     if tf >= frame then
  1748.         if allowframeloss then
  1749.             script.ArtificialHB:Fire()
  1750.             lastframe = tick()
  1751.         else
  1752.             for i = 1, math.floor(tf / frame) do
  1753.                 script.ArtificialHB:Fire()
  1754.             end
  1755.         lastframe = tick()
  1756.         end
  1757.         if tossremainder then
  1758.             tf = 0
  1759.         else
  1760.             tf = tf - frame * math.floor(tf / frame)
  1761.         end
  1762.     end
  1763. end)
  1764.  
  1765. ------------------
  1766. function swait(num)
  1767. if num == 0 or num == nil then
  1768.         ArtificialHB.Event:wait()
  1769.     else
  1770.         for i = 1, num do
  1771.             ArtificialHB.Event:wait()
  1772.         end
  1773.     end
  1774. end
  1775. -------- RAINBOW LEAVE IT TO ME
  1776. local r = 255
  1777. local g = 0
  1778. local b = 0
  1779. coroutine.resume(coroutine.create(function()
  1780. while wait() do
  1781.     for i = 0, 254/5 do
  1782.         swait()
  1783.         g = g + 5
  1784.     end
  1785.     for i = 0, 254/5 do
  1786.         swait()
  1787.         r = r - 5
  1788.     end
  1789.     for i = 0, 254/5 do
  1790.         swait()
  1791.         b = b + 5
  1792.     end
  1793.     for i = 0, 254/5 do
  1794.         swait()
  1795.         g = g - 5
  1796.     end
  1797.     for i = 0, 254/5 do
  1798.         swait()
  1799.         r = r + 5
  1800.     end
  1801.     for i = 0, 254/5 do
  1802.         swait()
  1803.         b = b - 5
  1804.     end
  1805. end
  1806. end))
  1807.  
  1808.  
  1809. so = function(id,par,vol,pit)
  1810. coroutine.resume(coroutine.create(function()
  1811. local sou = Instance.new("Sound",par or workspace)
  1812. sou.Volume=vol
  1813. sou.Pitch=pit or 1
  1814. sou.SoundId=id
  1815. swait()
  1816. sou:play()
  1817. game:GetService("Debris"):AddItem(sou,6)
  1818. end))
  1819. end
  1820.  
  1821. function clerp(a,b,t)
  1822. local qa = {QuaternionFromCFrame(a)}
  1823. local qb = {QuaternionFromCFrame(b)}
  1824. local ax, ay, az = a.x, a.y, a.z
  1825. local bx, by, bz = b.x, b.y, b.z
  1826. local _t = 1-t
  1827. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1828. end
  1829.  
  1830. function QuaternionFromCFrame(cf)
  1831. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1832. local trace = m00 + m11 + m22
  1833. if trace > 0 then
  1834. local s = math.sqrt(1 + trace)
  1835. local recip = 0.5/s
  1836. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1837. else
  1838. local i = 0
  1839. if m11 > m00 then
  1840. i = 1
  1841. end
  1842. if m22 > (i == 0 and m00 or m11) then
  1843. i = 2
  1844. end
  1845. if i == 0 then
  1846. local s = math.sqrt(m00-m11-m22+1)
  1847. local recip = 0.5/s
  1848. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1849. elseif i == 1 then
  1850. local s = math.sqrt(m11-m22-m00+1)
  1851. local recip = 0.5/s
  1852. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1853. elseif i == 2 then
  1854. local s = math.sqrt(m22-m00-m11+1)
  1855. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1856. end
  1857. end
  1858. end
  1859.  
  1860. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1861. local xs, ys, zs = x + x, y + y, z + z
  1862. local wx, wy, wz = w*xs, w*ys, w*zs
  1863. local xx = x*xs
  1864. local xy = x*ys
  1865. local xz = x*zs
  1866. local yy = y*ys
  1867. local yz = y*zs
  1868. local zz = z*zs
  1869. 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))
  1870. end
  1871.  
  1872. function QuaternionSlerp(a, b, t)
  1873. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1874. local startInterp, finishInterp;
  1875. if cosTheta >= 0.0001 then
  1876. if (1 - cosTheta) > 0.0001 then
  1877. local theta = math.acos(cosTheta)
  1878. local invSinTheta = 1/math.sin(theta)
  1879. startInterp = math.sin((1-t)*theta)*invSinTheta
  1880. finishInterp = math.sin(t*theta)*invSinTheta  
  1881. else
  1882. startInterp = 1-t
  1883. finishInterp = t
  1884. end
  1885. else
  1886. if (1+cosTheta) > 0.0001 then
  1887. local theta = math.acos(-cosTheta)
  1888. local invSinTheta = 1/math.sin(theta)
  1889. startInterp = math.sin((t-1)*theta)*invSinTheta
  1890. finishInterp = math.sin(t*theta)*invSinTheta
  1891. else
  1892. startInterp = t-1
  1893. finishInterp = t
  1894. end
  1895. end
  1896. 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
  1897. end
  1898.  
  1899. local function CFrameFromTopBack(at, top, back)
  1900. local right = top:Cross(back)
  1901. return CFrame.new(at.x, at.y, at.z,
  1902. right.x, top.x, back.x,
  1903. right.y, top.y, back.y,
  1904. right.z, top.z, back.z)
  1905. end
  1906.  
  1907. function Triangle(a, b, c)
  1908. local edg1 = (c-a):Dot((b-a).unit)
  1909. local edg2 = (a-b):Dot((c-b).unit)
  1910. local edg3 = (b-c):Dot((a-c).unit)
  1911. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1912. a, b, c = a, b, c
  1913. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1914. a, b, c = b, c, a
  1915. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1916. a, b, c = c, a, b
  1917. else
  1918. assert(false, "unreachable")
  1919. end
  1920.  
  1921. local len1 = (c-a):Dot((b-a).unit)
  1922. local len2 = (b-a).magnitude - len1
  1923. local width = (a + (b-a).unit*len1 - c).magnitude
  1924.  
  1925. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1926.  
  1927. local list = {}
  1928.  
  1929. if len1 > 0.01 then
  1930. local w1 = Instance.new('WedgePart', m)
  1931. game:GetService("Debris"):AddItem(w1,5)
  1932. w1.Material = "SmoothPlastic"
  1933. w1.FormFactor = 'Custom'
  1934. w1.BrickColor = BrickColor.new("Really red")
  1935. w1.Transparency = 0
  1936. w1.Reflectance = 0
  1937. w1.Material = "SmoothPlastic"
  1938. w1.CanCollide = false
  1939. local l1 = Instance.new("PointLight",w1)
  1940. l1.Color = Color3.new(170,0,0)
  1941. NoOutline(w1)
  1942. local sz = Vector3.new(0.2, width, len1)
  1943. w1.Size = sz
  1944. local sp = Instance.new("SpecialMesh",w1)
  1945. sp.MeshType = "Wedge"
  1946. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1947. w1:BreakJoints()
  1948. w1.Anchored = true
  1949. w1.Parent = workspace
  1950. w1.Transparency = 0.7
  1951. table.insert(Effects,{w1,"Disappear",.01})
  1952. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1953. table.insert(list,w1)
  1954. end
  1955.  
  1956. if len2 > 0.01 then
  1957. local w2 = Instance.new('WedgePart', m)
  1958. game:GetService("Debris"):AddItem(w2,5)
  1959. w2.Material = "SmoothPlastic"
  1960. w2.FormFactor = 'Custom'
  1961. w2.BrickColor = BrickColor.new("Really red")
  1962. w2.Transparency = 0
  1963. w2.Reflectance = 0
  1964. w2.Material = "SmoothPlastic"
  1965. w2.CanCollide = false
  1966. local l2 = Instance.new("PointLight",w2)
  1967. l2.Color = Color3.new(170,0,0)
  1968. NoOutline(w2)
  1969. local sz = Vector3.new(0.2, width, len2)
  1970. w2.Size = sz
  1971. local sp = Instance.new("SpecialMesh",w2)
  1972. sp.MeshType = "Wedge"
  1973. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1974. w2:BreakJoints()
  1975. w2.Anchored = true
  1976. w2.Parent = workspace
  1977. w2.Transparency = 0.7
  1978. table.insert(Effects,{w2,"Disappear",.01})
  1979. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1980. table.insert(list,w2)
  1981. end
  1982. return unpack(list)
  1983. end
  1984.  
  1985.  
  1986. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1987.   if hit.Parent == nil then
  1988.     return
  1989.   end
  1990.   local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1991.   for _, v in pairs(hit.Parent:children()) do
  1992.     if v:IsA("Humanoid") then
  1993.       h = v
  1994.     end
  1995.   end
  1996.   if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1997.     if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1998.       return
  1999.     end
  2000.     local c = Create("ObjectValue")({
  2001.       Name = "creator",
  2002.       Value = game:GetService("Players").ZaBlazy_y,
  2003.       Parent = h
  2004.     })
  2005.     game:GetService("Debris"):AddItem(c, 0.5)
  2006.     if HitSound ~= nil and HitPitch ~= nil then
  2007.       CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2008.     end
  2009.     local Damage = math.random(minim, maxim)
  2010.     local blocked = false
  2011.     local block = hit.Parent:findFirstChild("Block")
  2012.     if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2013.       blocked = true
  2014.       block.Value = block.Value - 1
  2015.       print(block.Value)
  2016.     end
  2017.     if blocked == false then
  2018.       HitHealth = h.Health
  2019.       h.MaxHealth = 100
  2020.       h.Health = h.Health - Damage
  2021.       if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2022.         print("gained kill")
  2023.         dmg(h.Parent)
  2024.       end
  2025.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2026.     else
  2027.       h.Health = h.Health - Damage / 2
  2028.       ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2029.     end
  2030.     if Type == "Knockdown" then
  2031.       local hum = hit.Parent.Humanoid
  2032.       hum.PlatformStand = true
  2033.       coroutine.resume(coroutine.create(function(HHumanoid)
  2034.         swait(1)
  2035.         HHumanoid.PlatformStand = false
  2036.       end), hum)
  2037.       local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2038.       local bodvol = Create("BodyVelocity")({
  2039.         velocity = angle * knockback,
  2040.         P = 5000,
  2041.         maxForce = Vector3.new(8000, 8000, 8000),
  2042.         Parent = hit
  2043.       })
  2044.       local rl = Create("BodyAngularVelocity")({
  2045.         P = 3000,
  2046.         maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2047.         angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2048.         Parent = hit
  2049.       })
  2050.       game:GetService("Debris"):AddItem(bodvol, 0.5)
  2051.       game:GetService("Debris"):AddItem(rl, 0.5)
  2052.     elseif Type == "Normal" then
  2053.       local vp = Create("BodyVelocity")({
  2054.         P = 500,
  2055.         maxForce = Vector3.new(math.huge, 0, math.huge),
  2056.         velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2057.       })
  2058.       if knockback > 0 then
  2059.         vp.Parent = hit.Parent.Head
  2060.       end
  2061.       game:GetService("Debris"):AddItem(vp, 0.5)
  2062.     elseif Type == "Up" then
  2063.       local bodyVelocity = Create("BodyVelocity")({
  2064.         velocity = Vector3.new(0, 20, 0),
  2065.         P = 5000,
  2066.         maxForce = Vector3.new(8000, 8000, 8000),
  2067.         Parent = hit
  2068.       })
  2069.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2070.       local bodyVelocity = Create("BodyVelocity")({
  2071.         velocity = Vector3.new(0, 20, 0),
  2072.         P = 5000,
  2073.         maxForce = Vector3.new(8000, 8000, 8000),
  2074.         Parent = hit
  2075.       })
  2076.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2077.     elseif Type == "Leech" then
  2078.       local hum = hit.Parent.Humanoid
  2079.       if hum ~= nil then
  2080.         for i = 0, 2 do
  2081.           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)
  2082.         end
  2083.         Humanoid.Health = Humanoid.Health + 10
  2084.       end
  2085.     elseif Type == "UpKnock" then
  2086.       local hum = hit.Parent.Humanoid
  2087.       hum.PlatformStand = true
  2088.       if hum ~= nil then
  2089.         hitr = true
  2090.       end
  2091.       coroutine.resume(coroutine.create(function(HHumanoid)
  2092.         swait(5)
  2093.         HHumanoid.PlatformStand = false
  2094.         hitr = false
  2095.       end), hum)
  2096.       local bodyVelocity = Create("BodyVelocity")({
  2097.         velocity = Vector3.new(0, 20, 0),
  2098.         P = 5000,
  2099.         maxForce = Vector3.new(8000, 8000, 8000),
  2100.         Parent = hit
  2101.       })
  2102.       game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2103.       local bodyVelocity = Create("BodyVelocity")({
  2104.         velocity = Vector3.new(0, 20, 0),
  2105.         P = 5000,
  2106.         maxForce = Vector3.new(8000, 8000, 8000),
  2107.         Parent = hit
  2108.       })
  2109.       game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2110.     elseif Type == "Snare" then
  2111.       local bp = Create("BodyPosition")({
  2112.         P = 2000,
  2113.         D = 100,
  2114.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2115.         position = hit.Parent.Torso.Position,
  2116.         Parent = hit.Parent.Torso
  2117.       })
  2118.       game:GetService("Debris"):AddItem(bp, 1)
  2119.     elseif Type == "Slashnare" then
  2120.       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)
  2121.       for i = 1, math.random(4, 5) do
  2122.         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)
  2123.       end
  2124.       local bp = Create("BodyPosition")({
  2125.         P = 2000,
  2126.         D = 100,
  2127.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2128.         position = hit.Parent.Torso.Position,
  2129.         Parent = hit.Parent.Torso
  2130.       })
  2131.       game:GetService("Debris"):AddItem(bp, 1)
  2132.     elseif Type == "Spike" then
  2133.       CreateBigIceSword(hit.Parent.Torso.CFrame)
  2134.       local bp = Create("BodyPosition")({
  2135.         P = 2000,
  2136.         D = 100,
  2137.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2138.         position = hit.Parent.Torso.Position,
  2139.         Parent = hit.Parent.Torso
  2140.       })
  2141.       game:GetService("Debris"):AddItem(bp, 1)
  2142.     elseif Type == "Freeze" then
  2143.       local BodPos = Create("BodyPosition")({
  2144.         P = 50000,
  2145.         D = 1000,
  2146.         maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2147.         position = hit.Parent.Torso.Position,
  2148.         Parent = hit.Parent.Torso
  2149.       })
  2150.       local BodGy = Create("BodyGyro")({
  2151.         maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2152.         P = 20000,
  2153.         Parent = hit.Parent.Torso,
  2154.         cframe = hit.Parent.Torso.CFrame
  2155.       })
  2156.       hit.Parent.Torso.Anchored = true
  2157.       coroutine.resume(coroutine.create(function(Part)
  2158.         swait(1.5)
  2159.         Part.Anchored = false
  2160.       end), hit.Parent.Torso)
  2161.       game:GetService("Debris"):AddItem(BodPos, 3)
  2162.       game:GetService("Debris"):AddItem(BodGy, 3)
  2163.     end
  2164.     local debounce = Create("BoolValue")({
  2165.       Name = "DebounceHit",
  2166.       Parent = hit.Parent,
  2167.       Value = true
  2168.     })
  2169.     game:GetService("Debris"):AddItem(debounce, Delay)
  2170.     c = Instance.new("ObjectValue")
  2171.     c.Name = "creator"
  2172.     c.Value = Player
  2173.     c.Parent = h
  2174.     game:GetService("Debris"):AddItem(c, 0.5)
  2175.   end
  2176. end
  2177. function ShowDamage(Pos, Text, Time, Color)
  2178.   local Rate = 0.03333333333333333
  2179.   local Pos = Pos or Vector3.new(0, 0, 0)
  2180.   local Text = Text or ""
  2181.   local Time = Time or 2
  2182.   local Color = Color or Color3.new(1, 0, 1)
  2183.   local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2184.   EffectPart.Anchored = true
  2185.   local BillboardGui = Create("BillboardGui")({
  2186.     Size = UDim2.new(3, 0, 3, 0),
  2187.     Adornee = EffectPart,
  2188.     Parent = EffectPart
  2189.   })
  2190.   local TextLabel = Create("TextLabel")({
  2191.     BackgroundTransparency = 1,
  2192.     Size = UDim2.new(1, 0, 1, 0),
  2193.     Text = Text,
  2194.     TextColor3 = Color,
  2195.     TextScaled = true,
  2196.     Font = Enum.Font.ArialBold,
  2197.     Parent = BillboardGui
  2198.   })
  2199.   game.Debris:AddItem(EffectPart, Time + 0.1)
  2200.   EffectPart.Parent = game:GetService("Workspace")
  2201.   delay(0, function()
  2202.     local Frames = Time / Rate
  2203.     for Frame = 1, Frames do
  2204.       wait(Rate)
  2205.       local Percent = Frame / Frames
  2206.       EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2207.       TextLabel.TextTransparency = Percent
  2208.     end
  2209.     if EffectPart and EffectPart.Parent then
  2210.       EffectPart:Destroy()
  2211.     end
  2212.   end)
  2213. end
  2214. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2215.   for _, c in pairs(workspace:children()) do
  2216.     local hum = c:findFirstChildOfClass("Humanoid")
  2217.     if hum ~= nil then
  2218.       local head = c:findFirstChild("Head")
  2219.       if head ~= nil then
  2220.         local targ = head.Position - Part.Position
  2221.         local mag = targ.magnitude
  2222.         if magni >= mag and c.Name ~= Player.Name then
  2223.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2224.         end
  2225.       end
  2226.     end
  2227.   end
  2228. end
  2229.  
  2230. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2231.   for _, c in pairs(workspace:children()) do
  2232.     local hum = c:findFirstChild("Humanoid")
  2233.     if hum ~= nil then
  2234.       local head = c:findFirstChild("Torso")
  2235.       if head ~= nil then
  2236.         local targ = head.Position - Part.Position
  2237.         local mag = targ.magnitude
  2238.         if magni >= mag and c.Name ~= Player.Name then
  2239.     MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2240.           Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2241.         end
  2242.       end
  2243.     end
  2244.   end
  2245. end
  2246.  
  2247. function rayCast(Pos, Dir, Max, Ignore)  -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2248. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2249. end
  2250.  
  2251. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2252. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2253. prt.Anchored=true
  2254. prt.CFrame=cframe
  2255. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2256. --http://www.roblox.com/asset/?id=4770560
  2257. game:GetService("Debris"):AddItem(prt,2)
  2258. CF=prt.CFrame
  2259. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2260. for i=0,1,0.2 do
  2261. wait()
  2262. Part.CFrame=CF*cf(0,0,-0.4)
  2263. end
  2264. for i=0,1,delay do
  2265. wait()
  2266. --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)
  2267. Mesh.Scale=Mesh.Scale
  2268. end
  2269. for i=0,1,0.1 do
  2270. wait()
  2271. Part.Transparency=i
  2272. end
  2273. Part.Parent=nil
  2274. end),prt,msh,CF)
  2275. end
  2276.  
  2277. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2278. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2279. prt.Anchored=true
  2280. prt.Material = "Neon"
  2281. prt.CFrame=cframe
  2282. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2283. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2284. game:GetService("Debris"):AddItem(prt,5)
  2285. coroutine.resume(coroutine.create(function(Part,Mesh)
  2286. for i=0,1,delay do
  2287. swait()
  2288. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2289. Part.Transparency=i
  2290. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2291. end
  2292. Part.Parent=nil
  2293. end),prt,msh)
  2294. end
  2295.  
  2296. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2297. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2298. prt.Anchored=true
  2299. prt.Material = "Neon"
  2300. prt.CFrame=cframe
  2301. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2302. game:GetService("Debris"):AddItem(prt,5)
  2303. coroutine.resume(coroutine.create(function(Part,Mesh)
  2304.     local rtype = rottype
  2305. for i=0,1,delay do
  2306. swait()
  2307. if rtype == 1 then
  2308. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2309. elseif rtype == 2 then
  2310. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2311. end
  2312. Part.Transparency=i
  2313. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2314. end
  2315. Part.Parent=nil
  2316. end),prt,msh)
  2317. end
  2318.  
  2319. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2320. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2321. prt.Anchored=true
  2322. prt.CFrame=cframe
  2323. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2324. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2325. game:GetService("Debris"):AddItem(prt,5)
  2326. coroutine.resume(coroutine.create(function(Part,Mesh)
  2327. for i=0,1,delay do
  2328. wait()
  2329. Part.Transparency=i
  2330. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2331. end
  2332. Part.Parent=nil
  2333. end),prt,msh)
  2334. end
  2335.  
  2336. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2337. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2338. prt.Anchored=true
  2339. prt.Material = "Neon"
  2340. prt.CFrame=cframe
  2341. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2342. game:GetService("Debris"):AddItem(prt,5)
  2343. coroutine.resume(coroutine.create(function(Part,Mesh)
  2344.     local rtype = rottype
  2345. for i=0,1,delay do
  2346. swait()
  2347. if rtype == 1 then
  2348. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2349. elseif rtype == 2 then
  2350. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2351. end
  2352. Part.Transparency=i
  2353. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2354. end
  2355. Part.Parent=nil
  2356. end),prt,msh)
  2357. end
  2358.  
  2359. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2360. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2361. prt.Anchored=true
  2362. prt.Material = "Neon"
  2363. prt.CFrame=cframe
  2364. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2365. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2366. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2367. game:GetService("Debris"):AddItem(prt,5)
  2368. coroutine.resume(coroutine.create(function(Part,Mesh)
  2369.     local rtype = rottype
  2370. for i=0,1,delay do
  2371. swait()
  2372. if rtype == 1 then
  2373. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2374. elseif rtype == 2 then
  2375. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2376. end
  2377. dec.Transparency=i
  2378. dec2.Transparency=i
  2379. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2380. end
  2381. Part.Parent=nil
  2382. end),prt,msh)
  2383. end
  2384.  
  2385. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2386. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2387. prt.Anchored=true
  2388. prt.Material = "Neon"
  2389. prt.CFrame=cframe
  2390. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2391. game:GetService("Debris"):AddItem(prt,5)
  2392. coroutine.resume(coroutine.create(function(Part,Mesh)
  2393.     local rtype = rottype
  2394. for i=0,1,delay do
  2395. swait()
  2396. if rtype == 1 then
  2397. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2398. elseif rtype == 2 then
  2399. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2400. end
  2401. prt.Transparency=i
  2402. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2403. end
  2404. Part.Parent=nil
  2405. end),prt,msh)
  2406. end
  2407.  
  2408. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2409. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2410. prt.Anchored=true
  2411. prt.Material = "Neon"
  2412. prt.CFrame=cframe
  2413. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2414. game:GetService("Debris"):AddItem(prt,5)
  2415. coroutine.resume(coroutine.create(function(Part,Mesh)
  2416.     local rtype = rottype
  2417. for i=0,1,delay do
  2418. swait()
  2419. if rtype == 1 then
  2420. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2421. elseif rtype == 2 then
  2422. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2423. end
  2424. prt.Transparency=i
  2425. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2426. end
  2427. Part.Parent=nil
  2428. end),prt,msh)
  2429. end
  2430.  
  2431. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2432. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2433. prt.Anchored=true
  2434. prt.Material = "Neon"
  2435. prt.CFrame=cframe
  2436. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2437. game:GetService("Debris"):AddItem(prt,5)
  2438. coroutine.resume(coroutine.create(function(Part,Mesh)
  2439.     local rtype = rottype
  2440. for i=0,1,delay do
  2441. swait()
  2442. if rtype == 1 then
  2443. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2444. elseif rtype == 2 then
  2445. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2446. end
  2447. prt.Transparency=i
  2448. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2449. end
  2450. Part.Parent=nil
  2451. end),prt,msh)
  2452. end
  2453.  
  2454. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2455. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2456. prt.Anchored=true
  2457. prt.Material = "Neon"
  2458. prt.CFrame=cframe
  2459. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2460. game:GetService("Debris"):AddItem(prt,5)
  2461. coroutine.resume(coroutine.create(function(Part,Mesh)
  2462.     local rtype = rottype
  2463. for i=0,1,delay do
  2464. swait()
  2465. if rtype == 1 then
  2466. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2467. elseif rtype == 2 then
  2468. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2469. end
  2470. prt.Transparency=i
  2471. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2472. end
  2473. Part.Parent=nil
  2474. end),prt,msh)
  2475. end
  2476.  
  2477. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2478. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2479. prt.Anchored=false
  2480. prt.CFrame=cframe
  2481. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2482. local wld=weld(prt,prt,Parent,cframe)
  2483. game:GetService("Debris"):AddItem(prt,5)
  2484. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2485. for i=0,1,delay do
  2486. wait()
  2487. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2488. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2489. Part.Transparency=i
  2490. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2491. end
  2492. Part.Parent=nil
  2493. end),prt,msh,wld)
  2494. end
  2495.  
  2496. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2497. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2498. prt.Anchored=false
  2499. prt.CFrame=cframe
  2500. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2501. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2502. game:GetService("Debris"):AddItem(prt,5)
  2503. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2504. for i=0,1,delay do
  2505. wait()
  2506. Weld.C0=euler(i*20,0,0)
  2507. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2508. Part.Transparency=i
  2509. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2510. end
  2511. Part.Parent=nil
  2512. end),prt,msh,wld)
  2513. end
  2514.  
  2515. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2516. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2517. prt.Anchored=true
  2518. prt.CFrame=cframe
  2519. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2520. game:GetService("Debris"):AddItem(prt,2)
  2521. coroutine.resume(coroutine.create(function(Part,Mesh)
  2522. for i=0,1,delay do
  2523. wait()
  2524. Part.CFrame=Part.CFrame
  2525. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2526. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2527. prt2.Anchored=true
  2528. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2529. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2530. game:GetService("Debris"):AddItem(prt2,2)
  2531. coroutine.resume(coroutine.create(function(Part,Mesh)
  2532. for i=0,1,0.1 do
  2533. wait()
  2534. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2535. end
  2536. Part.Parent=nil
  2537. end),prt2,msh2)
  2538. end
  2539. for i=0,1,delay*2 do
  2540. wait()
  2541. Part.CFrame=Part.CFrame
  2542. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2543. end
  2544. Part.Parent=nil
  2545. end),prt,msh)
  2546. end
  2547.  
  2548. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2549. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2550. prt.Anchored=true
  2551. prt.CFrame=cframe
  2552. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2553. game:GetService("Debris"):AddItem(prt,2)
  2554. coroutine.resume(coroutine.create(function(Part,Mesh)
  2555. for i=0,1,delay do
  2556. wait()
  2557. Part.CFrame=Part.CFrame
  2558. Part.Transparency=i
  2559. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2560. end
  2561. Part.Parent=nil
  2562. end),prt,msh)
  2563. end
  2564.  
  2565. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2566. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2567. prt.Anchored=true
  2568. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2569. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2570. game:GetService("Debris"):AddItem(prt,2)
  2571. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2572. CF=Part.CFrame
  2573. Numbb=0
  2574. randnumb=math.random()/10
  2575. rand1=math.random()/10
  2576. for i=0,1,rand1 do
  2577. wait()
  2578. CF=CF*cf(0,math.random()/2,0)
  2579. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2580. Part.CFrame=CF*euler(Numbb,0,0)
  2581. Part.Transparency=i
  2582. Numbb=Numbb+randnumb
  2583. end
  2584. Part.Parent=nil
  2585. end),prt,CF,Numbb,randnumb)
  2586. end
  2587.  
  2588. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2589. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2590. prt.Anchored=true
  2591. prt.CFrame=cframe
  2592. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2593. game:GetService("Debris"):AddItem(prt,5)
  2594. coroutine.resume(coroutine.create(function(Part,Mesh)
  2595. for i=0,1,delay do
  2596. wait()
  2597. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2598. Part.Transparency=i
  2599. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2600. end
  2601. Part.Parent=nil
  2602. end),prt,msh)
  2603. end
  2604.  
  2605. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2606. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2607. prt.Anchored=true
  2608. prt.CFrame=cframe
  2609. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2610. game:GetService("Debris"):AddItem(prt,2)
  2611. coroutine.resume(coroutine.create(function(Part,Mesh)
  2612. for i=0,1,delay do
  2613. wait()
  2614. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2615. Part.Transparency=i
  2616. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2617. end
  2618. Part.Parent=nil
  2619. end),prt,msh)
  2620. end
  2621.  
  2622. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2623. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2624. prt.Anchored=true
  2625. prt.CFrame=cframe*cf(x,y,z)
  2626. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2627. game:GetService("Debris"):AddItem(prt,5)
  2628. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2629. local num=math.random()
  2630. local num2=math.random(-3,2)+math.random()
  2631. local numm=0
  2632. for i=0,1,delay*2 do
  2633. swait()
  2634. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2635. Part.Transparency=i
  2636. numm=numm+0.01
  2637. end
  2638. Part.Parent=nil
  2639. Mesh.Parent=nil
  2640. end),prt,msh,x,y,z)
  2641. end
  2642.  
  2643. function dmgstart(dmg,what)
  2644.     hitcon = what.Touched:connect(function(hit)
  2645.         local hum = hit.Parent:FindFirstChild("Humanoid")
  2646.         if hum and not hum:IsDescendantOf(Character) then
  2647.             hum:TakeDamage(dmg)
  2648.         end
  2649.     end)
  2650. end
  2651.  
  2652. function dmgstop()
  2653.     hitcon:disconnect()
  2654. end
  2655.  
  2656. function Cloak()
  2657. Face.Parent=nil
  2658. cloaked=true
  2659.         for _,v in pairs(Torso.Parent:children()) do
  2660.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2661.                 coroutine.resume(coroutine.create(function()
  2662.                 for i=0,1,0.2 do
  2663.                 wait()
  2664.                 v.Transparency=i
  2665.                 end
  2666.                 v.Transparency=1
  2667.                 end))
  2668.                 end
  2669.                 if v.className=="Hat" then
  2670.                 hatp=v.Handle
  2671.                 coroutine.resume(coroutine.create(function(derp)
  2672.                 for i=0,1,0.2 do
  2673.                 wait()
  2674.                 derp.Transparency=i
  2675.                 end
  2676.                 derp.Transparency=1
  2677.                 end),hatp)
  2678.                 end
  2679.         end
  2680.         for _,v in pairs(m:children()) do
  2681.                 if v.className=="Part" then
  2682.                 coroutine.resume(coroutine.create(function()
  2683.                 for i=0,1,0.2 do
  2684.                 wait()
  2685.                 v.Transparency=i
  2686.                 end
  2687.                 v.Transparency=1
  2688.                 end))
  2689.                 end
  2690.         end
  2691. end
  2692.  
  2693. function UnCloak()
  2694. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2695. Face.Parent=Head
  2696. cloaked=false
  2697.         for _,v in pairs(Torso.Parent:children()) do
  2698.                 if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2699.                 coroutine.resume(coroutine.create(function()
  2700.                 for i=0,1,0.1 do
  2701.                 wait()
  2702.                 v.Transparency=v.Transparency-0.1
  2703.                 end
  2704.                 v.Transparency=0
  2705.                 end))
  2706.                 end
  2707.                 if v.className=="Hat" then
  2708.                 hatp=v.Handle
  2709.                 coroutine.resume(coroutine.create(function(derp)
  2710.                 for i=0,1,0.1 do
  2711.                 wait()
  2712.                 derp.Transparency=derp.Transparency-0.1
  2713.                 end
  2714.                 derp.Transparency=0
  2715.                 end),hatp)
  2716.                 end
  2717.         end
  2718.         for _,v in pairs(m:children()) do
  2719.                 if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2720.                 coroutine.resume(coroutine.create(function()
  2721.                 for i=0,1,0.1 do
  2722.                 wait()
  2723.                 v.Transparency=v.Transparency-0.1
  2724.                 end
  2725.                 v.Transparency=0
  2726.                 end))
  2727.                 v.Transparency=0
  2728.                 end
  2729.         end
  2730. end
  2731.  
  2732. local origcolor = BrickColor.new("Pastel light blue")
  2733. ---- This section of explosions.
  2734.  
  2735. ----
  2736.  
  2737.  
  2738. function ring(type,pos,scale,value)
  2739. local type = type
  2740. local rng = Instance.new("Part", char)
  2741.         rng.Anchored = true
  2742.         rng.BrickColor = origcolor
  2743.         rng.CanCollide = false
  2744.         rng.FormFactor = 3
  2745.         rng.Name = "Ring"
  2746.         rng.Size = Vector3.new(1, 1, 1)
  2747.         rng.Transparency = 0
  2748.         rng.TopSurface = 0
  2749.         rng.BottomSurface = 0
  2750.         rng.CFrame = pos
  2751.         local rngm = Instance.new("SpecialMesh", rng)
  2752.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2753. rngm.Scale = scale
  2754. local scaler2 = 1
  2755. if type == "Add" then
  2756. scaler2 = 1*value
  2757. elseif type == "Divide" then
  2758. scaler2 = 1/value
  2759. end
  2760. coroutine.resume(coroutine.create(function()
  2761. for i = 0,10,0.1 do
  2762. swait()
  2763. if type == "Add" then
  2764. scaler2 = scaler2 - 0.01*value
  2765. elseif type == "Divide" then
  2766. scaler2 = scaler2 - 0.01/value
  2767. end
  2768. rng.Transparency = rng.Transparency + 0.01
  2769. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2770. end
  2771. rng:Destroy()
  2772. end))
  2773. end
  2774.  
  2775.  
  2776. function wave(type,pos,scale,value)
  2777. local type = type
  2778. local rng = Instance.new("Part", char)
  2779.         rng.Anchored = true
  2780.         rng.BrickColor = origcolor
  2781.         rng.CanCollide = false
  2782.         rng.FormFactor = 3
  2783.         rng.Name = "Ring"
  2784.         rng.Size = Vector3.new(1, 1, 1)
  2785.         rng.Transparency = 0
  2786.         rng.TopSurface = 0
  2787.         rng.BottomSurface = 0
  2788.         rng.CFrame = pos
  2789.         local rngm = Instance.new("SpecialMesh", rng)
  2790.         rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2791. rngm.Scale = scale
  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,0.1 do
  2800. swait()
  2801. if type == "Add" then
  2802. scaler2 = scaler2 - 0.01*value
  2803. elseif type == "Divide" then
  2804. scaler2 = scaler2 - 0.01/value
  2805. end
  2806. rng.Transparency = rng.Transparency + 0.01
  2807. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2808. end
  2809. rng:Destroy()
  2810. end))
  2811. end
  2812.  
  2813. function wind(type,pos,scale,value,speed)
  2814. local type = type
  2815. local rng = Instance.new("Part", char)
  2816.         rng.Anchored = true
  2817.         rng.BrickColor = origcolor
  2818.         rng.CanCollide = false
  2819.         rng.FormFactor = 3
  2820.         rng.Name = "Ring"
  2821.         rng.Size = Vector3.new(1, 1, 1)
  2822.         rng.Transparency = 0
  2823.         rng.TopSurface = 0
  2824.         rng.BottomSurface = 0
  2825.         rng.CFrame = pos
  2826.         local rngm = Instance.new("SpecialMesh", rng)
  2827.         rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2828. rngm.Scale = scale
  2829. local scaler2 = 1
  2830. if type == "Add" then
  2831. scaler2 = 1*value
  2832. elseif type == "Divide" then
  2833. scaler2 = 1/value
  2834. end
  2835. coroutine.resume(coroutine.create(function()
  2836. for i = 0,10,0.1 do
  2837. swait()
  2838. if type == "Add" then
  2839. scaler2 = scaler2 - 0.01*value
  2840. elseif type == "Divide" then
  2841. scaler2 = scaler2 - 0.01/value
  2842. end
  2843. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2844. rng.Transparency = rng.Transparency + 0.01
  2845. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2846. end
  2847. rng:Destroy()
  2848. end))
  2849. end
  2850.  
  2851. function groundwind(type,pos,scale,value,speed)
  2852. local type = type
  2853. local rng = Instance.new("Part", char)
  2854.         rng.Anchored = true
  2855.         rng.BrickColor = origcolor
  2856.         rng.CanCollide = false
  2857.         rng.FormFactor = 3
  2858.         rng.Name = "Ring"
  2859.         rng.Size = Vector3.new(1, 1, 1)
  2860.         rng.Transparency = 0
  2861.         rng.TopSurface = 0
  2862.         rng.BottomSurface = 0
  2863.         rng.CFrame = pos
  2864.         local rngm = Instance.new("SpecialMesh", rng)
  2865.         rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2866. rngm.Scale = scale
  2867. local scaler2 = 1
  2868. if type == "Add" then
  2869. scaler2 = 1*value
  2870. elseif type == "Divide" then
  2871. scaler2 = 1/value
  2872. end
  2873. coroutine.resume(coroutine.create(function()
  2874. for i = 0,10,0.1 do
  2875. swait()
  2876. if type == "Add" then
  2877. scaler2 = scaler2 - 0.01*value
  2878. elseif type == "Divide" then
  2879. scaler2 = scaler2 - 0.01/value
  2880. end
  2881. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2882. rng.Transparency = rng.Transparency + 0.01
  2883. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2884. end
  2885. rng:Destroy()
  2886. end))
  2887. end
  2888.  
  2889. function CameraManager()
  2890.   if TwoD and not CamInterrupt then
  2891.     if Humanoid.Health > 0 then
  2892.       Camera.CameraSubject = Humanoid
  2893.       Camera.CameraType = "Scriptable"
  2894.       Humanoid.AutoRotate = false
  2895.       if Booleans.GyroUse then
  2896.         Directer.MaxTorque = Vec3(0, huge, 0)
  2897.       else
  2898.         Directer.MaxTorque = Vec3(0, 0, 0)
  2899.       end
  2900.       if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2901.         if Booleans.CamFollow then
  2902.           CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2903.           Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2904.         else
  2905.           CPart.Position = RootPart.Position
  2906.         end
  2907.       else
  2908.         local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2909.         CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2910.       end
  2911.       Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2912.     else
  2913.       Camera.CameraSubject = Humanoid
  2914.       Camera.CameraType = "Custom"
  2915.       Controller.Disabled = false
  2916.     end
  2917.   end
  2918. end
  2919.  
  2920. function ring(type,pos,scale,value)
  2921. local type = type
  2922. local rng = Instance.new("Part", char)
  2923.         rng.Anchored = true
  2924.         rng.BrickColor = origcolor
  2925.         rng.CanCollide = false
  2926.         rng.FormFactor = 3
  2927.         rng.Name = "Ring"
  2928.         rng.Size = Vector3.new(1, 1, 1)
  2929.         rng.Transparency = 0
  2930.         rng.TopSurface = 0
  2931.         rng.BottomSurface = 0
  2932.         rng.CFrame = pos
  2933.         local rngm = Instance.new("SpecialMesh", rng)
  2934.         rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2935. rngm.Scale = scale
  2936. local scaler2 = 1
  2937. if type == "Add" then
  2938. scaler2 = 1*value
  2939. elseif type == "Divide" then
  2940. scaler2 = 1/value
  2941. end
  2942. coroutine.resume(coroutine.create(function()
  2943. for i = 0,10,0.1 do
  2944. swait()
  2945. if type == "Add" then
  2946. scaler2 = scaler2 - 0.01*value
  2947. elseif type == "Divide" then
  2948. scaler2 = scaler2 - 0.01/value
  2949. end
  2950. rng.Transparency = rng.Transparency + 0.01
  2951. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2952. end
  2953. rng:Destroy()
  2954. end))
  2955. end
  2956.  
  2957.  
  2958. function wave(type,pos,scale,value)
  2959. local type = type
  2960. local rng = Instance.new("Part", char)
  2961.         rng.Anchored = true
  2962.         rng.BrickColor = origcolor
  2963.         rng.CanCollide = false
  2964.         rng.FormFactor = 3
  2965.         rng.Name = "Ring"
  2966.         rng.Size = Vector3.new(1, 1, 1)
  2967.         rng.Transparency = 0
  2968.         rng.TopSurface = 0
  2969.         rng.BottomSurface = 0
  2970.         rng.CFrame = pos
  2971.         local rngm = Instance.new("SpecialMesh", rng)
  2972.         rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2973. rngm.Scale = scale
  2974. local scaler2 = 1
  2975. if type == "Add" then
  2976. scaler2 = 1*value
  2977. elseif type == "Divide" then
  2978. scaler2 = 1/value
  2979. end
  2980. coroutine.resume(coroutine.create(function()
  2981. for i = 0,10,0.1 do
  2982. swait()
  2983. if type == "Add" then
  2984. scaler2 = scaler2 - 0.01*value
  2985. elseif type == "Divide" then
  2986. scaler2 = scaler2 - 0.01/value
  2987. end
  2988. rng.Transparency = rng.Transparency + 0.01
  2989. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2990. end
  2991. rng:Destroy()
  2992. end))
  2993. end
  2994.  
  2995. function sphere(bonuspeed,type,pos,scale,value,color)
  2996. local type = type
  2997. local rng = Instance.new("Part", char)
  2998.         rng.Anchored = true
  2999. if ModeOfGlitch ~= 9 then
  3000.         rng.BrickColor = color
  3001. elseif ModeOfGlitch == 9 then
  3002. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3003. end
  3004.         rng.CanCollide = false
  3005.         rng.FormFactor = 3
  3006.         rng.Name = "Ring"
  3007.         rng.Material = "Neon"
  3008.         rng.Size = Vector3.new(1, 1, 1)
  3009.         rng.Transparency = 0
  3010.         rng.TopSurface = 0
  3011.         rng.BottomSurface = 0
  3012.         rng.CFrame = pos
  3013.         local rngm = Instance.new("SpecialMesh", rng)
  3014.         rngm.MeshType = "Sphere"
  3015. rngm.Scale = scale
  3016. if rainbowmode == true then
  3017. rng.Color = Color3.new(r/255,g/255,b/255)
  3018. end
  3019. if ModeOfGlitch == 9 then
  3020. coroutine.resume(coroutine.create(function()
  3021. while true do
  3022. swait()
  3023. if rng.Parent ~= nil then
  3024. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3025. else
  3026. break
  3027. end
  3028. end
  3029. end))
  3030. end
  3031. local scaler2 = 1
  3032. if type == "Add" then
  3033. scaler2 = 1*value
  3034. elseif type == "Divide" then
  3035. scaler2 = 1/value
  3036. end
  3037. coroutine.resume(coroutine.create(function()
  3038. for i = 0,10/bonuspeed,0.1 do
  3039. swait()
  3040. if rainbowmode == true then
  3041. rng.Color = Color3.new(r/255,g/255,b/255)
  3042. end
  3043. if type == "Add" then
  3044. scaler2 = scaler2 - 0.01*value/bonuspeed
  3045. elseif type == "Divide" then
  3046. scaler2 = scaler2 - 0.01/value*bonuspeed
  3047. end
  3048. if chaosmode == true then
  3049. rng.BrickColor = BrickColor.random()
  3050. end
  3051. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3052. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3053. end
  3054. rng:Destroy()
  3055. end))
  3056. end
  3057.  
  3058. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3059. local type = type
  3060. local rng = Instance.new("Part", char)
  3061.         rng.Anchored = true
  3062. if ModeOfGlitch ~= 9 then
  3063.         rng.BrickColor = color
  3064. elseif ModeOfGlitch == 9 then
  3065. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3066. end
  3067.         rng.CanCollide = false
  3068.         rng.FormFactor = 3
  3069.         rng.Name = "Ring"
  3070.         rng.Material = "Neon"
  3071.         rng.Size = Vector3.new(1, 1, 1)
  3072.         rng.Transparency = 0
  3073.         rng.TopSurface = 0
  3074.         rng.BottomSurface = 0
  3075.         rng.CFrame = pos
  3076.         local rngm = Instance.new("SpecialMesh", rng)
  3077.         rngm.MeshType = "Sphere"
  3078. rngm.Scale = scale
  3079. local scaler2 = 1
  3080. local scaler2b = 1
  3081. local scaler2c = 1
  3082. if type == "Add" then
  3083. scaler2 = 1*value
  3084. scaler2b = 1*value2
  3085. scaler2c = 1*value3
  3086. elseif type == "Divide" then
  3087. scaler2 = 1/value
  3088. scaler2b = 1/value2
  3089. scaler2c = 1/value3
  3090. end
  3091. if ModeOfGlitch == 9 then
  3092. coroutine.resume(coroutine.create(function()
  3093. while true do
  3094. swait()
  3095. if rng.Parent ~= nil then
  3096. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3097. else
  3098. break
  3099. end
  3100. end
  3101. end))
  3102. end
  3103. coroutine.resume(coroutine.create(function()
  3104. for i = 0,10/bonuspeed,0.1 do
  3105. swait()
  3106. if type == "Add" then
  3107. scaler2 = scaler2 - 0.01*value/bonuspeed
  3108. scaler2b = scaler2b - 0.01*value/bonuspeed
  3109. scaler2c = scaler2c - 0.01*value/bonuspeed
  3110. elseif type == "Divide" then
  3111. scaler2 = scaler2 - 0.01/value*bonuspeed
  3112. scaler2b = scaler2b - 0.01/value*bonuspeed
  3113. scaler2c = scaler2c - 0.01/value*bonuspeed
  3114. end
  3115. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3116. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3117. end
  3118. rng:Destroy()
  3119. end))
  3120. end
  3121.  
  3122. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3123. local type = type
  3124. local rotenable = rotatingop
  3125. local rng = Instance.new("Part", char)
  3126.         rng.Anchored = true
  3127.         rng.BrickColor = color
  3128.         rng.CanCollide = false
  3129.         rng.FormFactor = 3
  3130.         rng.Name = "Ring"
  3131.         rng.Material = "Neon"
  3132.         rng.Size = Vector3.new(1, 1, 1)
  3133.         rng.Transparency = 0
  3134. if typeoftrans == "In" then
  3135. rng.Transparency = 1
  3136. end
  3137.         rng.TopSurface = 0
  3138.         rng.BottomSurface = 0
  3139.         rng.CFrame = pos
  3140.         local rngm = Instance.new("SpecialMesh", rng)
  3141.         rngm.MeshType = "FileMesh"
  3142. if typeofshape == "Normal" then
  3143. rngm.MeshId = "rbxassetid://662586858"
  3144. elseif typeofshape == "Round" then
  3145. rngm.MeshId = "rbxassetid://662585058"
  3146. end
  3147. rngm.Scale = scale
  3148. local scaler2 = 1/10
  3149. if type == "Add" then
  3150. scaler2 = 1*value/10
  3151. elseif type == "Divide" then
  3152. scaler2 = 1/value/10
  3153. end
  3154. local randomrot = math.random(1,2)
  3155. coroutine.resume(coroutine.create(function()
  3156. for i = 0,10/bonuspeed,0.1 do
  3157. swait()
  3158. if type == "Add" then
  3159. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3160. elseif type == "Divide" then
  3161. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3162. end
  3163. if rotenable == true then
  3164. if randomrot == 1 then
  3165. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3166. elseif randomrot == 2 then
  3167. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3168. end
  3169. end
  3170. if typeoftrans == "Out" then
  3171. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3172. elseif typeoftrans == "In" then
  3173. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3174. end
  3175. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3176. end
  3177. rng:Destroy()
  3178. end))
  3179. end
  3180.  
  3181. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3182. local type = type
  3183. local rng = Instance.new("Part", char)
  3184.         rng.Anchored = true
  3185.         rng.BrickColor = color
  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. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3196.         local rngm = Instance.new("SpecialMesh", rng)
  3197.         rngm.MeshType = "Brick"
  3198. rngm.Scale = vt(x1,y1,z1)
  3199. if rainbowmode == true then
  3200. rng.Color = Color3.new(r/255,g/255,b/255)
  3201. end
  3202. local scaler2 = 1
  3203. local speeder = FastSpeed/10
  3204. if type == "Add" then
  3205. scaler2 = 1*value
  3206. elseif type == "Divide" then
  3207. scaler2 = 1/value
  3208. end
  3209. coroutine.resume(coroutine.create(function()
  3210. for i = 0,10/bonuspeed,0.1 do
  3211. swait()
  3212. if rainbowmode == true then
  3213. rng.Color = Color3.new(r/255,g/255,b/255)
  3214. end
  3215. if type == "Add" then
  3216. scaler2 = scaler2 - 0.01*value/bonuspeed
  3217. elseif type == "Divide" then
  3218. scaler2 = scaler2 - 0.01/value*bonuspeed
  3219. end
  3220. if chaosmode == true then
  3221. rng.BrickColor = BrickColor.random()
  3222. end
  3223. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3224. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3225. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3226. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3227. end
  3228. rng:Destroy()
  3229. end))
  3230. end
  3231.  
  3232. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3233. local type = type
  3234. local rng = Instance.new("Part", char)
  3235.         rng.Anchored = true
  3236.         rng.BrickColor = color
  3237.         rng.CanCollide = false
  3238.         rng.FormFactor = 3
  3239.         rng.Name = "Ring"
  3240.         rng.Material = "Neon"
  3241.         rng.Size = Vector3.new(1, 1, 1)
  3242.         rng.Transparency = 0
  3243.         rng.TopSurface = 0
  3244.         rng.BottomSurface = 0
  3245.         rng.CFrame = pos
  3246. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3247.         local rngm = Instance.new("SpecialMesh", rng)
  3248.         rngm.MeshType = "Brick"
  3249. rngm.Scale = vt(x1,y1,z1)
  3250. if rainbowmode == true then
  3251. rng.Color = Color3.new(r/255,g/255,b/255)
  3252. end
  3253. local scaler2 = 1
  3254. local speeder = FastSpeed/10
  3255. if type == "Add" then
  3256. scaler2 = 1*value
  3257. elseif type == "Divide" then
  3258. scaler2 = 1/value
  3259. end
  3260. coroutine.resume(coroutine.create(function()
  3261. for i = 0,10/bonuspeed,0.1 do
  3262. swait()
  3263. if rainbowmode == true then
  3264. rng.Color = Color3.new(r/255,g/255,b/255)
  3265. end
  3266. if type == "Add" then
  3267. scaler2 = scaler2 - 0.01*value/bonuspeed
  3268. elseif type == "Divide" then
  3269. scaler2 = scaler2 - 0.01/value*bonuspeed
  3270. end
  3271. if chaosmode == true then
  3272. rng.BrickColor = BrickColor.random()
  3273. end
  3274. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3275. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3276. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3277. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3278. end
  3279. rng:Destroy()
  3280. end))
  3281. end
  3282.  
  3283. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3284. local type = type
  3285. local rng = Instance.new("Part", char)
  3286.         rng.Anchored = true
  3287.         rng.BrickColor = color
  3288.         rng.CanCollide = false
  3289.         rng.FormFactor = 3
  3290.         rng.Name = "Ring"
  3291.         rng.Material = "Neon"
  3292.         rng.Size = Vector3.new(1, 1, 1)
  3293.         rng.Transparency = 0
  3294.         rng.TopSurface = 0
  3295.         rng.BottomSurface = 0
  3296.         rng.CFrame = pos
  3297. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3298.         local rngm = Instance.new("SpecialMesh", rng)
  3299.         rngm.MeshType = "Brick"
  3300. rngm.Scale = vt(x1,y1,z1)
  3301. if rainbowmode == true then
  3302. rng.Color = Color3.new(r/255,g/255,b/255)
  3303. end
  3304. local scaler2 = 0
  3305. local speeder = FastSpeed/10
  3306. if type == "Add" then
  3307. scaler2 = 1*value
  3308. elseif type == "Divide" then
  3309. scaler2 = 1/value
  3310. end
  3311. coroutine.resume(coroutine.create(function()
  3312. for i = 0,10/bonuspeed,0.1 do
  3313. swait()
  3314. if rainbowmode == true then
  3315. rng.Color = Color3.new(r/255,g/255,b/255)
  3316. end
  3317. if type == "Add" then
  3318. scaler2 = scaler2 - 0.01*value/bonuspeed
  3319. elseif type == "Divide" then
  3320. scaler2 = scaler2 - 0.01/value*bonuspeed
  3321. end
  3322. if chaosmode == true then
  3323. rng.BrickColor = BrickColor.random()
  3324. end
  3325. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3326. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3327. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3328. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3329. end
  3330. rng:Destroy()
  3331. end))
  3332. end
  3333.  
  3334. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3335. local type = type
  3336. local rng = Instance.new("Part", char)
  3337.         rng.Anchored = true
  3338.         rng.BrickColor = color
  3339.         rng.Color = color3
  3340.         rng.CanCollide = false
  3341.         rng.FormFactor = 3
  3342.         rng.Name = "Ring"
  3343.         rng.Material = "Neon"
  3344.         rng.Size = Vector3.new(1, 1, 1)
  3345.         rng.Transparency = 0
  3346.         rng.TopSurface = 0
  3347.         rng.BottomSurface = 0
  3348.         rng.CFrame = pos
  3349.         local rngm = Instance.new("SpecialMesh", rng)
  3350.         rngm.MeshType = "Brick"
  3351. rngm.Scale = scale
  3352. local scaler2 = 1
  3353. local scaler2b = 1
  3354. local scaler2c = 1
  3355. if type == "Add" then
  3356. scaler2 = 1*value
  3357. scaler2b = 1*value2
  3358. scaler2c = 1*value3
  3359. elseif type == "Divide" then
  3360. scaler2 = 1/value
  3361. scaler2b = 1/value2
  3362. scaler2c = 1/value3
  3363. end
  3364. coroutine.resume(coroutine.create(function()
  3365. for i = 0,10/bonuspeed,0.1 do
  3366. swait()
  3367. if type == "Add" then
  3368. scaler2 = scaler2 - 0.01*value/bonuspeed
  3369. scaler2b = scaler2b - 0.01*value/bonuspeed
  3370. scaler2c = scaler2c - 0.01*value/bonuspeed
  3371. elseif type == "Divide" then
  3372. scaler2 = scaler2 - 0.01/value*bonuspeed
  3373. scaler2b = scaler2b - 0.01/value*bonuspeed
  3374. scaler2c = scaler2c - 0.01/value*bonuspeed
  3375. end
  3376. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3377. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3378. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3379. end
  3380. rng:Destroy()
  3381. end))
  3382. end
  3383.  
  3384. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3385. local type = type
  3386. local rng = Instance.new("Part", char)
  3387.         rng.Anchored = true
  3388. if ModeOfGlitch ~= 9 then
  3389.         rng.BrickColor = color
  3390. elseif ModeOfGlitch == 9 then
  3391. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3392. end
  3393.         rng.CanCollide = false
  3394.         rng.FormFactor = 3
  3395.         rng.Name = "Ring"
  3396.         rng.Material = "Neon"
  3397.         rng.Size = Vector3.new(1, 1, 1)
  3398.         rng.Transparency = 0
  3399.         rng.TopSurface = 0
  3400.         rng.BottomSurface = 0
  3401.         rng.CFrame = pos
  3402. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3403.         local rngm = Instance.new("SpecialMesh", rng)
  3404.         rngm.MeshType = "Sphere"
  3405. rngm.Scale = vt(x1,y1,z1)
  3406. if rainbowmode == true then
  3407. rng.Color = Color3.new(r/255,g/255,b/255)
  3408. end
  3409. if ModeOfGlitch == 9 then
  3410. coroutine.resume(coroutine.create(function()
  3411. while true do
  3412. swait()
  3413. if rng.Parent ~= nil then
  3414. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3415. else
  3416. break
  3417. end
  3418. end
  3419. end))
  3420. end
  3421. local scaler2 = 1
  3422. local speeder = FastSpeed
  3423. if type == "Add" then
  3424. scaler2 = 1*value
  3425. elseif type == "Divide" then
  3426. scaler2 = 1/value
  3427. end
  3428. coroutine.resume(coroutine.create(function()
  3429. for i = 0,10/bonuspeed,0.1 do
  3430. swait()
  3431. if rainbowmode == true then
  3432. rng.Color = Color3.new(r/255,g/255,b/255)
  3433. end
  3434. if type == "Add" then
  3435. scaler2 = scaler2 - 0.01*value/bonuspeed
  3436. elseif type == "Divide" then
  3437. scaler2 = scaler2 - 0.01/value*bonuspeed
  3438. end
  3439. if chaosmode == true then
  3440. rng.BrickColor = BrickColor.random()
  3441. end
  3442. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3443. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3444. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3445. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3446. end
  3447. rng:Destroy()
  3448. end))
  3449. end
  3450.  
  3451.  
  3452. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3453. local type = type
  3454. local rng = Instance.new("Part", char)
  3455.         rng.Anchored = true
  3456. if ModeOfGlitch ~= 9 then
  3457.         rng.BrickColor = color
  3458. elseif ModeOfGlitch == 9 then
  3459. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3460. end
  3461.         rng.CanCollide = false
  3462.         rng.FormFactor = 3
  3463.         rng.Name = "Ring"
  3464.         rng.Material = "Neon"
  3465.         rng.Size = Vector3.new(1, 1, 1)
  3466.         rng.Transparency = 1
  3467.         rng.TopSurface = 0
  3468.         rng.BottomSurface = 0
  3469.         rng.CFrame = pos
  3470. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3471.         local rngm = Instance.new("SpecialMesh", rng)
  3472.         rngm.MeshType = "Sphere"
  3473. rngm.Scale = vt(x1,y1,z1)
  3474. if rainbowmode == true then
  3475. rng.Color = Color3.new(r/255,g/255,b/255)
  3476. end
  3477. if ModeOfGlitch == 9 then
  3478. coroutine.resume(coroutine.create(function()
  3479. while true do
  3480. swait()
  3481. if rng.Parent ~= nil then
  3482. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3483. else
  3484. break
  3485. end
  3486. end
  3487. end))
  3488. end
  3489. local scaler2 = 1
  3490. local speeder = FastSpeed
  3491. if type == "Add" then
  3492. scaler2 = 1*value
  3493. elseif type == "Divide" then
  3494. scaler2 = 1/value
  3495. end
  3496. coroutine.resume(coroutine.create(function()
  3497. for i = 0,10/bonuspeed,0.1 do
  3498. swait()
  3499. if rainbowmode == true then
  3500. rng.Color = Color3.new(r/255,g/255,b/255)
  3501. end
  3502. if type == "Add" then
  3503. scaler2 = scaler2 - 0.01*value/bonuspeed
  3504. elseif type == "Divide" then
  3505. scaler2 = scaler2 - 0.01/value*bonuspeed
  3506. end
  3507. if chaosmode == true then
  3508. rng.BrickColor = BrickColor.random()
  3509. end
  3510. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3511. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3512. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3513. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3514. end
  3515. rng:Destroy()
  3516. end))
  3517. end
  3518.  
  3519. function dmg(dude)
  3520. if dude.Name ~= Character then
  3521. local keptcolor = MAINRUINCOLOR
  3522. local bgf = Instance.new("BodyGyro",dude.Head)
  3523. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3524. --[[local val = Instance.new("BoolValue",dude)
  3525. val.Name = "IsHit"]]--
  3526. local ds = coroutine.wrap(function()
  3527. dude:WaitForChild("Head"):BreakJoints()
  3528. for i, v in pairs(dude:GetChildren()) do
  3529. if v:IsA("Part") or v:IsA("MeshPart") then
  3530. v.Name = "DEMINISHED"
  3531. end
  3532. end
  3533. wait(0.5)
  3534. targetted = nil
  3535. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3536. coroutine.resume(coroutine.create(function()
  3537. for i, v in pairs(dude:GetChildren()) do
  3538. if v:IsA("Accessory") then
  3539. v:Destroy()
  3540. end
  3541. if v:IsA("Humanoid") then
  3542. v:Destroy()
  3543. end
  3544. if v:IsA("CharacterMesh") then
  3545. v:Destroy()
  3546. end
  3547. if v:IsA("Model") then
  3548. v:Destroy()
  3549. end
  3550. if v:IsA("Part") or v:IsA("MeshPart") then
  3551. for x, o in pairs(v:GetChildren()) do
  3552. if o:IsA("Decal") then
  3553. o:Destroy()
  3554. end
  3555. end
  3556. coroutine.resume(coroutine.create(function()
  3557. v.Material = "Neon"
  3558. v.CanCollide = false
  3559. v.Anchored = false
  3560. local bld = Instance.new("ParticleEmitter",v)
  3561. bld.LightEmission = 0.75
  3562. bld.Texture = "rbxassetid://363275192" ---284205403
  3563. bld.Color = ColorSequence.new(keptcolor.Color)
  3564. bld.Rate = 500
  3565. bld.Lifetime = NumberRange.new(1)
  3566. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3567. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3568. bld.Speed = NumberRange.new(2,5)
  3569. bld.VelocitySpread = 50000
  3570. bld.Rotation = NumberRange.new(-500,500)
  3571. bld.RotSpeed = NumberRange.new(-500,500)
  3572.         local sbs = Instance.new("BodyPosition", v)
  3573.         sbs.P = 3000
  3574.         sbs.D = 1000
  3575.         sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3576.         sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3577. v.Color = keptcolor.Color
  3578. coroutine.resume(coroutine.create(function()
  3579. for i = 0, 49 do
  3580. swait(1)
  3581. v:BreakJoints()
  3582. v.Transparency = v.Transparency + 0.02
  3583. end
  3584. v:BreakJoints()
  3585. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3586. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3587. bld.Speed = NumberRange.new(10,25)
  3588. bld.Drag = 5
  3589. bld.Acceleration = vt(0,2,0)
  3590. wait(0.5)
  3591. bld.Enabled = false
  3592. wait(8)
  3593. v:Destroy()
  3594. dude:Destroy()
  3595. end))
  3596. end))
  3597. end
  3598. end
  3599. end))
  3600. end)
  3601. ds()
  3602. end
  3603. end
  3604.  
  3605.  
  3606. function FindNearestHead(Position, Distance, SinglePlayer)
  3607.     if SinglePlayer then
  3608.         return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3609.     end
  3610.     local List = {}
  3611.     for i, v in pairs(workspace:GetChildren()) do
  3612.         if v:IsA("Model") then
  3613.             if v:findFirstChild("Head") then
  3614.                 if v ~= Character then
  3615.                     if (v.Head.Position - Position).magnitude <= Distance then
  3616.                         table.insert(List, v)
  3617.                     end
  3618.                 end
  3619.             end
  3620.         end
  3621.     end
  3622.     return List
  3623. end
  3624.  
  3625. function FaceMouse()
  3626.   Cam = workspace.CurrentCamera
  3627.   return {
  3628.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3629.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3630.   }
  3631. end
  3632.  
  3633. function FaceMouse2()
  3634.   Cam = workspace.CurrentCamera
  3635.   return {
  3636.     CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3637.     Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3638.   }
  3639. end
  3640.  
  3641. local ModeOfGlitch = 1
  3642. -- Functions are ready.
  3643. local storehumanoidWS = 16
  3644.  
  3645. function createBGCircle(size,parent,color)
  3646. local bgui = Instance.new("BillboardGui",parent)
  3647. bgui.Size = UDim2.new(size, 0, size, 0)
  3648. local imgc = Instance.new("ImageLabel",bgui)
  3649. imgc.BackgroundTransparency = 1
  3650. imgc.ImageTransparency = 0
  3651. imgc.Size = UDim2.new(1,0,1,0)
  3652. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  3653. imgc.ImageColor3 = color
  3654. return bgui,imgc
  3655. end
  3656.  
  3657. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  3658. local bgui,imgc = createBGCircle(size,guipar,color)
  3659. bgui.AlwaysOnTop = true
  3660. imgc.Image = "rbxassetid://" ..img
  3661. local rrot = math.random(1,2)
  3662. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  3663. coroutine.resume(coroutine.create(function()
  3664. for i = 0, 24*delay do
  3665. swait()
  3666. if rotationenabled == true then
  3667. if rrot == 1 then
  3668. imgc.Rotation = imgc.Rotation + rotsp
  3669. elseif rrot == 2 then
  3670. imgc.Rotation = imgc.Rotation - rotsp
  3671. end
  3672. end
  3673. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  3674. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  3675. end
  3676. bgui:Destroy()
  3677. end))
  3678. end
  3679. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  3680. for i, v in pairs(mw2:GetChildren()) do
  3681. if v:IsA("Part") then
  3682. v.BrickColor = one
  3683. v.Material = "Neon"
  3684. end
  3685. end
  3686. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  3687. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  3688. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  3689. tr1.Color = ColorSequence.new(one.Color)
  3690. tr2.Color = ColorSequence.new(one.Color)
  3691. tr3.Color = ColorSequence.new(one.Color)
  3692. for i, v in pairs(mw1:GetChildren()) do
  3693. if v:IsA("Part") then
  3694. if secondaryenabled == false then
  3695. v.Transparency = 1
  3696. elseif secondaryenabled == true then
  3697. v.Transparency = 0
  3698. end
  3699. v.BrickColor = two
  3700. v.Material = "Neon"
  3701. end
  3702. end
  3703. if secondaryenabled == false then
  3704. tl1.Enabled = false
  3705. tl2.Enabled = false
  3706. tl3.Enabled = false
  3707. elseif secondaryenabled == true then
  3708. tl1.Enabled = true
  3709. tl2.Enabled = true
  3710. tl3.Enabled = true
  3711. end
  3712. tl1.Color = ColorSequence.new(two.Color)
  3713. tl2.Color = ColorSequence.new(two.Color)
  3714. tl3.Color = ColorSequence.new(two.Color)
  3715. for i, v in pairs(m:GetChildren()) do
  3716. if v:IsA("Part") then
  3717. v.BrickColor = three
  3718. v.Material = "Ice"
  3719. end
  3720. end
  3721. for i, v in pairs(m2:GetChildren()) do
  3722. if v:IsA("Part") then
  3723. v.BrickColor = four
  3724. v.Material = "Ice"
  3725. end
  3726. end
  3727. for i, v in pairs(m3:GetChildren()) do
  3728. if v:IsA("Part") then
  3729. v.BrickColor = five
  3730. v.Material = "Neon"
  3731. end
  3732. end
  3733. for i, v in pairs(extrawingmod1:GetChildren()) do
  3734. if v:IsA("Part") then
  3735. v.Transparency = exonetran
  3736. v.BrickColor = exone
  3737. v.Material = "Neon"
  3738. end
  3739. end
  3740. if sectrailenabled == true then
  3741. tl4.Enabled = true
  3742. tl5.Enabled = true
  3743. tl6.Enabled = true
  3744. tr4.Enabled = true
  3745. tr5.Enabled = true
  3746. tr6.Enabled = true
  3747. tl4.Color = ColorSequence.new(exone.Color)
  3748. tl5.Color = ColorSequence.new(exone.Color)
  3749. tl6.Color = ColorSequence.new(exone.Color)
  3750. tr4.Color = ColorSequence.new(extwo.Color)
  3751. tr5.Color = ColorSequence.new(extwo.Color)
  3752. tr6.Color = ColorSequence.new(extwo.Color)
  3753. elseif sectrailenabled == false then
  3754. tl4.Enabled = false
  3755. tl5.Enabled = false
  3756. tl6.Enabled = false
  3757. tr4.Enabled = false
  3758. tr5.Enabled = false
  3759. tr6.Enabled = false
  3760. end
  3761. for i, v in pairs(extrawingmod2:GetChildren()) do
  3762. if v:IsA("Part") then
  3763. v.Transparency = extwotran
  3764. v.BrickColor = extwo
  3765. v.Material = "Neon"
  3766. end
  3767. end
  3768. end
  3769.  
  3770.  
  3771. function normalmog()
  3772. attack = true
  3773. hum.WalkSpeed = 0
  3774. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  3775. for i = 0,6,0.1 do
  3776. swait()
  3777. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  3778. slash(math.random(30,60)/10,5,true,"Round","Add","In",root.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.01,0.5),-0.5,MAINRUINCOLOR)
  3779. 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(30)),.2)
  3780. 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(-30)),.2)
  3781. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  3782. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  3783. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  3784. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  3785. end
  3786. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  3787. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  3788. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  3789. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  3790. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  3791. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  3792. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  3793. rainbowmode = false
  3794. chaosmode = false
  3795. ModeOfGlitch = 1
  3796. storehumanoidWS = 16
  3797. newTheme("rbxassetid://614032233",48.6,1,1.25)
  3798. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  3799. CameraEnshaking(5,2.5)
  3800. MAINRUINCOLOR = BrickColor.new("Really red")
  3801. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3802. for i = 0, 49 do
  3803. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  3804. end
  3805. for i = 0, 24 do
  3806. sphere2(2,"Add",tors.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,7,-0.01,MAINRUINCOLOR)
  3807. 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(150,350)/250,BrickColor.new("White"))
  3808. end
  3809. for i = 0,3,0.1 do
  3810. sphereMK(2.5,-1,"Add",root.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,25,-0.025,MAINRUINCOLOR,0)
  3811. end
  3812. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  3813. for i = 0,2,0.1 do
  3814. swait()
  3815. 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(-30)),.5)
  3816. 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(30)),.5)
  3817. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  3818. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 2.5 * math.cos(sine / 0.2))),.5)
  3819. RW.C0=clerp(RW.C0,cf(1.45,0.4,0)*angles(math.rad(-20),math.rad(0 - 2 * math.cos(sine / 0.2)),math.rad(80 + 2 * math.cos(sine / 0.2))),.5)
  3820. LW.C0=clerp(LW.C0,cf(-1.45,0.4,0)*angles(math.rad(-20),math.rad(0 + 2 * math.cos(sine / 0.2)),math.rad(-80 - 2 * math.cos(sine / 0.2))),.5)
  3821. end
  3822. hum.WalkSpeed = storehumanoidWS
  3823. attack = false
  3824. end
  3825.  
  3826. function attackone()
  3827.     attack = true
  3828. local keptcolor = MAINRUINCOLOR
  3829.     for i = 0,1,0.1 do
  3830.         swait()
  3831.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  3832. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  3833. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  3834. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3835. 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(-15),math.rad(0),math.rad(0)),.3)
  3836. 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)),.3)
  3837.     end
  3838. local distlook = 5
  3839. coroutine.resume(coroutine.create(function()
  3840. for i = 0, 4 do
  3841. swait(2)
  3842. CameraEnshaking(2,3)
  3843. local hite = Instance.new("Part", char)
  3844.         hite.Anchored = true
  3845.         hite.CanCollide = false
  3846.         hite.FormFactor = 3
  3847.         hite.Name = "Ring"
  3848.         hite.Material = "Neon"
  3849.         hite.Size = Vector3.new(1, 1, 1)
  3850.         hite.Transparency = 1
  3851.         hite.TopSurface = 0
  3852.         hite.BottomSurface = 0
  3853. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  3854. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0,1,0),0.2,0.001,0.2,keptcolor)
  3855. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(8,1,8),-0.045,0.15,-0.045,keptcolor)
  3856. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(4,1,4),-0.025,0.25,-0.025,keptcolor)
  3857. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(-20),math.rad(0),math.rad(0)),vt(2,1,2),-0.015,0.35,-0.015,keptcolor)
  3858. MagniDamage(hite, 9, 10,25, 0, "Normal")
  3859. for i = 0, 14 do
  3860. local rsiz = math.random(5,20)
  3861. sphereMK(math.random(1,3),0.25,"Add",hite.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)
  3862. end
  3863. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  3864. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  3865. game:GetService("Debris"):AddItem(hite, 5)
  3866. distlook = distlook + 10
  3867. end
  3868. end))
  3869.     for i = 0,1,0.1 do
  3870.         swait()
  3871.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  3872. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  3873. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  3874. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  3875. 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(-10)),.5)
  3876. 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)),.5)
  3877.     end
  3878.     attack = false
  3879. end
  3880.  
  3881. function attacktwo()
  3882.     attack = true
  3883. hum.WalkSpeed = 2
  3884. local keptcolor = MAINRUINCOLOR
  3885. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  3886. sphere2(5,"Add",rarm.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)
  3887. sphere2(5,"Add",rarm.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)
  3888. for i = 0, 14 do
  3889. PixelBlock(1,math.random(1,3),"Add",rarm.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,keptcolor,0)
  3890. end
  3891. for i = 0,1,0.1 do
  3892. swait()
  3893. 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)
  3894. 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)
  3895. 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)
  3896. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  3897. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  3898. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  3899. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  3900. end
  3901. for i = 0, 1 do
  3902. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  3903. for i = 0,1,0.6 do
  3904. swait()
  3905. sphere2(8,"Add",rarm.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)
  3906. 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"))
  3907. 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)
  3908. 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)
  3909. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3910. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3911. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3912. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3913. end
  3914. for i = 0,1,0.6 do
  3915. swait()
  3916. sphere2(8,"Add",rarm.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)
  3917. 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"))
  3918. 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)
  3919. 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)
  3920. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  3921. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3922. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3923. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3924. end
  3925. for i = 0,1,0.6 do
  3926. swait()
  3927. sphere2(8,"Add",rarm.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)
  3928. 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"))
  3929. 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)
  3930. 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)
  3931. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  3932. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3933. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3934. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3935. end
  3936. for i = 0,1,0.6 do
  3937. swait()
  3938. sphere2(8,"Add",rarm.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)
  3939. 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"))
  3940. 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)
  3941. 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)
  3942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  3943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3944. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3945. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3946. end
  3947. local rot = 0
  3948. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  3949. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  3950. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  3951. CreateMesh(dis,"Sphere",10,1,10)
  3952. local at1 = Instance.new("Attachment",dis)
  3953. at1.Position = vt(-5,0,0)
  3954. local at2 = Instance.new("Attachment",dis)
  3955. at2.Position = vt(5,0,0)
  3956. local trl = Instance.new('Trail',wed)
  3957. trl.Attachment0 = at1
  3958. trl.Attachment1 = at2
  3959. trl.Texture = "rbxassetid://1049219073"
  3960. trl.LightEmission = 1
  3961. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3962. trl.Color = ColorSequence.new(dis.Color)
  3963. trl.Lifetime = 0.6
  3964. local a = Instance.new("Part",workspace)
  3965.     a.Name = "Direction"   
  3966.     a.Anchored = true
  3967.     a.BrickColor = bc("Bright red")
  3968. a.Material = "Neon"
  3969. a.Transparency = 1
  3970.     a.CanCollide = false
  3971.     local ray = Ray.new(
  3972.         dis.CFrame.p,                           -- origin
  3973.         (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  3974.     )
  3975.     local ignore = dis
  3976.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3977.     a.BottomSurface = 10
  3978.     a.TopSurface = 10
  3979.     local distance = (dis.CFrame.p - position).magnitude
  3980.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  3981.     a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  3982. dis.CFrame = a.CFrame
  3983. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  3984. a:Destroy()
  3985. local bv = Instance.new("BodyVelocity")
  3986. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3987. bv.velocity = dis.CFrame.lookVector*250
  3988. bv.Parent = dis
  3989. game:GetService("Debris"):AddItem(dis, 5)
  3990. local hitted = false
  3991. coroutine.resume(coroutine.create(function()
  3992. dis.Touched:connect(function(hit)
  3993.     if hitted == false and hit.Parent ~= char then
  3994.     hitted = true
  3995.     CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  3996.     MagniDamage(dis, 30, 33,56, 0, "Normal")
  3997.     sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  3998.     sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  3999.     sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4000.     coroutine.resume(coroutine.create(function()
  4001. local eff = Instance.new("ParticleEmitter",dis)
  4002. eff.Texture = "rbxassetid://2344870656"
  4003. eff.LightEmission = 1
  4004. eff.Color = ColorSequence.new(dis.Color)
  4005. eff.Rate = 10000000
  4006. eff.Enabled = true
  4007. eff.EmissionDirection = "Front"
  4008. eff.Lifetime = NumberRange.new(1)
  4009. 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)})
  4010. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4011. eff.Speed = NumberRange.new(150)
  4012. eff.Drag = 5
  4013. eff.Rotation = NumberRange.new(-500,500)
  4014. eff.SpreadAngle = Vector2.new(0,900)
  4015. eff.RotSpeed = NumberRange.new(-500,500)
  4016. wait(0.2)
  4017. eff.Enabled = false
  4018.     end))
  4019.     coroutine.resume(coroutine.create(function()
  4020.         for i = 0, 9 do
  4021. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4022. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4023. local at1 = Instance.new("Attachment",disr)
  4024. at1.Position = vt(-5,0,0)
  4025. local at2 = Instance.new("Attachment",disr)
  4026. at2.Position = vt(5,0,0)
  4027. local trl = Instance.new('Trail',disr)
  4028. trl.Attachment0 = at1
  4029. trl.FaceCamera = true
  4030. trl.Attachment1 = at2
  4031. trl.Texture = "rbxassetid://2342682798"
  4032. trl.LightEmission = 1
  4033. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4034. trl.Color = ColorSequence.new(keptcolor.Color)
  4035. trl.Lifetime = 0.5
  4036. local bv = Instance.new("BodyVelocity")
  4037. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4038. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4039. bv.Parent = disr
  4040. local val = 0
  4041. coroutine.resume(coroutine.create(function()
  4042.     swait(30)
  4043.     for i = 0, 9 do
  4044.         swait()
  4045.         val = val + 0.1
  4046.         trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4047.     end
  4048. game:GetService("Debris"):AddItem(disr, 3)
  4049. end))
  4050. end
  4051. local eff = Instance.new("ParticleEmitter",dis)
  4052. eff.Texture = "rbxassetid://2273224484"
  4053. eff.LightEmission = 1
  4054. eff.Color = ColorSequence.new(keptcolor.Color)
  4055. eff.Rate = 500000
  4056. eff.Lifetime = NumberRange.new(0.5,2)
  4057. 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)})
  4058. 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)})
  4059. eff.Speed = NumberRange.new(20,250)
  4060. eff.Drag = 5
  4061. eff.Rotation = NumberRange.new(-500,500)
  4062. eff.VelocitySpread = 9000
  4063. eff.RotSpeed = NumberRange.new(-50,50)
  4064. wait(0.25)
  4065. eff.Enabled = false
  4066. end))
  4067.     for i = 0, 9 do
  4068.         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"))
  4069.     end
  4070. for i = 0, 19 do
  4071. 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,keptcolor,0)
  4072. end
  4073. coroutine.resume(coroutine.create(function()
  4074. for i = 0, 19 do
  4075. swait()
  4076. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4077. end
  4078. hum.CameraOffset = vt(0,0,0)
  4079. end))
  4080. dis.Anchored = true
  4081. dis.Transparency = 1
  4082. wait(8)
  4083. dis:Destroy()
  4084. end
  4085. end)
  4086. end))
  4087. rot = rot - 15
  4088. end
  4089. for i = 0,2,0.1 do
  4090. swait()
  4091. 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)
  4092. 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)
  4093. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4094. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  4095. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4096. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4097. end
  4098. attack = false
  4099. hum.WalkSpeed = storehumanoidWS
  4100. end
  4101.  
  4102. function attackthree()
  4103. attack = true
  4104. local keptcolor = MAINRUINCOLOR
  4105. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4106.     for i = 0,2,0.1 do
  4107.         swait()
  4108.         sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4109. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  4110. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  4111. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  4112. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  4113. 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(-50),math.rad(-10)),.3)
  4114. 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(40)),.3)
  4115.     end
  4116. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  4117. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  4118. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  4119. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  4120. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  4121. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  4122. for i = 0, 24 do
  4123.         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(50,200)/250,BrickColor.new("White"))
  4124. end
  4125. for i = 0,4,0.1 do
  4126.         swait()
  4127.         root.CFrame = root.CFrame + root.CFrame.lookVector*5
  4128.         local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  4129. CreateMesh(dis,"Sphere",1,1,1)
  4130. dis.Anchored = true
  4131. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  4132. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4133. coroutine.resume(coroutine.create(function()
  4134.     swait(30)
  4135.     dis.Transparency = 1
  4136. coroutine.resume(coroutine.create(function()
  4137. for i = 0, 19 do
  4138. swait()
  4139. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  4140. end
  4141. hum.CameraOffset = vt(0,0,0)
  4142. end))
  4143. coroutine.resume(coroutine.create(function()
  4144. local eff = Instance.new("ParticleEmitter",dis)
  4145. eff.Texture = "rbxassetid://2273224484"
  4146. eff.LightEmission = 1
  4147. eff.Color = ColorSequence.new(dis.Color)
  4148. eff.Rate = 500000
  4149. eff.Lifetime = NumberRange.new(0.5,2)
  4150. 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)})
  4151. 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)})
  4152. eff.Speed = NumberRange.new(50,450)
  4153. eff.Drag = 5
  4154. eff.Rotation = NumberRange.new(-500,500)
  4155. eff.VelocitySpread = 9000
  4156. eff.RotSpeed = NumberRange.new(-50,50)
  4157. wait(0.125)
  4158. eff.Enabled = false
  4159. end))
  4160. MagniDamage(dis, 30, 45,50, 0, "Normal")
  4161.     for i = 0, 2 do
  4162.         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(50,150)/250,dis.BrickColor)
  4163.     end
  4164.     CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  4165.     CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  4166.     CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  4167.     sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  4168. end))
  4169. game:GetService("Debris"):AddItem(dis, 5)
  4170. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  4171. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  4172. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  4173. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  4174. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-8),math.rad(0),math.rad(-20)),.5)
  4175. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(9),math.rad(0),math.rad(20)),.5)
  4176.     end
  4177. attack = false
  4178. end
  4179.  
  4180.  
  4181. local blush = Instance.new("Decal",hed)
  4182. blush.Texture = "rbxassetid://898404027"
  4183. blush.Face = "Front"
  4184. blush.Parent = nil
  4185. blush.Transparency = 1
  4186. ----------------------------------- Abilities
  4187.  
  4188. function ExtinctiveHeartbreak()
  4189. local targetted = nil
  4190. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4191. targetted = mouse.Target.Parent
  4192. end
  4193. if targetted ~= nil then
  4194. attack = true
  4195. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4196. for i = 0, 9 do
  4197. 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)
  4198. end
  4199. for i = 0, 24 do
  4200. 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)
  4201. end
  4202. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4203. local originalpos = root.CFrame
  4204. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4205. for i = 0, 9 do
  4206. 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)
  4207. end
  4208. for i = 0, 24 do
  4209. 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)
  4210. end
  4211. hum.WalkSpeed = 0
  4212. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4213. local radm = math.random(1,3)
  4214. if radm == 1 then
  4215. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  4216. elseif radm == 2 then
  4217. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  4218. elseif radm == 3 then
  4219. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  4220. end
  4221. for i = 0,2,0.1 do
  4222. swait()
  4223. 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)
  4224. 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)
  4225. 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)
  4226. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4227. 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)
  4228. 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)
  4229. end
  4230. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  4231. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  4232. for i = 0,2,0.1 do
  4233. swait()
  4234. coroutine.resume(coroutine.create(function()
  4235. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4236. for i,v in pairs(targetted:GetChildren()) do
  4237. if v:IsA("Part") or v:IsA("MeshPart") then
  4238. v.Velocity = vt(0,0,0)
  4239. end
  4240. end
  4241. end))
  4242. 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)
  4243. 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)
  4244. 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)
  4245. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  4246. 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)
  4247. 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)
  4248. end
  4249. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  4250. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  4251. for i = 0, 1 do
  4252. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  4253. end
  4254. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  4255. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  4256. for i = 0,4,0.1 do
  4257. swait()
  4258. coroutine.resume(coroutine.create(function()
  4259. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4260. 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)))
  4261. local at1 = Instance.new("Attachment",dis)
  4262. at1.Position = vt(-25000,0,0)
  4263. local at2 = Instance.new("Attachment",dis)
  4264. at2.Position = vt(25000,0,0)
  4265. local trl = Instance.new('Trail',dis)
  4266. trl.Attachment0 = at1
  4267. trl.FaceCamera = true
  4268. trl.Attachment1 = at2
  4269. trl.Texture = "rbxassetid://1049219073"
  4270. trl.LightEmission = 1
  4271. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4272. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  4273. trl.Lifetime = 5
  4274. local bv = Instance.new("BodyVelocity")
  4275. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4276. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4277. bv.Parent = dis
  4278. game:GetService("Debris"):AddItem(dis, 5)
  4279. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4280. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  4281. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  4282. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  4283. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  4284. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  4285. 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,MAINRUINCOLOR)
  4286. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  4287. for i = 0, 2 do
  4288. 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"))
  4289. end
  4290. 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)
  4291. for i,v in pairs(targetted:GetChildren()) do
  4292. if v:IsA("Part") or v:IsA("MeshPart") then
  4293. v.Velocity = vt(0,0,0)
  4294. end
  4295. end
  4296. end))
  4297. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  4298. 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)
  4299. 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)
  4300. 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)
  4301. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  4302. 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)
  4303. 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)
  4304. end
  4305. hum.CameraOffset = vt(0,0,0)
  4306. for i = 0, 49 do
  4307. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4308. 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)))
  4309. local at1 = Instance.new("Attachment",dis)
  4310. at1.Position = vt(-50000,0,0)
  4311. local at2 = Instance.new("Attachment",dis)
  4312. at2.Position = vt(50000,0,0)
  4313. local trl = Instance.new('Trail',dis)
  4314. trl.Attachment0 = at1
  4315. trl.FaceCamera = true
  4316. trl.Attachment1 = at2
  4317. trl.Texture = "rbxassetid://1049219073"
  4318. trl.LightEmission = 1
  4319. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4320. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  4321. trl.Lifetime = 5
  4322. local bv = Instance.new("BodyVelocity")
  4323. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4324. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4325. bv.Parent = dis
  4326. game:GetService("Debris"):AddItem(dis, 5)
  4327. end
  4328. for i = 0, 49 do
  4329. 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,MAINRUINCOLOR)
  4330. 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"))
  4331. end
  4332. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  4333. for i = 0, 1 do
  4334. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  4335. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  4336. end
  4337. for i = 0, 4 do
  4338. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  4339. end
  4340. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  4341. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  4342. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  4343. dmg(targetted)
  4344. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4345. for i = 0, 9 do
  4346. 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)
  4347. end
  4348. for i = 0, 24 do
  4349. 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)
  4350. end
  4351. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4352. root.CFrame = originalpos
  4353. for i = 0, 9 do
  4354. 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)
  4355. end
  4356. for i = 0, 24 do
  4357. 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)
  4358. end
  4359. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4360. attack = false
  4361. hum.WalkSpeed = storehumanoidWS
  4362. end
  4363. end
  4364.  
  4365. function CorruptionEvent()
  4366. attack = true
  4367. hum.WalkSpeed = 0
  4368. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4369. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4370. local keptcolor = MAINRUINCOLOR
  4371. for i = 0,4,0.1 do
  4372. swait()
  4373. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4374. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4375. 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)
  4376. 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)
  4377. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  4378. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  4379. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  4380. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  4381. end
  4382. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  4383. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  4384. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  4385. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  4386. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4387. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  4388. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  4389. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  4390. coroutine.resume(coroutine.create(function()
  4391. local eff = Instance.new("ParticleEmitter",cen)
  4392. eff.Texture = "rbxassetid://2344870656"
  4393. eff.LightEmission = 1
  4394. eff.Color = ColorSequence.new(keptcolor.Color)
  4395. eff.Rate = 10000000
  4396. eff.Enabled = true
  4397. eff.EmissionDirection = "Front"
  4398. eff.Lifetime = NumberRange.new(2)
  4399. 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)})
  4400. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4401. eff.Speed = NumberRange.new(500)
  4402. eff.Drag = 5
  4403. eff.Rotation = NumberRange.new(-500,500)
  4404. eff.SpreadAngle = Vector2.new(0,900)
  4405. eff.RotSpeed = NumberRange.new(-500,500)
  4406. wait(0.2)
  4407. eff.Enabled = false
  4408. wait(5)
  4409. eff:Destroy()
  4410.     end))
  4411. hum.CameraOffset = vt(0,0,0)
  4412. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4413. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4414. for i = 0, 24 do
  4415. 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"))
  4416. end
  4417. local rrot = 0
  4418. coroutine.resume(coroutine.create(function()
  4419. for i = 0, 4 do
  4420. rrot = rrot + 45
  4421. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4422. xa.Anchored = true
  4423. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4424. xb.Anchored = true
  4425. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4426. xc.Anchored = true
  4427. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4428. xd.Anchored = true
  4429. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  4430. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  4431. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  4432. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  4433. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  4434. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  4435. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  4436. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  4437. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  4438. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  4439. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  4440. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  4441. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  4442. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  4443. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  4444. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  4445. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4446. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4447. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4448. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  4449. for i = 0, 9 do
  4450. 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"))
  4451. 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"))
  4452. 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"))
  4453. 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"))
  4454. end
  4455. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4456. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4457. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4458. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  4459. 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)
  4460. 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)
  4461. 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)
  4462. 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)
  4463. 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))
  4464. 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))
  4465. 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))
  4466. 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))
  4467. game:GetService("Debris"):AddItem(xa, 5)
  4468. game:GetService("Debris"):AddItem(xb, 5)
  4469. game:GetService("Debris"):AddItem(xc, 5)
  4470. game:GetService("Debris"):AddItem(xd, 5)
  4471. coroutine.resume(coroutine.create(function()
  4472. for i = 0, 19 do
  4473. swait()
  4474. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  4475. end
  4476. hum.CameraOffset = vt(0,0,0)
  4477. end))
  4478. swait(9)
  4479. end
  4480. end))
  4481. for i = 0,2,0.1 do
  4482. swait()
  4483. 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)
  4484. 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)
  4485. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  4486. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  4487. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  4488. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  4489. end
  4490. attack = false
  4491. hum.WalkSpeed = storehumanoidWS
  4492. end
  4493.  
  4494. function EndGROUND()
  4495.     attack = true
  4496. hum.WalkSpeed = 0
  4497. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  4498. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  4499. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  4500. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  4501. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  4502. local keptcolor = MAINRUINCOLOR
  4503. for i = 0,4,0.1 do
  4504. swait()
  4505. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4506. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4507. 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"))
  4508. 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)
  4509. 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)
  4510. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  4511. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  4512. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  4513. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  4514. end
  4515. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  4516. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  4517. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  4518. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  4519. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  4520. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  4521. coroutine.resume(coroutine.create(function()
  4522. local eff = Instance.new("ParticleEmitter",cen)
  4523. eff.Texture = "rbxassetid://2344870656"
  4524. eff.LightEmission = 1
  4525. eff.Color = ColorSequence.new(keptcolor.Color)
  4526. eff.Rate = 10000000
  4527. eff.Enabled = true
  4528. eff.EmissionDirection = "Front"
  4529. eff.Lifetime = NumberRange.new(2)
  4530. 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)})
  4531. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4532. eff.Speed = NumberRange.new(500)
  4533. eff.Drag = 5
  4534. eff.Rotation = NumberRange.new(-500,500)
  4535. eff.SpreadAngle = Vector2.new(0,900)
  4536. eff.RotSpeed = NumberRange.new(-500,500)
  4537. wait(0.2)
  4538. eff.Enabled = false
  4539. wait(5)
  4540. eff:Destroy()
  4541. end))
  4542. coroutine.resume(coroutine.create(function()
  4543.     local shval = 10
  4544.     for i = 0, 99 do
  4545.         swait()
  4546.         shval = shval - 0.1
  4547.         hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  4548.     end
  4549.     hum.CameraOffset = vt(0,0,0)
  4550. end))
  4551. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4552. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4553. for i = 0, 24 do
  4554. 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"))
  4555. end
  4556. local rrot = 0
  4557. local xam = 1
  4558. coroutine.resume(coroutine.create(function()
  4559. for i = 0, 14 do
  4560. --swait()
  4561. rrot = rrot + 40*xam
  4562. xam = xam + 0.25
  4563. local bonus = xam
  4564. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  4565. xa.Anchored = true
  4566. xa.Color = Color3.new(0,0,0)
  4567. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  4568. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  4569. local xc = 0
  4570. coroutine.resume(coroutine.create(function()
  4571. for i = 0, 99 do
  4572.     swait()
  4573.     xc = xc + 0.01
  4574.     xa.Color = Color3.new(xc,0,0)
  4575. end
  4576. xa.Transparency = 1
  4577. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  4578. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  4579. for i = 0, 9 do
  4580. 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"))
  4581. end
  4582. 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)
  4583. 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)
  4584. 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))
  4585. game:GetService("Debris"):AddItem(xa, 5)
  4586. coroutine.resume(coroutine.create(function()
  4587. for i = 0, 19 do
  4588. swait()
  4589. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  4590. end
  4591. hum.CameraOffset = vt(0,0,0)
  4592. end))
  4593. end))
  4594. end
  4595. end))
  4596. for i = 0,2,0.1 do
  4597. swait()
  4598. 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)
  4599. 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)
  4600. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  4601. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  4602. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  4603. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  4604. end
  4605. attack = false
  4606. hum.WalkSpeed = storehumanoidWS
  4607. end
  4608.  
  4609. function HeavenlyDisk()
  4610. attack = true
  4611. hum.WalkSpeed = 2
  4612. local keptcolor = MAINRUINCOLOR
  4613. local radm = math.random(1,3)
  4614. if radm == 1 then
  4615. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  4616. elseif radm == 2 then
  4617. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  4618. elseif radm == 3 then
  4619. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  4620. end
  4621. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  4622. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  4623. 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)
  4624. 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)
  4625. for i = 0, 14 do
  4626. 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)
  4627. end
  4628. for i = 0,2,0.1 do
  4629. swait()
  4630. 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)
  4631. 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)
  4632. 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)
  4633. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4634. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  4635. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4636. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4637. end
  4638. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  4639. for i = 0,1,0.6 do
  4640. swait()
  4641. 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)
  4642. 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"))
  4643. 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)
  4644. 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)
  4645. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4646. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4647. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4648. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4649. end
  4650. for i = 0,1,0.6 do
  4651. swait()
  4652. 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)
  4653. 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"))
  4654. 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)
  4655. 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)
  4656. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  4657. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4658. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4659. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4660. end
  4661. for i = 0,1,0.6 do
  4662. swait()
  4663. 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)
  4664. 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"))
  4665. 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)
  4666. 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)
  4667. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  4668. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4669. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4670. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4671. end
  4672. for i = 0,1,0.6 do
  4673. swait()
  4674. 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)
  4675. 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"))
  4676. 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)
  4677. 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)
  4678. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  4679. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  4680. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  4681. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  4682. end
  4683. local rot = 15
  4684. for i = 0, 2 do
  4685. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  4686. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  4687. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4688. CreateMesh(dis,"Sphere",10,1,10)
  4689. local at1 = Instance.new("Attachment",dis)
  4690. at1.Position = vt(-5,0,0)
  4691. local at2 = Instance.new("Attachment",dis)
  4692. at2.Position = vt(5,0,0)
  4693. local trl = Instance.new('Trail',wed)
  4694. trl.Attachment0 = at1
  4695. trl.Attachment1 = at2
  4696. trl.Texture = "rbxassetid://1049219073"
  4697. trl.LightEmission = 1
  4698. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4699. trl.Color = ColorSequence.new(dis.Color)
  4700. trl.Lifetime = 0.6
  4701. local a = Instance.new("Part",workspace)
  4702.     a.Name = "Direction"   
  4703.     a.Anchored = true
  4704.     a.BrickColor = bc("Bright red")
  4705. a.Material = "Neon"
  4706. a.Transparency = 1
  4707.     a.CanCollide = false
  4708.     local ray = Ray.new(
  4709.         dis.CFrame.p,                           -- origin
  4710.         (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4711.     )
  4712.     local ignore = dis
  4713.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4714.     a.BottomSurface = 10
  4715.     a.TopSurface = 10
  4716.     local distance = (dis.CFrame.p - position).magnitude
  4717.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  4718.     a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4719. dis.CFrame = a.CFrame
  4720. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4721. a:Destroy()
  4722. local bv = Instance.new("BodyVelocity")
  4723. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4724. bv.velocity = dis.CFrame.lookVector*250
  4725. bv.Parent = dis
  4726. game:GetService("Debris"):AddItem(dis, 5)
  4727. local hitted = false
  4728. coroutine.resume(coroutine.create(function()
  4729. dis.Touched:connect(function(hit)
  4730.     if hitted == false and hit.Parent ~= char then
  4731.     hitted = true
  4732.     CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4733.     MagniDamage(dis, 30, 82,34575, 0, "Normal")
  4734.     sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4735.     sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4736.     sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  4737.     coroutine.resume(coroutine.create(function()
  4738. local eff = Instance.new("ParticleEmitter",dis)
  4739. eff.Texture = "rbxassetid://2344870656"
  4740. eff.LightEmission = 1
  4741. eff.Color = ColorSequence.new(dis.Color)
  4742. eff.Rate = 10000000
  4743. eff.Enabled = true
  4744. eff.EmissionDirection = "Front"
  4745. eff.Lifetime = NumberRange.new(1)
  4746. 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)})
  4747. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4748. eff.Speed = NumberRange.new(150)
  4749. eff.Drag = 5
  4750. eff.Rotation = NumberRange.new(-500,500)
  4751. eff.SpreadAngle = Vector2.new(0,900)
  4752. eff.RotSpeed = NumberRange.new(-500,500)
  4753. wait(0.2)
  4754. eff.Enabled = false
  4755.     end))
  4756.     coroutine.resume(coroutine.create(function()
  4757.         for i = 0, 9 do
  4758. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4759. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4760. local at1 = Instance.new("Attachment",disr)
  4761. at1.Position = vt(-2,0,0)
  4762. local at2 = Instance.new("Attachment",disr)
  4763. at2.Position = vt(2,0,0)
  4764. local trl = Instance.new('Trail',disr)
  4765. trl.Attachment0 = at1
  4766. trl.FaceCamera = true
  4767. trl.Attachment1 = at2
  4768. trl.Texture = "rbxassetid://2342682798"
  4769. trl.LightEmission = 1
  4770. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4771. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4772. trl.Lifetime = 0.5
  4773. local bv = Instance.new("BodyVelocity")
  4774. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4775. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4776. bv.Parent = disr
  4777. local val = 0
  4778. coroutine.resume(coroutine.create(function()
  4779.     swait(30)
  4780.     for i = 0, 9 do
  4781.         swait()
  4782.         val = val + 0.1
  4783.         trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4784.     end
  4785. game:GetService("Debris"):AddItem(disr, 3)
  4786. end))
  4787. end
  4788. local eff = Instance.new("ParticleEmitter",dis)
  4789. eff.Texture = "rbxassetid://2273224484"
  4790. eff.LightEmission = 1
  4791. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  4792. eff.Rate = 500000
  4793. eff.Lifetime = NumberRange.new(0.5,2)
  4794. 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)})
  4795. 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)})
  4796. eff.Speed = NumberRange.new(20,250)
  4797. eff.Drag = 5
  4798. eff.Rotation = NumberRange.new(-500,500)
  4799. eff.VelocitySpread = 9000
  4800. eff.RotSpeed = NumberRange.new(-50,50)
  4801. wait(0.25)
  4802. eff.Enabled = false
  4803. end))
  4804.     for i = 0, 9 do
  4805.         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"))
  4806.     end
  4807. for i = 0, 19 do
  4808. 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)
  4809. end
  4810. coroutine.resume(coroutine.create(function()
  4811. for i = 0, 19 do
  4812. swait()
  4813. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4814. end
  4815. hum.CameraOffset = vt(0,0,0)
  4816. end))
  4817. dis.Anchored = true
  4818. dis.Transparency = 1
  4819. wait(8)
  4820. dis:Destroy()
  4821. end
  4822. end)
  4823. end))
  4824. rot = rot - 15
  4825. end
  4826. for i = 0,2,0.1 do
  4827. swait()
  4828. 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)
  4829. 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)
  4830. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  4831. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  4832. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  4833. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  4834. end
  4835. attack = false
  4836. hum.WalkSpeed = storehumanoidWS
  4837. end
  4838.  
  4839. function RapidBurst()
  4840. attack = true
  4841. hum.WalkSpeed = 0
  4842. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  4843. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  4844. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  4845. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  4846. local keptcolor = MAINRUINCOLOR
  4847. for i = 0,8,0.1 do
  4848. swait()
  4849. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  4850. 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())
  4851. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.random(),BrickColor.random().Color)
  4852. 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)
  4853. 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)
  4854. 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)
  4855. 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)
  4856. 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)
  4857. 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)
  4858. end
  4859. for i = 0, 99 do
  4860. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4861. 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)))
  4862. local at1 = Instance.new("Attachment",dis)
  4863. at1.Position = vt(-25000,0,0)
  4864. local at2 = Instance.new("Attachment",dis)
  4865. at2.Position = vt(25000,0,0)
  4866. local trl = Instance.new('Trail',dis)
  4867. trl.Attachment0 = at1
  4868. trl.FaceCamera = true
  4869. trl.Attachment1 = at2
  4870. trl.Texture = "rbxassetid://1049219073"
  4871. trl.LightEmission = 1
  4872. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4873. trl.Color = ColorSequence.new(BrickColor.random().Color)
  4874. trl.Lifetime = 5
  4875. local bv = Instance.new("BodyVelocity")
  4876. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4877. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4878. bv.Parent = dis
  4879. game:GetService("Debris"):AddItem(dis, 5)
  4880. end
  4881. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  4882. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  4883. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  4884. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  4885. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  4886. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  4887. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  4888. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  4889. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  4890. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  4891. hum.CameraOffset = vt(0,0,0)
  4892. for i = 0, 24 do
  4893. 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())
  4894. end
  4895. local distam = 0
  4896. coroutine.resume(coroutine.create(function()
  4897. for i = 0, 99 do
  4898.     wait()
  4899. distam = distam + 1
  4900. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  4901. xa.Anchored = true
  4902. 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)))
  4903. game:GetService("Debris"):AddItem(xa, 5)
  4904. for i = 0, 4 do
  4905. 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())
  4906. end
  4907. coroutine.resume(coroutine.create(function()
  4908. local eff = Instance.new("ParticleEmitter",xa)
  4909. eff.Texture = "rbxassetid://2344870656"
  4910. eff.LightEmission = 1
  4911. eff.Color = ColorSequence.new(xa.Color)
  4912. eff.Rate = 10000000
  4913. eff.Enabled = true
  4914. eff.Lifetime = NumberRange.new(2.5)
  4915. 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)})
  4916. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4917. eff.Speed = NumberRange.new(200)
  4918. eff.Drag = 5
  4919. eff.Rotation = NumberRange.new(-500,500)
  4920. eff.SpreadAngle = Vector2.new(0,900)
  4921. eff.RotSpeed = NumberRange.new(-500,500)
  4922. wait(0.2)
  4923. eff.Enabled = false
  4924.     end))
  4925. coroutine.resume(coroutine.create(function()
  4926. local eff = Instance.new("ParticleEmitter",xa)
  4927. eff.Texture = "rbxassetid://2273224484"
  4928. eff.LightEmission = 1
  4929. eff.Color = ColorSequence.new(BrickColor.random().Color)
  4930. eff.Rate = 500000
  4931. eff.Lifetime = NumberRange.new(1,3)
  4932. 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)})
  4933. 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)})
  4934. eff.Speed = NumberRange.new(50,500)
  4935. eff.Drag = 5
  4936. eff.Rotation = NumberRange.new(-500,500)
  4937. eff.VelocitySpread = 9000
  4938. eff.RotSpeed = NumberRange.new(-50,50)
  4939. wait(0.25)
  4940. eff.Enabled = false
  4941. end))
  4942. coroutine.resume(coroutine.create(function()
  4943. for i = 0, 19 do
  4944. swait()
  4945. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  4946. end
  4947. hum.CameraOffset = vt(0,0,0)
  4948. end))
  4949. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  4950. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  4951. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  4952. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  4953. end
  4954. end))
  4955. attack = false
  4956. hum.WalkSpeed = storehumanoidWS
  4957. end
  4958.  
  4959.  
  4960. function FallenOrbs()
  4961. attack = true
  4962. hum.WalkSpeed = 2
  4963. local keptcolor = MAINRUINCOLOR
  4964. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  4965. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  4966. local radm = math.random(1,3)
  4967. if radm == 1 then
  4968. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  4969. elseif radm == 2 then
  4970. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  4971. elseif radm == 3 then
  4972. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  4973. end
  4974. local obj1 = script.chring:Clone()
  4975. obj1.Parent = char
  4976. obj1.Transparency = 1
  4977. obj1.Color = BrickColor.new("Toothpaste").Color
  4978. local obj2 = script.spball:Clone()
  4979. obj2.Parent = char
  4980. obj2.Transparency = 1
  4981. obj2.Color = MAINRUINCOLOR.Color
  4982. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4983. cfor.Anchored = true
  4984. cfor.CFrame = obj2.CFrame
  4985. local cef = Instance.new("ParticleEmitter",cfor)
  4986. cef.Texture = "rbxassetid://2344870656"
  4987. cef.LightEmission = 1
  4988. cef.Color = ColorSequence.new(obj2.Color)
  4989. cef.Rate = 150
  4990. cef.Lifetime = NumberRange.new(0.25)
  4991. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  4992. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  4993. cef.Speed = NumberRange.new(0)
  4994. local rval = 0
  4995. local eval = 1
  4996. CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7)
  4997. for i = 0,10,0.1 do
  4998. swait()
  4999. rval = rval + math.random(30,40)
  5000. eval = eval + 1.5
  5001. obj1.Transparency = obj1.Transparency - 0.003
  5002. obj1.Size = obj1.Size + vt(0,1,1)
  5003. obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
  5004. obj2.Transparency = obj2.Transparency - 0.005
  5005. obj2.Size = obj2.Size + vt(0.5,0.5,0.5)
  5006. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5007. obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5008. cfor.CFrame = obj2.CFrame
  5009. 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"))
  5010. 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"))
  5011. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5012. 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)
  5013. 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)
  5014. 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)
  5015. 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)
  5016. 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)
  5017. 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)
  5018. end
  5019. cef.Enabled = false
  5020. coroutine.resume(coroutine.create(function()
  5021.     for i = 0,49 do
  5022.         swait()
  5023.         rval = rval + 100
  5024.         obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5025.         obj2.Transparency = obj2.Transparency + 0.02
  5026.         obj2.Size = obj2.Size + vt(5,5,5)
  5027.         obj1.Transparency = obj1.Transparency + 0.02
  5028.         obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5029.     end
  5030.     obj1:Destroy()
  5031.     obj2:Destroy()
  5032.     cfor:Destroy()
  5033. end))
  5034. for i = 0, 9 do
  5035. 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"))
  5036. 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"))
  5037. end
  5038. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5039. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5040. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
  5041. CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
  5042. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
  5043. coroutine.resume(coroutine.create(function()
  5044. for i = 0, 19 do
  5045.     swait()
  5046.     local custcol = math.random(1,3)
  5047. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  5048. if custcol == 1 then
  5049. dis.BrickColor = MAINRUINCOLOR
  5050. elseif custcol == 2 then
  5051. dis.BrickColor = BrickColor.new("Toothpaste")
  5052. elseif custcol == 3 then
  5053. dis.BrickColor = BrickColor.new("Deep orange")
  5054. end
  5055. dis.Anchored = true
  5056. --CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  5057. dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30))
  5058. CreateMesh(dis,"Sphere",2,2,2)
  5059. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5060. 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"))
  5061. coroutine.resume(coroutine.create(function()
  5062. wait(0.5)
  5063. dis.Anchored = false
  5064. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  5065. local at1 = Instance.new("Attachment",dis)
  5066. at1.Position = vt(-1,0,0)
  5067. local at2 = Instance.new("Attachment",dis)
  5068. at2.Position = vt(1,0,0)
  5069. local trl = Instance.new('Trail',dis)
  5070. trl.Attachment0 = at1
  5071. trl.FaceCamera = true
  5072. trl.Attachment1 = at2
  5073. trl.Texture = "rbxassetid://1049219073"
  5074. trl.LightEmission = 1
  5075. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5076. trl.Color = ColorSequence.new(dis.Color)
  5077. trl.Lifetime = 0.6
  5078. local a = Instance.new("Part",workspace)
  5079.     a.Name = "Direction"   
  5080.     a.Anchored = true
  5081.     a.BrickColor = bc("Bright red")
  5082. a.Material = "Neon"
  5083. a.Transparency = 1
  5084.     a.CanCollide = false
  5085.     local ray = Ray.new(
  5086.         dis.CFrame.p,                           -- origin
  5087.         (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5088.     )
  5089.     local ignore = dis
  5090.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5091.     a.BottomSurface = 10
  5092.     a.TopSurface = 10
  5093.     local distance = (dis.CFrame.p - position).magnitude
  5094.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  5095.     a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5096. dis.CFrame = a.CFrame
  5097. a:Destroy()
  5098. local bv = Instance.new("BodyVelocity")
  5099. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5100. bv.velocity = dis.CFrame.lookVector*500
  5101. bv.Parent = dis
  5102. game:GetService("Debris"):AddItem(dis, 5)
  5103. local hitted = false
  5104. coroutine.resume(coroutine.create(function()
  5105. dis.Touched:connect(function(hit)
  5106.     if hitted == false and hit.Parent ~= char then
  5107.     hitted = true
  5108.     CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  5109.     MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  5110.     sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color)
  5111.     sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  5112.     coroutine.resume(coroutine.create(function()
  5113. local eff = Instance.new("ParticleEmitter",dis)
  5114. eff.Texture = "rbxassetid://2344870656"
  5115. eff.LightEmission = 1
  5116. eff.Color = ColorSequence.new(dis.Color)
  5117. eff.Rate = 10000000
  5118. eff.Enabled = true
  5119. --eff.EmissionDirection = "Front"
  5120. eff.Lifetime = NumberRange.new(3)
  5121. 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)})
  5122. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5123. eff.Speed = NumberRange.new(250)
  5124. eff.Drag = 5
  5125. eff.Rotation = NumberRange.new(-500,500)
  5126. eff.SpreadAngle = Vector2.new(0,900)
  5127. eff.RotSpeed = NumberRange.new(-500,500)
  5128. wait(0.2)
  5129. eff.Enabled = false
  5130.     end))
  5131.     coroutine.resume(coroutine.create(function()
  5132. for i = 0, 4 do
  5133. local disr = CreateParta(char,1,1,"Neon",dis.BrickColor)
  5134. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5135. local at1 = Instance.new("Attachment",disr)
  5136. at1.Position = vt(-10,0,0)
  5137. local at2 = Instance.new("Attachment",disr)
  5138. at2.Position = vt(10,0,0)
  5139. local trl = Instance.new('Trail',disr)
  5140. trl.Attachment0 = at1
  5141. trl.FaceCamera = true
  5142. trl.Attachment1 = at2
  5143. trl.Texture = "rbxassetid://2342682798"
  5144. trl.LightEmission = 1
  5145. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5146. trl.Color = ColorSequence.new(disr.Color)
  5147. trl.Lifetime = 0.5
  5148. local bv = Instance.new("BodyVelocity")
  5149. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5150. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  5151. bv.Parent = disr
  5152. local val = 0
  5153. coroutine.resume(coroutine.create(function()
  5154.     swait(30)
  5155.     for i = 0, 9 do
  5156.         swait()
  5157.         val = val + 0.1
  5158.         trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5159.     end
  5160. game:GetService("Debris"):AddItem(disr, 3)
  5161. end))
  5162. end
  5163. local eff = Instance.new("ParticleEmitter",dis)
  5164. eff.Texture = "rbxassetid://2273224484"
  5165. eff.LightEmission = 1
  5166. eff.Color = ColorSequence.new(dis.Color)
  5167. eff.Rate = 500000
  5168. eff.Lifetime = NumberRange.new(0.5,2)
  5169. 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)})
  5170. 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)})
  5171. eff.Speed = NumberRange.new(20,250)
  5172. eff.Drag = 5
  5173. eff.Rotation = NumberRange.new(-500,500)
  5174. eff.VelocitySpread = 9000
  5175. eff.RotSpeed = NumberRange.new(-50,50)
  5176. wait(0.5)
  5177. eff.Enabled = false
  5178. end))
  5179.     for i = 0, 4 do
  5180.         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"))
  5181.     end
  5182. coroutine.resume(coroutine.create(function()
  5183. for i = 0, 19 do
  5184. swait()
  5185. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5186. end
  5187. hum.CameraOffset = vt(0,0,0)
  5188. end))
  5189. dis.Anchored = true
  5190. dis.Transparency = 1
  5191. wait(8)
  5192. dis:Destroy()
  5193. end
  5194. end)
  5195. end))
  5196. end))
  5197. end
  5198. end))
  5199. for i = 0,9,0.1 do
  5200. swait()
  5201. 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)
  5202. 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)
  5203. 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)
  5204. 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)
  5205. 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)
  5206. 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)
  5207. end
  5208. attack = false
  5209. hum.WalkSpeed = storehumanoidWS
  5210. end
  5211.  
  5212. function EquinoxOrbs()
  5213. hum.WalkSpeed = 0
  5214. attack = true
  5215. for i = 0,1,0.1 do
  5216. swait()
  5217.     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)
  5218. 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)
  5219. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5220. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  5221. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  5222. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  5223. end
  5224. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  5225. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5226. for i = 0, 24 do
  5227.         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"))
  5228. end
  5229. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  5230. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  5231. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  5232. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  5233. for i = 0,4,0.1 do
  5234. swait()
  5235. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  5236. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5237. CreateMesh(dis,"Sphere",1,1,1)
  5238. dis.Anchored = true
  5239. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5240. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("White"))
  5241. CreateMesh(dis2,"Sphere",1,1,1)
  5242. dis2.Anchored = true
  5243. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  5244. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5245. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  5246. coroutine.resume(coroutine.create(function()
  5247.     swait(60)
  5248.     dis.Transparency = 1
  5249.     dis2.Transparency = 1
  5250. coroutine.resume(coroutine.create(function()
  5251. for i = 0, 19 do
  5252. swait()
  5253. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5254. end
  5255. hum.CameraOffset = vt(0,0,0)
  5256. end))
  5257. coroutine.resume(coroutine.create(function()
  5258. local eff = Instance.new("ParticleEmitter",dis)
  5259. eff.Texture = "rbxassetid://2273224484"
  5260. eff.LightEmission = 1
  5261. eff.Color = ColorSequence.new(dis.Color)
  5262. eff.Rate = 500000
  5263. eff.Lifetime = NumberRange.new(0.5,2)
  5264. 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)})
  5265. 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)})
  5266. eff.Speed = NumberRange.new(50,450)
  5267. eff.Drag = 5
  5268. eff.Rotation = NumberRange.new(-500,500)
  5269. eff.VelocitySpread = 9000
  5270. eff.RotSpeed = NumberRange.new(-50,50)
  5271. local eff2 = eff:Clone()
  5272. eff2.Parent = dis2
  5273. eff2.LightEmission = 0
  5274. eff2.Color = ColorSequence.new(dis2.Color)
  5275. wait(0.25)
  5276. eff.Enabled = false
  5277. eff2.Enabled = false
  5278. end))
  5279. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  5280. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  5281.     for i = 0, 2 do
  5282.         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)
  5283.         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)
  5284.     end
  5285.     CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  5286.     CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  5287.     CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  5288.     CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  5289.     CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  5290.     CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  5291.     sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  5292.     sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  5293. end))
  5294. game:GetService("Debris"):AddItem(dis, 5)
  5295. game:GetService("Debris"):AddItem(dis2, 5)
  5296. 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)
  5297. 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)
  5298. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  5299. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  5300. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  5301. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  5302. end
  5303. attack = false
  5304. hum.WalkSpeed = storehumanoidWS
  5305. end
  5306. function FallenDEMISE()
  5307. attack = true
  5308. hum.WalkSpeed = 0
  5309. local keptcolor = MAINRUINCOLOR
  5310. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  5311. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  5312. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  5313. for i = 0, 15, 0.1 do
  5314. swait()
  5315. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5316. 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)))
  5317. local at1 = Instance.new("Attachment",dis)
  5318. at1.Position = vt(-25000,0,0)
  5319. local at2 = Instance.new("Attachment",dis)
  5320. at2.Position = vt(25000,0,0)
  5321. local trl = Instance.new('Trail',dis)
  5322. trl.Attachment0 = at1
  5323. trl.FaceCamera = true
  5324. trl.Attachment1 = at2
  5325. trl.Texture = "rbxassetid://1049219073"
  5326. trl.LightEmission = 1
  5327. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5328. trl.Color = ColorSequence.new(dis.Color)
  5329. trl.Lifetime = 5
  5330. local bv = Instance.new("BodyVelocity")
  5331. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5332. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5333. bv.Parent = dis
  5334. game:GetService("Debris"):AddItem(dis, 1)
  5335. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  5336. 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"))
  5337. 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"))
  5338. 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)
  5339. 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)
  5340. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  5341. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5342. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  5343. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  5344. end
  5345. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  5346. for i = 0, 30, 0.1 do
  5347. swait()
  5348. coroutine.resume(coroutine.create(function()
  5349. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  5350. if v:FindFirstChild('Head') then
  5351. dmg(v)
  5352. end
  5353. end
  5354. end))
  5355. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5356. 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)))
  5357. local at1 = Instance.new("Attachment",dis)
  5358. at1.Position = vt(-50000,0,0)
  5359. local at2 = Instance.new("Attachment",dis)
  5360. at2.Position = vt(50000,0,0)
  5361. local trl = Instance.new('Trail',dis)
  5362. trl.Attachment0 = at1
  5363. trl.FaceCamera = true
  5364. trl.Attachment1 = at2
  5365. trl.Texture = "rbxassetid://1049219073"
  5366. trl.LightEmission = 1
  5367. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5368. trl.Color = ColorSequence.new(dis.Color)
  5369. trl.Lifetime = 10
  5370. local bv = Instance.new("BodyVelocity")
  5371. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5372. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  5373. bv.Parent = dis
  5374. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  5375. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  5376. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  5377. 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"))
  5378. 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"))
  5379. 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"))
  5380. 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"))
  5381. for i = 0, 2 do
  5382. 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,MAINRUINCOLOR)
  5383. end
  5384. 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)
  5385. 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)
  5386. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  5387. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  5388. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  5389. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  5390. end
  5391. attack = false
  5392. hum.WalkSpeed = storehumanoidWS
  5393. end
  5394.  
  5395. function SHDTwist()
  5396.     attack = true
  5397. hum.WalkSpeed = 2
  5398. local radm = math.random(1,3)
  5399. if radm == 1 then
  5400. bosschatfunc("Plasmatic Burst!",MAINRUINCOLOR.Color,1)
  5401. elseif radm == 2 then
  5402. bosschatfunc("How cute.",MAINRUINCOLOR.Color,1)
  5403. elseif radm == 3 then
  5404. bosschatfunc("Suffer to the brightness.",MAINRUINCOLOR.Color,1)
  5405. end
  5406. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  5407. local obj1 = script.chring2:Clone()
  5408. obj1.Parent = char
  5409. obj1.Transparency = 1
  5410. obj1.Size = vt(1,1,1)
  5411. obj1.Color = BrickColor.new("Pink").Color
  5412. local obj2 = script.spball:Clone()
  5413. obj2.Parent = char
  5414. obj2.Transparency = 1
  5415. obj2.Size = vt(1,1,1)
  5416. obj2.Color = MAINRUINCOLOR.Color
  5417. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5418. cfor.Anchored = true
  5419. cfor.CFrame = obj2.CFrame
  5420. local cef = Instance.new("ParticleEmitter",cfor)
  5421. cef.Texture = "rbxassetid://2344870656"
  5422. cef.LightEmission = 1
  5423. cef.Color = ColorSequence.new(obj2.Color)
  5424. cef.Rate = 150
  5425. cef.Lifetime = NumberRange.new(0.25)
  5426. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5427. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  5428. cef.Speed = NumberRange.new(0)
  5429. local rval = 0
  5430. local eval = 1
  5431.     for i = 0,7,0.1 do
  5432. swait()
  5433. rval = rval + math.random(30,40)
  5434. eval = eval + 0.45
  5435. obj1.Transparency = obj1.Transparency - 0.005
  5436. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  5437. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  5438. obj2.Transparency = obj2.Transparency - 0.007
  5439. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  5440. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  5441. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5442. cfor.CFrame = obj2.CFrame
  5443. 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)
  5444. 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)
  5445. 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)
  5446. 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)
  5447. 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)
  5448. 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)
  5449. 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)
  5450. 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)
  5451.     end
  5452.     cef.Enabled = false
  5453.     coroutine.resume(coroutine.create(function()
  5454.     for i = 0,49 do
  5455.         swait()
  5456.         rval = rval + 100
  5457.         obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  5458.         obj2.Transparency = obj2.Transparency + 0.02
  5459.         obj2.Size = obj2.Size + vt(5,5,5)
  5460.         obj1.Transparency = obj1.Transparency + 0.02
  5461.         obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  5462.     end
  5463.     obj1:Destroy()
  5464.     obj2:Destroy()
  5465.     cfor:Destroy()
  5466. end))
  5467.     local lva = 1
  5468.     local ica = 0
  5469. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5470. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  5471. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  5472. 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)
  5473. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5474.  
  5475. local a = Instance.new("Part",workspace)
  5476.     a.Name = "Direction"   
  5477.     a.Anchored = true
  5478.     a.BrickColor = bc("Bright red")
  5479. a.Material = "Neon"
  5480. a.Transparency = 1
  5481.     a.CanCollide = false
  5482.     local ray = Ray.new(
  5483.         cent.CFrame.p,                           -- origin
  5484.         (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  5485.     )
  5486.     local ignore = cent
  5487.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5488.     a.BottomSurface = 10
  5489.     a.TopSurface = 10
  5490.     local distance = (cent.CFrame.p - position).magnitude
  5491.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  5492.     a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  5493. cent.CFrame = a.CFrame
  5494. a:Destroy()
  5495. local bv = Instance.new("BodyVelocity")
  5496. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5497. bv.velocity = cent.CFrame.lookVector*0
  5498. bv.Parent = cent
  5499. game:GetService("Debris"):AddItem(cent, 20)
  5500. local hitted = false
  5501. coroutine.resume(coroutine.create(function()
  5502.     while true do
  5503.         swait(1)
  5504.         if hitted == false and cent.Parent ~= nil then
  5505.     ica = ica + 4*lva
  5506.     lva = lva + 0.1
  5507.     bv.velocity = cent.CFrame.lookVector*ica
  5508.     sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  5509.     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"))
  5510.     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"))
  5511.         elseif hitted == true or cent.Parent == nil then
  5512.             break
  5513.         end
  5514.     end
  5515. end))
  5516. coroutine.resume(coroutine.create(function()
  5517. cent.Touched:connect(function(hit)
  5518.     if hitted == false and hit.Parent ~= char then
  5519.     hitted = true
  5520.     cent.Anchored = true
  5521.     CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  5522.     CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  5523.     CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  5524.     CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  5525.     MagniDamage(cent, 50, 50,99999, 0, "Normal")
  5526.     sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  5527.     sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  5528.     for i = 0, 19 do
  5529.         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"))
  5530.         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"))
  5531.     end
  5532.     coroutine.resume(coroutine.create(function()
  5533. local eff = Instance.new("ParticleEmitter",cent)
  5534. eff.Texture = "rbxassetid://2344870656"
  5535. eff.LightEmission = 1
  5536. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  5537. eff.Rate = 10000000
  5538. eff.Enabled = true
  5539. --eff.EmissionDirection = "Front"
  5540. eff.Lifetime = NumberRange.new(5)
  5541. 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)})
  5542. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5543. eff.Speed = NumberRange.new(350)
  5544. eff.Drag = 5
  5545. eff.Rotation = NumberRange.new(-500,500)
  5546. eff.SpreadAngle = Vector2.new(0,900)
  5547. eff.RotSpeed = NumberRange.new(-500,500)
  5548. local eff2 = eff:Clone()
  5549. eff2.Parent = cent
  5550. eff2.Speed = NumberRange.new(250)
  5551. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  5552. wait(0.2)
  5553. eff.Enabled = false
  5554. eff2.Enabled = false
  5555.     end))
  5556. end
  5557. end)
  5558. end))
  5559. attack = false
  5560. hum.WalkSpeed = storehumanoidWS
  5561. end
  5562.  
  5563. function CardStorm()
  5564. attack = true
  5565. hum.WalkSpeed = 0
  5566. local keptcolor = MAINRUINCOLOR
  5567.     for i = 0,2,0.1 do
  5568.         swait()
  5569. sphere2(8,"Add",LeftArm.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("White"),BrickColor.new("Deep orange").Color)
  5570.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  5571. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  5572. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  5573. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  5574. 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 - 9 * math.cos(sine / 51))),.1)
  5575. 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 + 7 * math.cos(sine / 44))),.1)
  5576.     end
  5577. local RCARD = {83485107,83486447,83485303,83483451,83486567,83484022,83486756}
  5578.  
  5579. local orb = Instance.new("Part", char)
  5580.         orb.BrickColor = keptcolor
  5581.         orb.CanCollide = false
  5582.         orb.FormFactor = 3
  5583.         orb.Name = "Ring"
  5584.         orb.Material = "Neon"
  5585.         orb.Size = Vector3.new(1, 0.75, 1.25)
  5586.         orb.Transparency = 0
  5587.         orb.TopSurface = 0
  5588.         orb.BottomSurface = 0
  5589.         local orbm = Instance.new("SpecialMesh", orb)
  5590.         orbm.MeshType = "Brick"
  5591. orbm.Name = "SizeMesh"
  5592. orbm.Scale = vt(4,4,4)
  5593. orb.CFrame = root.CFrame*CFrame.new(0,2,-3) + root.CFrame.lookVector*3
  5594. local eff = Instance.new("ParticleEmitter",orb)
  5595. coroutine.resume(coroutine.create(function()
  5596.     while true do
  5597.     swait()
  5598.     eff.Texture = "rbxassetid://"..RCARD[math.random(1,7)]
  5599.     end
  5600. end))
  5601. eff.LightEmission = 0.95
  5602. eff.Color = ColorSequence.new(Color3.new(1,1,1))
  5603. eff.Rate = 10000
  5604. eff.Lifetime = NumberRange.new(1.5)
  5605. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2.75,0),NumberSequenceKeypoint.new(0.2,2,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5606. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.75,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5607. eff.Speed = NumberRange.new(20,85)
  5608. eff.Drag = 5
  5609. eff.Rotation = NumberRange.new(-250,250)
  5610. eff.VelocitySpread = 9000
  5611. eff.RotSpeed = NumberRange.new(-50,50)
  5612.     local a = Instance.new("Part",workspace)
  5613.     a.Name = "Direction"   
  5614.     a.Anchored = true
  5615.     a.BrickColor = bc("Bright red")
  5616. a.Material = "Neon"
  5617. a.Transparency = 1
  5618.     a.CanCollide = false
  5619.     local ray = Ray.new(
  5620.         orb.CFrame.p,                           -- origin
  5621.         (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  5622.     )
  5623.     local ignore = orb
  5624.     local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5625.     a.BottomSurface = 10
  5626.     a.TopSurface = 10
  5627.     local distance = (orb.CFrame.p - position).magnitude
  5628.     a.Size = Vector3.new(0.1, 0.1, 0.1)
  5629.     a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5630. orb.CFrame = a.CFrame
  5631. a:Destroy()
  5632. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  5633. local bv = Instance.new("BodyVelocity")
  5634. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5635. bv.velocity = orb.CFrame.lookVector*300
  5636. bv.Parent = orb
  5637. game:GetService("Debris"):AddItem(orb, 10)
  5638. local hitted = false
  5639. coroutine.resume(coroutine.create(function()
  5640. while true do
  5641. swait()
  5642. if orb.Parent ~= nil and hitted == false then
  5643. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  5644. elseif orb.Parent == nil and hitted == true then
  5645. break
  5646. end
  5647. end
  5648. end))
  5649. local hit =orb.Touched:connect(function(hit)
  5650.     if hitted == false and hit.Parent ~= char then
  5651.     hitted = true
  5652.     eff.Enabled = false
  5653. CameraEnshaking(4,4)
  5654. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  5655. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  5656.     MagniDamage(orb, 25*2, 20,30, 0, "Normal")
  5657. sphere2(4,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor)
  5658. sphere2(3,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor)
  5659. sphere2(2,"Add",orb.CFrame,vt(4*2,4*2,4*2),0.5*2,0.5*2,0.5*2,keptcolor)
  5660. for i = 0, 9 do
  5661. 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)
  5662. end
  5663. for i = 0, 49 do
  5664. local rsiz = math.random(10,30)
  5665. 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)
  5666. end
  5667. local eff = Instance.new("ParticleEmitter",orb)
  5668. coroutine.resume(coroutine.create(function()
  5669.     while true do
  5670.     swait()
  5671.     eff.Texture = "rbxassetid://"..RCARD[math.random(1,7)]
  5672.     end
  5673. end))
  5674. eff.LightEmission = 0.95
  5675. eff.Color = ColorSequence.new(Color3.new(1,1,1))
  5676. eff.Rate = 10000
  5677. eff.Lifetime = NumberRange.new(1.5)
  5678. 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)})
  5679. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5680. eff.Speed = NumberRange.new(150,350)
  5681. eff.Drag = 5
  5682. eff.Rotation = NumberRange.new(-500,500)
  5683. eff.VelocitySpread = 9000
  5684. eff.RotSpeed = NumberRange.new(-500,500)
  5685. coroutine.resume(coroutine.create(function()
  5686.     wait(0.25)
  5687.     eff.Enabled = false
  5688. end))
  5689. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  5690. orb.Anchored = true
  5691. orb.Transparency = 1
  5692. coroutine.resume(coroutine.create(function()
  5693. if hfr ~= nil then
  5694. orb.Size = vt(50,1,50)
  5695. orb.Orientation = vt(0,0,0)
  5696. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  5697. orbm:Destroy()
  5698. local firef = eff:Clone()
  5699. coroutine.resume(coroutine.create(function()
  5700.     while true do
  5701.     swait()
  5702.     firef.Texture = "rbxassetid://"..RCARD[math.random(1,7)]
  5703.     end
  5704. end))
  5705. firef.Parent = orb
  5706. firef.VelocitySpread = 50
  5707. firef.Rate = 500
  5708. firef.Drag = 3
  5709. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5710. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.05,2.5,0),NumberSequenceKeypoint.new(0.4,1,0),NumberSequenceKeypoint.new(1,0,0)})
  5711. firef.Speed = NumberRange.new(10,30)
  5712. for i = 0, 24 do
  5713. wait(0.25)
  5714. MagniDamage(orb, 25, 3,6, 0, "Normal")
  5715. end
  5716. firef.Enabled = false
  5717. end
  5718. end))
  5719. wait(10)
  5720. orb:Destroy()
  5721. end
  5722. end)
  5723.     for i = 0,1,0.1 do
  5724.         swait()
  5725. sphere2(8,"Add",LeftArm.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("White"),BrickColor.new("Deep orange").Color)
  5726.             RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))* angles(math.rad(-15),math.rad(0),math.rad(-50)),0.5)
  5727. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  5728. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  5729. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  5730. 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 - 9 * math.cos(sine / 51))),.1)
  5731. 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 + 7 * math.cos(sine / 44))),.1)
  5732.     end
  5733. hum.WalkSpeed = storehumanoidWS
  5734. attack = false
  5735. end
  5736.  
  5737. local ast = {187744332,1426044282}
  5738. local CardT = {"LET'S PLAY SOME CARD SHALL WE?","WANNA SEE SOME MAGIC?","YOU'RE GETTING TRICKY!!","NOW MY TURN.."}
  5739. -------------------------------------
  5740.  
  5741. Humanoid.Animator.Parent = nil
  5742.  
  5743. -------------------------------------
  5744.  
  5745.     local NewInstance = function(instance,parent,properties)
  5746.         local inst = Instance.new(instance,parent)
  5747.         if(properties)then
  5748.             for i,v in next, properties do
  5749.                 pcall(function() inst[i] = v end)
  5750.             end
  5751.         end
  5752.         return inst;
  5753.     end
  5754.  
  5755.  
  5756.  
  5757. if script.MeshValue.Value == "true" then
  5758.  
  5759. local Core = script.newCORE
  5760. Core.Parent = Character
  5761. coroutine.resume(coroutine.create(function()
  5762.     while true do
  5763.         swait()
  5764.         for i,v in pairs(Core:GetChildren())do
  5765.             if v.Name ~= "CORE2" then
  5766.                 v.BrickColor = MAINRUINCOLOR
  5767.             end
  5768.         end
  5769.     end
  5770. end))
  5771. for i,v in pairs(Core:GetChildren())do
  5772. if v.Name ~= "Weld" then
  5773. v.Transparency = 0
  5774. end
  5775. end
  5776. local HWz = NewInstance('Weld',Character,{Part0 = tors, Part1 = Core.Weld, C0 = CFrame.new(0,0,-0.35) * CFrame.Angles(-99,-100,0)})
  5777. end
  5778.  
  5779.  
  5780. local attacktype = 1
  5781. mouse.Button1Down:connect(function()
  5782.   if attack == false and attacktype == 1 then
  5783.     attacktype = 2
  5784.     attackone()
  5785.   elseif attack == false and attacktype == 2 then
  5786.     attacktype = 3
  5787.     attacktwo()
  5788.   elseif attack == false and attacktype == 3 then
  5789.     attacktype = 1
  5790.     attackthree()
  5791.   elseif attack == false and attacktype == 4 then
  5792.     attacktype = 1
  5793.     --attackfour()
  5794.   end
  5795. end)
  5796. mouse.KeyDown:connect(function(k)
  5797. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  5798. --normalmog() ---Disabled due to crashing... only in VSB
  5799. ModeOfGlitch = 1
  5800. storehumanoidWS = 16
  5801. hum.WalkSpeed = 16
  5802. rainbowmode = false
  5803. chaosmode = false
  5804. CRAZED = false
  5805. newTheme("rbxassetid://614032233",48.6,1,1.25)
  5806. RecolorTextAndRename("MAYHEM",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5807. MAINRUINCOLOR = BrickColor.new("Really red")
  5808. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  5809. end
  5810. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  5811. ModeOfGlitch = 2
  5812. storehumanoidWS = 16
  5813. hum.WalkSpeed = 16
  5814. rainbowmode = false
  5815. chaosmode = false
  5816. CRAZED = false
  5817. RecolorTextAndRename("PURITY",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  5818. newTheme("rbxassetid://1539245059",0,1,1.25)
  5819. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5820. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5821. end
  5822. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  5823.                ModeOfGlitch = 3
  5824. storehumanoidWS = 16
  5825. hum.WalkSpeed = 16
  5826. rainbowmode = false
  5827. chaosmode = false
  5828. CRAZED = false
  5829. RecolorTextAndRename("CORRUPTION",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  5830. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  5831. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5832. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5833. end
  5834. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  5835.                ModeOfGlitch = 4
  5836. storehumanoidWS = 16
  5837. hum.WalkSpeed = 16
  5838. rainbowmode = false
  5839. chaosmode = true
  5840. CRAZED = false
  5841. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  5842. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  5843. MAINRUINCOLOR = BrickColor.new("Black")
  5844. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5845. end
  5846. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  5847.                ModeOfGlitch = 5
  5848. storehumanoidWS = 16
  5849. hum.WalkSpeed = 16
  5850. rainbowmode = false
  5851. chaosmode = false
  5852. CRAZED = false
  5853. RecolorTextAndRename("DIVINITY",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  5854. newTheme("rbxassetid://661079869",0,1.02,1.25)
  5855. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  5856. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5857. end
  5858. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  5859.                ModeOfGlitch = 6
  5860. storehumanoidWS = 100
  5861. hum.WalkSpeed = 100
  5862. rainbowmode = false
  5863. chaosmode = false
  5864. CRAZED = false
  5865. RecolorTextAndRename("EQUALITY",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  5866. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  5867. MAINRUINCOLOR = BrickColor.new("White")
  5868. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5869. end
  5870. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  5871.                ModeOfGlitch = 8
  5872. storehumanoidWS = 140
  5873. hum.WalkSpeed = 140
  5874. rainbowmode = false
  5875. chaosmode = false
  5876. CRAZED = false
  5877. RecolorTextAndRename("DESTINY",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  5878. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  5879. MAINRUINCOLOR = BrickColor.new("Alder")
  5880. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5881. end
  5882. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  5883.                ModeOfGlitch = 9
  5884. storehumanoidWS = 150
  5885. hum.WalkSpeed = 150
  5886. rainbowmode = false
  5887. chaosmode = false
  5888. CRAZED = false
  5889. RecolorTextAndRename("INFECTION X",Color3.new(0,1,0),Color3.new(0,0.7,0),"Bodoni")
  5890. newTheme("rbxassetid://798163149",0,1.01,1.25)
  5891. MAINRUINCOLOR = BrickColor.new("Camo")
  5892. RecolorThing(MAINRUINCOLOR,BrickColor.new("Camo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5893. end
  5894. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 103 then
  5895.                ModeOfGlitch = 103
  5896. storehumanoidWS = 200
  5897. hum.WalkSpeed = 200
  5898. rainbowmode = false
  5899. chaosmode = false
  5900. CRAZED = false
  5901. blush.Transparency = 0
  5902. RecolorTextAndRename("ACE-OF-SPADES",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color,"SciFi")
  5903. newTheme("rbxassetid://1986375341",0,1.02,1.2)
  5904. MAINRUINCOLOR = BrickColor.new("New Yeller")
  5905. disably = false
  5906. warnedpeople(CardT[math.random(1,4)],"SciFi",BrickColor.new("Really black").Color,BrickColor.new("New Yeller").Color)
  5907. disably = true
  5908. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),0,BrickColor.new("White"),true,true)
  5909. end
  5910. if k == "m" and attack == false and ModeOfGlitch == 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  5911.                ModeOfGlitch = 808080808080808080808080
  5912. storehumanoidWS = 250
  5913. hum.WalkSpeed = 250
  5914. rainbowmode = false
  5915. chaosmode = false
  5916. CRAZED = false
  5917. CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  5918. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  5919. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  5920. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)
  5921. RecolorTextAndRename("MYTHICAL",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
  5922. newThemeCust("rbxassetid://398455752",0,1.01,2)
  5923. MAINRUINCOLOR = BrickColor.new("Really blue")
  5924. bosschatfunc("Are you gonna stop now or what?",MAINRUINCOLOR.Color,1)
  5925. disably = false
  5926. warnedpeople("SYNTH ONBOUND!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color)
  5927. disably = true
  5928. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Alder"),0,BrickColor.new("Pastel light blue"),true,true)
  5929. end
  5930. if k == "m" and attack == false and ModeOfGlitch == 8889 and ModeOfGlitch ~= 88893333388 then
  5931.                ModeOfGlitch = 88893333388
  5932. storehumanoidWS = 200
  5933. hum.WalkSpeed = 200
  5934. rainbowmode = false
  5935. chaosmode = false
  5936. CRAZED = false
  5937. RecolorTextAndRename("CATASTROPHE",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
  5938. newThemeCust("rbxassetid://1504604335",0,1.01,1.5)
  5939. MAINRUINCOLOR = BrickColor.new("Royal purple")
  5940. bosschatfunc("Evenly with your rejections.",MAINRUINCOLOR.Color,1)
  5941. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5942. end
  5943. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  5944.                ModeOfGlitch = 8889
  5945. storehumanoidWS = 180
  5946. hum.WalkSpeed = 180
  5947. rainbowmode = false
  5948. chaosmode = false
  5949. CRAZED = false
  5950. RecolorTextAndRename("CALAMITY",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  5951. newTheme("rbxassetid://1359036559",0,1.01,1.5)
  5952. MAINRUINCOLOR = BrickColor.new("Lilac")
  5953. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5954. end
  5955. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 664663666 then
  5956.                ModeOfGlitch = 664663666
  5957. storehumanoidWS = 175
  5958. hum.WalkSpeed = 175
  5959. rainbowmode = false
  5960. chaosmode = false
  5961. CRAZED = false
  5962. RecolorTextAndRename("STRESSED",Color3.new(0.1,0,0),Color3.new(0.25,0,0),"Antique")
  5963. disably = false
  5964. warnedpeople("AHHHHHHHHHH...","Antique",Color3.new(0.1,0,0),Color3.new(0.25,0,0))
  5965. disably = true
  5966. newTheme("rbxassetid://1359036559",0,1.01,1.5)
  5967. MAINRUINCOLOR = BrickColor.new("Maroon")
  5968. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5969. end
  5970. if k == "m" and attack == false and ModeOfGlitch == 6 then
  5971.                ModeOfGlitch = 3444
  5972. storehumanoidWS = 100
  5973. hum.WalkSpeed = 100
  5974. rainbowmode = false
  5975. chaosmode = false
  5976. CRAZED = false
  5977. RecolorTextAndRename("TWISTED",Color3.new(1,1,1),BrickColor.new("Storm blue").Color,"Code")
  5978. newTheme("rbxassetid://919231299",0,1,1)
  5979. MAINRUINCOLOR = BrickColor.new("Storm blue")
  5980. RecolorThing(MAINRUINCOLOR,BrickColor.new("Storm blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  5981. end
  5982. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 765688533321 then
  5983.                ModeOfGlitch = 765688533321
  5984. storehumanoidWS = 260
  5985. hum.WalkSpeed = 260
  5986. rainbowmode = false
  5987. chaosmode = false
  5988. CRAZED = false
  5989. RecolorTextAndRename("UNSTABLE",Color3.new(1,1,1),Color3.new(1,0,0),"Arcade")
  5990. disably = false
  5991. warnedpeople("UNSTABLE POWER!!","Arcade",BrickColor.new("Really red").Color,BrickColor.new("White").Color)
  5992. disably = true
  5993. newTheme("rbxassetid://899090278",0,1.005,1.75)
  5994. MAINRUINCOLOR = BrickColor.new("Really black")
  5995. RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Crimson"),0,BrickColor.new("Really black"),true,true)
  5996. end
  5997. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  5998.                ModeOfGlitch = 55469696922
  5999. storehumanoidWS = 275
  6000. hum.WalkSpeed = 275
  6001. rainbowmode = false
  6002. chaosmode = false
  6003. CRAZED = false
  6004. RecolorTextAndRename("NATURE",Color3.new(1,1,1),BrickColor.new("Forest green").Color,"Code")
  6005. newTheme("rbxassetid://181761264",0,1,1)
  6006. MAINRUINCOLOR = BrickColor.new("Forest green")
  6007. RecolorThing(MAINRUINCOLOR,BrickColor.new("Forest green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6008. end
  6009. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  6010.                ModeOfGlitch = 4367677813
  6011. storehumanoidWS = 225
  6012. hum.WalkSpeed = 225
  6013. rainbowmode = false
  6014. chaosmode = false
  6015. CRAZED = false
  6016. RecolorTextAndRename("SHD",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  6017. newTheme("rbxassetid://363284685",0,1.01,1.25)
  6018. MAINRUINCOLOR = BrickColor.new("Baby blue")
  6019. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6020. end
  6021. if k == "n" and attack == false and ModeOfGlitch == 9999999921111 and ModeOfGlitch ~= 101 then
  6022.                ModeOfGlitch = 101
  6023. storehumanoidWS = 350
  6024. hum.WalkSpeed = 350
  6025. rainbowmode = false
  6026. chaosmode = false
  6027. CRAZED = false
  6028. RecolorTextAndRename("ALPHA",BrickColor.new("Black").Color,BrickColor.new("Storm blue").Color,"SciFi")
  6029. disably = false
  6030. warnedpeople("A L P H A.","Arcade",BrickColor.new("Black").Color,BrickColor.new("Storm blue").Color)
  6031. disably = true
  6032. newTheme("rbxassetid://401710836",0,1.01,1.8)
  6033. MAINRUINCOLOR = BrickColor.new("Storm blue")
  6034. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Bright bluish green"),0,BrickColor.new("Really black"),true,true)
  6035. end
  6036. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  6037.                ModeOfGlitch = 9999999921111
  6038. storehumanoidWS = 300
  6039. hum.WalkSpeed = 300
  6040. rainbowmode = false
  6041. chaosmode = false
  6042. CRAZED = false
  6043. RecolorTextAndRename("OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  6044. newTheme("rbxassetid://643309199",0,1.01,1.5)
  6045. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  6046. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  6047. end
  6048. if k == "h" and attack == false and ModeOfGlitch ~= 102 then
  6049.                ModeOfGlitch = 102
  6050. storehumanoidWS = 18
  6051. hum.WalkSpeed = 18
  6052. rainbowmode = false
  6053. chaosmode = false
  6054. CRAZED = false
  6055. RecolorTextAndRename("U-K-E",BrickColor.new("White").Color,BrickColor.new("Deep orange").Color,"Code")
  6056. newTheme("rbxassetid://1426044282",0,1,1.15)
  6057. MAINRUINCOLOR = BrickColor.new("Deep orange")
  6058. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pastel orange"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  6059. end
  6060. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  6061.                ModeOfGlitch = 999999999556
  6062. storehumanoidWS = 500
  6063. hum.WalkSpeed = 500
  6064. rainbowmode = false
  6065. chaosmode = false
  6066. CRAZED = true
  6067. RecolorTextAndRename("CRAZED",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  6068. disably = false
  6069. warnedpeople("HAHAHAHAHA.","Code",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color)
  6070. disably = true
  6071. newTheme("rbxassetid://719008519",0,1.02,1.25)
  6072. MAINRUINCOLOR = BrickColor.new("Navy blue")
  6073. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Navy blue"),0,BrickColor.new("Really blue"),true,true)
  6074. end
  6075. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  6076.                ModeOfGlitch = 1264532489
  6077. storehumanoidWS = 250
  6078. hum.WalkSpeed = 250
  6079. rainbowmode = false
  6080. chaosmode = false
  6081. CRAZED = false
  6082. RecolorTextAndRename("FALLENX",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  6083. disably = false
  6084. warnedpeople("WHO DARE TO CHALLENGE ME?!","Antique",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color)
  6085. disably = true
  6086. newTheme("rbxassetid://1505487022",0,1.01,1.5)
  6087. MAINRUINCOLOR = BrickColor.new("Pastel green")
  6088. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),true,true)
  6089. end
  6090. if k == "l" and mutedtog == false then
  6091. mutedtog = true
  6092. kan.Volume = 0
  6093. elseif k == "l" and mutedtog == true then
  6094. mutedtog = false
  6095. kan.Volume = 1.25
  6096. end
  6097. if k == "p" and toggleTag == false then
  6098. toggleTag = true
  6099. modet.TextTransparency = 0
  6100. modet.TextStrokeTransparency = 0
  6101. elseif k == "p" and toggleTag == true then
  6102. toggleTag = false
  6103. modet.TextTransparency = 1
  6104. modet.TextStrokeTransparency = 1
  6105. end
  6106. if k == "z" and attack == false and ModeOfGlitch == 1 then
  6107. ExtinctiveHeartbreak()
  6108. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6109. HeavenlyDisk()
  6110. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6111. CorruptionEvent()
  6112. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6113. RapidBurst()
  6114. elseif k == "z" and attack == false and ModeOfGlitch == 103 then
  6115. CardStorm()
  6116. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6117. --DivineLights()
  6118. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6119. EquinoxOrbs()
  6120. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  6121. FallenOrbs()
  6122. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  6123. SHDTwist()
  6124. end
  6125. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  6126. FallenDEMISE()
  6127. end
  6128. if k == "x" and attack == false and ModeOfGlitch == 1 then
  6129. EndGROUND()
  6130. end
  6131. end)
  6132.  
  6133. coroutine.resume(coroutine.create(function()
  6134. while true do
  6135. swait()
  6136. if ModeOfGlitch ~= 102 then
  6137.     blush.Parent = nil
  6138.     blush.Transparency = 1
  6139. elseif ModeOfGlitch == 102 then
  6140.     blush.Parent = hed
  6141.     blush.Transparency = 0
  6142. end
  6143. end
  6144. end))
  6145.  
  6146. coroutine.resume(coroutine.create(function()
  6147. while true do
  6148. swait()
  6149. if ModeOfGlitch == 102 then
  6150. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Deep orange"),0)
  6151. end
  6152. end
  6153. end))
  6154.  
  6155. coroutine.resume(coroutine.create(function()
  6156. while true do
  6157. swait()
  6158. if ModeOfGlitch == 6 or ModeOfGlitch == 3444 or ModeOfGlitch == 103 or ModeOfGlitch == 101 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  6159. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0)
  6160. if ModeOfGlitch == 765688533321 then
  6161. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Really red"),0)
  6162. elseif ModeOfGlitch == 88893333388 then
  6163. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Really blue"),0)
  6164. elseif ModeOfGlitch == 101 then
  6165. sphereMK(7.5,math.random(-50,-15)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),50,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,BrickColor.new("Black"),0)
  6166. elseif ModeOfGlitch == 103 then
  6167.     sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-125,125),-10,math.random(-125,125))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),3,3,50,-0.03,BrickColor.new("Deep orange"),0)
  6168. elseif ModeOfGlitch == 808080808080808080808080 then
  6169.     sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-125,125),-10,math.random(-125,125))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),3,3,50,-0.03,BrickColor.new("Alder"),0)
  6170. end
  6171. end
  6172. end
  6173. end))
  6174. --[[coroutine.resume(coroutine.create(function()
  6175. while true do
  6176. swait(2)
  6177. if chaosmode == true then
  6178. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6179. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6180. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6181. RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  6182. for i, v in pairs(mw1:GetChildren()) do
  6183. if v:IsA("Part") then
  6184. v.Transparency = 0.75
  6185. v.BrickColor = BrickColor.random()
  6186. v.Material = "Neon"
  6187. end
  6188. end
  6189. for i, v in pairs(m2:GetChildren()) do
  6190. if v:IsA("Part") then
  6191. v.BrickColor = BrickColor.random()
  6192. v.Material = "Neon"
  6193. end
  6194. end
  6195. end
  6196. end
  6197. end))]]--
  6198. Humanoid.Name = "STARGLITCHER"
  6199. Humanoid.MaxHealth = math.huge
  6200. Humanoid.Health = math.huge
  6201. Instance.new("ForceField",char).Visible = false
  6202.  
  6203. local bguis = Instance.new("BillboardGui",tors)
  6204. bguis.Size = UDim2.new(25, 0, 25, 0)
  6205. local imgca = Instance.new("ImageLabel",bguis)
  6206. imgca.BackgroundTransparency = 1
  6207. imgca.ImageTransparency = 1
  6208. imgca.Size = UDim2.new(1,0,1,0)
  6209. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  6210. imgca.ImageColor3 = Color3.new(0,0,0)
  6211.  
  6212. idleanim=.4
  6213. while true do
  6214. if mutedtog == false then
  6215. kan.Volume = currentVol
  6216. elseif mutedtog == true then
  6217. kan.Volume = 0
  6218. end
  6219. kan.PlaybackSpeed = currentPitch
  6220. kan.Pitch = currentPitch
  6221. kan.SoundId = currentThemePlaying
  6222. kan.Looped = true
  6223. kan.Parent = char
  6224. kan:Resume()
  6225. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  6226. imgca.ImageTransparency = 1
  6227. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  6228. imgca.ImageColor3 = MAINRUINCOLOR.Color
  6229. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  6230. end
  6231. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/100
  6232. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  6233. coroutine.resume(coroutine.create(function()
  6234.     if CRAZED == true then
  6235.     RecolorTextAndRename("CRAZED",Color3.new(0,0,math.random(0,0.25)),Color3.new(0,0,math.random(0.2,1)),"Code")
  6236.     end
  6237. end))
  6238. coroutine.resume(coroutine.create(function()
  6239.     if chaosmode == true then
  6240. for i, v in pairs(mw1:GetChildren()) do
  6241. if v:IsA("Part") then
  6242. v.Transparency = 0
  6243. v.BrickColor = BrickColor.random()
  6244. v.Material = "Neon"
  6245. end
  6246. end
  6247. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6248. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6249. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6250.     RecolorTextAndRename("CHAOS",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  6251.     end
  6252. end))
  6253. if chaosmode == false then
  6254. modet.Position = UDim2.new(0,0,0,0)
  6255. modet.Rotation = -5 * math.cos(sine / 32)
  6256. techc.Rotation = techc.Rotation + 1
  6257. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/100 - 1
  6258. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/75 + 1
  6259. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/75 + 1
  6260. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/50 - 1
  6261. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  6262. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  6263. else
  6264.     techc.Rotation = techc.Rotation + 1
  6265. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  6266. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  6267. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  6268. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  6269. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  6270. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  6271. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  6272. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  6273. end
  6274. CameraManager()
  6275.  
  6276. swait()
  6277. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 102 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  6278. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6279. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  6280. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  6281. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  6282. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  6283. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  6284. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  6285. elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 then
  6286. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6287. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  6288. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  6289. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  6290. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  6291. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  6292. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  6293. elseif ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 then
  6294. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6295. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  6296. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  6297. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  6298. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  6299. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  6300. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  6301. elseif ModeOfGlitch == 3444 then
  6302. handleweld.C0=clerp(handleweld.C0,cf(0,0,0.25)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6303. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6304. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6305. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6306. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6307. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6308. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60) - math.random(-60,60) * math.cos(sine / 1)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360) - 90 * math.cos(sine / 1))),.3)
  6309. elseif ModeOfGlitch == 102 then
  6310. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6311. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  6312. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  6313. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  6314. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  6315. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  6316. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  6317. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  6318. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  6319. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  6320. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  6321. elseif ModeOfGlitch == 103 then
  6322. handleweld.C0=clerp(handleweld.C0,cf(0,-1.5,-1.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.3)
  6323. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  6324. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  6325. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  6326. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  6327. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  6328. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),1.5)*angles(math.rad(90 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  6329. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  6330. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  6331. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  6332. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  6333. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  6334. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  6335. elseif ModeOfGlitch == 101 then
  6336. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6337. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 + 3600 * math.cos(sine / 360))),.3)
  6338. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 + 3600 * math.cos(sine / 360))),.3)
  6339. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),0.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 + 3600 * math.cos(sine / 360))),.3)
  6340. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(0 - 3600 * math.cos(sine / 720))),.3)
  6341. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(120 - 3600 * math.cos(sine / 720))),.3)
  6342. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 1.5 * math.cos(sine / 360),-0.25 - 0.5 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-120 - 3600 * math.cos(sine / 720))),.3)
  6343. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  6344. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  6345. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  6346. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  6347. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  6348. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  6349. elseif ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 999999999556 then
  6350. handleweld.C0=clerp(handleweld.C0,cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  6351. lwing1weld.C1=clerp(lwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 3600 * math.cos(sine / 360))),.3)
  6352. lwing2weld.C1=clerp(lwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 + 3600 * math.cos(sine / 360))),.3)
  6353. lwing3weld.C1=clerp(lwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 + 3600 * math.cos(sine / 360))),.3)
  6354. rwing1weld.C1=clerp(rwing1weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 + 3600 * math.cos(sine / 360))),.3)
  6355. rwing2weld.C1=clerp(rwing2weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 + 3600 * math.cos(sine / 360))),.3)
  6356. rwing3weld.C1=clerp(rwing3weld.C1,cf(0 + 2.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),0)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 + 3600 * math.cos(sine / 360))),.3)
  6357. lwing4weld.C1=clerp(lwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 - 3600 * math.cos(sine / 360))),.3)
  6358. lwing5weld.C1=clerp(lwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(147.5 - 3600 * math.cos(sine / 360))),.3)
  6359. lwing6weld.C1=clerp(lwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(32.5 - 3600 * math.cos(sine / 360))),.3)
  6360. rwing4weld.C1=clerp(rwing4weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 3600 * math.cos(sine / 360))),.3)
  6361. rwing5weld.C1=clerp(rwing5weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 70)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-147.5 - 3600 * math.cos(sine / 360))),.3)
  6362. rwing6weld.C1=clerp(rwing6weld.C1,cf(0 - 7.5 * math.cos(sine / 180),1.5 + 0.75 * math.cos(sine / 25),-1)*angles(math.rad(0 + 1 * math.cos(sine / 60)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-32.5 - 3600 * math.cos(sine / 360))),.3)
  6363. end
  6364.  sine = sine + change
  6365. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6366. local velderp=RootPart.Velocity.y
  6367. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6368. coroutine.resume(coroutine.create(function()
  6369. if ModeOfGlitch == 6 or ModeOfGlitch == 103 or ModeOfGlitch == 3444 or ModeOfGlitch == 101 or ModeOfGlitch == 8 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 then
  6370. if hitfloor ~= nil then
  6371.     effar.Enabled = true
  6372.     effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6373. 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,50)/250,BrickColor.new("White"))
  6374. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 103 or ModeOfGlitch == 101 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  6375. slash(math.random(75,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(0.01,0.01,0.01),math.random(5,150)/250,MAINRUINCOLOR)
  6376. end
  6377. if ModeOfGlitch == 808080808080808080808080 then
  6378. slash(math.random(75,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(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Alder"))
  6379. elseif ModeOfGlitch == 765688533321  then
  6380. slash(math.random(75,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(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really red"))
  6381. elseif ModeOfGlitch == 103 then
  6382. slash(math.random(75,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(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really black"))
  6383. elseif ModeOfGlitch == 1264532489  then
  6384. slash(math.random(75,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(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Deep orange"))
  6385. elseif ModeOfGlitch == 999999999556  then
  6386. slash(math.random(75,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(0.01,0.01,0.01),math.random(5,350)/250,BrickColor.new("Really blue"))
  6387. end
  6388. elseif hitfloor == nil then
  6389.     effar.Enabled = false
  6390. end
  6391. elseif ModeOfGlitch ~= 6 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 808080808080808080808080 then
  6392.     effar.Enabled = false
  6393. end
  6394. end))
  6395. if equipped==true or equipped==false then
  6396. if attack==false then
  6397. idle=idle+1
  6398. else
  6399. idle=0
  6400. end
  6401. if idle>=500 then
  6402. if attack==false then
  6403. --Sheath()
  6404. end
  6405. end
  6406. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6407. Anim="Jump"
  6408. if attack==false then
  6409. 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)
  6410. 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)
  6411. 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)
  6412. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6413. 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)
  6414. 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)
  6415. end
  6416. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6417. Anim="Fall"
  6418. if attack==false then
  6419. 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)
  6420. 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)
  6421. 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)
  6422. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  6423. 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)
  6424. 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)
  6425. end
  6426. elseif torvel<1 and hitfloor~=nil then
  6427. Anim="Idle"
  6428. if attack==false then
  6429. if ModeOfGlitch == 1 then
  6430. local snap = math.random(1,10)
  6431. if snap == 1 then
  6432. 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)
  6433. end
  6434. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),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)
  6435. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),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)
  6436. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.01 + 0.03 * math.cos(sine / 32),0 + 0.1 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-22 + 2 * math.cos(sine / 56))),.1)
  6437. 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)
  6438. 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)
  6439. 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)
  6440. elseif ModeOfGlitch == 2 then
  6441. 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(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  6442. 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(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  6443. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  6444. 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)
  6445. 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)
  6446. 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)
  6447. elseif ModeOfGlitch == 3 then
  6448. local snap = math.random(1,32)
  6449. if snap == 1 then
  6450. 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)
  6451. end
  6452. 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(1 - 2 * math.cos(sine / 32))),.1)
  6453. 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(-1 + 2 * math.cos(sine / 32))),.1)
  6454. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  6455. 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)
  6456. 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)
  6457. 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)
  6458. elseif ModeOfGlitch == 102 then
  6459. 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(0),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  6460. LH.C0=clerp(LH.C0,cf(-1,-1.1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(-7),math.rad(-90),math.rad(0))*angles(math.rad(5 + 2 * math.cos(sine / 32)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  6461. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.02 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 1 * math.cos(sine / 44))),.1)
  6462. 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 + 7 * math.cos(sine / 53))),.1)
  6463. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  6464. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  6465. elseif ModeOfGlitch == 4 then
  6466. local snap = math.random(1,5)
  6467. if snap == 1 then
  6468. 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)
  6469. 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)
  6470. 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)
  6471. end
  6472. 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(25 - 2 * math.cos(sine / 32))),.1)
  6473. 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(-25 + 2 * math.cos(sine / 32))),.1)
  6474. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6475. 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)
  6476. 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)
  6477. 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)
  6478. elseif ModeOfGlitch == 5 then
  6479. 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(0 - 2 * math.cos(sine / 32))),.1)
  6480. 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(0 + 2 * math.cos(sine / 32))),.1)
  6481. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  6482. 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)
  6483. 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)
  6484. 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)
  6485. elseif ModeOfGlitch == 3444 then
  6486. 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) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(-18 - 5 * math.cos(sine / 32) - 5 * math.cos(sine / 1))),.1)
  6487. 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) - 5 * math.cos(sine / 1)),math.rad(0 - 1 * math.cos(sine / 56) - 5 * math.cos(sine / 1)),math.rad(31 + 8 * math.cos(sine / 38) - 5 * math.cos(sine / 1))),.1)
  6488. 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(-21 - 2 * math.cos(sine / 32) - 5 * math.cos(sine / 1)),math.rad(8 - 5 * math.cos(sine / 1)),math.rad(0 - 5 * math.cos(sine / 1))),.1)
  6489. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(15 - 2.5 * math.cos(sine / 30) - 5 * math.cos(sine / 1)), math.rad(20 - 5 * math.cos(sine / 1)), math.rad(0 - 5 * math.cos(sine / 1))), 0.08)
  6490. 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) - 5 * math.cos(sine / 1)),math.rad(1 - 3 * math.cos(sine / 53) - 5 * math.cos(sine / 1)),math.rad(33 + 10 * math.cos(sine / 73) - 5 * math.cos(sine / 1))),.1)
  6491. 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) - 5 * math.cos(sine / 1)),math.rad(2 - 1 * math.cos(sine / 55) - 5 * math.cos(sine / 1)),math.rad(-27 - 6 * math.cos(sine / 33) - 5 * math.cos(sine / 1))),.1)
  6492. elseif ModeOfGlitch == 664663666 then --verybio
  6493. local snap = math.random(1,5)
  6494. if snap == 1 then
  6495. 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)
  6496. 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)
  6497. end
  6498. 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(25 - 2 * math.cos(sine / 32))),.1)
  6499. 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(-25 + 2 * math.cos(sine / 32))),.1)
  6500. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(25 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6501. 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)
  6502. 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)
  6503. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6504. elseif ModeOfGlitch == 6 then
  6505. 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)
  6506. 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)
  6507. 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)
  6508. 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)
  6509. 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)
  6510. 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)
  6511. elseif ModeOfGlitch == 8 then
  6512. 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)
  6513. 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)
  6514. 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(-20)),.1)
  6515. 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)
  6516. 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)
  6517. 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)
  6518. elseif ModeOfGlitch == 9 then
  6519. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6520. 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))
  6521. 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(-4 - 2 * math.cos(sine / 53)),math.rad(0 - 2 * math.cos(sine / 32))),.1)
  6522. 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(9 - 2 * math.cos(sine / 53)),math.rad(0 + 2 * math.cos(sine / 32))),.1)
  6523. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),-0.1 + 0.05 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 53))),.1)
  6524. 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)
  6525. 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)
  6526. 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)
  6527. elseif ModeOfGlitch == 8889 then
  6528. 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)
  6529. 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)
  6530. 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(-36)),.1)
  6531. 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)
  6532. 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)
  6533. 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)
  6534. elseif ModeOfGlitch == 88893333388 then
  6535. 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 - 9 * math.cos(sine / 51))),.1)
  6536. 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 + 7 * math.cos(sine / 44))),.1)
  6537. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 32),1.5 + 0.25 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  6538. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  6539. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  6540. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  6541. elseif ModeOfGlitch == 103 then
  6542. sphere2(8,"Add",LeftArm.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("Deep orange").Color)
  6543. 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 - 9 * math.cos(sine / 51))),.1)
  6544. 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 + 7 * math.cos(sine / 44))),.1)
  6545. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  6546. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  6547. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  6548. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(149 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-17 - 4 * math.cos(sine / 45))),.1)
  6549. elseif ModeOfGlitch == 808080808080808080808080 then
  6550. 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("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  6551. 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("Alder"),BrickColor.new("Alder").Color)
  6552. 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 - 9 * math.cos(sine / 51))),.1)
  6553. 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 + 7 * math.cos(sine / 44))),.1)
  6554. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 47),0 + 0.25 * math.cos(sine / 35),7 + 1 * math.cos(sine / 32))*angles(math.rad(2 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(13)),.1)
  6555. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(24 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(-13 + 2 * math.cos(sine / 53))),.1)
  6556. RW.C0=clerp(RW.C0,cf(1,0.35 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(68 + 6 * math.cos(sine / 72)),math.rad(3 - 2 * math.cos(sine / 58)),math.rad(-82 + 2 * math.cos(sine / 45))),.1)
  6557. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.5)*angles(math.rad(82 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(67 - 4 * math.cos(sine / 45))),.1)
  6558. elseif ModeOfGlitch == 1264532489 then
  6559. 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)
  6560. 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)
  6561. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6562. 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)
  6563. 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)
  6564. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6565. 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)
  6566. 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)
  6567. 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)
  6568. elseif ModeOfGlitch == 101 then
  6569. 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("Bright bluish green"),BrickColor.new("Bright bluish green").Color)
  6570. 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("Black").Color)
  6571. 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,BrickColor.new("Black"),BrickColor.new("Black").Color)
  6572. 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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6573. 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)
  6574. 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)
  6575. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.25 * math.cos(sine / 43),0 - 0.25 * math.cos(sine / 53),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6576. 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)
  6577. 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)
  6578. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(13 - 7 * math.cos(sine / 66)),math.rad(4 - 3 * math.cos(sine / 59)),math.rad(-23 - 4 * math.cos(sine / 45))),.1)
  6579. elseif ModeOfGlitch == 9999999921111 then
  6580. 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)
  6581. 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)
  6582. 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(-21 - 2 * math.cos(sine / 32)),math.rad(8),math.rad(0)),.1)
  6583. 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)
  6584. 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)
  6585. 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)
  6586. elseif ModeOfGlitch == 4367677813 then
  6587. 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)
  6588. 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)
  6589. 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(10)),.1)
  6590. 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)
  6591. 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)
  6592. 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)
  6593. elseif ModeOfGlitch == 765688533321 then
  6594. local snap = math.random(1,32)
  6595. if snap == 1 then
  6596. 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)
  6597. end
  6598. 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)
  6599. 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)
  6600. 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)
  6601. 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)
  6602. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 50),0 + 0.25 * math.cos(sine / 43),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6603. 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)
  6604. 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)
  6605. 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)
  6606. elseif ModeOfGlitch == 55469696922 then
  6607. 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)
  6608. 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)
  6609. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 50),0 + 0.25 * math.cos(sine / 43),6 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6610. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6611. 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)
  6612. 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)
  6613. elseif ModeOfGlitch == 664663666 then
  6614. local snap = math.random(1,32)
  6615. if snap == 1 then
  6616. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(32 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  6617. end
  6618. 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(-4 - 7 * math.cos(sine / 39))),.1)
  6619. 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 + 8 * math.cos(sine / 31))),.1)
  6620. 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(32 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  6621. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6622. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 + 6 * math.cos(sine / 72)),math.rad(2 - 4 * math.cos(sine / 58)),math.rad(14 + 1 * math.cos(sine / 45))),.1)
  6623. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(32 - 7 * math.cos(sine / 66)),math.rad(6 - 5 * math.cos(sine / 59)),math.rad(-9 - 3 * math.cos(sine / 45))),.1)
  6624. elseif ModeOfGlitch == 999999999556 then
  6625. 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)
  6626. 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)
  6627. 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)
  6628. 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)
  6629. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.25 * math.cos(sine / 47),0 - 0.25 * math.cos(sine / 40),7 + 1 * math.cos(sine / 32))*angles(math.rad(0 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(17)),.1)
  6630. 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)
  6631. 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)
  6632. 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)
  6633. end
  6634. end
  6635. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6636. Anim="Walk"
  6637. if attack==false then
  6638. if ModeOfGlitch ~= 102 then
  6639. 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)
  6640. 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)
  6641. 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)
  6642. 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)
  6643. 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)
  6644. 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)
  6645. elseif ModeOfGlitch == 102 then
  6646. 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)
  6647. 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)
  6648. 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)
  6649. 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)
  6650. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  6651. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.25)*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)
  6652. end
  6653. end
  6654. elseif torvel>=22 and hitfloor~=nil then
  6655. Anim="Run"
  6656. if attack==false then
  6657. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 103 and ModeOfGlitch ~= 3444 and ModeOfGlitch ~= 101 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  6658. 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)
  6659. 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)
  6660. 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)
  6661. 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)
  6662. 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)
  6663. 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)
  6664. if ModeOfGlitch == 9 then
  6665.     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,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6666. 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))
  6667. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  6668. end
  6669. elseif ModeOfGlitch == 6 or ModeOfGlitch == 3444 or ModeOfGlitch == 8 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 then
  6670. 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)
  6671. 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)
  6672. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,1 + 0.25 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  6673. 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)
  6674. 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)
  6675. 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)
  6676. elseif ModeOfGlitch == 103 then
  6677. 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)
  6678. 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)
  6679. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,6.5 + 0.25 * math.cos(sine / 28))*angles(math.rad(40),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  6680. 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)
  6681. 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)
  6682. 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)
  6683. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 101 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 808080808080808080808080 then
  6684. 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)
  6685. 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)
  6686. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,6.5 + 0.25 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.05)
  6687. 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)
  6688. 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)
  6689. 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)
  6690. if ModeOfGlitch == 765688533321 or ModeOfGlitch == 101 then
  6691. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  6692. end
  6693. end
  6694. end
  6695. end
  6696. end
  6697. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement