Advertisement
Guest User

Untitled

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