Advertisement
Guest User

Ball

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