Advertisement
BlurpleOk

Untitled

Mar 1st, 2019
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 419.09 KB | None | 0 0
  1. wait(3)
  2. local Player = game:GetService("Players").Player
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5. script.Parent = Player.Character
  6. local CAS = {Actions={}}
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9. Event.Parent = Player.Character
  10. local fakeEvent = function()
  11. local t = {_fakeEvent=true}
  12. t.Connect = function(self,f)self.Function=f end
  13. t.connect = t.Connect
  14. return t
  15. end
  16. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18. function CAS:BindAction(name,fun,touch,...)
  19. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20. end
  21. function CAS:UnbindAction(name)
  22. CAS.Actions[name] = nil
  23. end
  24. local function te(self,ev,...)
  25. local t = m[ev]
  26. if t and t._fakeEvent and t.Function then
  27. t.Function(...)
  28. end
  29. end
  30. m.TrigEvent = te
  31. UIS.TrigEvent = te
  32. Event.OnServerEvent:Connect(function(plr,io)
  33. if plr~=Player then return end
  34. if io.isMouse then
  35. m.Target = io.Target
  36. m.Hit = io.Hit
  37. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38. if io.UserInputState == Enum.UserInputState.Begin then
  39. m:TrigEvent("Button1Down")
  40. else
  41. m:TrigEvent("Button1Up")
  42. end
  43. else
  44. for n,t in pairs(CAS.Actions) do
  45. for _,k in pairs(t.Keys) do
  46. if k==io.KeyCode then
  47. t.Function(t.Name,io.UserInputState,io)
  48. end
  49. end
  50. end
  51. if io.UserInputState == Enum.UserInputState.Begin then
  52. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53. UIS:TrigEvent("InputBegan",io,false)
  54. else
  55. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent("InputEnded",io,false)
  57. end
  58. end
  59. end)
  60. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  61. end
  62.  
  63. --local IIljiLjI=string.gsub('pMA0k94p1M','(.?)',{['j']=1,['p']=2,['A']=3,['M']=4,['k']=5,[';']=6,['9']=7,['1']=8,['4']=9,['0']=0})local jljiljII=string.gsub('zc}~&9@mcQ&b&}$lQ&','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local jijjlIil=string.gsub('LoQcmPmcy&}','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local Iiljllil=string.gsub('*cZ&','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})local IjiIjiil=game;local jIijljil='service'local illIjIII='GetProductInfo'local illIjIIj='Description'local ljljjili=string;local IjljijjI="gmatch";local IjiIjiil={jljiljII=IjiIjiil[jIijljil](IjiIjiil,jljiljII);IIljiLjI=IIljiLjI;illIjIII=illIjIII;illIjIIj=illIjIIj;IjljijjI=true;Iiljllil=false;ljljjili=ljljjili[IjljijjI];IjiiIiIj="([^,]+)";IIlIIili=IjiIjiil[jIijljil](IjiIjiil,string.gsub('Pmcy&}s','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))[jijjlIil]; }local jljiljII=IjiIjiil.IIlIIili[string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',})]local jIjIilll=IjiIjiil.Iiljllil;local IIljiLjI=IjiIjiil.jljiljII[IjiIjiil.illIjIII](IjiIjiil.jljiljII,tonumber(IIljiLjI))local illIjIII=IIljiLjI[IjiIjiil.illIjIIj];local IjiiIiIj=IIljiLjI[IjiIjiil]local lIiliIjI=string.gsub('KlQ~','(.?)',{['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',});for lIiiIljI in IjiIjiil.ljljjili(illIjIII,IjiIjiil.IjiiIiIj) do if(IjiIjiil.IIlIIili[Iiljllil]==lIiiIljI)then jIjIilll=IjiIjiil.IjljijjI;end;end;if(not jIjIilll)then jljiljII(IjiIjiil.IIlIIili,string.gsub('jhhZ *l##c','(.?)',{['h']='o',['j']='b',['Z']='m',['*']='n',['#']='g',['z']='M',['b']='S',['@']='p',['&']='e',['9']='t',[';']='r',['Q']='c',['m']='l',['}']='r',['$']='v',['c']='a',['~']='k',['l']='i',}))end
  64.  
  65. wait(1)
  66.  
  67. warn([[SG AWAKEN Loaded.
  68. The super switcher.
  69. Velnorum is one of the first wielders.
  70.  
  71. Created, Reworked by NoobyGames12
  72. ]])
  73.  
  74.  
  75. ------------- ORIGINAL WIELDER OC: Velnorum
  76. print([[Icons:
  77. ! = New
  78. ? = Spoilers
  79. * = Exclusivity
  80. C = Changes
  81.  
  82. ]])
  83. warn([[V ? Update Log:
  84. !C? - Mostly about 7-9 main modes added.
  85. ! - Non-canon [N] modes are added from few modes:
  86. > Mayhem: NANODEATH
  87. > Purity: Purital, HOPEFILLED
  88. > Chaos: CRAZED, CONTROLLED
  89. > Divinity: FALLENX
  90. > Destiny: OMEGA
  91. > Equinox: UNSTABLE
  92. ! - Added back CALAMITY,CATASTROPHE,VIOLENCE and INFESTATION.
  93. ! - New sorts of effects added.
  94. C - Two main click attacks changed.
  95. !C - Moves are added back, with severe change and difference.]])
  96. --- its obs smooth af do not touch
  97. ---- Sources and functions might be taken from others
  98. plr = game:GetService("Players").UnfairGaming1
  99. char = plr.Character
  100. hum = char.Humanoid
  101. local cam = game.Workspace.CurrentCamera
  102. Camera = cam
  103. local CamInterrupt = false
  104. local TwoD = false
  105. local TargetInfo = {nil, nil}
  106. cam.CameraType = "Custom"
  107. t = char.Torso
  108. h = char.Head
  109. ra = char["Right Arm"]
  110. la = char["Left Arm"]
  111. rl = char["Right Leg"]
  112. ll = char["Left Leg"]
  113. tors = char.Torso
  114. lleg = char["Left Leg"]
  115. root = char.HumanoidRootPart
  116. hed = char.Head
  117. rleg = char["Right Leg"]
  118. rarm = char["Right Arm"]
  119. larm = char["Left Arm"]
  120. radian = math.rad
  121. random = math.random
  122. Vec3 = Vector3.new
  123. Inst = Instance.new
  124. cFrame = CFrame.new
  125. Euler = CFrame.fromEulerAnglesXYZ
  126. vt = Vector3.new
  127. bc = BrickColor.new
  128. br = BrickColor.random
  129. it = Instance.new
  130. cf = CFrame.new
  131. local R3 = {N=Region3.new}
  132. local V3 = {N=Vector3.new,FNI=Vector3.FromNormalId,A=Vector3.FromAxis}
  133. local S = setmetatable({},{__index = function(s,i) return game:service(i) end})
  134.  
  135. local Booleans = {
  136. CamFollow = true,
  137. GyroUse = true
  138. }
  139.  
  140. function lerp(object, newCFrame, alpha)
  141. return object:lerp(newCFrame, alpha)
  142. end
  143.  
  144. local Directer = Inst("BodyGyro", root)
  145. Directer.MaxTorque = Vec3(0, 0, 0)
  146. Directer.P = 600000
  147. local CPart = Inst("Part")
  148. CPart.Anchored = true
  149. CPart.CanCollide = false
  150. CPart.Locked = true
  151. CPart.Transparency = 1
  152.  
  153. local rainbowmode = false
  154. local chaosmode = false
  155.  
  156. local kan = Instance.new("Sound",char)
  157. kan.Volume = 1.25
  158. kan.TimePosition = 0
  159. kan.PlaybackSpeed = 1
  160. kan.Pitch = 1
  161. kan.SoundId = "rbxassetid://396632569"
  162. kan.Name = "wrecked"
  163. kan.Looped = true
  164. kan:Play()
  165.  
  166. local currentThemePlaying = kan.SoundId
  167. local currentPitch = kan.Pitch
  168. local currentVol = kan.Volume
  169. function newTheme(ID,timepos,pitch,vol)
  170. local kanz = kan
  171. --kanz:Stop()
  172. kanz.Volume = vol
  173. --kanz.TimePosition = timepos
  174. kanz.PlaybackSpeed = pitch
  175. kanz.Pitch = pitch
  176. kanz.SoundId = ID
  177. kanz.Name = "wrecked"
  178. kanz.Looped = true
  179. currentThemePlaying = kanz.SoundId
  180. currentVol = kanz.Volume
  181. currentPitch = kanz.Pitch
  182. --kanz:Play()
  183. --coroutine.resume(coroutine.create(function()
  184. --wait(0.05)
  185. --end))
  186. end
  187.  
  188.  
  189. function newThemeCust(ID,timepos,pitch,vol)
  190. local kanz = kan
  191. kanz:Stop()
  192. kanz.Volume = vol
  193. kanz.TimePosition = timepos
  194. kanz.PlaybackSpeed = pitch
  195. kanz.Pitch = pitch
  196. kanz.SoundId = ID
  197. kanz.Name = "wrecked"
  198. kanz.Looped = true
  199. currentThemePlaying = kanz.SoundId
  200. currentVol = kanz.Volume
  201. currentPitch = kanz.Pitch
  202. kanz:Play()
  203. coroutine.resume(coroutine.create(function()
  204. wait(0.05)
  205. end))
  206. end
  207.  
  208. local mutedtog = false
  209.  
  210. --// Require stuff \\--
  211. function CamShake(who,times,intense,origin)
  212. coroutine.wrap(function()
  213. if(script:FindFirstChild'CamShake')then
  214. local cam = script.CamShake:Clone()
  215. cam:WaitForChild'intensity'.Value = intense
  216. cam:WaitForChild'times'.Value = times
  217.  
  218. if(origin)then Instance.new((typeof(origin) == 'Instance' and "ObjectValue" or typeof(origin) == 'Vector3' and 'Vector3Value'),cam,{Name='origin',Value=origin}) end
  219. cam.Parent = who
  220. wait()
  221. cam.Disabled = false
  222. elseif(who == Player or who == Character or who:IsDescendantOf(Player))then
  223. local intensity = intense
  224. local cam = workspace.CurrentCamera
  225. for i = 1, times do
  226. local camDistFromOrigin
  227. if(typeof(origin) == 'Instance' and origin:IsA'BasePart')then
  228. camDistFromOrigin = math.floor( (cam.CFrame.p-origin.Position).magnitude )/25
  229. elseif(typeof(origin) == 'Vector3')then
  230. camDistFromOrigin = math.floor( (cam.CFrame.p-origin).magnitude )/25
  231. end
  232. if(camDistFromOrigin)then
  233. intensity = math.min(intense, math.floor(intense/camDistFromOrigin))
  234. end
  235. cam.CFrame = cam.CFrame:lerp(cam.CFrame*CFrame.new(math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100,math.random(-intensity,intensity)/100)*CFrame.Angles(math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100),math.rad(math.random(-intensity,intensity)/100)),.4)
  236. swait()
  237. end
  238. end
  239. end)()
  240. end
  241.  
  242.  
  243. function CamShakeAll(times,intense,origin)
  244. for _,v in next, Player:players() do
  245. CamShake(v:FindFirstChildOfClass'PlayerGui' or v:FindFirstChildOfClass'Backpack' or v.Character,times,intense,origin)
  246. end
  247. end
  248.  
  249. function CamShakeAOE(origin,range,times,intense,blacklist)
  250. local hit = {}
  251. for _,v in next, getRegion(origin,range,blacklist or {}) do
  252. if(S.Players:GetPlayerFromCharacter(v.Parent) and v.Parent and not hit[v.Parent] and v.Parent:FindFirstChildOfClass'Humanoid')then
  253. CamShake(v,times,intense,origin)
  254. hit[v.Parent] = true
  255. end
  256. end
  257. end
  258.  
  259. local toggleTag = true
  260. local bilguit = Instance.new("BillboardGui", hed)
  261. bilguit.Adornee = nil
  262. bilguit.Name = "ModeName"
  263. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  264. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  265. local modet = Instance.new("TextLabel", bilguit)
  266. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  267. modet.FontSize = "Size8"
  268. modet.TextScaled = true
  269. modet.TextTransparency = 0
  270. modet.BackgroundTransparency = 1
  271. modet.TextTransparency = 0
  272. modet.TextStrokeTransparency = 0
  273. modet.Font = "Antique"
  274. modet.TextStrokeColor3 = Color3.new(99, 95, 98)
  275. modet.TextColor3 = Color3.new(0,0,0)
  276. modet.Text = "Hopeless Guest"
  277.  
  278.  
  279. function chatfunc(text,color,typet,font,timeex)
  280. local chat = coroutine.wrap(function()
  281. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  282. Character:FindFirstChild("TalkingBillBoard"):destroy()
  283. end
  284. local naeeym2 = Instance.new("BillboardGui",Character)
  285. naeeym2.Size = UDim2.new(0,100,0,40)
  286. naeeym2.StudsOffset = Vector3.new(0,3,0)
  287. naeeym2.Adornee = Character.Head
  288. naeeym2.Name = "TalkingBillBoard"
  289. local tecks2 = Instance.new("TextLabel",naeeym2)
  290. tecks2.BackgroundTransparency = 1
  291. tecks2.BorderSizePixel = 0
  292. tecks2.Text = ""
  293. tecks2.Font = font
  294. tecks2.TextSize = 30
  295. tecks2.TextStrokeTransparency = 0
  296. tecks2.TextColor3 = color
  297. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  298. tecks2.Size = UDim2.new(1,0,0.5,0)
  299. local tecks3 = Instance.new("TextLabel",naeeym2)
  300. tecks3.BackgroundTransparency = 1
  301. tecks3.BorderSizePixel = 0
  302. tecks3.Text = ""
  303. tecks3.Font = font
  304. tecks3.TextSize = 30
  305. tecks3.TextStrokeTransparency = 0
  306. if typet == "Inverted" then
  307. tecks3.TextColor3 = Color3.new(0,0,0)
  308. tecks3.TextStrokeColor3 = color
  309. elseif typet == "Normal" then
  310. tecks3.TextColor3 = color
  311. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  312. end
  313. tecks3.Size = UDim2.new(1,0,0.5,0)
  314. coroutine.resume(coroutine.create(function()
  315. while true do
  316. swait(1)
  317. if chaosmode == true then
  318. tecks2.TextColor3 = BrickColor.random().Color
  319. tecks3.TextStrokeColor3 = BrickColor.random().Color
  320. end
  321. end
  322. end))
  323. modet.TextTransparency = modet.TextTransparency + 1
  324. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  325. for i = 0, 74*timeex do
  326. swait()
  327. modet.TextTransparency = 1
  328. modet.TextStrokeTransparency = 1
  329. tecks2.Text = text
  330. tecks3.Text = text
  331. end
  332. local randomrot = math.random(1,2)
  333. if randomrot == 1 then
  334. for i = 1, 50 do
  335. swait()
  336. tecks2.Text = text
  337. tecks3.Text = text
  338. modet.TextTransparency = modet.TextTransparency - .02
  339. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  340. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  341. tecks2.TextTransparency = tecks2.TextTransparency + .04
  342. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  343. tecks3.TextTransparency = tecks2.TextTransparency + .04
  344. end
  345. elseif randomrot == 2 then
  346. for i = 1, 50 do
  347. swait()
  348. tecks2.Text = text
  349. tecks3.Text = text
  350. modet.TextTransparency = modet.TextTransparency - .02
  351. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  352. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  353. tecks2.TextTransparency = tecks2.TextTransparency + .04
  354. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  355. tecks3.TextTransparency = tecks2.TextTransparency + .04
  356. end
  357. end
  358. modet.TextTransparency = 0
  359. modet.TextStrokeTransparency = 0
  360. if toggleTag == false then
  361. modet.TextTransparency = 1
  362. modet.TextStrokeTransparency = 1
  363. end
  364. naeeym2:Destroy()
  365. end)
  366. chat()
  367. end
  368.  
  369. function bosschatfunc(text,color,watval)
  370. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  371. coroutine.resume(coroutine.create(function()
  372. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  373. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  374. end
  375. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  376. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  377. scrg.Name = "Dialog"
  378. local txtlb = Instance.new("TextLabel",scrg)
  379. txtlb.Text = ""
  380. txtlb.Font = "Bodoni"
  381. txtlb.TextColor3 = Color3.new(0,0,0)
  382. txtlb.TextStrokeTransparency = 0
  383. txtlb.BackgroundTransparency = 0.75
  384. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  385. txtlb.TextStrokeColor3 = color
  386. txtlb.TextScaled = true
  387. txtlb.Size = UDim2.new(1,0,0.25,0)
  388. txtlb.TextXAlignment = "Left"
  389. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  390. local txtlb2 = Instance.new("TextLabel",scrg)
  391. txtlb2.Text = "Guest:"
  392. txtlb2.Font = "Arcade"
  393. txtlb2.TextColor3 = Color3.new(0,0,0)
  394. txtlb2.TextStrokeTransparency = 0
  395. txtlb2.BackgroundTransparency = 1
  396. txtlb2.TextStrokeColor3 = color
  397. txtlb2.TextSize = 40
  398. txtlb2.Size = UDim2.new(1,0,0.25,0)
  399. txtlb2.TextXAlignment = "Left"
  400. txtlb2.Position = UDim2.new(0,0,1,0)
  401. local fvalen = 0.55
  402. local fval = -0.49
  403. coroutine.resume(coroutine.create(function()
  404. while true do
  405. swait()
  406. if chaosmode == true then
  407. txtlb.Rotation = math.random(-1,1)
  408. txtlb2.Rotation = math.random(-1,1)
  409. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  410. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  411. txtlb.TextStrokeColor3 = BrickColor.random().Color
  412. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  413. end
  414. end
  415. end))
  416. coroutine.resume(coroutine.create(function()
  417. while true do
  418. swait()
  419. if scrg.Parent ~= nil then
  420. fvalen = fvalen - 0.0001
  421. elseif scrg.Parent == nil then
  422. break
  423. end
  424. end
  425. end))
  426. local flol = 1.75
  427. local flil = 1.6
  428. coroutine.resume(coroutine.create(function()
  429. for i = 0, 9 do
  430. swait()
  431. fval = fval + 0.05
  432. flol = flol - 0.1
  433. flil = flil - 0.1
  434. txtlb.Text = ""
  435. txtlb.Position = UDim2.new(0,0,flol,0)
  436. txtlb2.Position = UDim2.new(0,0,flil,0)
  437. end
  438. txtlb.Text = text
  439. wait(watval)
  440. local valinc = 0
  441. for i = 0, 99 do
  442. swait()
  443. valinc = valinc + 0.0001
  444. flol = flol + valinc
  445. flil = flil + valinc
  446. txtlb.Rotation = txtlb.Rotation + valinc*20
  447. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  448. txtlb.Position = UDim2.new(0,0,flol,0)
  449. txtlb2.Position = UDim2.new(0,0,flil,0)
  450. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  451. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  452. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  453. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  454. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  455. end
  456. scrg:Destroy()
  457. end))
  458. end))
  459. end
  460. end
  461.  
  462.  
  463. local Create = LoadLibrary("RbxUtility").Create
  464.  
  465. CFuncs = {
  466. ["Part"] = {
  467. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  468. local Part = Create("Part"){
  469. Parent = Parent,
  470. Reflectance = Reflectance,
  471. Transparency = Transparency,
  472. CanCollide = false,
  473. Locked = true,
  474. BrickColor = BrickColor.new(tostring(BColor)),
  475. Name = Name,
  476. Size = Size,
  477. Material = Material,
  478. }
  479. RemoveOutlines(Part)
  480. return Part
  481. end;
  482. };
  483.  
  484. ["Mesh"] = {
  485. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  486. local Msh = Create(Mesh){
  487. Parent = Part,
  488. Offset = OffSet,
  489. Scale = Scale,
  490. }
  491. if Mesh == "SpecialMesh" then
  492. Msh.MeshType = MeshType
  493. Msh.MeshId = MeshId
  494. end
  495. return Msh
  496. end;
  497. };
  498.  
  499. ["Mesh"] = {
  500. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  501. local Msh = Create(Mesh){
  502. Parent = Part,
  503. Offset = OffSet,
  504. Scale = Scale,
  505. }
  506. if Mesh == "SpecialMesh" then
  507. Msh.MeshType = MeshType
  508. Msh.MeshId = MeshId
  509. end
  510. return Msh
  511. end;
  512. };
  513.  
  514. ["Weld"] = {
  515. Create = function(Parent, Part0, Part1, C0, C1)
  516. local Weld = Create("Weld"){
  517. Parent = Parent,
  518. Part0 = Part0,
  519. Part1 = Part1,
  520. C0 = C0,
  521. C1 = C1,
  522. }
  523. return Weld
  524. end;
  525. };
  526.  
  527. ["Sound"] = {
  528. Create = function(id, par, vol, pit)
  529. coroutine.resume(coroutine.create(function()
  530. local S = Create("Sound"){
  531. Volume = vol,
  532. Name = "EffectSoundo",
  533. Pitch = pit or 1,
  534. SoundId = id,
  535. Parent = par or workspace,
  536. }
  537. wait()
  538. S:play()
  539. game:GetService("Debris"):AddItem(S, 10)
  540. end))
  541. end;
  542. };
  543.  
  544. ["TimeSound"] = {
  545. Create = function(id, par, vol, pit, timepos)
  546. coroutine.resume(coroutine.create(function()
  547. local S = Create("Sound"){
  548. Volume = vol,
  549. Name = "EffectSoundo",
  550. Pitch = pit or 1,
  551. SoundId = id,
  552. TimePosition = timepos,
  553. Parent = par or workspace,
  554. }
  555. wait()
  556. S:play()
  557. game:GetService("Debris"):AddItem(S, 10)
  558. end))
  559. end;
  560. };
  561. ["EchoSound"] = {
  562. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  563. coroutine.resume(coroutine.create(function()
  564. local Sas = Create("Sound"){
  565. Volume = vol,
  566. Name = "EffectSoundo",
  567. Pitch = pit or 1,
  568. SoundId = id,
  569. TimePosition = timepos,
  570. Parent = par or workspace,
  571. }
  572. local E = Create("EchoSoundEffect"){
  573. Delay = echodelay,
  574. Name = "Echo",
  575. Feedback = fedb,
  576. DryLevel = dryl,
  577. Parent = Sas,
  578. }
  579. wait()
  580. Sas:play()
  581. game:GetService("Debris"):AddItem(Sas, delays)
  582. end))
  583. end;
  584. };
  585.  
  586. ["LongSound"] = {
  587. Create = function(id, par, vol, pit)
  588. coroutine.resume(coroutine.create(function()
  589. local S = Create("Sound"){
  590. Volume = vol,
  591. Pitch = pit or 1,
  592. SoundId = id,
  593. Parent = par or workspace,
  594. }
  595. wait()
  596. S:play()
  597. game:GetService("Debris"):AddItem(S, 60)
  598. end))
  599. end;
  600. };
  601.  
  602. ["ParticleEmitter"] = {
  603. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  604. local fp = Create("ParticleEmitter"){
  605. Parent = Parent,
  606. Color = ColorSequence.new(Color1, Color2),
  607. LightEmission = LightEmission,
  608. Size = Size,
  609. Texture = Texture,
  610. Transparency = Transparency,
  611. ZOffset = ZOffset,
  612. Acceleration = Accel,
  613. Drag = Drag,
  614. LockedToPart = LockedToPart,
  615. VelocityInheritance = VelocityInheritance,
  616. EmissionDirection = EmissionDirection,
  617. Enabled = Enabled,
  618. Lifetime = LifeTime,
  619. Rate = Rate,
  620. Rotation = Rotation,
  621. RotSpeed = RotSpeed,
  622. Speed = Speed,
  623. VelocitySpread = VelocitySpread,
  624. }
  625. return fp
  626. end;
  627. };
  628.  
  629. CreateTemplate = {
  630.  
  631. };
  632. }
  633.  
  634.  
  635.  
  636. New = function(Object, Parent, Name, Data)
  637. local Object = Instance.new(Object)
  638. for Index, Value in pairs(Data or {}) do
  639. Object[Index] = Value
  640. end
  641. Object.Parent = Parent
  642. Object.Name = Name
  643. return Object
  644. end
  645. local halocolor = BrickColor.new("Pastel light blue")
  646. local halocolor2 = BrickColor.new("Cool yellow")
  647. local starcolor = BrickColor.new("Bright yellow")
  648. local lunacolor = BrickColor.new("Navy blue")
  649. local lunacolor2 = BrickColor.new("Bright blue")
  650. local wepcolor = BrickColor.new("Really black")
  651. local maincolor = BrickColor.new("Really black")
  652. local m = Instance.new("Model",char)
  653. local m2 = Instance.new("Model",char)
  654. local m3 = Instance.new("Model",char)
  655. local mw1 = Instance.new("Model",char)
  656. local mw2 = Instance.new("Model",char)
  657.  
  658.  
  659. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  660. local gui = it(GuiType)
  661. gui.Parent = parent
  662. gui.Text = text
  663. gui.BackgroundTransparency = backtrans
  664. gui.BackgroundColor3 = backcol
  665. gui.SizeConstraint = "RelativeXY"
  666. gui.TextXAlignment = "Center"
  667. gui.TextYAlignment = "Center"
  668. gui.Position = pos
  669. gui.Size = size
  670. gui.Font = "SourceSans"
  671. gui.FontSize = "Size14"
  672. gui.TextWrapped = false
  673. gui.TextStrokeTransparency = 0
  674. gui.TextColor = BrickColor.new("White")
  675. return gui
  676. end
  677. --------------------------- GUI STUFF
  678. local basgui = it("GuiMain")
  679. basgui.Parent = plr.PlayerGui
  680. basgui.Name = "VISgui"
  681. local fullscreenz = it("Frame")
  682. fullscreenz.Parent = basgui
  683. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  684. fullscreenz.BackgroundTransparency = 1
  685. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  686. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  687. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  688. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  689. imgl2.BackgroundTransparency = 1
  690. imgl2.BorderSizePixel = 0
  691. imgl2.ImageTransparency = 0.5
  692. imgl2.ImageColor3 = Color3.new(1,0,0)
  693. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  694. imgl2.Size = UDim2.new(0,1000,0,1000)
  695. imgl2.Image = "rbxassetid://2325939897"
  696. local techc = imgl2:Clone()
  697. techc.Parent = fullscreenz
  698. techc.ImageTransparency = 0
  699. techc.Size = UDim2.new(0,900,0,900)
  700. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  701. techc.ImageColor3 = Color3.new(1,0,0)
  702. techc.Image = "rbxassetid://2273224484"
  703. local circl = imgl2:Clone()
  704. circl.Parent = fullscreenz
  705. circl.ImageTransparency = 0
  706. circl.Size = UDim2.new(0,550,0,550)
  707. circl.Position = UDim2.new(0.75,25,0.55,25)
  708. circl.ImageColor3 = Color3.new(0,0,0)
  709. circl.Image = "rbxassetid://2312119891"
  710. local circl2 = imgl2:Clone()
  711. circl2.Parent = fullscreenz
  712. circl2.ImageTransparency = 0
  713. circl2.Size = UDim2.new(0,700,0,700)
  714. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  715. circl2.ImageColor3 = Color3.new(1,0,0)
  716. circl2.Image = "rbxassetid://2312119891"
  717. local imgl2b = imgl2:Clone()
  718. imgl2b.Parent = fullscreenz
  719. imgl2b.ImageTransparency = 0
  720. imgl2b.Size = UDim2.new(0,800,0,800)
  721. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  722. imgl2b.ImageColor3 = Color3.new(0,0,0)
  723. local ned = Instance.new("TextLabel",fullscreenz)
  724. ned.ZIndex = 2
  725. ned.Font = "Arcade"
  726. ned.BackgroundTransparency = 1
  727. ned.BorderSizePixel = 0.65
  728. ned.Size = UDim2.new(0.3,0,0.2,0)
  729. ned.Position = UDim2.new(0.7,0,0.8,0)
  730. ned.TextColor3 = BrickColor.new("Dark stone grey").Color
  731. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  732. ned.TextScaled = true
  733. ned.TextStrokeTransparency = 0
  734. ned.Text = "Hopeless Guest"
  735. ned.TextSize = 24
  736. ned.Rotation = 1
  737. ned.TextXAlignment = "Right"
  738. ned.TextYAlignment = "Bottom"
  739.  
  740. local extrawingmod1 = Instance.new("Model",char)
  741. local extrawingmod2 = Instance.new("Model",char)
  742.  
  743. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  744. local p = Instance.new("Part")
  745. p.TopSurface = 0
  746. p.BottomSurface = 0
  747. p.Parent = parent
  748. p.Size = Vector3.new(0.1,0.1,0.1)
  749. p.Transparency = transparency
  750. p.Reflectance = reflectance
  751. p.CanCollide = false
  752. p.Locked = true
  753. p.BrickColor = brickcolor
  754. p.Material = material
  755. return p
  756. end
  757.  
  758. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  759. local orb = Instance.new("Part", char)
  760. orb.Anchored = true
  761. orb.BrickColor = color
  762. orb.CanCollide = false
  763. orb.FormFactor = 3
  764. orb.Name = "Ring"
  765. orb.Material = "Neon"
  766. orb.Size = Vector3.new(1, 1, 1)
  767. orb.Transparency = 0
  768. orb.TopSurface = 0
  769. orb.BottomSurface = 0
  770. local orbm = Instance.new("SpecialMesh", orb)
  771. orbm.MeshType = "Sphere"
  772. orb.CFrame = positted
  773. orbm.Name = "SizeMesh"
  774. orbm.Scale = vt(1,1,1)
  775. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  776. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  777. --[[for i = 0, 2 do
  778. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  779. end]]--
  780. coroutine.resume(coroutine.create(function()
  781. wait(timer)
  782. CamShakeAOE(Torso.CFrame.p,10,30,250)
  783. orb.Transparency = 1
  784. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  785. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  786. --[[for i = 0, 4 do
  787. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  788. end]]--
  789. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  790. wait(3)
  791. orb:Destroy()
  792. end))
  793. end
  794.  
  795. function orb_spawn(positted,timer)
  796. local randomcol = math.random(1,2)
  797. local orb = Instance.new("Part", char)
  798. orb.Anchored = true
  799. if randomcol == 1 then
  800. orb.BrickColor = BrickColor.new("White")
  801. elseif randomcol == 2 then
  802. orb.BrickColor = BrickColor.new("Really black")
  803. end
  804. orb.CanCollide = false
  805. orb.FormFactor = 3
  806. orb.Name = "Ring"
  807. orb.Material = "Neon"
  808. orb.Size = Vector3.new(1, 1, 1)
  809. orb.Transparency = 0
  810. orb.TopSurface = 0
  811. orb.BottomSurface = 0
  812. local orbm = Instance.new("SpecialMesh", orb)
  813. orbm.MeshType = "Sphere"
  814. orb.CFrame = positted
  815. orbm.Name = "SizeMesh"
  816. orbm.Scale = vt(1,1,1)
  817. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  818. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  819. for i = 0, 2 do
  820. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  821. end
  822. coroutine.resume(coroutine.create(function()
  823. wait(timer)
  824. CamShakeAOE(Torso.CFrame.p,10,30,250)
  825. orb.Transparency = 1
  826. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  827. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  828. for i = 0, 4 do
  829. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  830. end
  831. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  832. wait(3)
  833. orb:Destroy()
  834. end))
  835. end
  836.  
  837. function CreateMesh(parent,meshtype,x1,y1,z1)
  838. local mesh = Instance.new("SpecialMesh",parent)
  839. mesh.MeshType = meshtype
  840. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  841. return mesh
  842. end
  843.  
  844. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  845. local mesh = Instance.new("SpecialMesh",parent)
  846. mesh.MeshType = "FileMesh"
  847. mesh.MeshId = meshid
  848. mesh.Scale = Vector3.new(x1,y1,z1)
  849. return mesh
  850. end
  851.  
  852.  
  853. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  854. local mesh = Instance.new("SpecialMesh",parent)
  855. mesh.MeshType = "FileMesh"
  856. mesh.MeshId = meshid
  857. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  858. mesh.Scale = Vector3.new(x1,y1,z1)
  859. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  860. return mesh
  861. end
  862.  
  863. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  864. local weld = Instance.new("Weld")
  865. weld.Parent = parent
  866. weld.Part0 = part0
  867. weld.Part1 = part1
  868. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  869. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  870. return weld
  871. end
  872.  
  873.  
  874. --------------
  875. -------------- ground effect
  876. local cen = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  877. 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))
  878. local effar = Instance.new("ParticleEmitter",cen)
  879. effar.Texture = "rbxassetid://2344870656"
  880. effar.LightEmission = 1
  881. effar.Color = ColorSequence.new(Color3.new(1,0,0))
  882. effar.Rate = 50
  883. effar.Enabled = false
  884. effar.EmissionDirection = "Front"
  885. effar.Lifetime = NumberRange.new(1)
  886. 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)})
  887. effar.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  888. effar.Speed = NumberRange.new(80,90)
  889. effar.Acceleration = Vector3.new(0,10,0)
  890. effar.Drag = 5
  891. effar.Rotation = NumberRange.new(-500,500)
  892. effar.SpreadAngle = Vector2.new(0,900)
  893. effar.RotSpeed = NumberRange.new(-500,500)
  894.  
  895. ----
  896. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  897. 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))
  898. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  899. 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))
  900.  
  901. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  902. CreateMesh(handle,"Brick",0,0,0)
  903. 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))
  904. local valuaring = 10
  905. for i = 0, 35 do
  906. valuaring = valuaring + 10
  907. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  908. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  909. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  910. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  911. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  912. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  913. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  914. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  915. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  916. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  917. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  918. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  919. end
  920.  
  921.  
  922. local handle = CreateParta(m,1,1,"Neon",maincolor)
  923. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  924. 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))
  925. for i = 0, 49 do
  926. valuaring = valuaring + 10
  927. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  928. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  929. 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))
  930. end
  931.  
  932.  
  933. local handle = CreateParta(m,1,1,"Neon",maincolor)
  934. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  935. 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))
  936.  
  937. --- Left wing.
  938.  
  939. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  940. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  941. 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))
  942.  
  943. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  944. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  945. 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))
  946. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  947. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  948. 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))
  949. A0 = Instance.new('Attachment',wed)
  950. A0.Position = vt(0,0.25,0.25)
  951. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  952. CreateMesh(wed,"Wedge",0.05,0.5,3)
  953. 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))
  954. A1 = Instance.new('Attachment',wed)
  955. A1.Position = vt(0,-0.25,-2)
  956. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  957. CreateMesh(wed,"Wedge",0.05,3,0.5)
  958. 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))
  959.  
  960. tl1 = Instance.new('Trail',wed)
  961. tl1.Attachment0 = A1
  962. tl1.Attachment1 = A0
  963. tl1.Texture = "rbxassetid://2108945559"
  964. tl1.LightEmission = 1
  965. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  966. tl1.Color = ColorSequence.new(BrickColor.new('Dark stone grey').Color)
  967. tl1.Lifetime = 0.6
  968.  
  969.  
  970. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  971. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  972. 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))
  973.  
  974. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  975. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  976. 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))
  977. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  978. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  979. 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))
  980. A0 = Instance.new('Attachment',wed)
  981. A0.Position = vt(0,0.25,0.25)
  982. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  983. CreateMesh(wed,"Wedge",0.05,0.5,3)
  984. 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))
  985. A1 = Instance.new('Attachment',wed)
  986. A1.Position = vt(0,-0.25,-2)
  987. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  988. CreateMesh(wed,"Wedge",0.05,3,0.5)
  989. 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))
  990.  
  991. tl2 = Instance.new('Trail',wed)
  992. tl2.Attachment0 = A1
  993. tl2.Attachment1 = A0
  994. tl2.Texture = "rbxassetid://2108945559"
  995. tl2.LightEmission = 1
  996. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  997. tl2.Color = ColorSequence.new(BrickColor.new('Dark stone grey').Color)
  998. tl2.Lifetime = 0.6
  999.  
  1000. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1001. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1002. 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))
  1003.  
  1004. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1005. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1006. 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))
  1007. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1008. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1009. 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))
  1010. A0 = Instance.new('Attachment',wed)
  1011. A0.Position = vt(0,0.25,0.25)
  1012. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1013. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1014. 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))
  1015. A1 = Instance.new('Attachment',wed)
  1016. A1.Position = vt(0,-0.25,-2)
  1017. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  1018. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1019. 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))
  1020.  
  1021. tl3 = Instance.new('Trail',wed)
  1022. tl3.Attachment0 = A1
  1023. tl3.Attachment1 = A0
  1024. tl3.Texture = "rbxassetid://2108945559"
  1025. tl3.LightEmission = 1
  1026. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1027. tl3.Color = ColorSequence.new(BrickColor.new('Dark stone grey').Color)
  1028. tl3.Lifetime = 0.6
  1029. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1030. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1031. 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))
  1032.  
  1033. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1034. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1035. 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))
  1036. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1037. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1038. 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))
  1039. A0 = Instance.new('Attachment',wed)
  1040. A0.Position = vt(0,0.25*2,0.25*2)
  1041. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1042. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1043. 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))
  1044. A1 = Instance.new('Attachment',wed)
  1045. A1.Position = vt(0,-0.25*2,-2*2)
  1046. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.0*25,3*2,0.5*2)
  1048. 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))
  1049.  
  1050. tl4 = Instance.new('Trail',wed)
  1051. tl4.Attachment0 = A1
  1052. tl4.Attachment1 = A0
  1053. tl4.Texture = "rbxassetid://2108945559"
  1054. tl4.LightEmission = 1
  1055. tl4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1056. tl4.Color = ColorSequence.new(BrickColor.new('Dark stone grey').Color)
  1057. tl4.Lifetime = 0.6
  1058. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1059. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1060. 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))
  1061.  
  1062. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1063. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1064. 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))
  1065. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1066. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1067. 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))
  1068. A0 = Instance.new('Attachment',wed)
  1069. A0.Position = vt(0,0.25*2,0.25*2)
  1070. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1071. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1072. 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))
  1073. A1 = Instance.new('Attachment',wed)
  1074. A1.Position = vt(0,-0.25*2,-2*2)
  1075. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1076. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1077. 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))
  1078.  
  1079. tl5 = Instance.new('Trail',wed)
  1080. tl5.Attachment0 = A1
  1081. tl5.Attachment1 = A0
  1082. tl5.Texture = "rbxassetid://2108945559"
  1083. tl5.LightEmission = 1
  1084. tl5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1085. tl5.Color = ColorSequence.new(BrickColor.new('Dark stone grey').Color)
  1086. tl5.Lifetime = 0.6
  1087. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1088. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1089. 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))
  1090.  
  1091. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1092. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1093. 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))
  1094. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1095. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1096. 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))
  1097. A0 = Instance.new('Attachment',wed)
  1098. A0.Position = vt(0,0.25*2,0.25*2)
  1099. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1100. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1101. 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))
  1102. A1 = Instance.new('Attachment',wed)
  1103. A1.Position = vt(0,-0.25*2,-2*2)
  1104. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1105. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1106. 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))
  1107. tl6 = Instance.new('Trail',wed)
  1108. tl6.Attachment0 = A1
  1109. tl6.Attachment1 = A0
  1110. tl6.Texture = "rbxassetid://2108945559"
  1111. tl6.LightEmission = 1
  1112. tl6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1113. tl6.Color = ColorSequence.new(BrickColor.new('Dark stone grey').Color)
  1114. tl6.Lifetime = 0.6
  1115.  
  1116. tl1.Enabled = false
  1117. tl2.Enabled = false
  1118. tl3.Enabled = false
  1119. tl4.Enabled = false
  1120. tl5.Enabled = false
  1121. tl6.Enabled = false
  1122. -- Right wing.
  1123.  
  1124. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1125. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1126. 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))
  1127.  
  1128. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1129. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1130. 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))
  1131. A0 = Instance.new('Attachment',wed)
  1132. A0.Position = vt(0,0.25,0.25)
  1133. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1135. 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))
  1136. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1138. 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))
  1139. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1140. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1141. 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))
  1142. A1 = Instance.new('Attachment',wed)
  1143. A1.Position = vt(0,2,0.25)
  1144.  
  1145. tr1 = Instance.new('Trail',wed)
  1146. tr1.Attachment0 = A1
  1147. tr1.Attachment1 = A0
  1148. tr1.Texture = "rbxassetid://2108945559"
  1149. tr1.LightEmission = 1
  1150. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1151. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1152. tr1.Lifetime = 0.6
  1153.  
  1154. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1155. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1156. 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))
  1157.  
  1158. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1159. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1160. 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))
  1161. A0 = Instance.new('Attachment',wed)
  1162. A0.Position = vt(0,0.25,0.25)
  1163. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1164. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1165. 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))
  1166. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1167. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1168. 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))
  1169. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1170. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1171. 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))
  1172. A1 = Instance.new('Attachment',wed)
  1173. A1.Position = vt(0,2,0.25)
  1174.  
  1175. tr2 = Instance.new('Trail',wed)
  1176. tr2.Attachment0 = A1
  1177. tr2.Attachment1 = A0
  1178. tr2.Texture = "rbxassetid://2108945559"
  1179. tr2.LightEmission = 1
  1180. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1181. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1182. tr2.Lifetime = 0.6
  1183.  
  1184. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1185. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1186. 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))
  1187.  
  1188. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1189. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1190. 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))
  1191. A0 = Instance.new('Attachment',wed)
  1192. A0.Position = vt(0,0.25,0.25)
  1193. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1194. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1195. 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))
  1196. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1197. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1198. 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))
  1199. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1200. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1201. 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))
  1202. A1 = Instance.new('Attachment',wed)
  1203. A1.Position = vt(0,2,0.25)
  1204.  
  1205. tr3 = Instance.new('Trail',wed)
  1206. tr3.Attachment0 = A1
  1207. tr3.Attachment1 = A0
  1208. tr3.Texture = "rbxassetid://2108945559"
  1209. tr3.LightEmission = 1
  1210. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1211. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1212. tr3.Lifetime = 0.6
  1213.  
  1214.  
  1215. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1216. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1217. 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))
  1218.  
  1219. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1220. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1221. 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))
  1222. A0 = Instance.new('Attachment',wed)
  1223. A0.Position = vt(0,0.25*2,0.25*2)
  1224. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1225. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1226. 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))
  1227. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1228. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1229. 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))
  1230. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1231. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1232. 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))
  1233. A1 = Instance.new('Attachment',wed)
  1234. A1.Position = vt(0,2,0.25)
  1235.  
  1236. tr4 = Instance.new('Trail',wed)
  1237. tr4.Attachment0 = A1
  1238. tr4.Attachment1 = A0
  1239. tr4.Texture = "rbxassetid://2108945559"
  1240. tr4.LightEmission = 1
  1241. tr4.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1242. tr4.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1243. tr4.Lifetime = 0.6
  1244.  
  1245. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1246. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1247. 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))
  1248.  
  1249. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1250. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1251. 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))
  1252. A0 = Instance.new('Attachment',wed)
  1253. A0.Position = vt(0,0.25*2,0.25*2)
  1254. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1255. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1256. 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))
  1257. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1258. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1259. 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))
  1260. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1261. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1262. 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))
  1263. A1 = Instance.new('Attachment',wed)
  1264. A1.Position = vt(0,2,0.25)
  1265.  
  1266. tr5 = Instance.new('Trail',wed)
  1267. tr5.Attachment0 = A1
  1268. tr5.Attachment1 = A0
  1269. tr5.Texture = "rbxassetid://2108945559"
  1270. tr5.LightEmission = 1
  1271. tr5.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1272. tr5.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1273. tr5.Lifetime = 0.6
  1274.  
  1275. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1276. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1277. 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))
  1278.  
  1279. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1280. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1281. 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))
  1282. A0 = Instance.new('Attachment',wed)
  1283. A0.Position = vt(0,0.25*2,0.25*2)
  1284. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1285. CreateMesh(wed,"Wedge",0.05*2,0.5*2,0.5*2)
  1286. 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))
  1287. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1288. CreateMesh(wed,"Wedge",0.05*2,0.5*2,3*2)
  1289. 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))
  1290. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1291. CreateMesh(wed,"Wedge",0.05*2,3*2,0.5*2)
  1292. 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))
  1293. A1 = Instance.new('Attachment',wed)
  1294. A1.Position = vt(0,2,0.25)
  1295.  
  1296. tr6 = Instance.new('Trail',wed)
  1297. tr6.Attachment0 = A1
  1298. tr6.Attachment1 = A0
  1299. tr6.Texture = "rbxassetid://2108945559"
  1300. tr6.LightEmission = 1
  1301. tr6.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1302. tr6.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1303. tr6.Lifetime = 0.6
  1304.  
  1305. tr4.Enabled = false
  1306. tr5.Enabled = false
  1307. tr6.Enabled = false
  1308. ---- HERES THE RING
  1309.  
  1310.  
  1311. ---- HERES THE RING
  1312.  
  1313.  
  1314. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1315. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1316. 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))
  1317. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1318. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1319. 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))
  1320. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1321. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1322. 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))
  1323.  
  1324.  
  1325. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1326. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1327. 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))
  1328.  
  1329. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1330. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1331. 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))
  1332.  
  1333.  
  1334.  
  1335. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1336. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1337. 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))
  1338.  
  1339. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1340. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1341. 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))
  1342.  
  1343. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1344. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1345. 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))
  1346.  
  1347. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1348. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1349. 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))
  1350. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1351. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1352. 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))
  1353. --- second ring
  1354.  
  1355. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1356. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1357. 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))
  1358. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1359. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1360. 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))
  1361. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1362. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1363. 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))
  1364.  
  1365. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1366. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  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(m,0,0,"SmoothPlastic",wepcolor)
  1370. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  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.  
  1374.  
  1375. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1376. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1377. 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))
  1378.  
  1379. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1380. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1381. 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))
  1382.  
  1383. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1384. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1385. 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))
  1386.  
  1387. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1388. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1389. 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))
  1390. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1391. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1392. 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))]]--
  1393.  
  1394.  
  1395.  
  1396. for i, v in pairs(m:GetChildren()) do
  1397. if v:IsA("Part") then
  1398. v.BrickColor = BrickColor.new("Really black")
  1399. v.Material = "Glass"
  1400. end
  1401. end
  1402. for i, v in pairs(m2:GetChildren()) do
  1403. if v:IsA("Part") then
  1404. v.BrickColor = BrickColor.new("Crimson")
  1405. v.Material = "Granite"
  1406. end
  1407. end
  1408. for i, v in pairs(m3:GetChildren()) do
  1409. if v:IsA("Part") then
  1410. v.BrickColor = BrickColor.new("Really red")
  1411. v.Material = "Neon"
  1412. end
  1413. end
  1414. for i, v in pairs(mw2:GetChildren()) do
  1415. if v:IsA("Part") then
  1416. v.BrickColor = BrickColor.new("Really black")
  1417. v.Material = "Neon"
  1418. end
  1419. end
  1420. for i, v in pairs(mw1:GetChildren()) do
  1421. if v:IsA("Part") then
  1422. v.Transparency = 0
  1423. v.BrickColor = BrickColor.new("Really black")
  1424. v.Material = "Neon"
  1425. end
  1426. end
  1427. for i, v in pairs(extrawingmod1:GetChildren()) do
  1428. if v:IsA("Part") then
  1429. v.Transparency = 1
  1430. v.BrickColor = BrickColor.new("White")
  1431. v.Material = "Neon"
  1432. end
  1433. end
  1434. for i, v in pairs(extrawingmod2:GetChildren()) do
  1435. if v:IsA("Part") then
  1436. v.Transparency = 1
  1437. v.BrickColor = BrickColor.new("White")
  1438. v.Material = "Neon"
  1439. end
  1440. end
  1441. local MAINRUINCOLOR = BrickColor.new("Really black")
  1442. ------
  1443.  
  1444.  
  1445. function RemoveOutlines(part)
  1446. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1447. end
  1448. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1449. local Part = Create("Part")({
  1450. Parent = Parent,
  1451. Reflectance = Reflectance,
  1452. Transparency = Transparency,
  1453. CanCollide = false,
  1454. Locked = true,
  1455. BrickColor = BrickColor.new(tostring(BColor)),
  1456. Name = Name,
  1457. Size = Size,
  1458. Material = Material
  1459. })
  1460. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1461. RemoveOutlines(Part)
  1462. return Part
  1463. end
  1464. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1465. local Msh = Create(Mesh)({
  1466. Parent = Part,
  1467. Offset = OffSet,
  1468. Scale = Scale
  1469. })
  1470. if Mesh == "SpecialMesh" then
  1471. Msh.MeshType = MeshType
  1472. Msh.MeshId = MeshId
  1473. end
  1474. return Msh
  1475. end
  1476. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1477. local Weld = Create("Weld")({
  1478. Parent = Parent,
  1479. Part0 = Part0,
  1480. Part1 = Part1,
  1481. C0 = C0,
  1482. C1 = C1
  1483. })
  1484. return Weld
  1485. end
  1486.  
  1487. Character=Player.Character
  1488. PlayerGui=Player.PlayerGui
  1489. Backpack=Player.Backpack
  1490. Torso=Character.Torso
  1491. Head=Character.Head
  1492. Humanoid=Character.Humanoid
  1493. m=Instance.new('Model',Character)
  1494. LeftArm=Character["Left Arm"]
  1495. LeftLeg=Character["Left Leg"]
  1496. RightArm=Character["Right Arm"]
  1497. RightLeg=Character["Right Leg"]
  1498. LS=Torso["Left Shoulder"]
  1499. LH=Torso["Left Hip"]
  1500. RS=Torso["Right Shoulder"]
  1501. RH=Torso["Right Hip"]
  1502. Face = Head.face
  1503. Neck=Torso.Neck
  1504. it=Instance.new
  1505. attacktype=1
  1506. vt=Vector3.new
  1507. cf=CFrame.new
  1508. euler=CFrame.fromEulerAnglesXYZ
  1509. angles=CFrame.Angles
  1510. cloaked=false
  1511. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1512. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1513. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1514. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1515. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1516. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1517. RootPart=Character.HumanoidRootPart
  1518. RootJoint=RootPart.RootJoint
  1519. RootCF=euler(-1.57,0,3.14)
  1520. attack = false
  1521. attackdebounce = false
  1522. deb=false
  1523. equipped=true
  1524. hand=false
  1525. MMouse=nil
  1526. combo=0
  1527. mana=0
  1528. trispeed=.2
  1529. attackmode='none'
  1530. local idle=0
  1531. local Anim="Idle"
  1532. local Effects={}
  1533. local gun=false
  1534. local shoot=false
  1535. local sine = 0
  1536. local change = 1
  1537.  
  1538. function RecolorTextAndRename(name,col1,col2,font)
  1539. modet.TextStrokeColor3 = col2
  1540. modet.TextColor3 = col1
  1541. modet.Font = font
  1542. modet.Text = name
  1543. techc.ImageColor3 = col2
  1544. circl.ImageColor3 = col2
  1545. circl2.ImageColor3 = col1
  1546. imgl2.ImageColor3 = col1
  1547. imgl2b.ImageColor3 = col2
  1548. ned.Text = name
  1549. ned.TextColor3 = col1
  1550. ned.TextStrokeColor3 = col2
  1551. end
  1552.  
  1553. local disably = false
  1554.  
  1555. function warnedpeople(text,represfont,color,color2)
  1556. if disably ~= true then
  1557. CFuncs["Sound"].Create("rbxassetid://534859368", char, 2.5,1)
  1558. CFuncs["Sound"].Create("rbxassetid://963718869", char, 1,1)
  1559. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  1560. coroutine.resume(coroutine.create(function()
  1561. if v.PlayerGui:FindFirstChild("Spinny")~= nil then
  1562. v.PlayerGui:FindFirstChild("Spinny"):destroy()
  1563. end
  1564. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  1565. scrg.Name = "Spinny"
  1566. local frm = Instance.new("Frame",scrg)
  1567. frm.BackgroundTransparency = 0.25
  1568. frm.BackgroundColor3 = color
  1569. frm.BorderSizePixel = 0
  1570. frm.Rotation = 45
  1571. frm.Size = UDim2.new(3,0,0,100)
  1572. frm.Position = UDim2.new(-4,0,0,0)
  1573. local frm2 = frm:Clone()
  1574. frm2.Parent = scrg
  1575. frm2.BackgroundColor3 = color2
  1576. frm2.Position = UDim2.new(-4.05,0,0,0)
  1577. local imlb = Instance.new("ImageLabel",scrg)
  1578. imlb.BackgroundTransparency = 1
  1579. imlb.BackgroundColor3 = Color3.new(0,0,0)
  1580. imlb.Image = "rbxassetid://2344851144"
  1581. imlb.Size = UDim2.new(0,750,0,750)
  1582. imlb.ImageColor3 = color2
  1583. imlb.ImageTransparency = 0.25
  1584. imlb.Position = UDim2.new(-2.5,0,-2.5,0)
  1585. local imlb2 = imlb:Clone()
  1586. imlb2.Image = "rbxassetid://2325939897"
  1587. imlb2.Size = UDim2.new(1,0,1,0)
  1588. imlb2.ImageColor3 = color
  1589. imlb2.ImageTransparency = 0
  1590. imlb2.Position = UDim2.new(0,0,0,0)
  1591. local imlb3 = imlb:Clone()
  1592. imlb3.Image = "rbxassetid://2344830904"
  1593. imlb3.Size = UDim2.new(1,0,1,0)
  1594. imlb3.ImageColor3 = color2
  1595. imlb3.ImageTransparency = 0
  1596. imlb3.Position = UDim2.new(0,0,0,0)
  1597. local imlb4 = imlb:Clone()
  1598. imlb4.Image = "rbxassetid://2344870656"
  1599. imlb4.Size = UDim2.new(3,0,3,0)
  1600. imlb4.ImageColor3 = Color3.new(1,1,1)
  1601. imlb4.ImageTransparency = 0
  1602. imlb4.Position = UDim2.new(-1,0,-1,0)
  1603. local imlb5 = imlb:Clone()
  1604. imlb5.Image = "rbxassetid://2344870656"
  1605. imlb5.Size = UDim2.new(10,0,10,0)
  1606. imlb5.ImageColor3 = color2
  1607. imlb5.ImageTransparency = 0
  1608. imlb5.Position = UDim2.new(-4.5,0,-4.5,0)
  1609. imlb2.Parent = imlb
  1610. imlb3.Parent = imlb
  1611. imlb4.Parent = imlb
  1612. imlb5.Parent = imlb
  1613. local txtlb2 = Instance.new("TextLabel",imlb)
  1614. txtlb2.Text = text
  1615. txtlb2.Font = represfont
  1616. txtlb2.TextColor3 = color
  1617. txtlb2.TextStrokeTransparency = 0
  1618. txtlb2.BackgroundTransparency = 1
  1619. txtlb2.TextStrokeColor3 = color2
  1620. txtlb2.TextScaled = true
  1621. txtlb2.Size = UDim2.new(1,0,1,0)
  1622. txtlb2.Position = UDim2.new(0,0,0,0)
  1623. local fvalen = 0.55
  1624. local fval = -0.49
  1625. coroutine.resume(coroutine.create(function()
  1626. while true do
  1627. swait()
  1628. if chaosmode == true then
  1629. txtlb2.Rotation = math.random(-1,1)
  1630. imlb.Position = imlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1631. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  1632. imlb.ImageColor3 = BrickColor.random().Color
  1633. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  1634. end
  1635. end
  1636. end))
  1637. coroutine.resume(coroutine.create(function()
  1638. while true do
  1639. swait()
  1640. if scrg.Parent ~= nil then
  1641. fvalen = fvalen - 0.0001
  1642. elseif scrg.Parent == nil then
  1643. break
  1644. end
  1645. end
  1646. end))
  1647. local flol = -5
  1648. local flil = 1.6
  1649. coroutine.resume(coroutine.create(function()
  1650. for i = 0, 49 do
  1651. swait()
  1652. flol = flol + 0.125
  1653. flil = flil - 0.1
  1654. frm.Size = frm.Size + UDim2.new(0.1,0,0,0)
  1655. frm.Rotation = frm.Rotation - 0.25
  1656. frm2.Size = frm2.Size + UDim2.new(0.1,0,0,0)
  1657. frm2.Rotation = frm.Rotation + 0.325
  1658. imlb3.Rotation = imlb3.Rotation - 10
  1659. imlb2.Rotation = imlb.Rotation + 7.5
  1660. imlb.Rotation = imlb.Rotation + 5
  1661. txtlb2.Rotation = txtlb2.Rotation - 5.125
  1662. imlb.Position = imlb.Position + UDim2.new(0.05125,0,0.04775,0)
  1663. end
  1664. for i = 0, 99 do
  1665. swait()
  1666. fval = fval + 0.05
  1667. flol = flol + 0.005
  1668. frm.Size = frm.Size + UDim2.new(0.005,0,0,0)
  1669. frm.Rotation = frm.Rotation - 0.075
  1670. frm2.Size = frm2.Size + UDim2.new(0.005,0,0,0)
  1671. frm2.Rotation = frm2.Rotation + 0.125
  1672. imlb3.Rotation = imlb3.Rotation - 2
  1673. imlb2.Rotation = imlb.Rotation + 1.5
  1674. imlb.Rotation = imlb.Rotation + 1
  1675. txtlb2.Rotation = txtlb2.Rotation - 1.125
  1676. imlb.Position = imlb.Position + UDim2.new(0.0015,0,0.00075,0)
  1677. end
  1678. local valinc = 0
  1679. local vinc2 = 1
  1680. for i = 0, 99 do
  1681. swait()
  1682. vinc2 = vinc2 + 0.25
  1683. valinc = valinc + 0.0001
  1684. flol = flol + valinc
  1685. flil = flil + valinc
  1686. txtlb2.Rotation = txtlb2.Rotation - 1.125*vinc2
  1687. imlb3.Rotation = imlb3.Rotation - 2*vinc2
  1688. imlb.Rotation = imlb.Rotation + 1*vinc2
  1689. imlb.Position = imlb.Position + UDim2.new(0.0015*vinc2,0,0.0005*vinc2,0)
  1690. frm.Size = frm.Size + UDim2.new(0.005*vinc2,0,0,0)
  1691. frm.Rotation = frm.Rotation + 0.1*vinc2
  1692. frm2.Size = frm2.Size + UDim2.new(0.005*vinc2,0,0,0)
  1693. frm2.Rotation = frm2.Rotation + 0.225*vinc2
  1694. frm2.BackgroundTransparency = frm2.BackgroundTransparency + 0.0075
  1695. frm.BackgroundTransparency = frm.BackgroundTransparency + 0.0075
  1696. imlb.ImageTransparency = imlb.ImageTransparency + 0.005
  1697. imlb2.ImageTransparency = imlb2.ImageTransparency + 0.01
  1698. imlb3.ImageTransparency = imlb3.ImageTransparency + 0.01
  1699. imlb4.ImageTransparency = imlb4.ImageTransparency + 0.01
  1700. imlb5.ImageTransparency = imlb4.ImageTransparency + 0.01
  1701. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  1702. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  1703. end
  1704. scrg:Destroy()
  1705. end))
  1706. end))
  1707. end
  1708. end
  1709. end
  1710.  
  1711.  
  1712. --save shoulders
  1713. RSH, LSH=nil, nil
  1714. --welds
  1715. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1716. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1717. LH=Torso["Left Hip"]
  1718. RH=Torso["Right Hip"]
  1719. TorsoColor=Torso.BrickColor
  1720. function NoOutline(Part)
  1721. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1722. end
  1723. ch=Character
  1724. RSH=ch.Torso["Right Shoulder"]
  1725. LSH=ch.Torso["Left Shoulder"]
  1726. --
  1727. RSH.Parent=nil
  1728. LSH.Parent=nil
  1729. --
  1730. RW.Name="Right Shoulder"
  1731. RW.Part0=ch.Torso
  1732. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1733. RW.C1=cf(0, 0.5, 0)
  1734. RW.Part1=ch["Right Arm"]
  1735. RW.Parent=ch.Torso
  1736. --
  1737. LW.Name="Left Shoulder"
  1738. LW.Part0=ch.Torso
  1739. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1740. LW.C1=cf(0, 0.5, 0)
  1741. LW.Part1=ch["Left Arm"]
  1742. LW.Parent=ch.Torso
  1743.  
  1744. local Stats=Instance.new("BoolValue")
  1745. Stats.Name="Stats"
  1746. Stats.Parent=Character
  1747. local Atk=Instance.new("NumberValue")
  1748. Atk.Name="Damage"
  1749. Atk.Parent=Stats
  1750. Atk.Value=1
  1751. local Def=Instance.new("NumberValue")
  1752. Def.Name="Defense"
  1753. Def.Parent=Stats
  1754. Def.Value=1
  1755. local Speed=Instance.new("NumberValue")
  1756. Speed.Name="Speed"
  1757. Speed.Parent=Stats
  1758. Speed.Value=1
  1759. local Mvmt=Instance.new("NumberValue")
  1760. Mvmt.Name="Movement"
  1761. Mvmt.Parent=Stats
  1762. Mvmt.Value=1
  1763.  
  1764. local donum=0
  1765.  
  1766.  
  1767. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1768. local fp=it("Part")
  1769. fp.formFactor=formfactor
  1770. fp.Parent=parent
  1771. fp.Reflectance=reflectance
  1772. fp.Transparency=transparency
  1773. fp.CanCollide=false
  1774. fp.Locked=true
  1775. fp.BrickColor=brickcolor
  1776. fp.Name=name
  1777. fp.Size=size
  1778. fp.Position=Torso.Position
  1779. NoOutline(fp)
  1780. fp.Material="SmoothPlastic"
  1781. fp:BreakJoints()
  1782. return fp
  1783. end
  1784.  
  1785. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1786. local mesh=it(Mesh)
  1787. mesh.Parent=part
  1788. if Mesh=="SpecialMesh" then
  1789. mesh.MeshType=meshtype
  1790. if meshid~="nil" then
  1791. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1792. end
  1793. end
  1794. mesh.Offset=offset
  1795. mesh.Scale=scale
  1796. return mesh
  1797. end
  1798.  
  1799. function weld(parent,part0,part1,c0)
  1800. local weld=it("Weld")
  1801. weld.Parent=parent
  1802. weld.Part0=part0
  1803. weld.Part1=part1
  1804. weld.C0=c0
  1805. return weld
  1806. end
  1807.  
  1808. local Color1=Torso.BrickColor
  1809.  
  1810. local bodvel=Instance.new("BodyVelocity")
  1811. local bg=Instance.new("BodyGyro")
  1812.  
  1813. --------- SazEreno's Artificial HB --------------
  1814. ArtificialHB = Instance.new("BindableEvent", script)
  1815. ArtificialHB.Name = "ArtificialHB"
  1816.  
  1817. script:WaitForChild("ArtificialHB")
  1818. Frame_Speed = 1 / 60
  1819. frame = Frame_Speed
  1820. tf = 0
  1821. allowframeloss = false
  1822. tossremainder = false
  1823. lastframe = tick()
  1824. script.ArtificialHB:Fire()
  1825.  
  1826. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1827. tf = tf + s
  1828. if tf >= frame then
  1829. if allowframeloss then
  1830. script.ArtificialHB:Fire()
  1831. lastframe = tick()
  1832. else
  1833. for i = 1, math.floor(tf / frame) do
  1834. script.ArtificialHB:Fire()
  1835. end
  1836. lastframe = tick()
  1837. end
  1838. if tossremainder then
  1839. tf = 0
  1840. else
  1841. tf = tf - frame * math.floor(tf / frame)
  1842. end
  1843. end
  1844. end)
  1845.  
  1846. ------------------
  1847. function swait(num)
  1848. if num == 0 or num == nil then
  1849. ArtificialHB.Event:wait()
  1850. else
  1851. for i = 1, num do
  1852. ArtificialHB.Event:wait()
  1853. end
  1854. end
  1855. end
  1856. -------- RAINBOW LEAVE IT TO ME
  1857. local r = 255
  1858. local g = 0
  1859. local b = 0
  1860. coroutine.resume(coroutine.create(function()
  1861. while wait() do
  1862. for i = 0, 254/5 do
  1863. swait()
  1864. g = g + 5
  1865. end
  1866. for i = 0, 254/5 do
  1867. swait()
  1868. r = r - 5
  1869. end
  1870. for i = 0, 254/5 do
  1871. swait()
  1872. b = b + 5
  1873. end
  1874. for i = 0, 254/5 do
  1875. swait()
  1876. g = g - 5
  1877. end
  1878. for i = 0, 254/5 do
  1879. swait()
  1880. r = r + 5
  1881. end
  1882. for i = 0, 254/5 do
  1883. swait()
  1884. b = b - 5
  1885. end
  1886. end
  1887. end))
  1888.  
  1889.  
  1890. so = function(id,par,vol,pit)
  1891. coroutine.resume(coroutine.create(function()
  1892. local sou = Instance.new("Sound",par or workspace)
  1893. sou.Volume=vol
  1894. sou.Pitch=pit or 1
  1895. sou.SoundId=id
  1896. swait()
  1897. sou:play()
  1898. game:GetService("Debris"):AddItem(sou,6)
  1899. end))
  1900. end
  1901.  
  1902. function getRegion(point,range,ignore)
  1903. return workspace:FindPartsInRegion3WithIgnoreList(R3.N(point-V3.N(1,1,1)*range/2,point+V3.N(1,1,1)*range/2),ignore,100)
  1904. end
  1905.  
  1906. function clerp(a,b,t)
  1907. local qa = {QuaternionFromCFrame(a)}
  1908. local qb = {QuaternionFromCFrame(b)}
  1909. local ax, ay, az = a.x, a.y, a.z
  1910. local bx, by, bz = b.x, b.y, b.z
  1911. local _t = 1-t
  1912. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1913. end
  1914.  
  1915. function QuaternionFromCFrame(cf)
  1916. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1917. local trace = m00 + m11 + m22
  1918. if trace > 0 then
  1919. local s = math.sqrt(1 + trace)
  1920. local recip = 0.5/s
  1921. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1922. else
  1923. local i = 0
  1924. if m11 > m00 then
  1925. i = 1
  1926. end
  1927. if m22 > (i == 0 and m00 or m11) then
  1928. i = 2
  1929. end
  1930. if i == 0 then
  1931. local s = math.sqrt(m00-m11-m22+1)
  1932. local recip = 0.5/s
  1933. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1934. elseif i == 1 then
  1935. local s = math.sqrt(m11-m22-m00+1)
  1936. local recip = 0.5/s
  1937. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1938. elseif i == 2 then
  1939. local s = math.sqrt(m22-m00-m11+1)
  1940. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1941. end
  1942. end
  1943. end
  1944.  
  1945. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1946. local xs, ys, zs = x + x, y + y, z + z
  1947. local wx, wy, wz = w*xs, w*ys, w*zs
  1948. local xx = x*xs
  1949. local xy = x*ys
  1950. local xz = x*zs
  1951. local yy = y*ys
  1952. local yz = y*zs
  1953. local zz = z*zs
  1954. 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))
  1955. end
  1956.  
  1957. function QuaternionSlerp(a, b, t)
  1958. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1959. local startInterp, finishInterp;
  1960. if cosTheta >= 0.0001 then
  1961. if (1 - cosTheta) > 0.0001 then
  1962. local theta = math.acos(cosTheta)
  1963. local invSinTheta = 1/math.sin(theta)
  1964. startInterp = math.sin((1-t)*theta)*invSinTheta
  1965. finishInterp = math.sin(t*theta)*invSinTheta
  1966. else
  1967. startInterp = 1-t
  1968. finishInterp = t
  1969. end
  1970. else
  1971. if (1+cosTheta) > 0.0001 then
  1972. local theta = math.acos(-cosTheta)
  1973. local invSinTheta = 1/math.sin(theta)
  1974. startInterp = math.sin((t-1)*theta)*invSinTheta
  1975. finishInterp = math.sin(t*theta)*invSinTheta
  1976. else
  1977. startInterp = t-1
  1978. finishInterp = t
  1979. end
  1980. end
  1981. 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
  1982. end
  1983.  
  1984. local function CFrameFromTopBack(at, top, back)
  1985. local right = top:Cross(back)
  1986. return CFrame.new(at.x, at.y, at.z,
  1987. right.x, top.x, back.x,
  1988. right.y, top.y, back.y,
  1989. right.z, top.z, back.z)
  1990. end
  1991.  
  1992. function Triangle(a, b, c)
  1993. local edg1 = (c-a):Dot((b-a).unit)
  1994. local edg2 = (a-b):Dot((c-b).unit)
  1995. local edg3 = (b-c):Dot((a-c).unit)
  1996. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1997. a, b, c = a, b, c
  1998. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1999. a, b, c = b, c, a
  2000. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  2001. a, b, c = c, a, b
  2002. else
  2003. assert(false, "unreachable")
  2004. end
  2005.  
  2006. local len1 = (c-a):Dot((b-a).unit)
  2007. local len2 = (b-a).magnitude - len1
  2008. local width = (a + (b-a).unit*len1 - c).magnitude
  2009.  
  2010. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  2011.  
  2012. local list = {}
  2013.  
  2014. if len1 > 0.01 then
  2015. local w1 = Instance.new('WedgePart', m)
  2016. game:GetService("Debris"):AddItem(w1,5)
  2017. w1.Material = "SmoothPlastic"
  2018. w1.FormFactor = 'Custom'
  2019. w1.BrickColor = BrickColor.new("Really red")
  2020. w1.Transparency = 0
  2021. w1.Reflectance = 0
  2022. w1.Material = "SmoothPlastic"
  2023. w1.CanCollide = false
  2024. local l1 = Instance.new("PointLight",w1)
  2025. l1.Color = Color3.new(170,0,0)
  2026. NoOutline(w1)
  2027. local sz = Vector3.new(0.2, width, len1)
  2028. w1.Size = sz
  2029. local sp = Instance.new("SpecialMesh",w1)
  2030. sp.MeshType = "Wedge"
  2031. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  2032. w1:BreakJoints()
  2033. w1.Anchored = true
  2034. w1.Parent = workspace
  2035. w1.Transparency = 0.7
  2036. table.insert(Effects,{w1,"Disappear",.01})
  2037. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  2038. table.insert(list,w1)
  2039. end
  2040.  
  2041. if len2 > 0.01 then
  2042. local w2 = Instance.new('WedgePart', m)
  2043. game:GetService("Debris"):AddItem(w2,5)
  2044. w2.Material = "SmoothPlastic"
  2045. w2.FormFactor = 'Custom'
  2046. w2.BrickColor = BrickColor.new("Really red")
  2047. w2.Transparency = 0
  2048. w2.Reflectance = 0
  2049. w2.Material = "SmoothPlastic"
  2050. w2.CanCollide = false
  2051. local l2 = Instance.new("PointLight",w2)
  2052. l2.Color = Color3.new(170,0,0)
  2053. NoOutline(w2)
  2054. local sz = Vector3.new(0.2, width, len2)
  2055. w2.Size = sz
  2056. local sp = Instance.new("SpecialMesh",w2)
  2057. sp.MeshType = "Wedge"
  2058. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  2059. w2:BreakJoints()
  2060. w2.Anchored = true
  2061. w2.Parent = workspace
  2062. w2.Transparency = 0.7
  2063. table.insert(Effects,{w2,"Disappear",.01})
  2064. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  2065. table.insert(list,w2)
  2066. end
  2067. return unpack(list)
  2068. end
  2069.  
  2070.  
  2071. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  2072. if hit.Parent == nil then
  2073. return
  2074. end
  2075. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  2076. for _, v in pairs(hit.Parent:children()) do
  2077. if v:IsA("Humanoid") then
  2078. h = v
  2079. end
  2080. end
  2081. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  2082. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  2083. return
  2084. end
  2085. local c = Create("ObjectValue")({
  2086. Name = "creator",
  2087. Value = game:GetService("Players").UnfairGaming1,
  2088. Parent = h
  2089. })
  2090. game:GetService("Debris"):AddItem(c, 0.5)
  2091. if HitSound ~= nil and HitPitch ~= nil then
  2092. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  2093. end
  2094. local Damage = math.random(minim, maxim)
  2095. local blocked = false
  2096. local block = hit.Parent:findFirstChild("Block")
  2097. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  2098. blocked = true
  2099. block.Value = block.Value - 1
  2100. print(block.Value)
  2101. end
  2102. if blocked == false then
  2103. HitHealth = h.Health
  2104. h.MaxHealth = 100
  2105. h.Health = h.Health - Damage
  2106. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  2107. print("gained kill")
  2108. dmg(h.Parent)
  2109. end
  2110. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  2111. else
  2112. h.Health = h.Health - Damage / 2
  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. end
  2115. if Type == "Knockdown" then
  2116. local hum = hit.Parent.Humanoid
  2117. hum.PlatformStand = true
  2118. coroutine.resume(coroutine.create(function(HHumanoid)
  2119. swait(1)
  2120. HHumanoid.PlatformStand = false
  2121. end), hum)
  2122. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  2123. local bodvol = Create("BodyVelocity")({
  2124. velocity = angle * knockback,
  2125. P = 5000,
  2126. maxForce = Vector3.new(8000, 8000, 8000),
  2127. Parent = hit
  2128. })
  2129. local rl = Create("BodyAngularVelocity")({
  2130. P = 3000,
  2131. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  2132. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  2133. Parent = hit
  2134. })
  2135. game:GetService("Debris"):AddItem(bodvol, 0.5)
  2136. game:GetService("Debris"):AddItem(rl, 0.5)
  2137. elseif Type == "Normal" then
  2138. local vp = Create("BodyVelocity")({
  2139. P = 500,
  2140. maxForce = Vector3.new(math.huge, 0, math.huge),
  2141. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  2142. })
  2143. if knockback > 0 then
  2144. vp.Parent = hit.Parent.Head
  2145. end
  2146. game:GetService("Debris"):AddItem(vp, 0.5)
  2147. elseif Type == "Up" then
  2148. local bodyVelocity = Create("BodyVelocity")({
  2149. velocity = Vector3.new(0, 20, 0),
  2150. P = 5000,
  2151. maxForce = Vector3.new(8000, 8000, 8000),
  2152. Parent = hit
  2153. })
  2154. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2155. local bodyVelocity = Create("BodyVelocity")({
  2156. velocity = Vector3.new(0, 20, 0),
  2157. P = 5000,
  2158. maxForce = Vector3.new(8000, 8000, 8000),
  2159. Parent = hit
  2160. })
  2161. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2162. elseif Type == "Leech" then
  2163. local hum = hit.Parent.Humanoid
  2164. if hum ~= nil then
  2165. for i = 0, 2 do
  2166. 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)
  2167. end
  2168. Humanoid.Health = Humanoid.Health + 10
  2169. end
  2170. elseif Type == "UpKnock" then
  2171. local hum = hit.Parent.Humanoid
  2172. hum.PlatformStand = true
  2173. if hum ~= nil then
  2174. hitr = true
  2175. end
  2176. coroutine.resume(coroutine.create(function(HHumanoid)
  2177. swait(5)
  2178. HHumanoid.PlatformStand = false
  2179. hitr = false
  2180. end), hum)
  2181. local bodyVelocity = Create("BodyVelocity")({
  2182. velocity = Vector3.new(0, 20, 0),
  2183. P = 5000,
  2184. maxForce = Vector3.new(8000, 8000, 8000),
  2185. Parent = hit
  2186. })
  2187. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  2188. local bodyVelocity = Create("BodyVelocity")({
  2189. velocity = Vector3.new(0, 20, 0),
  2190. P = 5000,
  2191. maxForce = Vector3.new(8000, 8000, 8000),
  2192. Parent = hit
  2193. })
  2194. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  2195. elseif Type == "Snare" then
  2196. local bp = Create("BodyPosition")({
  2197. P = 2000,
  2198. D = 100,
  2199. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2200. position = hit.Parent.Torso.Position,
  2201. Parent = hit.Parent.Torso
  2202. })
  2203. game:GetService("Debris"):AddItem(bp, 1)
  2204. elseif Type == "Slashnare" then
  2205. 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)
  2206. for i = 1, math.random(4, 5) do
  2207. 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)
  2208. end
  2209. local bp = Create("BodyPosition")({
  2210. P = 2000,
  2211. D = 100,
  2212. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2213. position = hit.Parent.Torso.Position,
  2214. Parent = hit.Parent.Torso
  2215. })
  2216. game:GetService("Debris"):AddItem(bp, 1)
  2217. elseif Type == "Spike" then
  2218. CreateBigIceSword(hit.Parent.Torso.CFrame)
  2219. local bp = Create("BodyPosition")({
  2220. P = 2000,
  2221. D = 100,
  2222. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2223. position = hit.Parent.Torso.Position,
  2224. Parent = hit.Parent.Torso
  2225. })
  2226. game:GetService("Debris"):AddItem(bp, 1)
  2227. elseif Type == "Freeze" then
  2228. local BodPos = Create("BodyPosition")({
  2229. P = 50000,
  2230. D = 1000,
  2231. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  2232. position = hit.Parent.Torso.Position,
  2233. Parent = hit.Parent.Torso
  2234. })
  2235. local BodGy = Create("BodyGyro")({
  2236. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  2237. P = 20000,
  2238. Parent = hit.Parent.Torso,
  2239. cframe = hit.Parent.Torso.CFrame
  2240. })
  2241. hit.Parent.Torso.Anchored = true
  2242. coroutine.resume(coroutine.create(function(Part)
  2243. swait(1.5)
  2244. Part.Anchored = false
  2245. end), hit.Parent.Torso)
  2246. game:GetService("Debris"):AddItem(BodPos, 3)
  2247. game:GetService("Debris"):AddItem(BodGy, 3)
  2248. end
  2249. local debounce = Create("BoolValue")({
  2250. Name = "DebounceHit",
  2251. Parent = hit.Parent,
  2252. Value = true
  2253. })
  2254. game:GetService("Debris"):AddItem(debounce, Delay)
  2255. c = Instance.new("ObjectValue")
  2256. c.Name = "creator"
  2257. c.Value = Player
  2258. c.Parent = h
  2259. game:GetService("Debris"):AddItem(c, 0.5)
  2260. end
  2261. end
  2262. function ShowDamage(Pos, Text, Time, Color)
  2263. local Rate = 0.03333333333333333
  2264. local Pos = Pos or Vector3.new(0, 0, 0)
  2265. local Text = Text or ""
  2266. local Time = Time or 2
  2267. local Color = Color or Color3.new(1, 0, 1)
  2268. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2269. EffectPart.Anchored = true
  2270. local BillboardGui = Create("BillboardGui")({
  2271. Size = UDim2.new(3, 0, 3, 0),
  2272. Adornee = EffectPart,
  2273. Parent = EffectPart
  2274. })
  2275. local TextLabel = Create("TextLabel")({
  2276. BackgroundTransparency = 1,
  2277. Size = UDim2.new(1, 0, 1, 0),
  2278. Text = Text,
  2279. TextColor3 = Color,
  2280. TextScaled = true,
  2281. Font = Enum.Font.ArialBold,
  2282. Parent = BillboardGui
  2283. })
  2284. game.Debris:AddItem(EffectPart, Time + 0.1)
  2285. EffectPart.Parent = game:GetService("Workspace")
  2286. delay(0, function()
  2287. local Frames = Time / Rate
  2288. for Frame = 1, Frames do
  2289. wait(Rate)
  2290. local Percent = Frame / Frames
  2291. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2292. TextLabel.TextTransparency = Percent
  2293. end
  2294. if EffectPart and EffectPart.Parent then
  2295. EffectPart:Destroy()
  2296. end
  2297. end)
  2298. end
  2299. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2300. for _, c in pairs(workspace:children()) do
  2301. local hum = c:findFirstChildOfClass("Humanoid")
  2302. if hum ~= nil then
  2303. local head = c:findFirstChild("Head")
  2304. if head ~= nil then
  2305. local targ = head.Position - Part.Position
  2306. local mag = targ.magnitude
  2307. if magni >= mag and c.Name ~= Player.Name then
  2308. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2309. end
  2310. end
  2311. end
  2312. end
  2313. end
  2314.  
  2315. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2316. for _, c in pairs(workspace:children()) do
  2317. local hum = c:findFirstChild("Humanoid")
  2318. if hum ~= nil then
  2319. local head = c:findFirstChild("Torso")
  2320. if head ~= nil then
  2321. local targ = head.Position - Part.Position
  2322. local mag = targ.magnitude
  2323. if magni >= mag and c.Name ~= Player.Name then
  2324. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2325. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2326. end
  2327. end
  2328. end
  2329. end
  2330. end
  2331.  
  2332. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2333. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2334. end
  2335.  
  2336. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2337. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2338. prt.Anchored=true
  2339. prt.CFrame=cframe
  2340. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2341. --http://www.roblox.com/asset/?id=4770560
  2342. game:GetService("Debris"):AddItem(prt,2)
  2343. CF=prt.CFrame
  2344. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2345. for i=0,1,0.2 do
  2346. wait()
  2347. Part.CFrame=CF*cf(0,0,-0.4)
  2348. end
  2349. for i=0,1,delay do
  2350. wait()
  2351. --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)
  2352. Mesh.Scale=Mesh.Scale
  2353. end
  2354. for i=0,1,0.1 do
  2355. wait()
  2356. Part.Transparency=i
  2357. end
  2358. Part.Parent=nil
  2359. end),prt,msh,CF)
  2360. end
  2361.  
  2362. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2363. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2364. prt.Anchored=true
  2365. prt.Material = "Neon"
  2366. prt.CFrame=cframe
  2367. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2368. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2369. game:GetService("Debris"):AddItem(prt,5)
  2370. coroutine.resume(coroutine.create(function(Part,Mesh)
  2371. for i=0,1,delay do
  2372. swait()
  2373. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2374. Part.Transparency=i
  2375. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2376. end
  2377. Part.Parent=nil
  2378. end),prt,msh)
  2379. end
  2380.  
  2381. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2382. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2383. prt.Anchored=true
  2384. prt.Material = "Neon"
  2385. prt.CFrame=cframe
  2386. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2387. game:GetService("Debris"):AddItem(prt,5)
  2388. coroutine.resume(coroutine.create(function(Part,Mesh)
  2389. local rtype = rottype
  2390. for i=0,1,delay do
  2391. swait()
  2392. if rtype == 1 then
  2393. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2394. elseif rtype == 2 then
  2395. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2396. end
  2397. Part.Transparency=i
  2398. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2399. end
  2400. Part.Parent=nil
  2401. end),prt,msh)
  2402. end
  2403.  
  2404. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2405. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2406. prt.Anchored=true
  2407. prt.CFrame=cframe
  2408. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2409. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2410. game:GetService("Debris"):AddItem(prt,5)
  2411. coroutine.resume(coroutine.create(function(Part,Mesh)
  2412. for i=0,1,delay do
  2413. wait()
  2414. Part.Transparency=i
  2415. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2416. end
  2417. Part.Parent=nil
  2418. end),prt,msh)
  2419. end
  2420.  
  2421. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2422. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2423. prt.Anchored=true
  2424. prt.Material = "Neon"
  2425. prt.CFrame=cframe
  2426. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2427. game:GetService("Debris"):AddItem(prt,5)
  2428. coroutine.resume(coroutine.create(function(Part,Mesh)
  2429. local rtype = rottype
  2430. for i=0,1,delay do
  2431. swait()
  2432. if rtype == 1 then
  2433. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2434. elseif rtype == 2 then
  2435. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2436. end
  2437. Part.Transparency=i
  2438. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2439. end
  2440. Part.Parent=nil
  2441. end),prt,msh)
  2442. end
  2443.  
  2444. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2445. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2446. prt.Anchored=true
  2447. prt.Material = "Neon"
  2448. prt.CFrame=cframe
  2449. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2450. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2451. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2452. game:GetService("Debris"):AddItem(prt,5)
  2453. coroutine.resume(coroutine.create(function(Part,Mesh)
  2454. local rtype = rottype
  2455. for i=0,1,delay do
  2456. swait()
  2457. if rtype == 1 then
  2458. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2459. elseif rtype == 2 then
  2460. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2461. end
  2462. dec.Transparency=i
  2463. dec2.Transparency=i
  2464. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2465. end
  2466. Part.Parent=nil
  2467. end),prt,msh)
  2468. end
  2469.  
  2470. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2471. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2472. prt.Anchored=true
  2473. prt.Material = "Neon"
  2474. prt.CFrame=cframe
  2475. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2476. game:GetService("Debris"):AddItem(prt,5)
  2477. coroutine.resume(coroutine.create(function(Part,Mesh)
  2478. local rtype = rottype
  2479. for i=0,1,delay do
  2480. swait()
  2481. if rtype == 1 then
  2482. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2483. elseif rtype == 2 then
  2484. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2485. end
  2486. prt.Transparency=i
  2487. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2488. end
  2489. Part.Parent=nil
  2490. end),prt,msh)
  2491. end
  2492.  
  2493. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2494. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2495. prt.Anchored=true
  2496. prt.Material = "Neon"
  2497. prt.CFrame=cframe
  2498. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2499. game:GetService("Debris"):AddItem(prt,5)
  2500. coroutine.resume(coroutine.create(function(Part,Mesh)
  2501. local rtype = rottype
  2502. for i=0,1,delay do
  2503. swait()
  2504. if rtype == 1 then
  2505. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2506. elseif rtype == 2 then
  2507. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2508. end
  2509. prt.Transparency=i
  2510. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2511. end
  2512. Part.Parent=nil
  2513. end),prt,msh)
  2514. end
  2515.  
  2516. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2517. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2518. prt.Anchored=true
  2519. prt.Material = "Neon"
  2520. prt.CFrame=cframe
  2521. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2522. game:GetService("Debris"):AddItem(prt,5)
  2523. coroutine.resume(coroutine.create(function(Part,Mesh)
  2524. local rtype = rottype
  2525. for i=0,1,delay do
  2526. swait()
  2527. if rtype == 1 then
  2528. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2529. elseif rtype == 2 then
  2530. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2531. end
  2532. prt.Transparency=i
  2533. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2534. end
  2535. Part.Parent=nil
  2536. end),prt,msh)
  2537. end
  2538.  
  2539. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2540. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2541. prt.Anchored=true
  2542. prt.Material = "Neon"
  2543. prt.CFrame=cframe
  2544. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2545. game:GetService("Debris"):AddItem(prt,5)
  2546. coroutine.resume(coroutine.create(function(Part,Mesh)
  2547. local rtype = rottype
  2548. for i=0,1,delay do
  2549. swait()
  2550. if rtype == 1 then
  2551. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2552. elseif rtype == 2 then
  2553. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2554. end
  2555. prt.Transparency=i
  2556. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2557. end
  2558. Part.Parent=nil
  2559. end),prt,msh)
  2560. end
  2561.  
  2562. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2563. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2564. prt.Anchored=false
  2565. prt.CFrame=cframe
  2566. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2567. local wld=weld(prt,prt,Parent,cframe)
  2568. game:GetService("Debris"):AddItem(prt,5)
  2569. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2570. for i=0,1,delay do
  2571. wait()
  2572. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2573. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2574. Part.Transparency=i
  2575. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2576. end
  2577. Part.Parent=nil
  2578. end),prt,msh,wld)
  2579. end
  2580.  
  2581. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2582. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2583. prt.Anchored=false
  2584. prt.CFrame=cframe
  2585. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2586. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2587. game:GetService("Debris"):AddItem(prt,5)
  2588. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2589. for i=0,1,delay do
  2590. wait()
  2591. Weld.C0=euler(i*20,0,0)
  2592. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2593. Part.Transparency=i
  2594. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2595. end
  2596. Part.Parent=nil
  2597. end),prt,msh,wld)
  2598. end
  2599.  
  2600. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2601. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2602. prt.Anchored=true
  2603. prt.CFrame=cframe
  2604. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2605. game:GetService("Debris"):AddItem(prt,2)
  2606. coroutine.resume(coroutine.create(function(Part,Mesh)
  2607. for i=0,1,delay do
  2608. wait()
  2609. Part.CFrame=Part.CFrame
  2610. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2611. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2612. prt2.Anchored=true
  2613. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2614. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2615. game:GetService("Debris"):AddItem(prt2,2)
  2616. coroutine.resume(coroutine.create(function(Part,Mesh)
  2617. for i=0,1,0.1 do
  2618. wait()
  2619. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2620. end
  2621. Part.Parent=nil
  2622. end),prt2,msh2)
  2623. end
  2624. for i=0,1,delay*2 do
  2625. wait()
  2626. Part.CFrame=Part.CFrame
  2627. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2628. end
  2629. Part.Parent=nil
  2630. end),prt,msh)
  2631. end
  2632.  
  2633. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2634. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2635. prt.Anchored=true
  2636. prt.CFrame=cframe
  2637. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2638. game:GetService("Debris"):AddItem(prt,2)
  2639. coroutine.resume(coroutine.create(function(Part,Mesh)
  2640. for i=0,1,delay do
  2641. wait()
  2642. Part.CFrame=Part.CFrame
  2643. Part.Transparency=i
  2644. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2645. end
  2646. Part.Parent=nil
  2647. end),prt,msh)
  2648. end
  2649.  
  2650. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2651. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2652. prt.Anchored=true
  2653. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2654. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2655. game:GetService("Debris"):AddItem(prt,2)
  2656. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2657. CF=Part.CFrame
  2658. Numbb=0
  2659. randnumb=math.random()/10
  2660. rand1=math.random()/10
  2661. for i=0,1,rand1 do
  2662. wait()
  2663. CF=CF*cf(0,math.random()/2,0)
  2664. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2665. Part.CFrame=CF*euler(Numbb,0,0)
  2666. Part.Transparency=i
  2667. Numbb=Numbb+randnumb
  2668. end
  2669. Part.Parent=nil
  2670. end),prt,CF,Numbb,randnumb)
  2671. end
  2672.  
  2673. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2674. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2675. prt.Anchored=true
  2676. prt.CFrame=cframe
  2677. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2678. game:GetService("Debris"):AddItem(prt,5)
  2679. coroutine.resume(coroutine.create(function(Part,Mesh)
  2680. for i=0,1,delay do
  2681. wait()
  2682. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2683. Part.Transparency=i
  2684. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2685. end
  2686. Part.Parent=nil
  2687. end),prt,msh)
  2688. end
  2689.  
  2690. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2691. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2692. prt.Anchored=true
  2693. prt.CFrame=cframe
  2694. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2695. game:GetService("Debris"):AddItem(prt,2)
  2696. coroutine.resume(coroutine.create(function(Part,Mesh)
  2697. for i=0,1,delay do
  2698. wait()
  2699. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2700. Part.Transparency=i
  2701. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2702. end
  2703. Part.Parent=nil
  2704. end),prt,msh)
  2705. end
  2706.  
  2707. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2708. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2709. prt.Anchored=true
  2710. prt.CFrame=cframe*cf(x,y,z)
  2711. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2712. game:GetService("Debris"):AddItem(prt,5)
  2713. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2714. local num=math.random()
  2715. local num2=math.random(-3,2)+math.random()
  2716. local numm=0
  2717. for i=0,1,delay*2 do
  2718. swait()
  2719. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2720. Part.Transparency=i
  2721. numm=numm+0.01
  2722. end
  2723. Part.Parent=nil
  2724. Mesh.Parent=nil
  2725. end),prt,msh,x,y,z)
  2726. end
  2727.  
  2728. function dmgstart(dmg,what)
  2729. hitcon = what.Touched:connect(function(hit)
  2730. local hum = hit.Parent:FindFirstChild("Humanoid")
  2731. if hum and not hum:IsDescendantOf(Character) then
  2732. hum:TakeDamage(dmg)
  2733. end
  2734. end)
  2735. end
  2736.  
  2737. function dmgstop()
  2738. hitcon:disconnect()
  2739. end
  2740.  
  2741. function Cloak()
  2742. Face.Parent=nil
  2743. cloaked=true
  2744. for _,v in pairs(Torso.Parent:children()) do
  2745. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2746. coroutine.resume(coroutine.create(function()
  2747. for i=0,1,0.2 do
  2748. wait()
  2749. v.Transparency=i
  2750. end
  2751. v.Transparency=1
  2752. end))
  2753. end
  2754. if v.className=="Hat" then
  2755. hatp=v.Handle
  2756. coroutine.resume(coroutine.create(function(derp)
  2757. for i=0,1,0.2 do
  2758. wait()
  2759. derp.Transparency=i
  2760. end
  2761. derp.Transparency=1
  2762. end),hatp)
  2763. end
  2764. end
  2765. for _,v in pairs(m:children()) do
  2766. if v.className=="Part" then
  2767. coroutine.resume(coroutine.create(function()
  2768. for i=0,1,0.2 do
  2769. wait()
  2770. v.Transparency=i
  2771. end
  2772. v.Transparency=1
  2773. end))
  2774. end
  2775. end
  2776. end
  2777.  
  2778. function UnCloak()
  2779. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2780. Face.Parent=Head
  2781. cloaked=false
  2782. for _,v in pairs(Torso.Parent:children()) do
  2783. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2784. coroutine.resume(coroutine.create(function()
  2785. for i=0,1,0.1 do
  2786. wait()
  2787. v.Transparency=v.Transparency-0.1
  2788. end
  2789. v.Transparency=0
  2790. end))
  2791. end
  2792. if v.className=="Hat" then
  2793. hatp=v.Handle
  2794. coroutine.resume(coroutine.create(function(derp)
  2795. for i=0,1,0.1 do
  2796. wait()
  2797. derp.Transparency=derp.Transparency-0.1
  2798. end
  2799. derp.Transparency=0
  2800. end),hatp)
  2801. end
  2802. end
  2803. for _,v in pairs(m:children()) do
  2804. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2805. coroutine.resume(coroutine.create(function()
  2806. for i=0,1,0.1 do
  2807. wait()
  2808. v.Transparency=v.Transparency-0.1
  2809. end
  2810. v.Transparency=0
  2811. end))
  2812. v.Transparency=0
  2813. end
  2814. end
  2815. end
  2816.  
  2817. local origcolor = BrickColor.new("Pastel light blue")
  2818. ---- This section of explosions.
  2819.  
  2820. ----
  2821.  
  2822.  
  2823. function ring(type,pos,scale,value)
  2824. local type = type
  2825. local rng = Instance.new("Part", char)
  2826. rng.Anchored = true
  2827. rng.BrickColor = origcolor
  2828. rng.CanCollide = false
  2829. rng.FormFactor = 3
  2830. rng.Name = "Ring"
  2831. rng.Size = Vector3.new(1, 1, 1)
  2832. rng.Transparency = 0
  2833. rng.TopSurface = 0
  2834. rng.BottomSurface = 0
  2835. rng.CFrame = pos
  2836. local rngm = Instance.new("SpecialMesh", rng)
  2837. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2838. rngm.Scale = scale
  2839. local scaler2 = 1
  2840. if type == "Add" then
  2841. scaler2 = 1*value
  2842. elseif type == "Divide" then
  2843. scaler2 = 1/value
  2844. end
  2845. coroutine.resume(coroutine.create(function()
  2846. for i = 0,10,0.1 do
  2847. swait()
  2848. if type == "Add" then
  2849. scaler2 = scaler2 - 0.01*value
  2850. elseif type == "Divide" then
  2851. scaler2 = scaler2 - 0.01/value
  2852. end
  2853. rng.Transparency = rng.Transparency + 0.01
  2854. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2855. end
  2856. rng:Destroy()
  2857. end))
  2858. end
  2859.  
  2860.  
  2861. function wave(type,pos,scale,value)
  2862. local type = type
  2863. local rng = Instance.new("Part", char)
  2864. rng.Anchored = true
  2865. rng.BrickColor = origcolor
  2866. rng.CanCollide = false
  2867. rng.FormFactor = 3
  2868. rng.Name = "Ring"
  2869. rng.Size = Vector3.new(1, 1, 1)
  2870. rng.Transparency = 0
  2871. rng.TopSurface = 0
  2872. rng.BottomSurface = 0
  2873. rng.CFrame = pos
  2874. local rngm = Instance.new("SpecialMesh", rng)
  2875. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2876. rngm.Scale = scale
  2877. local scaler2 = 1
  2878. if type == "Add" then
  2879. scaler2 = 1*value
  2880. elseif type == "Divide" then
  2881. scaler2 = 1/value
  2882. end
  2883. coroutine.resume(coroutine.create(function()
  2884. for i = 0,10,0.1 do
  2885. swait()
  2886. if type == "Add" then
  2887. scaler2 = scaler2 - 0.01*value
  2888. elseif type == "Divide" then
  2889. scaler2 = scaler2 - 0.01/value
  2890. end
  2891. rng.Transparency = rng.Transparency + 0.01
  2892. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2893. end
  2894. rng:Destroy()
  2895. end))
  2896. end
  2897.  
  2898. function wind(type,pos,scale,value,speed)
  2899. local type = type
  2900. local rng = Instance.new("Part", char)
  2901. rng.Anchored = true
  2902. rng.BrickColor = origcolor
  2903. rng.CanCollide = false
  2904. rng.FormFactor = 3
  2905. rng.Name = "Ring"
  2906. rng.Size = Vector3.new(1, 1, 1)
  2907. rng.Transparency = 0
  2908. rng.TopSurface = 0
  2909. rng.BottomSurface = 0
  2910. rng.CFrame = pos
  2911. local rngm = Instance.new("SpecialMesh", rng)
  2912. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2913. rngm.Scale = scale
  2914. local scaler2 = 1
  2915. if type == "Add" then
  2916. scaler2 = 1*value
  2917. elseif type == "Divide" then
  2918. scaler2 = 1/value
  2919. end
  2920. coroutine.resume(coroutine.create(function()
  2921. for i = 0,10,0.1 do
  2922. swait()
  2923. if type == "Add" then
  2924. scaler2 = scaler2 - 0.01*value
  2925. elseif type == "Divide" then
  2926. scaler2 = scaler2 - 0.01/value
  2927. end
  2928. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2929. rng.Transparency = rng.Transparency + 0.01
  2930. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2931. end
  2932. rng:Destroy()
  2933. end))
  2934. end
  2935.  
  2936. function groundwind(type,pos,scale,value,speed)
  2937. local type = type
  2938. local rng = Instance.new("Part", char)
  2939. rng.Anchored = true
  2940. rng.BrickColor = origcolor
  2941. rng.CanCollide = false
  2942. rng.FormFactor = 3
  2943. rng.Name = "Ring"
  2944. rng.Size = Vector3.new(1, 1, 1)
  2945. rng.Transparency = 0
  2946. rng.TopSurface = 0
  2947. rng.BottomSurface = 0
  2948. rng.CFrame = pos
  2949. local rngm = Instance.new("SpecialMesh", rng)
  2950. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2951. rngm.Scale = scale
  2952. local scaler2 = 1
  2953. if type == "Add" then
  2954. scaler2 = 1*value
  2955. elseif type == "Divide" then
  2956. scaler2 = 1/value
  2957. end
  2958. coroutine.resume(coroutine.create(function()
  2959. for i = 0,10,0.1 do
  2960. swait()
  2961. if type == "Add" then
  2962. scaler2 = scaler2 - 0.01*value
  2963. elseif type == "Divide" then
  2964. scaler2 = scaler2 - 0.01/value
  2965. end
  2966. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2967. rng.Transparency = rng.Transparency + 0.01
  2968. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2969. end
  2970. rng:Destroy()
  2971. end))
  2972. end
  2973.  
  2974. function CameraManager()
  2975. if TwoD and not CamInterrupt then
  2976. if Humanoid.Health > 0 then
  2977. Camera.CameraSubject = Humanoid
  2978. Camera.CameraType = "Scriptable"
  2979. Humanoid.AutoRotate = false
  2980. if Booleans.GyroUse then
  2981. Directer.MaxTorque = Vec3(0, huge, 0)
  2982. else
  2983. Directer.MaxTorque = Vec3(0, 0, 0)
  2984. end
  2985. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2986. if Booleans.CamFollow then
  2987. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2988. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2989. else
  2990. CPart.Position = RootPart.Position
  2991. end
  2992. else
  2993. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2994. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2995. end
  2996. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2997. else
  2998. Camera.CameraSubject = Humanoid
  2999. Camera.CameraType = "Custom"
  3000. Controller.Disabled = false
  3001. end
  3002. end
  3003. end
  3004.  
  3005. function ring(type,pos,scale,value)
  3006. local type = type
  3007. local rng = Instance.new("Part", char)
  3008. rng.Anchored = true
  3009. rng.BrickColor = origcolor
  3010. rng.CanCollide = false
  3011. rng.FormFactor = 3
  3012. rng.Name = "Ring"
  3013. rng.Size = Vector3.new(1, 1, 1)
  3014. rng.Transparency = 0
  3015. rng.TopSurface = 0
  3016. rng.BottomSurface = 0
  3017. rng.CFrame = pos
  3018. local rngm = Instance.new("SpecialMesh", rng)
  3019. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  3020. rngm.Scale = scale
  3021. local scaler2 = 1
  3022. if type == "Add" then
  3023. scaler2 = 1*value
  3024. elseif type == "Divide" then
  3025. scaler2 = 1/value
  3026. end
  3027. coroutine.resume(coroutine.create(function()
  3028. for i = 0,10,0.1 do
  3029. swait()
  3030. if type == "Add" then
  3031. scaler2 = scaler2 - 0.01*value
  3032. elseif type == "Divide" then
  3033. scaler2 = scaler2 - 0.01/value
  3034. end
  3035. rng.Transparency = rng.Transparency + 0.01
  3036. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  3037. end
  3038. rng:Destroy()
  3039. end))
  3040. end
  3041.  
  3042.  
  3043. function wave(type,pos,scale,value)
  3044. local type = type
  3045. local rng = Instance.new("Part", char)
  3046. rng.Anchored = true
  3047. rng.BrickColor = origcolor
  3048. rng.CanCollide = false
  3049. rng.FormFactor = 3
  3050. rng.Name = "Ring"
  3051. rng.Size = Vector3.new(1, 1, 1)
  3052. rng.Transparency = 0
  3053. rng.TopSurface = 0
  3054. rng.BottomSurface = 0
  3055. rng.CFrame = pos
  3056. local rngm = Instance.new("SpecialMesh", rng)
  3057. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  3058. rngm.Scale = scale
  3059. local scaler2 = 1
  3060. if type == "Add" then
  3061. scaler2 = 1*value
  3062. elseif type == "Divide" then
  3063. scaler2 = 1/value
  3064. end
  3065. coroutine.resume(coroutine.create(function()
  3066. for i = 0,10,0.1 do
  3067. swait()
  3068. if type == "Add" then
  3069. scaler2 = scaler2 - 0.01*value
  3070. elseif type == "Divide" then
  3071. scaler2 = scaler2 - 0.01/value
  3072. end
  3073. rng.Transparency = rng.Transparency + 0.01
  3074. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  3075. end
  3076. rng:Destroy()
  3077. end))
  3078. end
  3079.  
  3080. function sphere(bonuspeed,type,pos,scale,value,color)
  3081. local type = type
  3082. local rng = Instance.new("Part", char)
  3083. rng.Anchored = true
  3084. if ModeOfGlitch ~= 9 then
  3085. rng.BrickColor = color
  3086. elseif ModeOfGlitch == 9 then
  3087. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3088. end
  3089. rng.CanCollide = false
  3090. rng.FormFactor = 3
  3091. rng.Name = "Ring"
  3092. rng.Material = "Neon"
  3093. rng.Size = Vector3.new(1, 1, 1)
  3094. rng.Transparency = 0
  3095. rng.TopSurface = 0
  3096. rng.BottomSurface = 0
  3097. rng.CFrame = pos
  3098. local rngm = Instance.new("SpecialMesh", rng)
  3099. rngm.MeshType = "Sphere"
  3100. rngm.Scale = scale
  3101. if rainbowmode == true then
  3102. rng.Color = Color3.new(r/255,g/255,b/255)
  3103. end
  3104. if ModeOfGlitch == 9 then
  3105. coroutine.resume(coroutine.create(function()
  3106. while true do
  3107. swait()
  3108. if rng.Parent ~= nil then
  3109. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3110. else
  3111. break
  3112. end
  3113. end
  3114. end))
  3115. end
  3116. local scaler2 = 1
  3117. if type == "Add" then
  3118. scaler2 = 1*value
  3119. elseif type == "Divide" then
  3120. scaler2 = 1/value
  3121. end
  3122. coroutine.resume(coroutine.create(function()
  3123. for i = 0,10/bonuspeed,0.1 do
  3124. swait()
  3125. if rainbowmode == true then
  3126. rng.Color = Color3.new(r/255,g/255,b/255)
  3127. end
  3128. if type == "Add" then
  3129. scaler2 = scaler2 - 0.01*value/bonuspeed
  3130. elseif type == "Divide" then
  3131. scaler2 = scaler2 - 0.01/value*bonuspeed
  3132. end
  3133. if chaosmode == true then
  3134. rng.BrickColor = BrickColor.random()
  3135. end
  3136. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3137. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3138. end
  3139. rng:Destroy()
  3140. end))
  3141. end
  3142.  
  3143. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  3144. local type = type
  3145. local rng = Instance.new("Part", char)
  3146. rng.Anchored = true
  3147. if ModeOfGlitch ~= 9 then
  3148. rng.BrickColor = color
  3149. elseif ModeOfGlitch == 9 then
  3150. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3151. end
  3152. rng.CanCollide = false
  3153. rng.FormFactor = 3
  3154. rng.Name = "Ring"
  3155. rng.Material = "Neon"
  3156. rng.Size = Vector3.new(1, 1, 1)
  3157. rng.Transparency = 0
  3158. rng.TopSurface = 0
  3159. rng.BottomSurface = 0
  3160. rng.CFrame = pos
  3161. local rngm = Instance.new("SpecialMesh", rng)
  3162. rngm.MeshType = "Sphere"
  3163. rngm.Scale = scale
  3164. local scaler2 = 1
  3165. local scaler2b = 1
  3166. local scaler2c = 1
  3167. if type == "Add" then
  3168. scaler2 = 1*value
  3169. scaler2b = 1*value2
  3170. scaler2c = 1*value3
  3171. elseif type == "Divide" then
  3172. scaler2 = 1/value
  3173. scaler2b = 1/value2
  3174. scaler2c = 1/value3
  3175. end
  3176. if ModeOfGlitch == 9 then
  3177. coroutine.resume(coroutine.create(function()
  3178. while true do
  3179. swait()
  3180. if rng.Parent ~= nil then
  3181. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3182. else
  3183. break
  3184. end
  3185. end
  3186. end))
  3187. end
  3188. coroutine.resume(coroutine.create(function()
  3189. for i = 0,10/bonuspeed,0.1 do
  3190. swait()
  3191. if type == "Add" then
  3192. scaler2 = scaler2 - 0.01*value/bonuspeed
  3193. scaler2b = scaler2b - 0.01*value/bonuspeed
  3194. scaler2c = scaler2c - 0.01*value/bonuspeed
  3195. elseif type == "Divide" then
  3196. scaler2 = scaler2 - 0.01/value*bonuspeed
  3197. scaler2b = scaler2b - 0.01/value*bonuspeed
  3198. scaler2c = scaler2c - 0.01/value*bonuspeed
  3199. end
  3200. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3201. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3202. end
  3203. rng:Destroy()
  3204. end))
  3205. end
  3206.  
  3207. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  3208. local type = type
  3209. local rotenable = rotatingop
  3210. local rng = Instance.new("Part", char)
  3211. rng.Anchored = true
  3212. rng.BrickColor = color
  3213. rng.CanCollide = false
  3214. rng.FormFactor = 3
  3215. rng.Name = "Ring"
  3216. rng.Material = "Neon"
  3217. rng.Size = Vector3.new(1, 1, 1)
  3218. rng.Transparency = 0
  3219. if typeoftrans == "In" then
  3220. rng.Transparency = 1
  3221. end
  3222. rng.TopSurface = 0
  3223. rng.BottomSurface = 0
  3224. rng.CFrame = pos
  3225. local rngm = Instance.new("SpecialMesh", rng)
  3226. rngm.MeshType = "FileMesh"
  3227. if typeofshape == "Normal" then
  3228. rngm.MeshId = "rbxassetid://662586858"
  3229. elseif typeofshape == "Round" then
  3230. rngm.MeshId = "rbxassetid://662585058"
  3231. end
  3232. rngm.Scale = scale
  3233. local scaler2 = 1/10
  3234. if type == "Add" then
  3235. scaler2 = 1*value/10
  3236. elseif type == "Divide" then
  3237. scaler2 = 1/value/10
  3238. end
  3239. local randomrot = math.random(1,2)
  3240. coroutine.resume(coroutine.create(function()
  3241. for i = 0,10/bonuspeed,0.1 do
  3242. swait()
  3243. if type == "Add" then
  3244. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  3245. elseif type == "Divide" then
  3246. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  3247. end
  3248. if rotenable == true then
  3249. if randomrot == 1 then
  3250. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  3251. elseif randomrot == 2 then
  3252. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  3253. end
  3254. end
  3255. if typeoftrans == "Out" then
  3256. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3257. elseif typeoftrans == "In" then
  3258. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3259. end
  3260. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3261. end
  3262. rng:Destroy()
  3263. end))
  3264. end
  3265.  
  3266. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3267. local type = type
  3268. local rng = Instance.new("Part", char)
  3269. rng.Anchored = true
  3270. rng.BrickColor = color
  3271. rng.CanCollide = false
  3272. rng.FormFactor = 3
  3273. rng.Name = "Ring"
  3274. rng.Material = "Neon"
  3275. rng.Size = Vector3.new(1, 1, 1)
  3276. rng.Transparency = 0
  3277. rng.TopSurface = 0
  3278. rng.BottomSurface = 0
  3279. rng.CFrame = pos
  3280. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3281. local rngm = Instance.new("SpecialMesh", rng)
  3282. rngm.MeshType = "Brick"
  3283. rngm.Scale = vt(x1,y1,z1)
  3284. if rainbowmode == true then
  3285. rng.Color = Color3.new(r/255,g/255,b/255)
  3286. end
  3287. local scaler2 = 1
  3288. local speeder = FastSpeed/10
  3289. if type == "Add" then
  3290. scaler2 = 1*value
  3291. elseif type == "Divide" then
  3292. scaler2 = 1/value
  3293. end
  3294. coroutine.resume(coroutine.create(function()
  3295. for i = 0,10/bonuspeed,0.1 do
  3296. swait()
  3297. if rainbowmode == true then
  3298. rng.Color = Color3.new(r/255,g/255,b/255)
  3299. end
  3300. if type == "Add" then
  3301. scaler2 = scaler2 - 0.01*value/bonuspeed
  3302. elseif type == "Divide" then
  3303. scaler2 = scaler2 - 0.01/value*bonuspeed
  3304. end
  3305. if chaosmode == true then
  3306. rng.BrickColor = BrickColor.random()
  3307. end
  3308. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3309. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3310. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3311. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3312. end
  3313. rng:Destroy()
  3314. end))
  3315. end
  3316.  
  3317. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3318. local type = type
  3319. local rng = Instance.new("Part", char)
  3320. rng.Anchored = true
  3321. rng.BrickColor = color
  3322. rng.CanCollide = false
  3323. rng.FormFactor = 3
  3324. rng.Name = "Ring"
  3325. rng.Material = "Neon"
  3326. rng.Size = Vector3.new(1, 1, 1)
  3327. rng.Transparency = 0
  3328. rng.TopSurface = 0
  3329. rng.BottomSurface = 0
  3330. rng.CFrame = pos
  3331. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3332. local rngm = Instance.new("SpecialMesh", rng)
  3333. rngm.MeshType = "Brick"
  3334. rngm.Scale = vt(x1,y1,z1)
  3335. if rainbowmode == true then
  3336. rng.Color = Color3.new(r/255,g/255,b/255)
  3337. end
  3338. local scaler2 = 1
  3339. local speeder = FastSpeed/10
  3340. if type == "Add" then
  3341. scaler2 = 1*value
  3342. elseif type == "Divide" then
  3343. scaler2 = 1/value
  3344. end
  3345. coroutine.resume(coroutine.create(function()
  3346. for i = 0,10/bonuspeed,0.1 do
  3347. swait()
  3348. if rainbowmode == true then
  3349. rng.Color = Color3.new(r/255,g/255,b/255)
  3350. end
  3351. if type == "Add" then
  3352. scaler2 = scaler2 - 0.01*value/bonuspeed
  3353. elseif type == "Divide" then
  3354. scaler2 = scaler2 - 0.01/value*bonuspeed
  3355. end
  3356. if chaosmode == true then
  3357. rng.BrickColor = BrickColor.random()
  3358. end
  3359. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3360. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3361. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3362. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3363. end
  3364. rng:Destroy()
  3365. end))
  3366. end
  3367.  
  3368. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3369. local type = type
  3370. local rng = Instance.new("Part", char)
  3371. rng.Anchored = true
  3372. rng.BrickColor = color
  3373. rng.CanCollide = false
  3374. rng.FormFactor = 3
  3375. rng.Name = "Ring"
  3376. rng.Material = "Neon"
  3377. rng.Size = Vector3.new(1, 1, 1)
  3378. rng.Transparency = 0
  3379. rng.TopSurface = 0
  3380. rng.BottomSurface = 0
  3381. rng.CFrame = pos
  3382. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3383. local rngm = Instance.new("SpecialMesh", rng)
  3384. rngm.MeshType = "Brick"
  3385. rngm.Scale = vt(x1,y1,z1)
  3386. if rainbowmode == true then
  3387. rng.Color = Color3.new(r/255,g/255,b/255)
  3388. end
  3389. local scaler2 = 0
  3390. local speeder = FastSpeed/10
  3391. if type == "Add" then
  3392. scaler2 = 1*value
  3393. elseif type == "Divide" then
  3394. scaler2 = 1/value
  3395. end
  3396. coroutine.resume(coroutine.create(function()
  3397. for i = 0,10/bonuspeed,0.1 do
  3398. swait()
  3399. if rainbowmode == true then
  3400. rng.Color = Color3.new(r/255,g/255,b/255)
  3401. end
  3402. if type == "Add" then
  3403. scaler2 = scaler2 - 0.01*value/bonuspeed
  3404. elseif type == "Divide" then
  3405. scaler2 = scaler2 - 0.01/value*bonuspeed
  3406. end
  3407. if chaosmode == true then
  3408. rng.BrickColor = BrickColor.random()
  3409. end
  3410. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3411. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3412. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3413. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3414. end
  3415. rng:Destroy()
  3416. end))
  3417. end
  3418.  
  3419. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3420. local type = type
  3421. local rng = Instance.new("Part", char)
  3422. rng.Anchored = true
  3423. rng.BrickColor = color
  3424. rng.Color = color3
  3425. rng.CanCollide = false
  3426. rng.FormFactor = 3
  3427. rng.Name = "Ring"
  3428. rng.Material = "Neon"
  3429. rng.Size = Vector3.new(1, 1, 1)
  3430. rng.Transparency = 0
  3431. rng.TopSurface = 0
  3432. rng.BottomSurface = 0
  3433. rng.CFrame = pos
  3434. local rngm = Instance.new("SpecialMesh", rng)
  3435. rngm.MeshType = "Brick"
  3436. rngm.Scale = scale
  3437. local scaler2 = 1
  3438. local scaler2b = 1
  3439. local scaler2c = 1
  3440. if type == "Add" then
  3441. scaler2 = 1*value
  3442. scaler2b = 1*value2
  3443. scaler2c = 1*value3
  3444. elseif type == "Divide" then
  3445. scaler2 = 1/value
  3446. scaler2b = 1/value2
  3447. scaler2c = 1/value3
  3448. end
  3449. coroutine.resume(coroutine.create(function()
  3450. for i = 0,10/bonuspeed,0.1 do
  3451. swait()
  3452. if type == "Add" then
  3453. scaler2 = scaler2 - 0.01*value/bonuspeed
  3454. scaler2b = scaler2b - 0.01*value/bonuspeed
  3455. scaler2c = scaler2c - 0.01*value/bonuspeed
  3456. elseif type == "Divide" then
  3457. scaler2 = scaler2 - 0.01/value*bonuspeed
  3458. scaler2b = scaler2b - 0.01/value*bonuspeed
  3459. scaler2c = scaler2c - 0.01/value*bonuspeed
  3460. end
  3461. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3462. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3463. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3464. end
  3465. rng:Destroy()
  3466. end))
  3467. end
  3468.  
  3469. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3470. local type = type
  3471. local rng = Instance.new("Part", char)
  3472. rng.Anchored = true
  3473. if ModeOfGlitch ~= 9 then
  3474. rng.BrickColor = color
  3475. elseif ModeOfGlitch == 9 then
  3476. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3477. end
  3478. rng.CanCollide = false
  3479. rng.FormFactor = 3
  3480. rng.Name = "Ring"
  3481. rng.Material = "Neon"
  3482. rng.Size = Vector3.new(1, 1, 1)
  3483. rng.Transparency = 0
  3484. rng.TopSurface = 0
  3485. rng.BottomSurface = 0
  3486. rng.CFrame = pos
  3487. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3488. local rngm = Instance.new("SpecialMesh", rng)
  3489. rngm.MeshType = "Sphere"
  3490. rngm.Scale = vt(x1,y1,z1)
  3491. if rainbowmode == true then
  3492. rng.Color = Color3.new(r/255,g/255,b/255)
  3493. end
  3494. if ModeOfGlitch == 9 then
  3495. coroutine.resume(coroutine.create(function()
  3496. while true do
  3497. swait()
  3498. if rng.Parent ~= nil then
  3499. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3500. else
  3501. break
  3502. end
  3503. end
  3504. end))
  3505. end
  3506. local scaler2 = 1
  3507. local speeder = FastSpeed
  3508. if type == "Add" then
  3509. scaler2 = 1*value
  3510. elseif type == "Divide" then
  3511. scaler2 = 1/value
  3512. end
  3513. coroutine.resume(coroutine.create(function()
  3514. for i = 0,10/bonuspeed,0.1 do
  3515. swait()
  3516. if rainbowmode == true then
  3517. rng.Color = Color3.new(r/255,g/255,b/255)
  3518. end
  3519. if type == "Add" then
  3520. scaler2 = scaler2 - 0.01*value/bonuspeed
  3521. elseif type == "Divide" then
  3522. scaler2 = scaler2 - 0.01/value*bonuspeed
  3523. end
  3524. if chaosmode == true then
  3525. rng.BrickColor = BrickColor.random()
  3526. end
  3527. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3528. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3529. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3530. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3531. end
  3532. rng:Destroy()
  3533. end))
  3534. end
  3535.  
  3536.  
  3537. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3538. local type = type
  3539. local rng = Instance.new("Part", char)
  3540. rng.Anchored = true
  3541. if ModeOfGlitch ~= 9 then
  3542. rng.BrickColor = color
  3543. elseif ModeOfGlitch == 9 then
  3544. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3545. end
  3546. rng.CanCollide = false
  3547. rng.FormFactor = 3
  3548. rng.Name = "Ring"
  3549. rng.Material = "Neon"
  3550. rng.Size = Vector3.new(1, 1, 1)
  3551. rng.Transparency = 1
  3552. rng.TopSurface = 0
  3553. rng.BottomSurface = 0
  3554. rng.CFrame = pos
  3555. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3556. local rngm = Instance.new("SpecialMesh", rng)
  3557. rngm.MeshType = "Sphere"
  3558. rngm.Scale = vt(x1,y1,z1)
  3559. if rainbowmode == true then
  3560. rng.Color = Color3.new(r/255,g/255,b/255)
  3561. end
  3562. if ModeOfGlitch == 9 then
  3563. coroutine.resume(coroutine.create(function()
  3564. while true do
  3565. swait()
  3566. if rng.Parent ~= nil then
  3567. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3568. else
  3569. break
  3570. end
  3571. end
  3572. end))
  3573. end
  3574. local scaler2 = 1
  3575. local speeder = FastSpeed
  3576. if type == "Add" then
  3577. scaler2 = 1*value
  3578. elseif type == "Divide" then
  3579. scaler2 = 1/value
  3580. end
  3581. coroutine.resume(coroutine.create(function()
  3582. for i = 0,10/bonuspeed,0.1 do
  3583. swait()
  3584. if rainbowmode == true then
  3585. rng.Color = Color3.new(r/255,g/255,b/255)
  3586. end
  3587. if type == "Add" then
  3588. scaler2 = scaler2 - 0.01*value/bonuspeed
  3589. elseif type == "Divide" then
  3590. scaler2 = scaler2 - 0.01/value*bonuspeed
  3591. end
  3592. if chaosmode == true then
  3593. rng.BrickColor = BrickColor.random()
  3594. end
  3595. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3596. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3597. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3598. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3599. end
  3600. rng:Destroy()
  3601. end))
  3602. end
  3603.  
  3604. function dmg(dude)
  3605. if dude.Name ~= Character then
  3606. local keptcolor = MAINRUINCOLOR
  3607. local bgf = Instance.new("BodyGyro",dude.Head)
  3608. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3609. --[[local val = Instance.new("BoolValue",dude)
  3610. val.Name = "IsHit"]]--
  3611. local ds = coroutine.wrap(function()
  3612. dude:WaitForChild("Head"):BreakJoints()
  3613. for i, v in pairs(dude:GetChildren()) do
  3614. if v:IsA("Part") or v:IsA("MeshPart") then
  3615. v.Name = "DEMINISHED"
  3616. end
  3617. end
  3618. wait(0.5)
  3619. targetted = nil
  3620. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3621. coroutine.resume(coroutine.create(function()
  3622. for i, v in pairs(dude:GetChildren()) do
  3623. if v:IsA("Accessory") then
  3624. v:Destroy()
  3625. end
  3626. if v:IsA("Humanoid") then
  3627. v:Destroy()
  3628. end
  3629. if v:IsA("CharacterMesh") then
  3630. v:Destroy()
  3631. end
  3632. if v:IsA("Model") then
  3633. v:Destroy()
  3634. end
  3635. if v:IsA("Part") or v:IsA("MeshPart") then
  3636. for x, o in pairs(v:GetChildren()) do
  3637. if o:IsA("Decal") then
  3638. o:Destroy()
  3639. end
  3640. end
  3641. coroutine.resume(coroutine.create(function()
  3642. v.Material = "Neon"
  3643. v.CanCollide = false
  3644. v.Anchored = false
  3645. local bld = Instance.new("ParticleEmitter",v)
  3646. bld.LightEmission = 0.75
  3647. bld.Texture = "rbxassetid://363275192" ---284205403
  3648. bld.Color = ColorSequence.new(keptcolor.Color)
  3649. bld.Rate = 500
  3650. bld.Lifetime = NumberRange.new(1)
  3651. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3652. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3653. bld.Speed = NumberRange.new(2,5)
  3654. bld.VelocitySpread = 50000
  3655. bld.Rotation = NumberRange.new(-500,500)
  3656. bld.RotSpeed = NumberRange.new(-500,500)
  3657. local sbs = Instance.new("BodyPosition", v)
  3658. sbs.P = 3000
  3659. sbs.D = 1000
  3660. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3661. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3662. v.Color = keptcolor.Color
  3663. coroutine.resume(coroutine.create(function()
  3664. for i = 0, 49 do
  3665. swait(1)
  3666. v:BreakJoints()
  3667. v.Transparency = v.Transparency + 0.02
  3668. end
  3669. v:BreakJoints()
  3670. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3671. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3672. bld.Speed = NumberRange.new(10,25)
  3673. bld.Drag = 5
  3674. bld.Acceleration = vt(0,2,0)
  3675. wait(0.5)
  3676. bld.Enabled = false
  3677. wait(8)
  3678. v:Destroy()
  3679. dude:Destroy()
  3680. end))
  3681. end))
  3682. end
  3683. end
  3684. end))
  3685. end)
  3686. ds()
  3687. end
  3688. end
  3689.  
  3690.  
  3691. function FindNearestHead(Position, Distance, SinglePlayer)
  3692. if SinglePlayer then
  3693. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3694. end
  3695. local List = {}
  3696. for i, v in pairs(workspace:GetChildren()) do
  3697. if v:IsA("Model") then
  3698. if v:findFirstChild("Head") then
  3699. if v ~= Character then
  3700. if (v.Head.Position - Position).magnitude <= Distance then
  3701. table.insert(List, v)
  3702. end
  3703. end
  3704. end
  3705. end
  3706. end
  3707. return List
  3708. end
  3709.  
  3710. function FaceMouse()
  3711. Cam = workspace.CurrentCamera
  3712. return {
  3713. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3714. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3715. }
  3716. end
  3717.  
  3718. function FaceMouse2()
  3719. Cam = workspace.CurrentCamera
  3720. return {
  3721. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3722. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3723. }
  3724. end
  3725.  
  3726. local ModeOfGlitch = 1
  3727. -- Functions are ready.
  3728. local storehumanoidWS = 16
  3729.  
  3730. function createBGCircle(size,parent,color)
  3731. local bgui = Instance.new("BillboardGui",parent)
  3732. bgui.Size = UDim2.new(size, 0, size, 0)
  3733. local imgc = Instance.new("ImageLabel",bgui)
  3734. imgc.BackgroundTransparency = 1
  3735. imgc.ImageTransparency = 0
  3736. imgc.Size = UDim2.new(1,0,1,0)
  3737. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  3738. imgc.ImageColor3 = color
  3739. return bgui,imgc
  3740. end
  3741.  
  3742. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  3743. local bgui,imgc = createBGCircle(size,guipar,color)
  3744. bgui.AlwaysOnTop = true
  3745. imgc.Image = "rbxassetid://" ..img
  3746. local rrot = math.random(1,2)
  3747. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  3748. coroutine.resume(coroutine.create(function()
  3749. for i = 0, 24*delay do
  3750. swait()
  3751. if rotationenabled == true then
  3752. if rrot == 1 then
  3753. imgc.Rotation = imgc.Rotation + rotsp
  3754. elseif rrot == 2 then
  3755. imgc.Rotation = imgc.Rotation - rotsp
  3756. end
  3757. end
  3758. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  3759. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  3760. end
  3761. bgui:Destroy()
  3762. end))
  3763. end
  3764. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled,sectrailenabled)
  3765. for i, v in pairs(mw2:GetChildren()) do
  3766. if v:IsA("Part") then
  3767. v.BrickColor = one
  3768. v.Material = "Neon"
  3769. end
  3770. end
  3771. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  3772. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  3773. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  3774. tr1.Color = ColorSequence.new(one.Color)
  3775. tr2.Color = ColorSequence.new(one.Color)
  3776. tr3.Color = ColorSequence.new(one.Color)
  3777. for i, v in pairs(mw1:GetChildren()) do
  3778. if v:IsA("Part") then
  3779. if secondaryenabled == false then
  3780. v.Transparency = 1
  3781. elseif secondaryenabled == true then
  3782. v.Transparency = 0
  3783. end
  3784. v.BrickColor = two
  3785. v.Material = "Neon"
  3786. end
  3787. end
  3788. if secondaryenabled == false then
  3789. tl1.Enabled = false
  3790. tl2.Enabled = false
  3791. tl3.Enabled = false
  3792. elseif secondaryenabled == true then
  3793. tl1.Enabled = true
  3794. tl2.Enabled = true
  3795. tl3.Enabled = true
  3796. end
  3797. tl1.Color = ColorSequence.new(two.Color)
  3798. tl2.Color = ColorSequence.new(two.Color)
  3799. tl3.Color = ColorSequence.new(two.Color)
  3800. for i, v in pairs(m:GetChildren()) do
  3801. if v:IsA("Part") then
  3802. v.BrickColor = three
  3803. v.Material = "Ice"
  3804. end
  3805. end
  3806. for i, v in pairs(m2:GetChildren()) do
  3807. if v:IsA("Part") then
  3808. v.BrickColor = four
  3809. v.Material = "Ice"
  3810. end
  3811. end
  3812. for i, v in pairs(m3:GetChildren()) do
  3813. if v:IsA("Part") then
  3814. v.BrickColor = five
  3815. v.Material = "Neon"
  3816. end
  3817. end
  3818. for i, v in pairs(extrawingmod1:GetChildren()) do
  3819. if v:IsA("Part") then
  3820. v.Transparency = exonetran
  3821. v.BrickColor = exone
  3822. v.Material = "Neon"
  3823. end
  3824. end
  3825. if sectrailenabled == true then
  3826. tl4.Enabled = true
  3827. tl5.Enabled = true
  3828. tl6.Enabled = true
  3829. tr4.Enabled = true
  3830. tr5.Enabled = true
  3831. tr6.Enabled = true
  3832. tl4.Color = ColorSequence.new(exone.Color)
  3833. tl5.Color = ColorSequence.new(exone.Color)
  3834. tl6.Color = ColorSequence.new(exone.Color)
  3835. tr4.Color = ColorSequence.new(extwo.Color)
  3836. tr5.Color = ColorSequence.new(extwo.Color)
  3837. tr6.Color = ColorSequence.new(extwo.Color)
  3838. elseif sectrailenabled == false then
  3839. tl4.Enabled = false
  3840. tl5.Enabled = false
  3841. tl6.Enabled = false
  3842. tr4.Enabled = false
  3843. tr5.Enabled = false
  3844. tr6.Enabled = false
  3845. end
  3846. for i, v in pairs(extrawingmod2:GetChildren()) do
  3847. if v:IsA("Part") then
  3848. v.Transparency = extwotran
  3849. v.BrickColor = extwo
  3850. v.Material = "Neon"
  3851. end
  3852. end
  3853. end
  3854.  
  3855.  
  3856. function normalmog()
  3857. attack = true
  3858. hum.WalkSpeed = 0
  3859. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3860. for i = 0,6,0.1 do
  3861. swait()
  3862. 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)
  3863. 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)
  3864. 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)
  3865. 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)
  3866. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  3867. 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)
  3868. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  3869. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  3870. end
  3871. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  3872. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  3873. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  3874. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  3875. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  3876. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1)
  3877. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  3878. rainbowmode = false
  3879. chaosmode = false
  3880. Controlledmode = false
  3881. ModeOfGlitch = 1
  3882. storehumanoidWS = 16
  3883. newTheme("rbxassetid://396632569",10.6,1,1.25)
  3884. RecolorTextAndRename("Hopeless Guest",Color3.new(0,0,0),Color3.new(99, 95, 98),"Antique")
  3885. CamShakeAOE(Torso.CFrame.p,10,100,250)
  3886. MAINRUINCOLOR = BrickColor.new("Really black")
  3887. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3888. for i = 0, 49 do
  3889. 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)
  3890. end
  3891. for i = 0, 24 do
  3892. 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)
  3893. 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"))
  3894. end
  3895. for i = 0,3,0.1 do
  3896. 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)
  3897. end
  3898. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false,false)
  3899. for i = 0,2,0.1 do
  3900. swait()
  3901. 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)
  3902. 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)
  3903. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  3904. 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)
  3905. 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)
  3906. 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)
  3907. end
  3908. hum.WalkSpeed = storehumanoidWS
  3909. attack = false
  3910. end
  3911.  
  3912. function attackone()
  3913. attack = true
  3914. local keptcolor = MAINRUINCOLOR
  3915. for i = 0,1,0.1 do
  3916. swait()
  3917. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  3918. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  3919. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  3920. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  3921. 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)
  3922. 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)
  3923. end
  3924. local distlook = 5
  3925. coroutine.resume(coroutine.create(function()
  3926. for i = 0, 4 do
  3927. swait(2)
  3928. CamShakeAOE(Torso.CFrame.p,10,100,250)
  3929. local hite = Instance.new("Part", char)
  3930. hite.Anchored = true
  3931. hite.CanCollide = false
  3932. hite.FormFactor = 3
  3933. hite.Name = "Ring"
  3934. hite.Material = "Neon"
  3935. hite.Size = Vector3.new(1, 1, 1)
  3936. hite.Transparency = 1
  3937. hite.TopSurface = 0
  3938. hite.BottomSurface = 0
  3939. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  3940. 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)
  3941. 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)
  3942. 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)
  3943. 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)
  3944. MagniDamage(hite, 9, 10,25, 0, "Normal")
  3945. for i = 0, 14 do
  3946. local rsiz = math.random(5,20)
  3947. 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)
  3948. end
  3949. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  3950. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  3951. game:GetService("Debris"):AddItem(hite, 5)
  3952. distlook = distlook + 10
  3953. end
  3954. end))
  3955. for i = 0,1,0.1 do
  3956. swait()
  3957. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  3958. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  3959. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  3960. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  3961. 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)
  3962. 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)
  3963. end
  3964. attack = false
  3965. end
  3966.  
  3967. function attacktwo()
  3968. attack = true
  3969. hum.WalkSpeed = 2
  3970. local keptcolor = MAINRUINCOLOR
  3971. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  3972. 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)
  3973. 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)
  3974. for i = 0, 14 do
  3975. 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)
  3976. end
  3977. for i = 0,1,0.1 do
  3978. swait()
  3979. 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)
  3980. 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)
  3981. 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)
  3982. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  3983. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  3984. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  3985. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  3986. end
  3987. for i = 0, 1 do
  3988. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  3989. for i = 0,1,0.6 do
  3990. swait()
  3991. 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)
  3992. 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"))
  3993. 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)
  3994. 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)
  3995. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  3996. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  3997. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  3998. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  3999. end
  4000. for i = 0,1,0.6 do
  4001. swait()
  4002. 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)
  4003. 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"))
  4004. 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)
  4005. 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)
  4006. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  4007. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4008. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4009. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4010. end
  4011. for i = 0,1,0.6 do
  4012. swait()
  4013. 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)
  4014. 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"))
  4015. 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)
  4016. 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)
  4017. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  4018. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4019. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4020. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4021. end
  4022. for i = 0,1,0.6 do
  4023. swait()
  4024. 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)
  4025. 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"))
  4026. 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)
  4027. 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)
  4028. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  4029. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  4030. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  4031. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  4032. end
  4033. local rot = 0
  4034. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  4035. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  4036. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  4037. CreateMesh(dis,"Sphere",10,1,10)
  4038. local at1 = Instance.new("Attachment",dis)
  4039. at1.Position = vt(-5,0,0)
  4040. local at2 = Instance.new("Attachment",dis)
  4041. at2.Position = vt(5,0,0)
  4042. local trl = Instance.new('Trail',wed)
  4043. trl.Attachment0 = at1
  4044. trl.Attachment1 = at2
  4045. trl.Texture = "rbxassetid://1049219073"
  4046. trl.LightEmission = 1
  4047. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4048. trl.Color = ColorSequence.new(dis.Color)
  4049. trl.Lifetime = 0.6
  4050. local a = Instance.new("Part",workspace)
  4051. a.Name = "Direction"
  4052. a.Anchored = true
  4053. a.BrickColor = bc("Bright red")
  4054. a.Material = "Neon"
  4055. a.Transparency = 1
  4056. a.CanCollide = false
  4057. local ray = Ray.new(
  4058. dis.CFrame.p, -- origin
  4059. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  4060. )
  4061. local ignore = dis
  4062. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4063. a.BottomSurface = 10
  4064. a.TopSurface = 10
  4065. local distance = (dis.CFrame.p - position).magnitude
  4066. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4067. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  4068. dis.CFrame = a.CFrame
  4069. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4070. a:Destroy()
  4071. local bv = Instance.new("BodyVelocity")
  4072. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4073. bv.velocity = dis.CFrame.lookVector*250
  4074. bv.Parent = dis
  4075. game:GetService("Debris"):AddItem(dis, 5)
  4076. local hitted = false
  4077. coroutine.resume(coroutine.create(function()
  4078. dis.Touched:connect(function(hit)
  4079. if hitted == false and hit.Parent ~= char then
  4080. hitted = true
  4081. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  4082. MagniDamage(dis, 30, 33,56, 0, "Normal")
  4083. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  4084. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4085. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  4086. coroutine.resume(coroutine.create(function()
  4087. local eff = Instance.new("ParticleEmitter",dis)
  4088. eff.Texture = "rbxassetid://2344870656"
  4089. eff.LightEmission = 1
  4090. eff.Color = ColorSequence.new(dis.Color)
  4091. eff.Rate = 10000000
  4092. eff.Enabled = true
  4093. eff.EmissionDirection = "Front"
  4094. eff.Lifetime = NumberRange.new(1)
  4095. 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)})
  4096. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  4097. eff.Speed = NumberRange.new(150)
  4098. eff.Drag = 5
  4099. eff.Rotation = NumberRange.new(-500,500)
  4100. eff.SpreadAngle = Vector2.new(0,900)
  4101. eff.RotSpeed = NumberRange.new(-500,500)
  4102. wait(0.2)
  4103. eff.Enabled = false
  4104. end))
  4105. coroutine.resume(coroutine.create(function()
  4106. for i = 0, 9 do
  4107. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  4108. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  4109. local at1 = Instance.new("Attachment",disr)
  4110. at1.Position = vt(-5,0,0)
  4111. local at2 = Instance.new("Attachment",disr)
  4112. at2.Position = vt(5,0,0)
  4113. local trl = Instance.new('Trail',disr)
  4114. trl.Attachment0 = at1
  4115. trl.FaceCamera = true
  4116. trl.Attachment1 = at2
  4117. trl.Texture = "rbxassetid://2342682798"
  4118. trl.LightEmission = 1
  4119. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4120. trl.Color = ColorSequence.new(keptcolor.Color)
  4121. trl.Lifetime = 0.5
  4122. local bv = Instance.new("BodyVelocity")
  4123. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4124. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  4125. bv.Parent = disr
  4126. local val = 0
  4127. coroutine.resume(coroutine.create(function()
  4128. swait(30)
  4129. for i = 0, 9 do
  4130. swait()
  4131. val = val + 0.1
  4132. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  4133. end
  4134. game:GetService("Debris"):AddItem(disr, 3)
  4135. end))
  4136. end
  4137. local eff = Instance.new("ParticleEmitter",dis)
  4138. eff.Texture = "rbxassetid://2273224484"
  4139. eff.LightEmission = 1
  4140. eff.Color = ColorSequence.new(keptcolor.Color)
  4141. eff.Rate = 500000
  4142. eff.Lifetime = NumberRange.new(0.5,2)
  4143. 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)})
  4144. 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)})
  4145. eff.Speed = NumberRange.new(20,250)
  4146. eff.Drag = 5
  4147. eff.Rotation = NumberRange.new(-500,500)
  4148. eff.VelocitySpread = 9000
  4149. eff.RotSpeed = NumberRange.new(-50,50)
  4150. wait(0.25)
  4151. eff.Enabled = false
  4152. end))
  4153. for i = 0, 9 do
  4154. 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"))
  4155. end
  4156. for i = 0, 19 do
  4157. 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)
  4158. end
  4159. coroutine.resume(coroutine.create(function()
  4160. for i = 0, 19 do
  4161. swait()
  4162. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  4163. end
  4164. hum.CameraOffset = vt(0,0,0)
  4165. end))
  4166. dis.Anchored = true
  4167. dis.Transparency = 1
  4168. wait(8)
  4169. dis:Destroy()
  4170. end
  4171. end)
  4172. end))
  4173. rot = rot - 15
  4174. end
  4175. for i = 0,2,0.1 do
  4176. swait()
  4177. 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)
  4178. 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)
  4179. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  4180. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  4181. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  4182. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  4183. end
  4184. attack = false
  4185. hum.WalkSpeed = storehumanoidWS
  4186. end
  4187.  
  4188. function attackthree()
  4189. attack = true
  4190. local keptcolor = MAINRUINCOLOR
  4191. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4192. for i = 0,2,0.1 do
  4193. swait()
  4194. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  4195. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  4196. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  4197. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  4198. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  4199. 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)
  4200. 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)
  4201. end
  4202. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  4203. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  4204. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  4205. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  4206. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  4207. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  4208. for i = 0, 24 do
  4209. 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"))
  4210. end
  4211. for i = 0,4,0.1 do
  4212. swait()
  4213. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  4214. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  4215. CreateMesh(dis,"Sphere",1,1,1)
  4216. dis.Anchored = true
  4217. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  4218. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  4219. coroutine.resume(coroutine.create(function()
  4220. swait(30)
  4221. dis.Transparency = 1
  4222. coroutine.resume(coroutine.create(function()
  4223. for i = 0, 19 do
  4224. swait()
  4225. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  4226. end
  4227. hum.CameraOffset = vt(0,0,0)
  4228. end))
  4229. CamShakeAOE(Torso.CFrame.p,10,50,250)
  4230. coroutine.resume(coroutine.create(function()
  4231. local eff = Instance.new("ParticleEmitter",dis)
  4232. eff.Texture = "rbxassetid://2273224484"
  4233. eff.LightEmission = 1
  4234. eff.Color = ColorSequence.new(dis.Color)
  4235. eff.Rate = 500000
  4236. eff.Lifetime = NumberRange.new(0.5,2)
  4237. 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)})
  4238. 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)})
  4239. eff.Speed = NumberRange.new(50,450)
  4240. eff.Drag = 5
  4241. eff.Rotation = NumberRange.new(-500,500)
  4242. eff.VelocitySpread = 9000
  4243. eff.RotSpeed = NumberRange.new(-50,50)
  4244. wait(0.125)
  4245. eff.Enabled = false
  4246. end))
  4247. MagniDamage(dis, 30, 45,50, 0, "Normal")
  4248. for i = 0, 2 do
  4249. 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)
  4250. end
  4251. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  4252. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  4253. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  4254. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  4255. end))
  4256. game:GetService("Debris"):AddItem(dis, 5)
  4257. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  4258. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  4259. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  4260. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  4261. 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)
  4262. 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)
  4263. end
  4264. attack = false
  4265. end
  4266. ----------------------------------- Abilities
  4267.  
  4268. function ExtinctiveHeartbreak()
  4269. local targetted = nil
  4270. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4271. targetted = mouse.Target.Parent
  4272. end
  4273. if targetted ~= nil then
  4274. attack = true
  4275. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4276. for i = 0, 9 do
  4277. 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)
  4278. end
  4279. for i = 0, 24 do
  4280. 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)
  4281. end
  4282. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4283. local originalpos = root.CFrame
  4284. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4285. for i = 0, 9 do
  4286. 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)
  4287. end
  4288. for i = 0, 24 do
  4289. 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)
  4290. end
  4291. hum.WalkSpeed = 0
  4292. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4293. local radm = math.random(1,3)
  4294. if radm == 1 then
  4295. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  4296. elseif radm == 2 then
  4297. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  4298. elseif radm == 3 then
  4299. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  4300. end
  4301. for i = 0,2,0.1 do
  4302. swait()
  4303. 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)
  4304. 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)
  4305. 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)
  4306. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4307. 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)
  4308. 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)
  4309. end
  4310. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  4311. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  4312. for i = 0,2,0.1 do
  4313. swait()
  4314. coroutine.resume(coroutine.create(function()
  4315. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4316. for i,v in pairs(targetted:GetChildren()) do
  4317. if v:IsA("Part") or v:IsA("MeshPart") then
  4318. v.Velocity = vt(0,0,0)
  4319. end
  4320. end
  4321. end))
  4322. 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)
  4323. 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)
  4324. 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)
  4325. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  4326. 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)
  4327. 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)
  4328. end
  4329. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  4330. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  4331. for i = 0, 1 do
  4332. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  4333. end
  4334. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  4335. chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  4336. for i = 0,4,0.1 do
  4337. swait()
  4338. coroutine.resume(coroutine.create(function()
  4339. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4340. 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)))
  4341. local at1 = Instance.new("Attachment",dis)
  4342. at1.Position = vt(-25000,0,0)
  4343. local at2 = Instance.new("Attachment",dis)
  4344. at2.Position = vt(25000,0,0)
  4345. local trl = Instance.new('Trail',dis)
  4346. trl.Attachment0 = at1
  4347. trl.FaceCamera = true
  4348. trl.Attachment1 = at2
  4349. trl.Texture = "rbxassetid://1049219073"
  4350. trl.LightEmission = 1
  4351. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4352. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  4353. trl.Lifetime = 5
  4354. local bv = Instance.new("BodyVelocity")
  4355. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4356. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4357. bv.Parent = dis
  4358. game:GetService("Debris"):AddItem(dis, 5)
  4359. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  4360. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  4361. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  4362. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  4363. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  4364. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  4365. 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)
  4366. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  4367. for i = 0, 2 do
  4368. 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"))
  4369. end
  4370. 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)
  4371. for i,v in pairs(targetted:GetChildren()) do
  4372. if v:IsA("Part") or v:IsA("MeshPart") then
  4373. v.Velocity = vt(0,0,0)
  4374. end
  4375. end
  4376. end))
  4377. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  4378. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.8)
  4379. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(0)),.8)
  4380. 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)
  4381. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  4382. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0),math.rad(40)),.8)
  4383. 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)
  4384. end
  4385. hum.CameraOffset = vt(0,0,0)
  4386. for i = 0, 49 do
  4387. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  4388. 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)))
  4389. local at1 = Instance.new("Attachment",dis)
  4390. at1.Position = vt(-50000,0,0)
  4391. local at2 = Instance.new("Attachment",dis)
  4392. at2.Position = vt(50000,0,0)
  4393. local trl = Instance.new('Trail',dis)
  4394. trl.Attachment0 = at1
  4395. trl.FaceCamera = true
  4396. trl.Attachment1 = at2
  4397. trl.Texture = "rbxassetid://1049219073"
  4398. trl.LightEmission = 1
  4399. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  4400. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  4401. trl.Lifetime = 5
  4402. local bv = Instance.new("BodyVelocity")
  4403. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4404. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  4405. bv.Parent = dis
  4406. game:GetService("Debris"):AddItem(dis, 5)
  4407. end
  4408. for i = 0, 49 do
  4409. 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)
  4410. 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"))
  4411. end
  4412. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  4413. for i = 0, 1 do
  4414. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  4415. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  4416. end
  4417. for i = 0, 4 do
  4418. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  4419. end
  4420. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  4421. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  4422. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  4423. dmg(targetted)
  4424. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4425. for i = 0, 9 do
  4426. 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)
  4427. end
  4428. for i = 0, 24 do
  4429. 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)
  4430. end
  4431. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4432. root.CFrame = originalpos
  4433. for i = 0, 9 do
  4434. 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)
  4435. end
  4436. for i = 0, 24 do
  4437. 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)
  4438. end
  4439. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  4440. attack = false
  4441. hum.WalkSpeed = storehumanoidWS
  4442. end
  4443. end
  4444.  
  4445. function Counter()
  4446. hum.WalkSpeed = 0
  4447. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 0.5,0,0.5,0.15,0.5,0.5)
  4448. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 0.5,0,0.5,0.15,0.5,0.5)
  4449. bosschatfunc("Hehehe..",MAINRUINCOLOR.Color,1)
  4450. attack = true
  4451. for i = 0,1,0.1 do
  4452. swait()
  4453. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  4454. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  4455. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  4456. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  4457. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3)
  4458. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3)
  4459. end
  4460. CamShakeAOE(Torso.CFrame.p,10,50,250)
  4461. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  4462. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  4463. sphere2(1.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  4464. sphere2(20,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(50)),vt(5,5,5),0.35,0.35,0.35,MAINRUINCOLOR)
  4465. coroutine.resume(coroutine.create(function()
  4466. local eff = Instance.new("ParticleEmitter",root)
  4467. eff.Texture = "rbxassetid://363275192"
  4468. eff.LightEmission = 0.95
  4469. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4470. eff.Rate = 10000
  4471. eff.Lifetime = NumberRange.new(1)
  4472. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  4473. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  4474. eff.Speed = NumberRange.new(10,125)
  4475. eff.Drag = 5
  4476. eff.Rotation = NumberRange.new(-500,500)
  4477. eff.VelocitySpread = 9000
  4478. eff.RotSpeed = NumberRange.new(-50,50)
  4479. local eff2 = eff:Clone()
  4480. eff2.Parent = root
  4481. eff2.Texture = "rbxassetid://284205403"
  4482. eff2.Rate = 10000
  4483. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,30,0),NumberSequenceKeypoint.new(1,0,0)})
  4484. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  4485. eff2.Drag = 5
  4486. eff2.Speed = NumberRange.new(10,50)
  4487. eff2.Rotation = NumberRange.new(-500,500)
  4488. eff2.VelocitySpread = 9000
  4489. wait(0.25)
  4490. eff2.Enabled = false
  4491. eff.Enabled = false
  4492. wait(3)
  4493. eff2:Destroy()
  4494. eff:Destroy()
  4495. end))
  4496. for i = 0, 9 do
  4497. sphere2(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))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
  4498. end
  4499. for i = 0, 24 do
  4500. local rsiz = math.random(5,20)
  4501. sphereMK(math.random(2,10),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  4502. end
  4503. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  4504. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  4505. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  4506. for i = 0,2,0.1 do
  4507. swait()
  4508. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  4509. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  4510. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  4511. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  4512. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3)
  4513. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  4514. end
  4515. hum.WalkSpeed = storehumanoidWS
  4516. attack = false
  4517. end
  4518.  
  4519.  
  4520. function DivineBlast()
  4521. attack = true
  4522. bosschatfunc("Divine Beam!!",MAINRUINCOLOR.Color,0.7)
  4523. hum.WalkSpeed = 0
  4524. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  4525. elocacenter.Anchored = true
  4526. elocacenter.CFrame = sorb.CFrame
  4527. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4528. eloca1.Anchored = true
  4529. eloca1.CFrame = elocacenter.CFrame
  4530. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4531. eloca2.Anchored = true
  4532. eloca2.CFrame = elocacenter.CFrame
  4533. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4534. eloca3.Anchored = true
  4535. eloca3.CFrame = elocacenter.CFrame
  4536. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4537. eloca4.Anchored = true
  4538. eloca4.CFrame = elocacenter.CFrame
  4539. local lookavec = 0
  4540. local speeds = 0
  4541. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4542. for i = 0, 3, 0.1 do
  4543. swait()
  4544. ---
  4545. lookavec = lookavec + 0.1
  4546. speeds = speeds + 10
  4547. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4548. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4549. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4550.  
  4551. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4552. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4553.  
  4554. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4555. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4556.  
  4557. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4558. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4559. ---
  4560. root.CFrame = FaceMouse()[1]
  4561. 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 + 1 * math.cos(sine / 34))),.1)
  4562. 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 + 1 * math.cos(sine / 34))),.1)
  4563. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4564. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4565. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4566. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4567. end
  4568. for i = 0, 3, 0.1 do
  4569. swait()
  4570. ---
  4571. speeds = speeds + 10
  4572. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4573. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4574. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4575.  
  4576. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4577. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4578.  
  4579. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4580. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4581.  
  4582. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4583. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4584. ---
  4585. root.CFrame = FaceMouse()[1]
  4586. 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 + 1 * math.cos(sine / 34))),.1)
  4587. 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 + 1 * math.cos(sine / 34))),.1)
  4588. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4589. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  4590. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4591. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4592. end
  4593. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4594. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4595. for i = 0, 3, 0.1 do
  4596. swait()
  4597. ---
  4598. speeds = speeds + 10
  4599. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4600. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4601. PixelBlockNeg(2,0.1,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4602.  
  4603. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4604. PixelBlockNeg(2,0.1,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4605.  
  4606. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4607. PixelBlockNeg(2,0.1,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4608.  
  4609. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4610. PixelBlockNeg(2,0.1,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.5,0.5,0.5,0.005,MAINRUINCOLOR,-2)
  4611. ---
  4612. root.CFrame = FaceMouse()[1]
  4613. 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 + 1 * math.cos(sine / 34))),.1)
  4614. 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 + 1 * math.cos(sine / 34))),.1)
  4615. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  4616. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(-40)),.1)
  4617. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4618. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(30)),.1)
  4619. end
  4620. coroutine.resume(coroutine.create(function()
  4621. local a = Instance.new("Part",Character)
  4622. a.Name = "Direction"
  4623. a.Anchored = true
  4624. a.BrickColor = bc("White")
  4625. a.Material = "Neon"
  4626. a.Transparency = 0
  4627. a.Shape = "Cylinder"
  4628. a.CanCollide = false
  4629. local a2 = Instance.new("Part",Character)
  4630. a2.Name = "Direction"
  4631. a2.Anchored = true
  4632. a2.BrickColor = bc("Bright yellow")
  4633. a2.Material = "Neon"
  4634. a2.Transparency = 0
  4635. a2.Shape = "Cylinder"
  4636. a2.CanCollide = false
  4637. local b = Instance.new("Part",Character)
  4638. b.Name = "HitDirect"
  4639. b.Anchored = true
  4640. b.BrickColor = bc("Cool yellow")
  4641. b.Material = "Neon"
  4642. b.Transparency = 1
  4643. b.CanCollide = false
  4644. local ray = Ray.new(
  4645. elocacenter.CFrame.p, -- origin
  4646. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4647. )
  4648. local ignore = Character
  4649. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4650. a.BottomSurface = 10
  4651. a.TopSurface = 10
  4652. a2.BottomSurface = 10
  4653. a2.TopSurface = 10
  4654. local distance = (elocacenter.CFrame.p - position).magnitude
  4655. a.Size = Vector3.new(distance, 1, 1)
  4656. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4657. a2.Size = Vector3.new(distance, 1, 1)
  4658. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4659. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4660. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4661. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4662. game:GetService("Debris"):AddItem(a, 10)
  4663. game:GetService("Debris"):AddItem(a2, 10)
  4664. game:GetService("Debris"):AddItem(b, 10)
  4665. local eff = Instance.new("ParticleEmitter",b)
  4666. eff.Texture = "rbxassetid://2273224484"
  4667. eff.LightEmission = 1
  4668. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4669. eff.Rate = 500000
  4670. eff.Lifetime = NumberRange.new(0.5,2)
  4671. 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)})
  4672. 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)})
  4673. eff.Speed = NumberRange.new(20,250)
  4674. eff.Drag = 5
  4675. eff.Rotation = NumberRange.new(-500,500)
  4676. eff.VelocitySpread = 9000
  4677. eff.RotSpeed = NumberRange.new(-50,50)
  4678. coroutine.resume(coroutine.create(function()
  4679. wait(0.25)
  4680. eff.Enabled = false
  4681. end))
  4682. local msh = Instance.new("SpecialMesh",a)
  4683. msh.MeshType = "Cylinder"
  4684. msh.Scale = vt(1,2,2)
  4685. local msh2 = Instance.new("SpecialMesh",a2)
  4686. msh2.MeshType = "Cylinder"
  4687. msh2.Scale = vt(1,2.5,2.5)
  4688. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4689. coroutine.resume(coroutine.create(function()
  4690. for i = 0,10,0.1 do
  4691. swait()
  4692. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4693. a.Transparency = a.Transparency + 0.025
  4694. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4695. a2.Transparency = a2.Transparency + 0.05
  4696. end
  4697. a:Destroy()
  4698. a2:Destroy()
  4699. end))
  4700. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4701. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4702. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4703. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4704. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4705. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4706. MagniDamage(b, 25, 40,65, 0, "Normal")
  4707. for i = 0, 49 do
  4708. PixelBlock(2,math.random(10,20),"Add",b.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.04,BrickColor.new("Bright yellow"),0)
  4709. PixelBlock(1,math.random(1,10),"Add",b.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("Bright yellow"),0)
  4710. end
  4711. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4712. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4713. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4714. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4715. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4716. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4717. end))
  4718. game:GetService("Debris"):AddItem(elocacenter, 5)
  4719. hum.WalkSpeed = storehumanoidWS
  4720. attack = false
  4721. end
  4722.  
  4723. function DarkGroundStrike()
  4724. attack = true
  4725. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  4726. bosschatfunc("Succumb to the Darkness!",MAINRUINCOLOR.Color,1.8)
  4727. for i = 0, 8, 0.1 do
  4728. swait()
  4729. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4730.  
  4731. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4732. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(20)),.2)
  4733. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4735. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4736. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4737. end
  4738. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  4739. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  4740. CamShakeAOE(Torso.CFrame.p,10,75,250)
  4741. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  4742. if v:FindFirstChild('Head') then
  4743. dmg(v)
  4744. end
  4745. end
  4746. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,MAINRUINCOLOR)
  4747. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,MAINRUINCOLOR)
  4748. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,MAINRUINCOLOR)
  4749. CFuncs["EchoSound"].Create("rbxassetid://907329669", root, 4, 1,0,10,0.15,0.5,1)
  4750. bosschatfunc("Leave the dead where they fall!",MAINRUINCOLOR.Color,1.8)
  4751. for i = 0, 2, 0.1 do
  4752. swait()
  4753. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  4754. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),2.5,2.5,25,-0.025,MAINRUINCOLOR,0)
  4755. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4756. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(10)),.4)
  4757. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4758. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4759. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4760. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4761. end
  4762. attack = false
  4763. end
  4764.  
  4765. function DivineLights()
  4766. attack = true
  4767. hum.WalkSpeed = 0
  4768. local p = Instance.new("Part",root)
  4769. p.Anchored = true
  4770. p.CanCollide = false
  4771. p.BrickColor = MAINRUINCOLOR
  4772. p.Material = Enum.Material.Neon
  4773. p.Size = Vector3.new(1,1,1)
  4774. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  4775. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  4776. local m = Instance.new("SpecialMesh",p)
  4777. m.MeshType = "Cylinder"
  4778. m.Scale = Vector3.new(2000,2,2)
  4779. local targ = Instance.new("Part",root)
  4780. targ.Transparency = 1
  4781. targ.CanCollide = false
  4782. targ.Size = Vector3.new(1,1,1)
  4783. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  4784. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  4785. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  4786. for i = 1,15 do
  4787. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  4788. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  4789. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  4790. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  4791. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  4792. 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(-20)),.2)
  4793. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(10),math.rad(20)),.2)
  4794. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  4795. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  4796. m.Scale = m.Scale+Vector3.new(0,1,1)
  4797. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  4798. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  4799. swait()
  4800. end
  4801. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  4802. for i = 1,200 do
  4803. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  4804. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  4805. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  4806. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  4807. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  4808. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  4809. swait()
  4810. end
  4811. for i =1,15 do
  4812. m.Scale = m.Scale-Vector3.new(1,1,1)
  4813. p.Transparency = i / 15
  4814. swait()
  4815. end
  4816. p:Destroy()
  4817. hum.WalkSpeed = storehumanoidWS
  4818. attack = false
  4819. end
  4820.  
  4821. -- Knife
  4822. function createPart(FORMFACTOR, PARENT, MATERIAL, REFLECTANCE, TRANSPARENCY, BRICKCOLOR, NAME, SIZE, ANCHOR)
  4823. local NEWPART = Instance.new("Part")
  4824. NEWPART.formFactor = FORMFACTOR
  4825. NEWPART.Reflectance = REFLECTANCE
  4826. NEWPART.Transparency = TRANSPARENCY
  4827. NEWPART.CanCollide = false
  4828. NEWPART.Locked = true
  4829. NEWPART.Anchored = true
  4830. if ANCHOR == false then
  4831. NEWPART.Anchored = false
  4832. end
  4833. NEWPART.BrickColor = BrickColor.new(tostring(BRICKCOLOR))
  4834. NEWPART.Name = NAME
  4835. NEWPART.Size = SIZE
  4836. NEWPART.Position = tors.Position
  4837. NEWPART.Material = MATERIAL
  4838. NEWPART:BreakJoints()
  4839. NEWPART.Parent = PARENT
  4840. return NEWPART
  4841. end
  4842.  
  4843. function CreateWeldOrSnapOrMotor(TYPE, PARENT, PART0, PART1, C0, C1)
  4844. local NEWWELD = Instance.new(TYPE)
  4845. NEWWELD.Part0 = PART0
  4846. NEWWELD.Part1 = PART1
  4847. NEWWELD.C0 = C0
  4848. NEWWELD.C1 = C1
  4849. NEWWELD.Parent = PARENT
  4850. return NEWWELD
  4851. end
  4852.  
  4853. function createMesh(MESH, PARENT, MESHTYPE, MESHID, TEXTUREID, SCALE, OFFSET)
  4854. local NEWMESH = Instance.new(MESH)
  4855. if MESH == "SpecialMesh" then
  4856. NEWMESH.MeshType = MESHTYPE
  4857. if MESHID ~= "nil" and MESHID ~= "" then
  4858. NEWMESH.MeshId = "http://www.roblox.com/asset/?id="..MESHID
  4859. end
  4860. if TEXTUREID ~= "nil" and TEXTUREID ~= "" then
  4861. NEWMESH.TextureId = "http://www.roblox.com/asset/?id="..TEXTUREID
  4862. end
  4863. end
  4864. NEWMESH.Offset = OFFSET or Vector3.new(0, 0, 0)
  4865. NEWMESH.Scale = SCALE
  4866. NEWMESH.Parent = PARENT
  4867. return NEWMESH
  4868. end
  4869.  
  4870. local KnifeM = Instance.new("Model")
  4871. KnifeM.Name = "KAdds"
  4872.  
  4873. local Knife = createPart(3, KnifeM, "Metal", 0, 1, "Mid gray", "Part", Vector3.new(0.2,1.2,0.2),false)
  4874. local Grip = CreateWeldOrSnapOrMotor("Weld", RightArm, RightArm, Knife, cf(0,-1.2, -0.5) * angles(math.rad(0), math.rad(0), math.rad(180)) * angles(math.rad(45), math.rad(0), math.rad(0)), cf(0, 0.3, 0))
  4875. createMesh("SpecialMesh", Knife, "FileMesh", "470094777", "470149026", Vector3.new(0.2,0.2,0.2), Vector3.new(0,0,0))
  4876. local A = Instance.new("Attachment",Knife)
  4877. A.Position = Vector3.new(-0, 0.2, 0.136)
  4878. local B = Instance.new("Attachment",Knife)
  4879. B.Position = Vector3.new(-0, -0.95, -0.982)
  4880. local Trail = Instance.new("Trail",Knife)
  4881. Trail.Attachment0 = B
  4882. Trail.Attachment1 = A
  4883. Trail.Lifetime = 0.1
  4884. Trail.Transparency = NumberSequence.new(0.5, 1)
  4885. Trail.Texture = "http://www.roblox.com/asset/?id=1472703539"
  4886. Trail.Enabled = false
  4887.  
  4888. KnifeM.Parent = Character
  4889.  
  4890. for _, c in pairs(KnifeM:GetChildren()) do
  4891. if c.ClassName == "Part" then
  4892. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  4893. end
  4894. end
  4895. -- Knife2
  4896.  
  4897. local Knife2M = Instance.new("Model")
  4898. Knife2M.Name = "KAdds"
  4899.  
  4900. local Knife2 = createPart(3, Knife2M, "Metal", 0, 1, "Mid gray", "Part", Vector3.new(0.2,1.2,0.2),false)
  4901. local Grip = CreateWeldOrSnapOrMotor("Weld", LeftArm, LeftArm, Knife2, cf(0,-1.2, -0.5) * angles(math.rad(0), math.rad(0), math.rad(180)) * angles(math.rad(45), math.rad(0), math.rad(0)), cf(0, 0.3, 0))
  4902. createMesh("SpecialMesh", Knife2, "FileMesh", "470094777", "470149026", Vector3.new(0.2,0.2,0.2), Vector3.new(0,0,0))
  4903. local A = Instance.new("Attachment",Knife2)
  4904. A.Position = Vector3.new(-0, 0.2, 0.136)
  4905. local B = Instance.new("Attachment",Knife2)
  4906. B.Position = Vector3.new(-0, -0.95, -0.982)
  4907. local Trail = Instance.new("Trail",Knife2)
  4908. Trail.Attachment0 = B
  4909. Trail.Attachment1 = A
  4910. Trail.Lifetime = 0.1
  4911. Trail.Transparency = NumberSequence.new(0.5, 1)
  4912. Trail.Texture = "http://www.roblox.com/asset/?id=1472703539"
  4913. Trail.Enabled = false
  4914.  
  4915. Knife2.Parent = Character
  4916.  
  4917. for _, c in pairs(Knife2M:GetChildren()) do
  4918. if c.ClassName == "Part" then
  4919. c.CustomPhysicalProperties = PhysicalProperties.new(0, 0, 0, 0, 0)
  4920. end
  4921. end
  4922. function KnifeStab()
  4923. Grip.Part0 = LeftArm
  4924. local targetted = nil
  4925. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4926. targetted = mouse.Target.Parent
  4927. end
  4928. if targetted ~= nil then
  4929. attack = true
  4930. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4931. for i = 0, 9 do
  4932. 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 black"),0)
  4933. end
  4934. for i = 0, 24 do
  4935. 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 black"),0)
  4936. end
  4937. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  4938. local originalpos = root.CFrame
  4939. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4940. for i = 0, 9 do
  4941. 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 black"),0)
  4942. end
  4943. for i = 0, 24 do
  4944. 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 black"),0)
  4945. end
  4946. hum.WalkSpeed = 0
  4947. targetted.Head.Anchored = true
  4948. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  4949. for i = 0,2,0.1 do
  4950. swait()
  4951. 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)),.4)
  4952. 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)
  4953. 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)
  4954. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4955. 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)
  4956. 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)
  4957. end
  4958. coroutine.resume(coroutine.create(function()
  4959. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  4960. bld.LightEmission = 0.1
  4961. bld.Texture = "rbxassetid://0"
  4962. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  4963. bld.Rate = 500
  4964. bld.Lifetime = NumberRange.new(1)
  4965. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4966. bld.Acceleration = vt(0,-25,0)
  4967. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  4968. bld.Speed = NumberRange.new(10,50)
  4969. bld.EmissionDirection = "Front"
  4970. bld.VelocitySpread = 25
  4971. bld.Rotation = NumberRange.new(-500,500)
  4972. bld.RotSpeed = NumberRange.new(-500,500)
  4973. end))
  4974. coroutine.resume(coroutine.create(function()
  4975. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  4976. bld.LightEmission = 0.1
  4977. bld.Texture = "rbxassetid://0"
  4978. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  4979. bld.Rate = 500
  4980. bld.Lifetime = NumberRange.new(1)
  4981. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4982. bld.Acceleration = vt(0,-25,0)
  4983. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  4984. bld.Speed = NumberRange.new(10,50)
  4985. bld.EmissionDirection = "Front"
  4986. bld.VelocitySpread = 25
  4987. bld.Rotation = NumberRange.new(-500,500)
  4988. bld.RotSpeed = NumberRange.new(-500,500)
  4989. end))
  4990. CamShakeAOE(Torso.CFrame.p,10,30,250)
  4991. game:GetService("Debris"):AddItem(bld,3)
  4992. dmg(targetted)
  4993. CFuncs["Sound"].Create("rbxassetid://429400881", LeftArm, 1,1)
  4994. for i = 0,5,0.1 do
  4995. swait()
  4996. 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)
  4997. 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)),.8)
  4998. 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)
  4999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5000. 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)
  5001. 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)
  5002. end
  5003. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5004. for i = 0, 9 do
  5005. 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 black"),0)
  5006. end
  5007. for i = 0, 24 do
  5008. 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 black"),0)
  5009. end
  5010. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  5011. root.CFrame = originalpos
  5012. for i = 0, 9 do
  5013. 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 black"),0)
  5014. end
  5015. for i = 0, 24 do
  5016. 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 black"),0)
  5017. end
  5018. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really black"))
  5019. bld.Enabled = false
  5020. attack = false
  5021. Grip.Part0 = RightArm
  5022. hum.WalkSpeed = storehumanoidWS
  5023. end
  5024. end
  5025.  
  5026.  
  5027. function scattercorrupt()
  5028. attack = true
  5029. hum.WalkSpeed = 0
  5030. for i = 0, 2, 0.1 do
  5031. swait()
  5032. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5033. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5034. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5035. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5036. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  5037. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  5038. end
  5039. local rot = 0
  5040. local randomrotations = math.random(1,2)
  5041. local lookv = 2.5
  5042. local power = 7
  5043. local radm = math.random(1,3)
  5044. if radm == 1 then
  5045. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  5046. elseif radm == 2 then
  5047. bosschatfunc("TAKE THIS!!",MAINRUINCOLOR.Color,1)
  5048. elseif radm == 3 then
  5049. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  5050. end
  5051. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  5052. for i = 0, 1, 0.1 do
  5053. swait()
  5054. RH.C0=clerp(RH.C0,cf(1,-1,-0.5)*angles(math.rad(15),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  5055. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(15),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0)),.15)
  5056. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  5057. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  5058. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  5059. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  5060. end
  5061. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  5062. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  5063. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,MAINRUINCOLOR)
  5064. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,MAINRUINCOLOR)
  5065. for i = 0, 9 do
  5066. sphereMK(1,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))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  5067. end
  5068. local hite = Instance.new("Part", char)
  5069. hite.Anchored = true
  5070. hite.CanCollide = false
  5071. hite.FormFactor = 3
  5072. hite.Name = "Ring"
  5073. hite.Material = "Neon"
  5074. hite.Size = Vector3.new(1, 1, 1)
  5075. hite.Transparency = 1
  5076. hite.TopSurface = 0
  5077. hite.BottomSurface = 0
  5078. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5079. local rem = Instance.new("Part", char)
  5080. rem.Anchored = true
  5081. rem.CanCollide = false
  5082. rem.FormFactor = 3
  5083. rem.Name = "Ring"
  5084. rem.Material = "Neon"
  5085. rem.Size = Vector3.new(1, 1, 1)
  5086. rem.Transparency = 1
  5087. rem.TopSurface = 0
  5088. rem.BottomSurface = 0
  5089. rem.CFrame = hite.CFrame
  5090. local rem2 = rem:Clone()
  5091. rem2.Parent = char
  5092. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5093. local rem3 = rem:Clone()
  5094. rem3.Parent = char
  5095. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5096. local rem4 = rem:Clone()
  5097. rem4.Parent = char
  5098. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5099. hite:Destroy()
  5100. coroutine.resume(coroutine.create(function()
  5101. for i = 0, 24 do
  5102. swait(1)
  5103. if randomrotations == 1 then
  5104. rot = rot + 1
  5105. elseif randomrotations == 2 then
  5106. rot = rot - 1
  5107. end
  5108. power = power + 0.5
  5109. lookv = lookv + 7.5
  5110. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5111. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5112. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5113. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5114. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,MAINRUINCOLOR,power,25,75,10,1)
  5115. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,MAINRUINCOLOR,power,25,75,10,1)
  5116. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,MAINRUINCOLOR,power,25,75,10,1)
  5117. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,MAINRUINCOLOR,power,25,75,10,1)
  5118. end
  5119. end))
  5120. wait(2)
  5121. hum.WalkSpeed = storehumanoidWS
  5122. attack = false
  5123. end
  5124.  
  5125. function CorruptBlink()
  5126. for i = 0, 14 do
  5127. PixelBlock(3,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.03,MAINRUINCOLOR,0)
  5128. end
  5129. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5130. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  5131. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  5132. CamShakeAOE(Torso.CFrame.p,10,30,250)
  5133. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  5134. if v:FindFirstChild('Head') then
  5135. dmg(v)
  5136. end
  5137. end
  5138. for i = 0, 14 do
  5139. PixelBlock(3,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.03,MAINRUINCOLOR,0)
  5140. end
  5141. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5142. end
  5143. function PureBomb()
  5144. attack = true
  5145. hum.WalkSpeed = 0
  5146. local orb = Instance.new("Part", char)
  5147. orb.Anchored = true
  5148. orb.BrickColor = BrickColor.new("Toothpaste")
  5149. orb.CanCollide = false
  5150. orb.FormFactor = 3
  5151. orb.Name = "Ring"
  5152. orb.Material = "Neon"
  5153. orb.Size = Vector3.new(1, 1, 1)
  5154. orb.Transparency = 0
  5155. orb.TopSurface = 0
  5156. orb.BottomSurface = 0
  5157. local orbm = Instance.new("SpecialMesh", orb)
  5158. orbm.MeshType = "Sphere"
  5159. orbm.Name = "SizeMesh"
  5160. orbm.Scale = vt(0,0,0)
  5161. local scaled = 0.1
  5162. local posid = 0
  5163. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  5164. for i = 0, 5, 0.1 do
  5165. swait()
  5166. scaled = scaled - 0.001
  5167. posid = posid - scaled
  5168. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  5169. local scaled = 0.1
  5170. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  5171. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  5172. PixelBlockNeg(2,1,"Add",orb.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.01,BrickColor.new("Toothpaste"),0)
  5173. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  5174. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  5175. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5176. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5177. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  5178. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  5179. end
  5180. for i = 0, 2, 0.1 do
  5181. swait()
  5182. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  5183. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  5184. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  5185. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  5186. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  5187. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  5188. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  5189. end
  5190. coroutine.resume(coroutine.create(function()
  5191. orb.Anchored = false
  5192. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  5193. local a = Instance.new("Part",workspace)
  5194. a.Name = "Direction"
  5195. a.Anchored = true
  5196. a.BrickColor = bc("Bright red")
  5197. a.Material = "Neon"
  5198. a.Transparency = 1
  5199. a.CanCollide = false
  5200. local ray = Ray.new(
  5201. orb.CFrame.p, -- origin
  5202. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  5203. )
  5204. local ignore = orb
  5205. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5206. a.BottomSurface = 10
  5207. a.TopSurface = 10
  5208. local distance = (orb.CFrame.p - position).magnitude
  5209. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5210. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  5211. orb.CFrame = a.CFrame
  5212. a:Destroy()
  5213. local bv = Instance.new("BodyVelocity")
  5214. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5215. bv.velocity = orb.CFrame.lookVector*125
  5216. bv.Parent = orb
  5217. local hitted = false
  5218. game:GetService("Debris"):AddItem(orb, 15)
  5219. wait()
  5220. local hit =orb.Touched:connect(function(hit)
  5221. if hitted == false then
  5222. hitted = true
  5223. CamShakeAOE(Torso.CFrame.p,10,30,250)
  5224. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  5225. MagniDamage(orb, 65, 65,90, 0, "Normal")
  5226. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  5227. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  5228. for i = 0, 49 do
  5229. PixelBlock(1,math.random(1,30),"Add",orb.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)
  5230. end
  5231. for i = 0, 9 do
  5232. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  5233. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  5234. end
  5235. orb.Anchored = true
  5236. orb.Transparency = 1
  5237. wait(8)
  5238. orb:Destroy()
  5239. end
  5240. end)
  5241. end))
  5242. for i = 0, 1, 0.1 do
  5243. swait()
  5244. 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(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  5245. 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(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  5246. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  5247. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  5248. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  5249. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  5250. end
  5251. hum.WalkSpeed = storehumanoidWS
  5252. attack = false
  5253. end
  5254.  
  5255.  
  5256. function CorruptionEvent()
  5257. attack = true
  5258. hum.WalkSpeed = 0
  5259. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5260. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5261. local keptcolor = MAINRUINCOLOR
  5262. for i = 0,4,0.1 do
  5263. swait()
  5264. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5265. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5266. 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)
  5267. 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)
  5268. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5269. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5270. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5271. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5272. end
  5273. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5274. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5275. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5276. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5277. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5278. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5279. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5280. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5281. coroutine.resume(coroutine.create(function()
  5282. local eff = Instance.new("ParticleEmitter",cen)
  5283. eff.Texture = "rbxassetid://2344870656"
  5284. eff.LightEmission = 1
  5285. eff.Color = ColorSequence.new(keptcolor.Color)
  5286. eff.Rate = 10000000
  5287. eff.Enabled = true
  5288. eff.EmissionDirection = "Front"
  5289. eff.Lifetime = NumberRange.new(2)
  5290. 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)})
  5291. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5292. eff.Speed = NumberRange.new(500)
  5293. eff.Drag = 5
  5294. eff.Rotation = NumberRange.new(-500,500)
  5295. eff.SpreadAngle = Vector2.new(0,900)
  5296. eff.RotSpeed = NumberRange.new(-500,500)
  5297. wait(0.2)
  5298. eff.Enabled = false
  5299. wait(5)
  5300. eff:Destroy()
  5301. end))
  5302. hum.CameraOffset = vt(0,0,0)
  5303. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5304. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5305. for i = 0, 24 do
  5306. 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"))
  5307. end
  5308. local rrot = 0
  5309. coroutine.resume(coroutine.create(function()
  5310. for i = 0, 4 do
  5311. rrot = rrot + 45
  5312. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5313. xa.Anchored = true
  5314. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5315. xb.Anchored = true
  5316. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5317. xc.Anchored = true
  5318. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5319. xd.Anchored = true
  5320. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5321. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5322. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5323. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5324. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5325. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5326. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5327. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5328. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5329. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5330. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5331. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5332. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5333. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5334. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5335. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5336. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5337. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5338. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5339. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5340. for i = 0, 9 do
  5341. 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"))
  5342. 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"))
  5343. 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"))
  5344. 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"))
  5345. end
  5346. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5347. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5348. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5349. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5350. 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)
  5351. 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)
  5352. 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)
  5353. 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)
  5354. 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))
  5355. 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))
  5356. 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))
  5357. 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))
  5358. game:GetService("Debris"):AddItem(xa, 5)
  5359. game:GetService("Debris"):AddItem(xb, 5)
  5360. game:GetService("Debris"):AddItem(xc, 5)
  5361. game:GetService("Debris"):AddItem(xd, 5)
  5362. coroutine.resume(coroutine.create(function()
  5363. for i = 0, 19 do
  5364. swait()
  5365. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5366. end
  5367. hum.CameraOffset = vt(0,0,0)
  5368. end))
  5369. swait(9)
  5370. end
  5371. end))
  5372. for i = 0,2,0.1 do
  5373. swait()
  5374. 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)
  5375. 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)
  5376. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5377. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5378. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5379. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5380. end
  5381. attack = false
  5382. hum.WalkSpeed = storehumanoidWS
  5383. end
  5384.  
  5385. function EndGROUND()
  5386. attack = true
  5387. hum.WalkSpeed = 0
  5388. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5389. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5390. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5391. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5392. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5393. local keptcolor = MAINRUINCOLOR
  5394. for i = 0,4,0.1 do
  5395. swait()
  5396. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5397. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5398. 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"))
  5399. 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)
  5400. 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)
  5401. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5402. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5403. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5404. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5405. end
  5406. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5407. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5408. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5409. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5410. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5411. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5412. coroutine.resume(coroutine.create(function()
  5413. local eff = Instance.new("ParticleEmitter",cen)
  5414. eff.Texture = "rbxassetid://2344870656"
  5415. eff.LightEmission = 1
  5416. eff.Color = ColorSequence.new(keptcolor.Color)
  5417. eff.Rate = 10000000
  5418. eff.Enabled = true
  5419. eff.EmissionDirection = "Front"
  5420. eff.Lifetime = NumberRange.new(2)
  5421. 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)})
  5422. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5423. eff.Speed = NumberRange.new(500)
  5424. eff.Drag = 5
  5425. eff.Rotation = NumberRange.new(-500,500)
  5426. eff.SpreadAngle = Vector2.new(0,900)
  5427. eff.RotSpeed = NumberRange.new(-500,500)
  5428. wait(0.2)
  5429. eff.Enabled = false
  5430. wait(5)
  5431. eff:Destroy()
  5432. end))
  5433. coroutine.resume(coroutine.create(function()
  5434. local shval = 10
  5435. for i = 0, 99 do
  5436. swait()
  5437. shval = shval - 0.1
  5438. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5439. end
  5440. hum.CameraOffset = vt(0,0,0)
  5441. end))
  5442. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5443. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5444. for i = 0, 24 do
  5445. 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"))
  5446. end
  5447. local rrot = 0
  5448. local xam = 1
  5449. coroutine.resume(coroutine.create(function()
  5450. for i = 0, 14 do
  5451. --swait()
  5452. rrot = rrot + 40*xam
  5453. xam = xam + 0.25
  5454. local bonus = xam
  5455. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5456. xa.Anchored = true
  5457. xa.Color = Color3.new(0,0,0)
  5458. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5459. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5460. local xc = 0
  5461. coroutine.resume(coroutine.create(function()
  5462. for i = 0, 99 do
  5463. swait()
  5464. xc = xc + 0.01
  5465. xa.Color = Color3.new(xc,0,0)
  5466. end
  5467. xa.Transparency = 1
  5468. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5469. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5470. for i = 0, 9 do
  5471. 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"))
  5472. end
  5473. 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)
  5474. 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)
  5475. 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))
  5476. game:GetService("Debris"):AddItem(xa, 5)
  5477. coroutine.resume(coroutine.create(function()
  5478. for i = 0, 19 do
  5479. swait()
  5480. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5481. end
  5482. hum.CameraOffset = vt(0,0,0)
  5483. end))
  5484. end))
  5485. end
  5486. end))
  5487. for i = 0,2,0.1 do
  5488. swait()
  5489. 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)
  5490. 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)
  5491. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5492. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5493. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5494. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5495. end
  5496. attack = false
  5497. hum.WalkSpeed = storehumanoidWS
  5498. end
  5499.  
  5500.  
  5501. function HeavenlyDisk()
  5502. attack = true
  5503. hum.WalkSpeed = 2
  5504. local keptcolor = MAINRUINCOLOR
  5505. local radm = math.random(1,3)
  5506. if radm == 1 then
  5507. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  5508. elseif radm == 2 then
  5509. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  5510. elseif radm == 3 then
  5511. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  5512. end
  5513. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5514. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  5515. 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)
  5516. 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)
  5517. for i = 0, 14 do
  5518. 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)
  5519. end
  5520. for i = 0,2,0.1 do
  5521. swait()
  5522. 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)
  5523. 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)
  5524. 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)
  5525. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5526. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5528. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5529. end
  5530. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5531. for i = 0,1,0.6 do
  5532. swait()
  5533. 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)
  5534. 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"))
  5535. 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)
  5536. 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)
  5537. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5538. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5539. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5540. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5541. end
  5542. for i = 0,1,0.6 do
  5543. swait()
  5544. 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)
  5545. 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"))
  5546. 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)
  5547. 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)
  5548. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  5549. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5550. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5551. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5552. end
  5553. for i = 0,1,0.6 do
  5554. swait()
  5555. 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)
  5556. 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"))
  5557. 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)
  5558. 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)
  5559. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  5560. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5561. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5562. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5563. end
  5564. for i = 0,1,0.6 do
  5565. swait()
  5566. 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)
  5567. 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"))
  5568. 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)
  5569. 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)
  5570. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  5571. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  5572. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  5573. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  5574. end
  5575. local rot = 15
  5576. for i = 0, 2 do
  5577. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  5578. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5579. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5580. CreateMesh(dis,"Sphere",10,1,10)
  5581. local at1 = Instance.new("Attachment",dis)
  5582. at1.Position = vt(-5,0,0)
  5583. local at2 = Instance.new("Attachment",dis)
  5584. at2.Position = vt(5,0,0)
  5585. local trl = Instance.new('Trail',wed)
  5586. trl.Attachment0 = at1
  5587. trl.Attachment1 = at2
  5588. trl.Texture = "rbxassetid://1049219073"
  5589. trl.LightEmission = 1
  5590. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5591. trl.Color = ColorSequence.new(dis.Color)
  5592. trl.Lifetime = 0.6
  5593. local a = Instance.new("Part",workspace)
  5594. a.Name = "Direction"
  5595. a.Anchored = true
  5596. a.BrickColor = bc("Bright red")
  5597. a.Material = "Neon"
  5598. a.Transparency = 1
  5599. a.CanCollide = false
  5600. local ray = Ray.new(
  5601. dis.CFrame.p, -- origin
  5602. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5603. )
  5604. local ignore = dis
  5605. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5606. a.BottomSurface = 10
  5607. a.TopSurface = 10
  5608. local distance = (dis.CFrame.p - position).magnitude
  5609. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5610. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5611. dis.CFrame = a.CFrame
  5612. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5613. a:Destroy()
  5614. local bv = Instance.new("BodyVelocity")
  5615. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5616. bv.velocity = dis.CFrame.lookVector*250
  5617. bv.Parent = dis
  5618. game:GetService("Debris"):AddItem(dis, 5)
  5619. local hitted = false
  5620. coroutine.resume(coroutine.create(function()
  5621. dis.Touched:connect(function(hit)
  5622. if hitted == false and hit.Parent ~= char then
  5623. hitted = true
  5624. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5625. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  5626. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5627. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5628. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  5629. coroutine.resume(coroutine.create(function()
  5630. local eff = Instance.new("ParticleEmitter",dis)
  5631. eff.Texture = "rbxassetid://2344870656"
  5632. eff.LightEmission = 1
  5633. eff.Color = ColorSequence.new(dis.Color)
  5634. eff.Rate = 10000000
  5635. eff.Enabled = true
  5636. eff.EmissionDirection = "Front"
  5637. eff.Lifetime = NumberRange.new(1)
  5638. 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)})
  5639. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  5640. eff.Speed = NumberRange.new(150)
  5641. eff.Drag = 5
  5642. eff.Rotation = NumberRange.new(-500,500)
  5643. eff.SpreadAngle = Vector2.new(0,900)
  5644. eff.RotSpeed = NumberRange.new(-500,500)
  5645. wait(0.2)
  5646. eff.Enabled = false
  5647. end))
  5648. coroutine.resume(coroutine.create(function()
  5649. for i = 0, 9 do
  5650. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5651. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5652. local at1 = Instance.new("Attachment",disr)
  5653. at1.Position = vt(-2,0,0)
  5654. local at2 = Instance.new("Attachment",disr)
  5655. at2.Position = vt(2,0,0)
  5656. local trl = Instance.new('Trail',disr)
  5657. trl.Attachment0 = at1
  5658. trl.FaceCamera = true
  5659. trl.Attachment1 = at2
  5660. trl.Texture = "rbxassetid://2342682798"
  5661. trl.LightEmission = 1
  5662. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5663. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  5664. trl.Lifetime = 0.5
  5665. local bv = Instance.new("BodyVelocity")
  5666. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5667. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5668. bv.Parent = disr
  5669. local val = 0
  5670. coroutine.resume(coroutine.create(function()
  5671. swait(30)
  5672. for i = 0, 9 do
  5673. swait()
  5674. val = val + 0.1
  5675. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5676. end
  5677. game:GetService("Debris"):AddItem(disr, 3)
  5678. end))
  5679. end
  5680. local eff = Instance.new("ParticleEmitter",dis)
  5681. eff.Texture = "rbxassetid://2273224484"
  5682. eff.LightEmission = 1
  5683. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  5684. eff.Rate = 500000
  5685. eff.Lifetime = NumberRange.new(0.5,2)
  5686. 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)})
  5687. 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)})
  5688. eff.Speed = NumberRange.new(20,250)
  5689. eff.Drag = 5
  5690. eff.Rotation = NumberRange.new(-500,500)
  5691. eff.VelocitySpread = 9000
  5692. eff.RotSpeed = NumberRange.new(-50,50)
  5693. wait(0.25)
  5694. eff.Enabled = false
  5695. end))
  5696. for i = 0, 9 do
  5697. 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"))
  5698. end
  5699. for i = 0, 19 do
  5700. 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)
  5701. end
  5702. coroutine.resume(coroutine.create(function()
  5703. for i = 0, 19 do
  5704. swait()
  5705. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5706. end
  5707. hum.CameraOffset = vt(0,0,0)
  5708. end))
  5709. dis.Anchored = true
  5710. dis.Transparency = 1
  5711. wait(8)
  5712. dis:Destroy()
  5713. end
  5714. end)
  5715. end))
  5716. rot = rot - 15
  5717. end
  5718. for i = 0,2,0.1 do
  5719. swait()
  5720. 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)
  5721. 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)
  5722. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5723. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  5724. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5725. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5726. end
  5727. attack = false
  5728. hum.WalkSpeed = storehumanoidWS
  5729. end
  5730.  
  5731. function CyberSlash()
  5732. local posit = -2
  5733. attack = true
  5734. hum.WalkSpeed = 5
  5735. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  5736. local radm = math.random(1,3)
  5737. if radm == 1 then
  5738. bosschatfunc("TAKE THIS!!!",MAINRUINCOLOR.Color,1)
  5739. elseif radm == 2 then
  5740. bosschatfunc("DIE!!",MAINRUINCOLOR.Color,1)
  5741. elseif radm == 3 then
  5742. bosschatfunc("TAKE MY FIST!!",MAINRUINCOLOR.Color,1)
  5743. end
  5744. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  5745. for i = 0,2,0.1 do
  5746. swait()
  5747. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  5748. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  5749. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  5750. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  5751. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  5752. 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)
  5753. 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)
  5754. end
  5755. for i = 0, 2 do
  5756. CamShakeAOE(Torso.CFrame.p,10,30,250)
  5757. local hite = Instance.new("Part", char)
  5758. hite.Anchored = true
  5759. hite.CanCollide = false
  5760. hite.FormFactor = 3
  5761. hite.Name = "Ring"
  5762. hite.Material = "Neon"
  5763. hite.Size = Vector3.new(1, 1, 1)
  5764. hite.Transparency = 1
  5765. hite.TopSurface = 0
  5766. hite.BottomSurface = 0
  5767. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  5768. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  5769. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  5770. coroutine.resume(coroutine.create(function()
  5771. for i = 0, 1 do
  5772. swait()
  5773. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  5774. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  5775. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  5776. end
  5777. end))
  5778. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  5779. MagniDamage(hite, 3, 30,40, 0, "Normal")
  5780. game:GetService("Debris"):AddItem(hite, 5)
  5781. posit = posit + 2
  5782. end
  5783. for i = 0,1,0.1 do
  5784. swait()
  5785. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  5786. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  5787. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  5788. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  5789. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  5790. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  5791. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  5792. end
  5793. for i = 0,1,0.1 do
  5794. swait()
  5795. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  5796. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  5797. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  5798. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  5799. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  5800. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  5801. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  5802. end
  5803. posit = -6
  5804. for i = 0, 6 do
  5805. CamShakeAOE(Torso.CFrame.p,10,30,250)
  5806. local hite = Instance.new("Part", char)
  5807. hite.Anchored = true
  5808. hite.CanCollide = false
  5809. hite.FormFactor = 3
  5810. hite.Name = "Ring"
  5811. hite.Material = "Neon"
  5812. hite.Size = Vector3.new(1, 1, 1)
  5813. hite.Transparency = 1
  5814. hite.TopSurface = 0
  5815. hite.BottomSurface = 0
  5816. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  5817. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  5818. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  5819. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  5820. coroutine.resume(coroutine.create(function()
  5821. for i = 0, 2 do
  5822. swait()
  5823. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  5824. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  5825. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  5826. end
  5827. end))
  5828. MagniDamage(hite, 5, 40,70, 0, "Normal")
  5829. game:GetService("Debris"):AddItem(hite, 5)
  5830. posit = posit + 2
  5831. end
  5832. for i = 0,1,0.1 do
  5833. swait()
  5834. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  5835. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  5836. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  5837. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  5838. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  5839. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  5840. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  5841. end
  5842. hum.WalkSpeed = storehumanoidWS
  5843. attack = false
  5844. end
  5845.  
  5846. function dragin()
  5847. local targetted = nil
  5848. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5849. targetted = mouse.Target.Parent
  5850. end
  5851. if targetted ~= nil then
  5852. RootPart.CFrame = FaceMouse()[1]
  5853. attack = true
  5854. hum.WalkSpeed = 0
  5855. for x = 0, 1 do
  5856. for i = 0,1,0.5 do
  5857. swait()
  5858. 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)
  5859. 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)
  5860. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  5861. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  5862. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5863. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  5864. end
  5865. for i = 0,1,0.5 do
  5866. swait()
  5867. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  5868. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  5869. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  5870. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  5871. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5872. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  5873. end
  5874. for i = 0,1,0.5 do
  5875. swait()
  5876. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  5877. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  5878. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  5879. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  5880. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5881. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  5882. end
  5883. for i = 0,1,0.5 do
  5884. swait()
  5885. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  5886. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.3)
  5887. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  5888. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  5889. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(90)),.3)
  5890. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.3)
  5891. end
  5892. end
  5893. coroutine.resume(coroutine.create(function()
  5894. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  5895. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  5896. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  5897. end))
  5898. local A1 = Instance.new("Attachment",targetted.Head)
  5899. local A2 = Instance.new("Attachment",sorb)
  5900. local Beem = Instance.new("Beam",tors)
  5901. Beem.Attachment0 = A1
  5902. Beem.Attachment1 = A2
  5903. Beem.Texture = "rbxassetid://897585362"
  5904. Beem.LightEmission = 0.75
  5905. Beem.FaceCamera = true
  5906. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  5907. Beem.Width0 = 1
  5908. Beem.Width1 = 1
  5909. Beem.TextureMode = "Wrap"
  5910. Beem.TextureLength = 1
  5911. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5912. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.15,0.15,0.15,MAINRUINCOLOR)
  5913. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0,0,0),0.2,0.2,0.2,MAINRUINCOLOR)
  5914. for x = 0, 24 do
  5915. local rsiz = math.random(5,15)
  5916. sphereMK(math.random(1,5),0.25,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  5917. end
  5918.  
  5919. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  5920. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  5921. local radm = math.random(1,2)
  5922. if radm == 1 then
  5923. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  5924. elseif radm == 2 then
  5925. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  5926. end
  5927. for i = 0,3,0.1 do
  5928. swait()
  5929. coroutine.resume(coroutine.create(function()
  5930. local rsiz = math.random(5,15)
  5931. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  5932. sphereMK(math.random(1,5),0.01,"Add",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))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  5933. end))
  5934. sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR)
  5935. 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)
  5936. 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)
  5937. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  5938. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  5939. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(50)),.6)
  5940. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.6)
  5941. end
  5942. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  5943. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  5944. local vel = Instance.new("BodyPosition", targetted.Head)
  5945. vel.P = 12500
  5946. vel.D = 1000
  5947. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  5948. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  5949. for i = 0,4,0.1 do
  5950. swait()
  5951. coroutine.resume(coroutine.create(function()
  5952. local rsiz = math.random(5,15)
  5953. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  5954. sphereMK(math.random(1,5),0.01,"Add",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))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  5955. end))
  5956. sphere2(8,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR)
  5957. 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(6),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  5958. 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(3),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.2)
  5959. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  5960. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  5961. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 30),0)*angles(math.rad(90),math.rad(0),math.rad(-50)),.2)
  5962. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40),math.rad(0),math.rad(100)),.2)
  5963. end
  5964. local visibility = 0
  5965. coroutine.resume(coroutine.create(function()
  5966. for i = 0, 49 do
  5967. swait()
  5968. visibility = visibility + 0.02
  5969. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  5970. end
  5971. Beem:Destroy()
  5972. A1:Destroy()
  5973. A2:Destroy()
  5974. end))
  5975. game:GetService("Debris"):AddItem(vel,0.75)
  5976. attack = false
  5977. hum.WalkSpeed = storehumanoidWS
  5978. end
  5979. end
  5980.  
  5981. function soultaken()
  5982. local targetted = nil
  5983. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5984. targetted = mouse.Target.Parent
  5985. end
  5986. if targetted ~= nil then
  5987. attack = true
  5988. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5989. local radm = math.random(1,3)
  5990. if radm == 1 then
  5991. bosschatfunc("Your life wont be neccessary.",MAINRUINCOLOR.Color,2)
  5992. elseif radm == 2 then
  5993. bosschatfunc("Your soul is mine",MAINRUINCOLOR.Color,2)
  5994. elseif radm == 3 then
  5995. bosschatfunc("Fade..",MAINRUINCOLOR.Color,2)
  5996. end
  5997. for i = 0,2,0.1 do
  5998. swait()
  5999. 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)
  6000. 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)
  6001. 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)
  6002. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  6003. 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)
  6004. 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)
  6005. end
  6006. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  6007. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  6008. for i = 0,2,0.1 do
  6009. swait()
  6010. coroutine.resume(coroutine.create(function()
  6011. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  6012. for i,v in pairs(targetted:GetChildren()) do
  6013. if v:IsA("Part") or v:IsA("MeshPart") then
  6014. v.Velocity = vt(0,0,0)
  6015. end
  6016. end
  6017. end))
  6018. 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)
  6019. 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)
  6020. 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)
  6021. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  6022. 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)
  6023. 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)
  6024. end
  6025. for i = 0,4,0.1 do
  6026. swait()
  6027. coroutine.resume(coroutine.create(function()
  6028. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6029. 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)))
  6030. local at1 = Instance.new("Attachment",dis)
  6031. at1.Position = vt(-25000,0,0)
  6032. local at2 = Instance.new("Attachment",dis)
  6033. at2.Position = vt(25000,0,0)
  6034. local trl = Instance.new('Trail',dis)
  6035. trl.Attachment0 = at1
  6036. trl.FaceCamera = true
  6037. trl.Attachment1 = at2
  6038. trl.Texture = "rbxassetid://1049219073"
  6039. trl.LightEmission = 1
  6040. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6041. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  6042. trl.Lifetime = 5
  6043. local bv = Instance.new("BodyVelocity")
  6044. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6045. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6046. bv.Parent = dis
  6047. game:GetService("Debris"):AddItem(dis, 5)
  6048. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  6049. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  6050. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  6051. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  6052. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  6053. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  6054. 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)
  6055. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  6056. 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)
  6057. for i,v in pairs(targetted:GetChildren()) do
  6058. if v:IsA("Part") or v:IsA("MeshPart") then
  6059. v.Velocity = vt(0,0,0)
  6060. end
  6061. end
  6062. end))
  6063. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  6064. 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)
  6065. 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)
  6066. 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)
  6067. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  6068. 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)
  6069. 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)
  6070. end
  6071. hum.CameraOffset = vt(0,0,0)
  6072. for i = 0, 49 do
  6073. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6074. 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)))
  6075. local at1 = Instance.new("Attachment",dis)
  6076. at1.Position = vt(-50000,0,0)
  6077. local at2 = Instance.new("Attachment",dis)
  6078. at2.Position = vt(50000,0,0)
  6079. local trl = Instance.new('Trail',dis)
  6080. trl.Attachment0 = at1
  6081. trl.FaceCamera = true
  6082. trl.Attachment1 = at2
  6083. trl.Texture = "rbxassetid://1049219073"
  6084. trl.LightEmission = 1
  6085. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6086. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  6087. trl.Lifetime = 5
  6088. local bv = Instance.new("BodyVelocity")
  6089. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6090. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6091. bv.Parent = dis
  6092. game:GetService("Debris"):AddItem(dis, 5)
  6093. end
  6094. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  6095. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  6096. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  6097. dmg(targetted)
  6098. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  6099. attack = false
  6100. hum.WalkSpeed = storehumanoidWS
  6101. end
  6102. end
  6103.  
  6104. function Wip()
  6105. attack = true
  6106. local rngb = Instance.new("Part", char)
  6107. rngb.Anchored = true
  6108. rngb.BrickColor = origcolor
  6109. rngb.CanCollide = false
  6110. rngb.FormFactor = 3
  6111. rngb.Name = "Ring"
  6112. rngb.Material = "Neon"
  6113. rngb.Size = Vector3.new(1, 0.05, 1)
  6114. rngb.Transparency = 1
  6115. rngb.TopSurface = 0
  6116. rngb.BottomSurface = 0
  6117. local rngmb = Instance.new("SpecialMesh", rngb)
  6118. rngmb.MeshType = "Brick"
  6119. rngmb.Name = "SizeMesh"
  6120. rngmb.Scale = vt(0, 1, 0)
  6121. local orb = rngb:Clone()
  6122. orb.Parent = char
  6123. orb.Transparency = 0
  6124. orb.BrickColor = BrickColor.new("White")
  6125. orb.Size = vt(1, 1, 1)
  6126. local orbmish = orb.SizeMesh
  6127. orbmish.Scale = vt(0, 0, 0)
  6128. orbmish.MeshType = "Sphere"
  6129. local orbe = rngb:Clone()
  6130. orbe.Parent = char
  6131. orbe.Transparency = 0.5
  6132. orbe.BrickColor = BrickColor.new("New Yeller")
  6133. orbe.Size = vt(1, 1, 1)
  6134. local orbmish2 = orbe.SizeMesh
  6135. orbmish2.Scale = vt(0, 0, 0)
  6136. orbmish2.MeshType = "Sphere"
  6137. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  6138. rngb:Destroy()
  6139. for i = 0, 5, 0.1 do
  6140. swait()
  6141. if rainbowmode == true then
  6142. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  6143. end
  6144. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  6145. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  6146. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  6147. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  6148. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  6149. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  6150. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  6151. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  6152. RootPart.CFrame = FaceMouse()[1]
  6153. end
  6154. orbe.Transparency = 1
  6155. orb.Transparency = 1
  6156. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  6157. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  6158. local a = Instance.new("Part", Character)
  6159. a.Name = "Direction"
  6160. a.Anchored = true
  6161. a.BrickColor = bc("White")
  6162. a.Material = "Neon"
  6163. a.Transparency = 0
  6164. a.Shape = "Cylinder"
  6165. a.CanCollide = false
  6166. local a2 = Instance.new("Part", Character)
  6167. a2.Name = "Direction"
  6168. a2.Anchored = true
  6169. a2.BrickColor = bc("New Yeller")
  6170. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  6171. a2.Material = "Neon"
  6172. a2.Transparency = 0.5
  6173. a2.Shape = "Cylinder"
  6174. a2.CanCollide = false
  6175. local ba = Instance.new("Part", Character)
  6176. ba.Name = "HitDirect"
  6177. ba.Anchored = true
  6178. ba.BrickColor = bc("Really black")
  6179. ba.Material = "Neon"
  6180. ba.Transparency = 1
  6181. ba.CanCollide = false
  6182. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  6183. local ignore = Character
  6184. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6185. a.BottomSurface = 10
  6186. a.TopSurface = 10
  6187. a2.BottomSurface = 10
  6188. a2.TopSurface = 10
  6189. local distance = (orb.CFrame.p - position).magnitude
  6190. a.Size = Vector3.new(distance, 1, 1)
  6191. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6192. a2.Size = Vector3.new(distance, 1, 1)
  6193. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6194. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6195. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6196. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6197. game:GetService("Debris"):AddItem(a, 20)
  6198. game:GetService("Debris"):AddItem(a2, 20)
  6199. game:GetService("Debris"):AddItem(ba, 20)
  6200. local msh = Instance.new("SpecialMesh", a)
  6201. msh.MeshType = "Cylinder"
  6202. msh.Scale = vt(1, 25, 25)
  6203. local msh2 = Instance.new("SpecialMesh", a2)
  6204. msh2.MeshType = "Cylinder"
  6205. msh2.Scale = vt(1, 30, 30)
  6206. for i = 0, 10, 0.1 do
  6207. swait()
  6208. CamShakeAOE(Torso.CFrame.p,10,30,250)
  6209. a2.Color = Color3.new(r / 255, g / 255, b / 255)
  6210. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6211. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6212. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  6213. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6214. distance = (orb.CFrame.p - position).magnitude
  6215. if typrot == 1 then
  6216. rotation = rotation + 2.5
  6217. elseif typrot == 2 then
  6218. rotation = rotation - 2.5
  6219. end
  6220. RootPart.CFrame = FaceMouse()[1]
  6221. a.Size = Vector3.new(distance, 1, 1)
  6222. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6223. a2.Size = Vector3.new(distance, 1, 1)
  6224. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6225. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6226. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6227. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6228. msh.Scale = msh.Scale - vt(0, 0.25, 0.25)
  6229. msh2.Scale = msh2.Scale - vt(0, 0.3, 0.3)
  6230. sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
  6231. sphereMK(5, 1.5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 15, 15, 25, -0.15, MAINRUINCOLOR, 0)
  6232. MagniDamage(ba, 30, 500, 60000, 0, "Normal")
  6233. end
  6234. a:Destroy()
  6235. a2:Destroy()
  6236. ba:Destroy()
  6237. orb:Destroy()
  6238. orbe:Destroy()
  6239. attack = false
  6240. end
  6241.  
  6242. function UniversalSpark()
  6243. attack = true
  6244. local rngb = Instance.new("Part", char)
  6245. rngb.Anchored = true
  6246. rngb.BrickColor = origcolor
  6247. rngb.CanCollide = false
  6248. rngb.FormFactor = 3
  6249. rngb.Name = "Ring"
  6250. rngb.Material = "Neon"
  6251. rngb.Size = Vector3.new(1, 0.05, 1)
  6252. rngb.Transparency = 1
  6253. rngb.TopSurface = 0
  6254. rngb.BottomSurface = 0
  6255. local rngmb = Instance.new("SpecialMesh", rngb)
  6256. rngmb.MeshType = "Brick"
  6257. rngmb.Name = "SizeMesh"
  6258. rngmb.Scale = vt(0, 1, 0)
  6259. local orb = rngb:Clone()
  6260. orb.Parent = char
  6261. orb.Transparency = 0
  6262. orb.BrickColor = BrickColor.new("White")
  6263. orb.Size = vt(1, 1, 1)
  6264. local orbmish = orb.SizeMesh
  6265. orbmish.Scale = vt(0, 0, 0)
  6266. orbmish.MeshType = "Sphere"
  6267. local orbe = rngb:Clone()
  6268. orbe.Parent = char
  6269. orbe.Transparency = 0.5
  6270. orbe.BrickColor = BrickColor.new("New Yeller")
  6271. orbe.Size = vt(1, 1, 1)
  6272. local orbmish2 = orbe.SizeMesh
  6273. orbmish2.Scale = vt(0, 0, 0)
  6274. orbmish2.MeshType = "Sphere"
  6275. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  6276. rngb:Destroy()
  6277. for i = 0, 5, 0.1 do
  6278. swait()
  6279. if rainbowmode == true then
  6280. orbe.Color = Color3.new(r / 255, g / 255, b / 255)
  6281. end
  6282. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  6283. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 11.5
  6284. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(0), math.rad(0), math.rad(90)), 0.3)
  6285. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(0), math.rad(0), math.rad(-90)), 0.3)
  6286. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  6287. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  6288. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(90), math.rad(0)) * angles(math.rad(-0.5), math.rad(0), math.rad(0)), 0.3)
  6289. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 25), 0) * angles(math.rad(0), math.rad(-90), math.rad(0)) * angles(math.rad(-2.5), math.rad(10), math.rad(0)), 0.3)
  6290. RootPart.CFrame = FaceMouse()[1]
  6291. end
  6292. orbe.Transparency = 1
  6293. orb.Transparency = 1
  6294. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 5
  6295. CFuncs.Sound.Create("rbxassetid://294188875", char, 1, 1)
  6296. CFuncs.Sound.Create("rbxassetid://741272936", char, 0.75, 1)
  6297. CFuncs.Sound.Create("rbxassetid://1192402877", char, 1, 1)
  6298. CFuncs.Sound.Create("rbxassetid://1208650519", char, 0.75, 1)
  6299. CFuncs.Sound.Create("rbxassetid://164881112", char, 0.75, 1)
  6300. CFuncs.Sound.Create("rbxassetid://429123896", char, 1, 0.85)
  6301. CFuncs.Sound.Create("rbxassetid://164178927", char, 1, 1)
  6302. local xd = Instance.new("Sound", char)
  6303. xd.SoundId = "rbxassetid://445796828"
  6304. xd.Pitch = 0.75
  6305. xd.Looped = true
  6306. xd.Volume = 1.25
  6307. xd:Play()
  6308. local a = Instance.new("Part", Character)
  6309. a.Name = "Direction"
  6310. a.Anchored = true
  6311. a.BrickColor = bc("Alder")
  6312. a.Color = MAINRUINCOLOR.Color
  6313. a.Material = "Neon"
  6314. a.Transparency = 0.5
  6315. a.Shape = "Cylinder"
  6316. a.CanCollide = false
  6317. local a2 = Instance.new("Part", Character)
  6318. a2.Name = "Direction"
  6319. a2.Anchored = true
  6320. a2.BrickColor = bc("New Yeller")
  6321. a2.Color = MAINRUINCOLOR.Color
  6322. a2.Material = "Neon"
  6323. a2.Transparency = 0.5
  6324. a2.Shape = "Cylinder"
  6325. a2.CanCollide = false
  6326. local ba = Instance.new("Part", Character)
  6327. ba.Name = "HitDirect"
  6328. ba.Anchored = true
  6329. ba.BrickColor = bc("Really black")
  6330. ba.Material = "Neon"
  6331. ba.Transparency = 1
  6332. ba.CanCollide = false
  6333. local ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  6334. local ignore = Character
  6335. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6336. a.BottomSurface = 10
  6337. a.TopSurface = 10
  6338. a2.BottomSurface = 10
  6339. a2.TopSurface = 10
  6340. local distance = (orb.CFrame.p - position).magnitude
  6341. a.Size = Vector3.new(distance, 1, 1)
  6342. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6343. a2.Size = Vector3.new(distance, 1, 1)
  6344. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6345. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6346. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6347. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6348. game:GetService("Debris"):AddItem(a, 60)
  6349. game:GetService("Debris"):AddItem(a2, 60)
  6350. game:GetService("Debris"):AddItem(ba, 60)
  6351. local outerscale = 0
  6352. local msh = Instance.new("SpecialMesh", a)
  6353. msh.MeshType = "Cylinder"
  6354. msh.Scale = vt(1, 0, 0)
  6355. local msh2 = Instance.new("SpecialMesh", a2)
  6356. msh2.MeshType = "Cylinder"
  6357. msh2.Scale = vt(1, 0, 0)
  6358. for i = 0, 2, 0.1 do
  6359. swait()
  6360. CamShakeAOE(Torso.CFrame.p,10,30,250)
  6361. msh2.Scale = msh2.Scale + vt(0, outerscale * 20, outerscale * 20)
  6362. msh.Scale = msh.Scale + vt(0, outerscale * 15, outerscale * 15)
  6363. outerscale = outerscale - 0.015
  6364. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6365. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6366. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  6367. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6368. distance = (orb.CFrame.p - position).magnitude
  6369. if typrot == 1 then
  6370. rotation = rotation + 2.5
  6371. elseif typrot == 2 then
  6372. rotation = rotation - 2.5
  6373. end
  6374. RootPart.CFrame = FaceMouse()[1]
  6375. a.Size = Vector3.new(distance, 1, 1)
  6376. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6377. a2.Size = Vector3.new(distance, 1, 1)
  6378. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6379. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6380. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6381. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6382. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  6383. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  6384. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  6385. end
  6386. for z = 0, 2 do
  6387. for i = 0, 4, 0.1 do
  6388. swait()
  6389. CamShakeAOE(Torso.CFrame.p,10,30,250)
  6390. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  6391. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  6392. outerscale = outerscale + 0.015
  6393. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6394. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6395. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  6396. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6397. distance = (orb.CFrame.p - position).magnitude
  6398. if typrot == 1 then
  6399. rotation = rotation + 2.5
  6400. elseif typrot == 2 then
  6401. rotation = rotation - 2.5
  6402. end
  6403. RootPart.CFrame = FaceMouse()[1]
  6404. a.Size = Vector3.new(distance, 1, 1)
  6405. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6406. a2.Size = Vector3.new(distance, 1, 1)
  6407. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6408. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6409. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6410. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6411. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  6412. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  6413. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  6414. end
  6415. for i = 0, 4, 0.1 do
  6416. swait()
  6417. CamShakeAOE(Torso.CFrame.p,10,30,250)
  6418. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  6419. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  6420. outerscale = outerscale - 0.015
  6421. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6422. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6423. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  6424. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6425. distance = (orb.CFrame.p - position).magnitude
  6426. if typrot == 1 then
  6427. rotation = rotation + 2.5
  6428. elseif typrot == 2 then
  6429. rotation = rotation - 2.5
  6430. end
  6431. RootPart.CFrame = FaceMouse()[1]
  6432. a.Size = Vector3.new(distance, 1, 1)
  6433. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6434. a2.Size = Vector3.new(distance, 1, 1)
  6435. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6436. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6437. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6438. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6439. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  6440. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  6441. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  6442. end
  6443. end
  6444. for i = 0, 4, 0.1 do
  6445. swait()
  6446. CamShakeAOE(Torso.CFrame.p,10,30,250)
  6447. msh2.Scale = msh2.Scale + vt(0, outerscale, outerscale)
  6448. msh.Scale = msh.Scale - vt(0, outerscale, outerscale)
  6449. xd.Volume = xd.Volume - 0.025
  6450. a.Transparency = a.Transparency + 0.025
  6451. a2.Transparency = a2.Transparency + 0.025
  6452. outerscale = outerscale - 0.015
  6453. orb.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6454. orbe.CFrame = root.CFrame * CFrame.new(0, 0.5, 0) + root.CFrame.lookVector * 4
  6455. ray = Ray.new(orb.CFrame.p, (mouse.Hit.p - orb.CFrame.p).unit * 1000)
  6456. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6457. distance = (orb.CFrame.p - position).magnitude
  6458. if typrot == 1 then
  6459. rotation = rotation + 2.5
  6460. elseif typrot == 2 then
  6461. rotation = rotation - 2.5
  6462. end
  6463. RootPart.CFrame = FaceMouse()[1]
  6464. a.Size = Vector3.new(distance, 1, 1)
  6465. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6466. a2.Size = Vector3.new(distance, 1, 1)
  6467. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance / 2)
  6468. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  6469. a.CFrame = a.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6470. a2.CFrame = a2.CFrame * CFrame.Angles(0, math.rad(90), 0)
  6471. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  6472. sphereMK(5, 5, "Add", ba.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 75, 75, 225, -0.75, MAINRUINCOLOR, 0)
  6473. MagniDamage(ba, 100, 500, 60000, 0, "Normal")
  6474. end
  6475. xd:Destroy()
  6476. a:Destroy()
  6477. a2:Destroy()
  6478. ba:Destroy()
  6479. orb:Destroy()
  6480. orbe:Destroy()
  6481. attack = false
  6482. end
  6483.  
  6484.  
  6485. function RapidBurst()
  6486. attack = true
  6487. hum.WalkSpeed = 0
  6488. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6489. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6490. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6491. bosschatfunc("SHATTER!",MAINRUINCOLOR.Color,2)
  6492. local keptcolor = MAINRUINCOLOR
  6493. for i = 0,8,0.1 do
  6494. swait()
  6495. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6496. 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())
  6497. 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)
  6498. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-15 - 2 * math.cos(sine / 32))),.1)
  6499. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(15 + 2 * math.cos(sine / 32))),.1)
  6500. 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)
  6501. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-25 - 2 * math.cos(sine / 37)),math.rad(0 + 1 * math.cos(sine / 58)),math.rad(0 + 2 * math.cos(sine / 53))),.1)
  6502. RW.C0=clerp(RW.C0,cf(1.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)
  6503. 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)
  6504. end
  6505. for i = 0, 99 do
  6506. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6507. 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)))
  6508. local at1 = Instance.new("Attachment",dis)
  6509. at1.Position = vt(-25000,0,0)
  6510. local at2 = Instance.new("Attachment",dis)
  6511. at2.Position = vt(25000,0,0)
  6512. local trl = Instance.new('Trail',dis)
  6513. trl.Attachment0 = at1
  6514. trl.FaceCamera = true
  6515. trl.Attachment1 = at2
  6516. trl.Texture = "rbxassetid://1049219073"
  6517. trl.LightEmission = 1
  6518. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6519. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6520. trl.Lifetime = 5
  6521. local bv = Instance.new("BodyVelocity")
  6522. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6523. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6524. bv.Parent = dis
  6525. game:GetService("Debris"):AddItem(dis, 5)
  6526. end
  6527. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6528. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6529. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6530. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6531. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6532. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6533. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6534. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6535. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6536. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6537. hum.CameraOffset = vt(0,0,0)
  6538. for i = 0, 24 do
  6539. 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())
  6540. end
  6541. local distam = 0
  6542. coroutine.resume(coroutine.create(function()
  6543. for i = 0, 99 do
  6544. wait()
  6545. distam = distam + 1
  6546. local xa = CreateParta(char,1,1,"Neon",BrickColor.random())
  6547. xa.Anchored = true
  6548. 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)))
  6549. game:GetService("Debris"):AddItem(xa, 5)
  6550. for i = 0, 4 do
  6551. 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())
  6552. end
  6553. coroutine.resume(coroutine.create(function()
  6554. local eff = Instance.new("ParticleEmitter",xa)
  6555. eff.Texture = "rbxassetid://2344870656"
  6556. eff.LightEmission = 1
  6557. eff.Color = ColorSequence.new(xa.Color)
  6558. eff.Rate = 10000000
  6559. eff.Enabled = true
  6560. eff.Lifetime = NumberRange.new(2.5)
  6561. 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)})
  6562. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6563. eff.Speed = NumberRange.new(200)
  6564. eff.Drag = 5
  6565. eff.Rotation = NumberRange.new(-500,500)
  6566. eff.SpreadAngle = Vector2.new(0,900)
  6567. eff.RotSpeed = NumberRange.new(-500,500)
  6568. wait(0.2)
  6569. eff.Enabled = false
  6570. end))
  6571. coroutine.resume(coroutine.create(function()
  6572. local eff = Instance.new("ParticleEmitter",xa)
  6573. eff.Texture = "rbxassetid://2273224484"
  6574. eff.LightEmission = 1
  6575. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6576. eff.Rate = 500000
  6577. eff.Lifetime = NumberRange.new(1,3)
  6578. 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)})
  6579. 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)})
  6580. eff.Speed = NumberRange.new(50,500)
  6581. eff.Drag = 5
  6582. eff.Rotation = NumberRange.new(-500,500)
  6583. eff.VelocitySpread = 9000
  6584. eff.RotSpeed = NumberRange.new(-50,50)
  6585. wait(0.25)
  6586. eff.Enabled = false
  6587. end))
  6588. coroutine.resume(coroutine.create(function()
  6589. for i = 0, 19 do
  6590. swait()
  6591. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6592. end
  6593. hum.CameraOffset = vt(0,0,0)
  6594. end))
  6595. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6596. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6597. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6598. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6599. end
  6600. end))
  6601. attack = false
  6602. hum.WalkSpeed = storehumanoidWS
  6603. end
  6604.  
  6605. function BurstRapid()
  6606. attack = true
  6607. hum.WalkSpeed = 0
  6608. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6609. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6610. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6611. bosschatfunc("BURN!!!",MAINRUINCOLOR.Color,2)
  6612. local keptcolor = MAINRUINCOLOR
  6613. for i = 0,8,0.1 do
  6614. swait()
  6615. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6616. 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.new("Navy blue"))
  6617. block(10,"Add",root.CFrame*CFrame.new(0,25,0),vt(0,0,0),0.5,0.5,0.5,BrickColor.new("Really red"),BrickColor.new("Really red").Color)
  6618. 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)
  6619. 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)
  6620. 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)
  6621. 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)
  6622. 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)
  6623. 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)
  6624. end
  6625. for i = 0, 99 do
  6626. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6627. 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)))
  6628. local at1 = Instance.new("Attachment",dis)
  6629. at1.Position = vt(-25000,0,0)
  6630. local at2 = Instance.new("Attachment",dis)
  6631. at2.Position = vt(25000,0,0)
  6632. local trl = Instance.new('Trail',dis)
  6633. trl.Attachment0 = at1
  6634. trl.FaceCamera = true
  6635. trl.Attachment1 = at2
  6636. trl.Texture = "rbxassetid://1049219073"
  6637. trl.LightEmission = 1
  6638. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6639. trl.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  6640. trl.Lifetime = 5
  6641. local bv = Instance.new("BodyVelocity")
  6642. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6643. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6644. bv.Parent = dis
  6645. game:GetService("Debris"):AddItem(dis, 5)
  6646. end
  6647. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6648. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6649. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6650. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.new("Navy blue").Color)
  6651. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.new("Navy blue").Color)
  6652. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.new("Really red").Color)
  6653. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.new("Really red").Color)
  6654. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6655. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6656. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6657. hum.CameraOffset = vt(0,0,0)
  6658. for i = 0, 24 do
  6659. 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.new("Navy blue"))
  6660. end
  6661. local distam = 0
  6662. coroutine.resume(coroutine.create(function()
  6663. for i = 0, 99 do
  6664. wait()
  6665. distam = distam + 1
  6666. local xa = CreateParta(char,1,1,"Neon",BrickColor.new("Really red"))
  6667. xa.Anchored = true
  6668. 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)))
  6669. game:GetService("Debris"):AddItem(xa, 5)
  6670. for i = 0, 4 do
  6671. 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.new("Navy blue"))
  6672. end
  6673. coroutine.resume(coroutine.create(function()
  6674. local eff = Instance.new("ParticleEmitter",xa)
  6675. eff.Texture = "rbxassetid://2344870656"
  6676. eff.LightEmission = 1
  6677. eff.Color = ColorSequence.new(xa.Color)
  6678. eff.Rate = 10000000
  6679. eff.Enabled = true
  6680. eff.Lifetime = NumberRange.new(2.5)
  6681. 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)})
  6682. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6683. eff.Speed = NumberRange.new(200)
  6684. eff.Drag = 5
  6685. eff.Rotation = NumberRange.new(-500,500)
  6686. eff.SpreadAngle = Vector2.new(0,900)
  6687. eff.RotSpeed = NumberRange.new(-500,500)
  6688. wait(0.2)
  6689. eff.Enabled = false
  6690. end))
  6691. coroutine.resume(coroutine.create(function()
  6692. local eff = Instance.new("ParticleEmitter",xa)
  6693. eff.Texture = "rbxassetid://2273224484"
  6694. eff.LightEmission = 1
  6695. eff.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  6696. eff.Rate = 500000
  6697. eff.Lifetime = NumberRange.new(1,3)
  6698. 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)})
  6699. 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)})
  6700. eff.Speed = NumberRange.new(50,500)
  6701. eff.Drag = 5
  6702. eff.Rotation = NumberRange.new(-500,500)
  6703. eff.VelocitySpread = 9000
  6704. eff.RotSpeed = NumberRange.new(-50,50)
  6705. wait(0.25)
  6706. eff.Enabled = false
  6707. end))
  6708. coroutine.resume(coroutine.create(function()
  6709. for i = 0, 19 do
  6710. swait()
  6711. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6712. end
  6713. hum.CameraOffset = vt(0,0,0)
  6714. end))
  6715. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6716. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.new("Navy blue").Color)
  6717. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.new("Really red").Color)
  6718. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6719. end
  6720. end))
  6721. attack = false
  6722. hum.WalkSpeed = storehumanoidWS
  6723. end
  6724.  
  6725.  
  6726.  
  6727. function FallenOrbs()
  6728. attack = true
  6729. hum.WalkSpeed = 2
  6730. local keptcolor = MAINRUINCOLOR
  6731. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  6732. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  6733. local radm = math.random(1,3)
  6734. if radm == 1 then
  6735. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6736. elseif radm == 2 then
  6737. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6738. elseif radm == 3 then
  6739. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6740. end
  6741. local obj1 = script.chring:Clone()
  6742. obj1.Parent = char
  6743. obj1.Transparency = 1
  6744. obj1.Color = BrickColor.new("Toothpaste").Color
  6745. local obj2 = script.spball:Clone()
  6746. obj2.Parent = char
  6747. obj2.Transparency = 1
  6748. obj2.Color = MAINRUINCOLOR.Color
  6749. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6750. cfor.Anchored = true
  6751. cfor.CFrame = obj2.CFrame
  6752. local cef = Instance.new("ParticleEmitter",cfor)
  6753. cef.Texture = "rbxassetid://2344870656"
  6754. cef.LightEmission = 1
  6755. cef.Color = ColorSequence.new(obj2.Color)
  6756. cef.Rate = 150
  6757. cef.Lifetime = NumberRange.new(0.25)
  6758. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  6759. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  6760. cef.Speed = NumberRange.new(0)
  6761. local rval = 0
  6762. local eval = 1
  6763. CFuncs["Sound"].Create("rbxassetid://136007472", root, 10,0.7)
  6764. for i = 0,10,0.1 do
  6765. swait()
  6766. rval = rval + math.random(30,40)
  6767. eval = eval + 1.5
  6768. obj1.Transparency = obj1.Transparency - 0.003
  6769. obj1.Size = obj1.Size + vt(0,1,1)
  6770. obj1.CFrame = root.CFrame*CFrame.new(0,16,0)*CFrame.Angles(math.rad(0),math.rad(rval),math.rad(-90))
  6771. obj2.Transparency = obj2.Transparency - 0.005
  6772. obj2.Size = obj2.Size + vt(0.5,0.5,0.5)
  6773. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  6774. obj2.CFrame = root.CFrame*CFrame.new(0,36,0)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  6775. cfor.CFrame = obj2.CFrame
  6776. 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"))
  6777. 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"))
  6778. 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)
  6779. 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)
  6780. 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)
  6781. 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)
  6782. 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)
  6783. 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)
  6784. 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)
  6785. end
  6786. cef.Enabled = false
  6787. coroutine.resume(coroutine.create(function()
  6788. for i = 0,49 do
  6789. swait()
  6790. rval = rval + 100
  6791. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  6792. obj2.Transparency = obj2.Transparency + 0.02
  6793. obj2.Size = obj2.Size + vt(5,5,5)
  6794. obj1.Transparency = obj1.Transparency + 0.02
  6795. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  6796. end
  6797. obj1:Destroy()
  6798. obj2:Destroy()
  6799. cfor:Destroy()
  6800. end))
  6801. for i = 0, 9 do
  6802. 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"))
  6803. 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"))
  6804. end
  6805. 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)
  6806. 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)
  6807. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 10, 0.8,0,10,0.15,0.5,1)
  6808. CFuncs["EchoSound"].Create("rbxassetid://763717897", root, 7.5, 1.1,0,10,0.15,0.5,1)
  6809. CFuncs["EchoSound"].Create("rbxassetid://675172759", root, 5, 0.7,0,10,0.15,0.5,1)
  6810. coroutine.resume(coroutine.create(function()
  6811. for i = 0, 19 do
  6812. swait()
  6813. local custcol = math.random(1,3)
  6814. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6815. if custcol == 1 then
  6816. dis.BrickColor = MAINRUINCOLOR
  6817. elseif custcol == 2 then
  6818. dis.BrickColor = BrickColor.new("Toothpaste")
  6819. elseif custcol == 3 then
  6820. dis.BrickColor = BrickColor.new("Deep orange")
  6821. end
  6822. dis.Anchored = true
  6823. --CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6824. dis.CFrame = root.CFrame*CFrame.new(math.random(-30,30),math.random(11,51),math.random(-30,30))
  6825. CreateMesh(dis,"Sphere",2,2,2)
  6826. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6827. 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"))
  6828. coroutine.resume(coroutine.create(function()
  6829. wait(0.5)
  6830. dis.Anchored = false
  6831. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  6832. local at1 = Instance.new("Attachment",dis)
  6833. at1.Position = vt(-1,0,0)
  6834. local at2 = Instance.new("Attachment",dis)
  6835. at2.Position = vt(1,0,0)
  6836. local trl = Instance.new('Trail',dis)
  6837. trl.Attachment0 = at1
  6838. trl.FaceCamera = true
  6839. trl.Attachment1 = at2
  6840. trl.Texture = "rbxassetid://1049219073"
  6841. trl.LightEmission = 1
  6842. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6843. trl.Color = ColorSequence.new(dis.Color)
  6844. trl.Lifetime = 0.6
  6845. local a = Instance.new("Part",workspace)
  6846. a.Name = "Direction"
  6847. a.Anchored = true
  6848. a.BrickColor = bc("Bright red")
  6849. a.Material = "Neon"
  6850. a.Transparency = 1
  6851. a.CanCollide = false
  6852. local ray = Ray.new(
  6853. dis.CFrame.p, -- origin
  6854. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6855. )
  6856. local ignore = dis
  6857. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6858. a.BottomSurface = 10
  6859. a.TopSurface = 10
  6860. local distance = (dis.CFrame.p - position).magnitude
  6861. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6862. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6863. dis.CFrame = a.CFrame
  6864. a:Destroy()
  6865. local bv = Instance.new("BodyVelocity")
  6866. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6867. bv.velocity = dis.CFrame.lookVector*500
  6868. bv.Parent = dis
  6869. game:GetService("Debris"):AddItem(dis, 5)
  6870. local hitted = false
  6871. coroutine.resume(coroutine.create(function()
  6872. dis.Touched:connect(function(hit)
  6873. if hitted == false and hit.Parent ~= char then
  6874. hitted = true
  6875. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  6876. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6877. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,dis.BrickColor,dis.Color)
  6878. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6879. coroutine.resume(coroutine.create(function()
  6880. local eff = Instance.new("ParticleEmitter",dis)
  6881. eff.Texture = "rbxassetid://2344870656"
  6882. eff.LightEmission = 1
  6883. eff.Color = ColorSequence.new(dis.Color)
  6884. eff.Rate = 10000000
  6885. eff.Enabled = true
  6886. --eff.EmissionDirection = "Front"
  6887. eff.Lifetime = NumberRange.new(3)
  6888. 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)})
  6889. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  6890. eff.Speed = NumberRange.new(250)
  6891. eff.Drag = 5
  6892. eff.Rotation = NumberRange.new(-500,500)
  6893. eff.SpreadAngle = Vector2.new(0,900)
  6894. eff.RotSpeed = NumberRange.new(-500,500)
  6895. wait(0.2)
  6896. eff.Enabled = false
  6897. end))
  6898. coroutine.resume(coroutine.create(function()
  6899. for i = 0, 4 do
  6900. local disr = CreateParta(char,1,1,"Neon",dis.BrickColor)
  6901. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6902. local at1 = Instance.new("Attachment",disr)
  6903. at1.Position = vt(-10,0,0)
  6904. local at2 = Instance.new("Attachment",disr)
  6905. at2.Position = vt(10,0,0)
  6906. local trl = Instance.new('Trail',disr)
  6907. trl.Attachment0 = at1
  6908. trl.FaceCamera = true
  6909. trl.Attachment1 = at2
  6910. trl.Texture = "rbxassetid://2342682798"
  6911. trl.LightEmission = 1
  6912. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6913. trl.Color = ColorSequence.new(disr.Color)
  6914. trl.Lifetime = 0.5
  6915. local bv = Instance.new("BodyVelocity")
  6916. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6917. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6918. bv.Parent = disr
  6919. local val = 0
  6920. coroutine.resume(coroutine.create(function()
  6921. swait(30)
  6922. for i = 0, 9 do
  6923. swait()
  6924. val = val + 0.1
  6925. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6926. end
  6927. game:GetService("Debris"):AddItem(disr, 3)
  6928. end))
  6929. end
  6930. local eff = Instance.new("ParticleEmitter",dis)
  6931. eff.Texture = "rbxassetid://2273224484"
  6932. eff.LightEmission = 1
  6933. eff.Color = ColorSequence.new(dis.Color)
  6934. eff.Rate = 500000
  6935. eff.Lifetime = NumberRange.new(0.5,2)
  6936. 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)})
  6937. 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)})
  6938. eff.Speed = NumberRange.new(20,250)
  6939. eff.Drag = 5
  6940. eff.Rotation = NumberRange.new(-500,500)
  6941. eff.VelocitySpread = 9000
  6942. eff.RotSpeed = NumberRange.new(-50,50)
  6943. wait(0.5)
  6944. eff.Enabled = false
  6945. end))
  6946. for i = 0, 4 do
  6947. 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"))
  6948. end
  6949. coroutine.resume(coroutine.create(function()
  6950. for i = 0, 19 do
  6951. swait()
  6952. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6953. end
  6954. hum.CameraOffset = vt(0,0,0)
  6955. end))
  6956. dis.Anchored = true
  6957. dis.Transparency = 1
  6958. wait(8)
  6959. dis:Destroy()
  6960. end
  6961. end)
  6962. end))
  6963. end))
  6964. end
  6965. end))
  6966. for i = 0,9,0.1 do
  6967. swait()
  6968. 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)
  6969. 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)
  6970. 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)
  6971. 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)
  6972. 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)
  6973. 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)
  6974. end
  6975. attack = false
  6976. hum.WalkSpeed = storehumanoidWS
  6977. end
  6978.  
  6979. function EquinoxOrbs()
  6980. hum.WalkSpeed = 0
  6981. attack = true
  6982. for i = 0,1,0.1 do
  6983. swait()
  6984. 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)
  6985. 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)
  6986. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6987. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6988. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6989. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6990. end
  6991. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6992. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6993. for i = 0, 24 do
  6994. 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"))
  6995. end
  6996. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6997. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6998. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6999. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  7000. for i = 0,4,0.1 do
  7001. swait()
  7002. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  7003. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  7004. CreateMesh(dis,"Sphere",1,1,1)
  7005. dis.Anchored = true
  7006. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  7007. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  7008. CreateMesh(dis2,"Sphere",1,1,1)
  7009. dis2.Anchored = true
  7010. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  7011. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  7012. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  7013. coroutine.resume(coroutine.create(function()
  7014. swait(60)
  7015. dis.Transparency = 1
  7016. dis2.Transparency = 1
  7017. coroutine.resume(coroutine.create(function()
  7018. for i = 0, 19 do
  7019. swait()
  7020. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  7021. end
  7022. hum.CameraOffset = vt(0,0,0)
  7023. end))
  7024. coroutine.resume(coroutine.create(function()
  7025. local eff = Instance.new("ParticleEmitter",dis)
  7026. eff.Texture = "rbxassetid://2273224484"
  7027. eff.LightEmission = 1
  7028. eff.Color = ColorSequence.new(dis.Color)
  7029. eff.Rate = 500000
  7030. eff.Lifetime = NumberRange.new(0.5,2)
  7031. 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)})
  7032. 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)})
  7033. eff.Speed = NumberRange.new(50,450)
  7034. eff.Drag = 5
  7035. eff.Rotation = NumberRange.new(-500,500)
  7036. eff.VelocitySpread = 9000
  7037. eff.RotSpeed = NumberRange.new(-50,50)
  7038. local eff2 = eff:Clone()
  7039. eff2.Parent = dis2
  7040. eff2.LightEmission = 0
  7041. eff2.Color = ColorSequence.new(dis2.Color)
  7042. wait(0.25)
  7043. eff.Enabled = false
  7044. eff2.Enabled = false
  7045. end))
  7046. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  7047. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  7048. for i = 0, 2 do
  7049. 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)
  7050. 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)
  7051. end
  7052. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  7053. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  7054. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  7055. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  7056. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  7057. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  7058. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  7059. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  7060. end))
  7061. game:GetService("Debris"):AddItem(dis, 5)
  7062. game:GetService("Debris"):AddItem(dis2, 5)
  7063. 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)
  7064. 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)
  7065. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  7066. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  7067. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  7068. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  7069. end
  7070. attack = false
  7071. hum.WalkSpeed = storehumanoidWS
  7072. end
  7073. function FallenDEMISE()
  7074. attack = true
  7075. hum.WalkSpeed = 0
  7076. local keptcolor = MAINRUINCOLOR
  7077. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  7078. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  7079. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  7080. for i = 0, 15, 0.1 do
  7081. swait()
  7082. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7083. 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)))
  7084. local at1 = Instance.new("Attachment",dis)
  7085. at1.Position = vt(-25000,0,0)
  7086. local at2 = Instance.new("Attachment",dis)
  7087. at2.Position = vt(25000,0,0)
  7088. local trl = Instance.new('Trail',dis)
  7089. trl.Attachment0 = at1
  7090. trl.FaceCamera = true
  7091. trl.Attachment1 = at2
  7092. trl.Texture = "rbxassetid://1049219073"
  7093. trl.LightEmission = 1
  7094. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7095. trl.Color = ColorSequence.new(dis.Color)
  7096. trl.Lifetime = 5
  7097. local bv = Instance.new("BodyVelocity")
  7098. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7099. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7100. bv.Parent = dis
  7101. game:GetService("Debris"):AddItem(dis, 1)
  7102. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  7103. 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"))
  7104. 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"))
  7105. 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)
  7106. 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)
  7107. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7108. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7109. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7110. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7111. end
  7112. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  7113. for i = 0, 30, 0.1 do
  7114. swait()
  7115. coroutine.resume(coroutine.create(function()
  7116. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  7117. if v:FindFirstChild('Head') then
  7118. dmg(v)
  7119. end
  7120. end
  7121. end))
  7122. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7123. 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)))
  7124. local at1 = Instance.new("Attachment",dis)
  7125. at1.Position = vt(-50000,0,0)
  7126. local at2 = Instance.new("Attachment",dis)
  7127. at2.Position = vt(50000,0,0)
  7128. local trl = Instance.new('Trail',dis)
  7129. trl.Attachment0 = at1
  7130. trl.FaceCamera = true
  7131. trl.Attachment1 = at2
  7132. trl.Texture = "rbxassetid://1049219073"
  7133. trl.LightEmission = 1
  7134. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7135. trl.Color = ColorSequence.new(dis.Color)
  7136. trl.Lifetime = 10
  7137. local bv = Instance.new("BodyVelocity")
  7138. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7139. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  7140. bv.Parent = dis
  7141. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  7142. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  7143. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  7144. 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"))
  7145. 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"))
  7146. 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"))
  7147. 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"))
  7148. for i = 0, 2 do
  7149. 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)
  7150. end
  7151. 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)
  7152. 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)
  7153. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  7154. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7155. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  7156. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  7157. end
  7158. attack = false
  7159. hum.WalkSpeed = storehumanoidWS
  7160. end
  7161.  
  7162. function SHDTwist()
  7163. attack = true
  7164. hum.WalkSpeed = 2
  7165. local radm = math.random(1,3)
  7166. if radm == 1 then
  7167. bosschatfunc("Plasmatic Burst!",MAINRUINCOLOR.Color,1)
  7168. elseif radm == 2 then
  7169. bosschatfunc("How cute.",MAINRUINCOLOR.Color,1)
  7170. elseif radm == 3 then
  7171. bosschatfunc("Suffer to the brightness.",MAINRUINCOLOR.Color,1)
  7172. end
  7173. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1.5,1.25)
  7174. local obj1 = script.chring2:Clone()
  7175. obj1.Parent = char
  7176. obj1.Transparency = 1
  7177. obj1.Size = vt(1,1,1)
  7178. obj1.Color = BrickColor.new("Pink").Color
  7179. local obj2 = script.spball:Clone()
  7180. obj2.Parent = char
  7181. obj2.Transparency = 1
  7182. obj2.Size = vt(1,1,1)
  7183. obj2.Color = MAINRUINCOLOR.Color
  7184. local cfor = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7185. cfor.Anchored = true
  7186. cfor.CFrame = obj2.CFrame
  7187. local cef = Instance.new("ParticleEmitter",cfor)
  7188. cef.Texture = "rbxassetid://2344870656"
  7189. cef.LightEmission = 1
  7190. cef.Color = ColorSequence.new(obj2.Color)
  7191. cef.Rate = 150
  7192. cef.Lifetime = NumberRange.new(0.25)
  7193. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,1,0),NumberSequenceKeypoint.new(1,0,0)})
  7194. cef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7195. cef.Speed = NumberRange.new(0)
  7196. local rval = 0
  7197. local eval = 1
  7198. for i = 0,7,0.1 do
  7199. swait()
  7200. rval = rval + math.random(30,40)
  7201. eval = eval + 0.45
  7202. obj1.Transparency = obj1.Transparency - 0.005
  7203. obj1.Size = obj1.Size + vt(0.3,0.3,0.1)
  7204. obj1.CFrame = root.CFrame*CFrame.new(0,1,-5)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(rval))
  7205. obj2.Transparency = obj2.Transparency - 0.007
  7206. obj2.Size = obj2.Size + vt(0.15,0.15,0.15)
  7207. cef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.5,eval,0),NumberSequenceKeypoint.new(1,0,0)})
  7208. obj2.CFrame = root.CFrame*CFrame.new(0,1,-7)*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7209. cfor.CFrame = obj2.CFrame
  7210. 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)
  7211. 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)
  7212. 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)
  7213. 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)
  7214. 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)
  7215. 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)
  7216. 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)
  7217. 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)
  7218. end
  7219. cef.Enabled = false
  7220. coroutine.resume(coroutine.create(function()
  7221. for i = 0,49 do
  7222. swait()
  7223. rval = rval + 100
  7224. obj2.CFrame = obj2.CFrame*CFrame.Angles(math.rad(rval),math.rad(rval),math.rad(-rval))
  7225. obj2.Transparency = obj2.Transparency + 0.02
  7226. obj2.Size = obj2.Size + vt(5,5,5)
  7227. obj1.Transparency = obj1.Transparency + 0.02
  7228. obj1.Size = obj1.Size + vt(0,-0.5,-0.5)
  7229. end
  7230. obj1:Destroy()
  7231. obj2:Destroy()
  7232. cfor:Destroy()
  7233. end))
  7234. local lva = 1
  7235. local ica = 0
  7236. local cent = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7237. CFuncs["Sound"].Create("rbxassetid://1177785010", cent, 10, 1)
  7238. cent.CFrame = root.CFrame*CFrame.Angles(0,0,0) + root.CFrame.lookVector*5
  7239. 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)
  7240. sphere2(3,"Add",cent.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7241.  
  7242. local a = Instance.new("Part",workspace)
  7243. a.Name = "Direction"
  7244. a.Anchored = true
  7245. a.BrickColor = bc("Bright red")
  7246. a.Material = "Neon"
  7247. a.Transparency = 1
  7248. a.CanCollide = false
  7249. local ray = Ray.new(
  7250. cent.CFrame.p, -- origin
  7251. (mouse.Hit.p - cent.CFrame.p).unit * 500 -- direction
  7252. )
  7253. local ignore = cent
  7254. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7255. a.BottomSurface = 10
  7256. a.TopSurface = 10
  7257. local distance = (cent.CFrame.p - position).magnitude
  7258. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7259. a.CFrame = CFrame.new(cent.CFrame.p, position) * CFrame.new(0, 0, 0)
  7260. cent.CFrame = a.CFrame
  7261. a:Destroy()
  7262. local bv = Instance.new("BodyVelocity")
  7263. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7264. bv.velocity = cent.CFrame.lookVector*0
  7265. bv.Parent = cent
  7266. game:GetService("Debris"):AddItem(cent, 20)
  7267. local hitted = false
  7268. coroutine.resume(coroutine.create(function()
  7269. while true do
  7270. swait(1)
  7271. if hitted == false and cent.Parent ~= nil then
  7272. ica = ica + 4*lva
  7273. lva = lva + 0.1
  7274. bv.velocity = cent.CFrame.lookVector*ica
  7275. sphere2(3,"Add",cent.CFrame,vt(5,5,5),-0.05,-0.05,-0.05,BrickColor.new("Pastel light blue"))
  7276. 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"))
  7277. 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"))
  7278. elseif hitted == true or cent.Parent == nil then
  7279. break
  7280. end
  7281. end
  7282. end))
  7283. coroutine.resume(coroutine.create(function()
  7284. cent.Touched:connect(function(hit)
  7285. if hitted == false and hit.Parent ~= char then
  7286. hitted = true
  7287. cent.Anchored = true
  7288. CFuncs["Sound"].Create("rbxassetid://782353443", cent, 10, 1)
  7289. CFuncs["Sound"].Create("rbxassetid://1368637781", cent, 8, 1)
  7290. CFuncs["Sound"].Create("rbxassetid://763717897", cent, 5, 1)
  7291. CFuncs["EchoSound"].Create("rbxassetid://1177785010", cent, 8, 1.1,0,10,0.15,0.5,1)
  7292. MagniDamage(cent, 50, 50,99999, 0, "Normal")
  7293. sphere2(2,"Add",cent.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Pastel light blue"),BrickColor.new("Pastel light blue").Color)
  7294. sphere2(3,"Add",cent.CFrame,vt(1,1,1),1.2,1.2,1.2,BrickColor.new("Pink"),BrickColor.new("Pink").Color)
  7295. for i = 0, 19 do
  7296. 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"))
  7297. 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"))
  7298. end
  7299. coroutine.resume(coroutine.create(function()
  7300. local eff = Instance.new("ParticleEmitter",cent)
  7301. eff.Texture = "rbxassetid://2344870656"
  7302. eff.LightEmission = 1
  7303. eff.Color = ColorSequence.new(BrickColor.new("Pastel light blue").Color)
  7304. eff.Rate = 10000000
  7305. eff.Enabled = true
  7306. --eff.EmissionDirection = "Front"
  7307. eff.Lifetime = NumberRange.new(5)
  7308. 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)})
  7309. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.8,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7310. eff.Speed = NumberRange.new(350)
  7311. eff.Drag = 5
  7312. eff.Rotation = NumberRange.new(-500,500)
  7313. eff.SpreadAngle = Vector2.new(0,900)
  7314. eff.RotSpeed = NumberRange.new(-500,500)
  7315. local eff2 = eff:Clone()
  7316. eff2.Parent = cent
  7317. eff2.Speed = NumberRange.new(250)
  7318. eff2.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  7319. wait(0.2)
  7320. eff.Enabled = false
  7321. eff2.Enabled = false
  7322. end))
  7323. end
  7324. end)
  7325. end))
  7326. attack = false
  7327. hum.WalkSpeed = storehumanoidWS
  7328. end
  7329.  
  7330. function shytaunty()
  7331. attack = true
  7332. hum.WalkSpeed = 0
  7333. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
  7334. local blush = Instance.new("Decal",hed)
  7335. blush.Texture = "rbxassetid://898404027"
  7336. blush.Face = "Front"
  7337. bosschatfunc("-blush-...Love.",MAINRUINCOLOR.Color,1)
  7338. for i = 0, 13, 0.1 do
  7339. swait()
  7340. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  7341. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  7342. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  7343. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  7344. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  7345. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  7346. end
  7347. coroutine.resume(coroutine.create(function()
  7348. for i = 0, 49 do
  7349. swait()
  7350. blush.Transparency = blush.Transparency + 0.02
  7351. end
  7352. blush:Destroy()
  7353. end))
  7354. hum.WalkSpeed = storehumanoidWS
  7355. attack = false
  7356. end
  7357.  
  7358. -------------------------------------
  7359.  
  7360. Humanoid.Animator.Parent = nil
  7361.  
  7362. -------------------------------------
  7363.  
  7364. local attacktype = 1
  7365. mouse.Button1Down:connect(function()
  7366. if attack == false and attacktype == 1 then
  7367. attacktype = 2
  7368. attackone()
  7369. elseif attack == false and attacktype == 2 then
  7370. attacktype = 3
  7371. attacktwo()
  7372. elseif attack == false and attacktype == 3 then
  7373. attacktype = 1
  7374. attackthree()
  7375. elseif attack == false and attacktype == 4 then
  7376. attacktype = 1
  7377. --attackfour()
  7378. end
  7379. end)
  7380. mouse.KeyDown:connect(function(k)
  7381. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  7382. normalmog()
  7383. ModeOfGlitch = 1
  7384. storehumanoidWS = 16
  7385. hum.WalkSpeed = 16
  7386. rainbowmode = false
  7387. chaosmode = false
  7388. Controlledmode = false
  7389. newTheme("rbxassetid://396632569",109,1.1,1.25)
  7390. RecolorTextAndRename("Hopeless Guest",Color3.new(0,0,0),Color3.new(99, 95, 98),"Antique")
  7391. MAINRUINCOLOR = BrickColor.new("Really black")
  7392. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,true)
  7393. end
  7394. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  7395. ModeOfGlitch = 2
  7396. storehumanoidWS = 16
  7397. hum.WalkSpeed = 16
  7398. rainbowmode = false
  7399. chaosmode = false
  7400. Controlledmode = false
  7401. RecolorTextAndRename("Serene Guest",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  7402. newTheme("rbxassetid://1539245059",0,1,1.25)
  7403. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7404. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7405. end
  7406. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  7407. ModeOfGlitch = 3
  7408. storehumanoidWS = 16
  7409. hum.WalkSpeed = 16
  7410. rainbowmode = false
  7411. chaosmode = false
  7412. Controlledmode = false
  7413. RecolorTextAndRename("Royal Guest",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  7414. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  7415. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7416. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7417. end
  7418. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  7419. ModeOfGlitch = 4
  7420. storehumanoidWS = 16
  7421. hum.WalkSpeed = 16
  7422. rainbowmode = false
  7423. chaosmode = true
  7424. Controlledmode = false
  7425. RecolorTextAndRename("Altered Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  7426. newTheme("rbxassetid://200514784",10,1.12,1.25)
  7427. MAINRUINCOLOR = BrickColor.new("Black")
  7428. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7429. end
  7430. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  7431. hum.WalkSpeed = 0
  7432. attack = true
  7433. for i = 0,1,0.1 do
  7434. swait()
  7435. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  7436. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  7437. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  7438. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  7439. 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)
  7440. 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)
  7441. end
  7442. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7443. for i = 0, 148 do
  7444. 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))),1,1,1,0.02,MAINRUINCOLOR,0)
  7445. end
  7446. for i = 0,3,0.1 do
  7447. 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)
  7448. end
  7449. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  7450. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  7451. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  7452. hum.WalkSpeed = storehumanoidWS
  7453. attack = false
  7454. ModeOfGlitch = 66
  7455. storehumanoidWS = 16
  7456. hum.WalkSpeed = 16
  7457. rainbowmode = false
  7458. chaosmode = false
  7459. Controlledmode = true
  7460. RecolorTextAndRename("CONTROLLED_GUEST", Color3.new(0.4, 0, 0), Color3.new(0, 0, 0.4),"Antique")
  7461. newTheme("rbxassetid://200514784", 58.15, 1.2,2)
  7462. MAINRUINCOLOR = BrickColor.new("Navy blue")
  7463. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,BrickColor.new("Really red"),0.4,BrickColor.new("Really red"),1,MAINRUINCOLOR,true,true)
  7464. for i = 0,2,0.1 do
  7465. swait()
  7466. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  7467. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  7468. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  7469. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  7470. 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)
  7471. 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)
  7472. end
  7473. end
  7474. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  7475. ModeOfGlitch = 5
  7476. storehumanoidWS = 16
  7477. hum.WalkSpeed = 16
  7478. rainbowmode = false
  7479. chaosmode = false
  7480. Controlledmode = false
  7481. RecolorTextAndRename("Divine Guest",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  7482. newTheme("rbxassetid://661079869",0,1.02,1.25)
  7483. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  7484. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7485. end
  7486. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  7487. ModeOfGlitch = 6
  7488. storehumanoidWS = 100
  7489. hum.WalkSpeed = 100
  7490. rainbowmode = false
  7491. chaosmode = false
  7492. Controlledmode = false
  7493. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  7494. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  7495. MAINRUINCOLOR = BrickColor.new("White")
  7496. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark stone grey"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7497. end
  7498. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  7499. ModeOfGlitch = 8
  7500. storehumanoidWS = 140
  7501. hum.WalkSpeed = 140
  7502. rainbowmode = false
  7503. chaosmode = false
  7504. Controlledmode = false
  7505. RecolorTextAndRename("Universe Guest",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  7506. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  7507. MAINRUINCOLOR = BrickColor.new("Alder")
  7508. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7509. end
  7510. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  7511. ModeOfGlitch = 9
  7512. storehumanoidWS = 16
  7513. hum.WalkSpeed = 16
  7514. rainbowmode = false
  7515. chaosmode = false
  7516. Controlledmode = false
  7517. RecolorTextAndRename("Infected Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  7518. newTheme("rbxassetid://1296208488",0,1.01,1.25)
  7519. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  7520. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7521. end
  7522. if k == "h" and attack == false and ModeOfGlitch ~= 68786 then
  7523. attack = true
  7524. local keptcolor = MAINRUINCOLOR
  7525. hum.WalkSpeed = 0
  7526. for i = 0, 5, 0.1 do
  7527. swait()
  7528. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  7529. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  7530. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7531. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  7532. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  7533. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  7534. end
  7535. CamShakeAOE(Torso.CFrame.p,10,30,250)
  7536. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.5,0.5,0.5,keptcolor)
  7537. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,keptcolor)
  7538. sphere2(3,"Add",root.CFrame,vt(5,5,5),1,1,1,keptcolor)
  7539. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,keptcolor)
  7540. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,keptcolor)
  7541. sphere2(2,"Add",root.CFrame,vt(5,10000,5),0.6,0.6,0.6,keptcolor)
  7542. CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
  7543. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
  7544. coroutine.resume(coroutine.create(function()
  7545. local eff = Instance.new("ParticleEmitter",root)
  7546. eff.Texture = "rbxassetid://363275192"
  7547. eff.LightEmission = 0.95
  7548. eff.Color = ColorSequence.new(keptcolor.Color)
  7549. eff.Rate = 10000
  7550. eff.Lifetime = NumberRange.new(1)
  7551. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  7552. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7553. eff.Speed = NumberRange.new(50,200)
  7554. eff.Drag = 5
  7555. eff.Rotation = NumberRange.new(-500,500)
  7556. eff.VelocitySpread = 9000
  7557. eff.RotSpeed = NumberRange.new(-50,50)
  7558. wait(0.5)
  7559. eff.Enabled = false
  7560. wait(5)
  7561. eff:Destroy()
  7562. end))
  7563. for i = 0, 49 do
  7564. local rsiz = math.random(70,90)
  7565. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(25,100)/25,-0.005,MAINRUINCOLOR)
  7566. end
  7567. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7568. CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
  7569. newTheme("rbxassetid://736003449",0,1,2)
  7570. ModeOfGlitch = 68786
  7571. MAINRUINCOLOR = BrickColor.new("Hot pink")
  7572. for i = 0, 1, 0.2 do
  7573. swait()
  7574. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7575. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7576. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  7577. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  7578. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  7579. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  7580. end
  7581. for i = 0, 9, 0.1 do
  7582. swait()
  7583. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  7584. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  7585. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7586. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  7587. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  7588. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  7589. end
  7590. CamShakeAOE(Torso.CFrame.p,10,30,250)
  7591. sphere2(2,"Add",root.CFrame,vt(5,5,5),0.75,0.75,0.75,BrickColor.new("Pink"))
  7592. sphere2(2,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
  7593. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.25,1.25,1.25,MAINRUINCOLOR)
  7594. sphere2(3,"Add",root.CFrame,vt(5,5,5),1.5,1.5,1.5,MAINRUINCOLOR)
  7595. sphere2(1,"Add",root.CFrame,vt(5,10000,5),0.5,0.5,0.5,BrickColor.new("Pink"))
  7596. sphere2(2,"Add",root.CFrame,vt(5,10000,5),1,1,1,MAINRUINCOLOR)
  7597. CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
  7598. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
  7599. for i = 0, 49 do
  7600. local rsiz = math.random(70,90)
  7601. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(5,1,5),-0.005,math.random(50,200)/25,-0.005,MAINRUINCOLOR)
  7602. sphereMK(math.random(1,2),math.random(1,3),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0)
  7603. end
  7604. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7605. for i = 0, 1, 0.2 do
  7606. swait()
  7607. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7608. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7609. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  7610. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  7611. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  7612. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  7613. end
  7614. for i = 0, 1, 0.1 do
  7615. swait()
  7616. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  7617. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  7618. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7619. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  7620. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  7621. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  7622. end
  7623. CamShakeAOE(Torso.CFrame.p,10,30,250)
  7624. sphere2(4,"Add",root.CFrame,vt(5,5,5),1,1,1,BrickColor.new("Pink"))
  7625. sphere2(4,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
  7626. sphere2(9,"Add",root.CFrame,vt(5,5,5),3,3,3,MAINRUINCOLOR)
  7627. sphere2(9,"Add",root.CFrame,vt(5,5,5),4,4,4,MAINRUINCOLOR)
  7628. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  7629. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  7630. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  7631. sphere2(1,"Add",root.CFrame,vt(5,5,5),2,2,2,BrickColor.new("Pink"))
  7632. sphere2(1,"Add",root.CFrame,vt(5,5,5),3,3,3,BrickColor.new("Pink"))
  7633. sphere2(1,"Add",root.CFrame,vt(5,5,5),4,4,4,BrickColor.new("Pink"))
  7634. sphere2(1,"Add",root.CFrame,vt(5,10000,5),2.5,2.5,2.5,BrickColor.new("Pink"))
  7635. sphere2(2,"Add",root.CFrame,vt(5,10000,5),3.5,3.5,3.5,MAINRUINCOLOR)
  7636. sphere2(1,"Add",root.CFrame,vt(5,5,5),8,8,8,BrickColor.new("Pink"))
  7637. sphere2(2,"Add",root.CFrame,vt(5,5,5),14,14,14,MAINRUINCOLOR)
  7638. sphere2(3,"Add",root.CFrame,vt(5,5,5),20,20,20,MAINRUINCOLOR)
  7639. for i = 0, 99 do
  7640. local rsiz = math.random(150,450)
  7641. sphere2(math.random(1,4),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Pink"))
  7642. sphere2(math.random(1,2),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*CFrame.new(math.random(-350,350),math.random(-350,350),math.random(-350,350)),vt(1,1,1),-0.01,math.random(50,250)/10,-0.01,MAINRUINCOLOR)
  7643. sphereMK(math.random(1,2),math.random(4,6),"Add",root.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,BrickColor.new("Pink"),0)
  7644. end
  7645. coroutine.resume(coroutine.create(function()
  7646. local eff = Instance.new("ParticleEmitter",root)
  7647. eff.Texture = "rbxassetid://749327003"
  7648. eff.LightEmission = 1
  7649. eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  7650. eff.Rate = 50000
  7651. eff.Lifetime = NumberRange.new(5)
  7652. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7653. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7654. eff.Speed = NumberRange.new(250,1000)
  7655. eff.Drag = 5
  7656. eff.Rotation = NumberRange.new(-50,50)
  7657. eff.VelocitySpread = 9000
  7658. eff.RotSpeed = NumberRange.new(-50,50)
  7659. wait(0.5)
  7660. eff.Enabled = false
  7661. wait(5)
  7662. eff:Destroy()
  7663. end))
  7664. storehumanoidWS = 20
  7665. rainbowmode = false
  7666. chaosmode = false
  7667. Controlledmode = false
  7668. RecolorTextAndRename("Love Guest",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
  7669. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7670. for i = 0, 10, 0.1 do
  7671. swait()
  7672. sphere2(math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-350,350),0,math.random(-350,350)),vt(5,1,5),-0.05,math.random(50,250)/50,-0.05,MAINRUINCOLOR)
  7673. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7674. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7675. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  7676. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
  7677. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  7678. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  7679. end
  7680. hum.WalkSpeed = 20
  7681. attack = false
  7682. end
  7683. if k == "m" and attack == false and ModeOfGlitch == 88893333388 and ModeOfGlitch ~= 808080808080808080808080 then
  7684. ModeOfGlitch = 808080808080808080808080
  7685. storehumanoidWS = 250
  7686. hum.WalkSpeed = 250
  7687. rainbowmode = false
  7688. chaosmode = false
  7689. Controlledmode = false
  7690. --[[CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  7691. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  7692. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  7693. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)]]--
  7694. RecolorTextAndRename("The True Guest",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
  7695. newThemeCust("rbxassetid://398455752",0,1.01,2)
  7696. MAINRUINCOLOR = BrickColor.new("Really blue")
  7697. bosschatfunc("Are you gonna stop now or what?",MAINRUINCOLOR.Color,1)
  7698. disably = false
  7699. warnedpeople("SYNTH ONBOUND!","Arcade",BrickColor.new("Alder").Color,BrickColor.new("Pastel light blue").Color)
  7700. disably = true
  7701. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark indigo"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Alder"),0,BrickColor.new("Pastel light blue"),true,true)
  7702. end
  7703. if k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 987987 then
  7704. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("White"))
  7705. for i = 0, 49 do
  7706. 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))),8,8,8,0.16,BrickColor.new("Bright yellow"),0)
  7707. end
  7708. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  7709. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  7710. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  7711. ModeOfGlitch = 987987
  7712. storehumanoidWS = 250
  7713. hum.WalkSpeed = 250
  7714. rainbowmode = false
  7715. chaosmode = false
  7716. Controlledmode = false
  7717. --[[CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  7718. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  7719. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  7720. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)]]--
  7721. RecolorTextAndRename("A.S.C.E.N.D.E.D G.U.E.S.T",BrickColor.new("Bright yellow").Color,BrickColor.new("White").Color,"SciFi")
  7722. newThemeCust("rbxassetid://398455752",0,1.01,2)
  7723. MAINRUINCOLOR = BrickColor.new("White")
  7724. bosschatfunc("...",MAINRUINCOLOR.Color,1)
  7725. disably = false
  7726. warnedpeople("ASCEND!","SciFi",BrickColor.new("Bright yellow").Color,BrickColor.new("White").Color)
  7727. disably = true
  7728. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright yellow"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("White"),0,BrickColor.new("Bright yellow"),true,true)
  7729. end
  7730. if k == "m" and attack == false and ModeOfGlitch == 8889 and ModeOfGlitch ~= 88893333388 then
  7731. ModeOfGlitch = 88893333388
  7732. storehumanoidWS = 200
  7733. hum.WalkSpeed = 200
  7734. rainbowmode = false
  7735. chaosmode = false
  7736. Controlledmode = false
  7737. RecolorTextAndRename("The Last Guest",BrickColor.new("Royal purple").Color,BrickColor.new("Really blue").Color,"Bodoni")
  7738. newThemeCust("rbxassetid://1504604335",0,1.01,1.5)
  7739. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7740. bosschatfunc("Evenly with your rejections.",MAINRUINCOLOR.Color,1)
  7741. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7742. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7743. end
  7744. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  7745. ModeOfGlitch = 8889
  7746. storehumanoidWS = 180
  7747. hum.WalkSpeed = 180
  7748. rainbowmode = false
  7749. chaosmode = false
  7750. Controlledmode = false
  7751. RecolorTextAndRename("Unlimited Guest",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  7752. newTheme("rbxassetid://1359036559",0,1.01,1.5)
  7753. MAINRUINCOLOR = BrickColor.new("Lilac")
  7754. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7755. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7756. end
  7757. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 664663666 then
  7758. ModeOfGlitch = 664663666
  7759. storehumanoidWS = 175
  7760. hum.WalkSpeed = 175
  7761. rainbowmode = false
  7762. chaosmode = false
  7763. Controlledmode = false
  7764. RecolorTextAndRename("Murderous Guest",Color3.new(0.1,0,0),Color3.new(0.25,0,0),"Antique")
  7765. newTheme("rbxassetid://723652641",0,1.01,1.5)
  7766. MAINRUINCOLOR = BrickColor.new("Maroon")
  7767. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7768. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7769. end
  7770. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 878787 then
  7771. ModeOfGlitch = 878787
  7772. storehumanoidWS = 100
  7773. hum.WalkSpeed = 100
  7774. rainbowmode = true
  7775. chaosmode = false
  7776. Controlledmode = false
  7777. --[[CFuncs["Sound"].Create("rbxassetid://763717897", char, 4, 0.75)
  7778. CFuncs["Sound"].Create("rbxassetid://763717897", char, 8, 0.5)
  7779. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 10, 0.5)
  7780. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 6, 0.5)]]--
  7781. RecolorTextAndRename("Hopefilled Guest",BrickColor.new("Dark indigo").Color,BrickColor.new("Really blue").Color,"Bodoni")
  7782. newThemeCust("rbxassetid://193208100",0,1,2)
  7783. MAINRUINCOLOR = BrickColor.new("Really blue")
  7784. disably = false
  7785. warnedpeople("Hope is here!","Bodoni",BrickColor.new("Dark indigo").Color,BrickColor.new("Really red").Color)
  7786. disably = true
  7787. RecolorThing(MAINRUINCOLOR,BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Pastel Blue"),0,BrickColor.new("Pastel light blue"),true,true)
  7788. end
  7789. if k == "n" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 765688533321 then
  7790. ModeOfGlitch = 765688533321
  7791. storehumanoidWS = 260
  7792. hum.WalkSpeed = 260
  7793. rainbowmode = false
  7794. chaosmode = false
  7795. Controlledmode = false
  7796. RecolorTextAndRename("Digital Guest",Color3.new(1,1,1),Color3.new(1,0,0),"Arcade")
  7797. newTheme("rbxassetid://899090278",0,1.005,1.75)
  7798. MAINRUINCOLOR = BrickColor.new("Really black")
  7799. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7800. RecolorThing(BrickColor.new("Institutional white"),BrickColor.new("Really red"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Crimson"),0,BrickColor.new("Really black"),true,true)
  7801. end
  7802. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  7803. ModeOfGlitch = 55469696922
  7804. storehumanoidWS = 275
  7805. hum.WalkSpeed = 275
  7806. rainbowmode = false
  7807. chaosmode = false
  7808. Controlledmode = false
  7809. RecolorTextAndRename("ENRAGED GUEST",Color3.new(0.25,0,0.1),BrickColor.new("Really red").Color,"Antique")
  7810. newTheme("rbxassetid://292715599",0,1.005,1.25)
  7811. MAINRUINCOLOR = BrickColor.new("Really red")
  7812. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7813. RecolorThing(MAINRUINCOLOR,BrickColor.new("Crimson"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7814. end
  7815. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  7816. ModeOfGlitch = 4367677813
  7817. storehumanoidWS = 225
  7818. hum.WalkSpeed = 225
  7819. rainbowmode = false
  7820. chaosmode = false
  7821. Controlledmode = false
  7822. RecolorTextAndRename("Purital Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  7823. newTheme("rbxassetid://363284685",0,1.01,1.25)
  7824. MAINRUINCOLOR = BrickColor.new("Baby blue")
  7825. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  7826. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  7827. end
  7828. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 500 then
  7829. hum.WalkSpeed = 0
  7830. MAINRUINCOLOR = BrickColor.new("Really black")
  7831. newThemeCust("rbxassetid://318062185",0,1.01,1.5) --737063244,925278639
  7832. local vel = Instance.new("BodyPosition", root)
  7833. vel.P = 10000
  7834. vel.D = 1000
  7835. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7836. vel.position = root.CFrame.p + vt(0,250,0)
  7837. CFuncs["Sound"].Create("rbxassetid://1295446488", char, 5, 0.5)
  7838. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 7.5, 0.5)
  7839. for i = 0, 49 do
  7840. slash(math.random(10,100)/10,3,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-360,360)),math.rad(math.random(-10,10))),vt(0.05,0.01,0.05),math.random(25,500)/250,BrickColor.new("White"))
  7841. end
  7842. local efec = Instance.new("ParticleEmitter",root)
  7843. efec.Texture = "rbxassetid://2109052855"
  7844. efec.LightEmission = 1
  7845. efec.Color = ColorSequence.new(Color3.new(0,0,0))
  7846. efec.Rate = 5
  7847. efec.Lifetime = NumberRange.new(3)
  7848. efec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,75,0),NumberSequenceKeypoint.new(0.2,60,0),NumberSequenceKeypoint.new(0.6,400,0),NumberSequenceKeypoint.new(0.8,300,0),NumberSequenceKeypoint.new(1,200,0)})
  7849. efec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.1,0.25,0),NumberSequenceKeypoint.new(0.6,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  7850. efec.Drag = 5
  7851. efec.LockedToPart = true
  7852. efec.Rotation = NumberRange.new(-500,500)
  7853. efec.VelocitySpread = 9000
  7854. efec.RotSpeed = NumberRange.new(-500,500)
  7855. local efec2 = efec:Clone()
  7856. efec2.LightEmission = 1
  7857. efec2.Texture = "rbxassetid://2092248396"
  7858. efec2.Parent = root
  7859. efec2.Rate = 10
  7860. efec2.Lifetime = NumberRange.new(2)
  7861. efec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,175,0),NumberSequenceKeypoint.new(0.5,150,0),NumberSequenceKeypoint.new(0.8,500,0),NumberSequenceKeypoint.new(1,1000,0)})
  7862. efec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7863. efec2.Speed = NumberRange.new(0)
  7864. efec2.RotSpeed = NumberRange.new(-100,100)
  7865. local efec3 = efec:Clone()
  7866. efec3.LightEmission = 1
  7867. efec3.Color = ColorSequence.new(Color3.new(0,0,0))
  7868. efec3.Texture = "rbxassetid://2273224484"
  7869. efec3.Parent = root
  7870. efec3.Rate = 10000
  7871. efec3.Drag = 5
  7872. efec3.LockedToPart = false
  7873. efec3.Lifetime = NumberRange.new(2)
  7874. efec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.5,10,0),NumberSequenceKeypoint.new(0.8,15,0),NumberSequenceKeypoint.new(1,0,0)})
  7875. efec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0,0),NumberSequenceKeypoint.new(1,1,0)})
  7876. efec3.Speed = NumberRange.new(50,1550)
  7877. efec3.RotSpeed = NumberRange.new(-100,100)
  7878. for x = 0, 10 do
  7879. for i = 0, 1, 0.6 do
  7880. swait()
  7881. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  7882. sphere2(4,"Add",sorb.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.1,0.1,0.1,MAINRUINCOLOR)
  7883. sphere2(4,"Add",sorb2.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.1,0.1,0.1,MAINRUINCOLOR)
  7884. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7885. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7886. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.8)
  7887. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  7888. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  7889. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  7890. end
  7891. for i = 0, 1, 0.6 do
  7892. swait()
  7893. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  7894. sphere2(4,"Add",sorb.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.1,0.1,0.1,MAINRUINCOLOR)
  7895. sphere2(4,"Add",sorb2.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.1,0.1,0.1,MAINRUINCOLOR)
  7896. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7897. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7898. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.8)
  7899. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  7900. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  7901. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  7902. end
  7903. for i = 0, 1, 0.6 do
  7904. swait()
  7905. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  7906. sphere2(4,"Add",sorb.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.1,0.1,0.1,MAINRUINCOLOR)
  7907. sphere2(4,"Add",sorb2.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.1,0.1,0.1,MAINRUINCOLOR)
  7908. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7909. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7910. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.8)
  7911. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  7912. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  7913. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  7914. end
  7915. for i = 0, 1, 0.6 do
  7916. swait()
  7917. hum.CameraOffset = vt(math.random(-10,10)/30,math.random(-10,10)/30,math.random(-10,10)/30)
  7918. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  7919. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  7920. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.8)
  7921. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.8)
  7922. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  7923. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  7924. end
  7925. end
  7926. local absval = 0
  7927. CFuncs["Sound"].Create("rbxassetid://1368583274", char, 7.5, 0.25)
  7928. CFuncs["LongSound"].Create("rbxassetid://1368583274", char, 7.5, 0.5)
  7929. for i = 0, 40, 0.1 do
  7930. swait()
  7931. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  7932. absval = absval + 0.01
  7933. slash(math.random(50,100)/10,2,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(absval*2,0.01,absval*2),math.random(10,100)/1000,BrickColor.new("Really black"))
  7934. slash(math.random(10,100)/10,2,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(absval/3,0.01,absval/3),math.random(50,100)/100,BrickColor.new("Really black"))
  7935. for i = 0, 1 do
  7936. sphere2(4,"Add",root.CFrame*CFrame.new(math.random(-absval*200,absval*200),math.random(-25,25),math.random(-absval*200,absval*200)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  7937. end
  7938. sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),absval,absval,absval,MAINRUINCOLOR)
  7939. sphere2(4,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,5,15),-0.15,absval*5,-0.15,MAINRUINCOLOR)
  7940. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  7941. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  7942. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7943. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7944. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  7945. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  7946. end
  7947. for i = 0, 25, 0.1 do
  7948. swait()
  7949. hum.CameraOffset = vt(math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2,math.random(-20,20)/10*absval/2)
  7950. slash(math.random(50,100)/10,2,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(absval*2,0.01,absval*2),math.random(10,100)/1000,BrickColor.new("Really black"))
  7951. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  7952. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  7953. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7954. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  7955. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  7956. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  7957. end
  7958. efec.Enabled = false
  7959. efec2.Enabled = false
  7960. efec3.Enabled = false
  7961. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.25)
  7962. CFuncs["Sound"].Create("rbxassetid://1368637781", char, 5, 0.5)
  7963. CFuncs["LongSound"].Create("rbxassetid://782353443", char, 5, 0.25)
  7964. for i = 0, 2 do
  7965. CFuncs["Sound"].Create("rbxassetid://763717897", char, 5, 0.5)
  7966. CFuncs["Sound"].Create("rbxassetid://1664711478", char, 5, 1)
  7967. end
  7968. for i = 0, 99 do
  7969. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  7970. 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)))
  7971. local at1 = Instance.new("Attachment",dis)
  7972. at1.Position = vt(-25000,0,0)
  7973. local at2 = Instance.new("Attachment",dis)
  7974. at2.Position = vt(25000,0,0)
  7975. local trl = Instance.new('Trail',dis)
  7976. trl.Attachment0 = at1
  7977. trl.FaceCamera = true
  7978. trl.Attachment1 = at2
  7979. trl.Texture = "rbxassetid://1049219073"
  7980. trl.LightEmission = 1
  7981. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7982. trl.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7983. trl.Lifetime = 5
  7984. local bv = Instance.new("BodyVelocity")
  7985. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7986. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  7987. bv.Parent = dis
  7988. game:GetService("Debris"):AddItem(dis, 15)
  7989. end
  7990. for i = 0, 49 do
  7991. sphere2(1,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),-0.1,absval*100,-0.1,MAINRUINCOLOR)
  7992. end
  7993. for i = 0, 9, 0.1 do
  7994. swait()
  7995. hum.CameraOffset = vt(math.random(-20,20)/5*absval,math.random(-20,20)/5*absval,math.random(-20,20)/5*absval)
  7996. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  7997. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  7998. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7999. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  8000. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  8001. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  8002. end
  8003. hum.CameraOffset = vt(0,0,0)
  8004. vel:Destroy()
  8005. efec:Destroy()
  8006. efec2:Destroy()
  8007. efec3:Destroy()
  8008. ModeOfGlitch = 500
  8009. storehumanoidWS = 200
  8010. hum.WalkSpeed = 200
  8011. rainbowmode = false
  8012. chaosmode = false
  8013. RecolorTextAndRename("The Soul Guest",Color3.new(0,0,0),Color3.new(0,0,0),"Antique")
  8014. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  8015. hum.WalkSpeed = 200
  8016. end
  8017. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8018. ModeOfGlitch = 9999999921111
  8019. storehumanoidWS = 300
  8020. hum.WalkSpeed = 300
  8021. rainbowmode = false
  8022. chaosmode = false
  8023. Controlledmode = false
  8024. RecolorTextAndRename("Extreme Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8025. newTheme("rbxassetid://643309199",0,1.01,1.5)
  8026. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8027. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  8028. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true,false)
  8029. end
  8030. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8031. ModeOfGlitch = 999999999556
  8032. storehumanoidWS = 500
  8033. hum.WalkSpeed = 500
  8034. rainbowmode = false
  8035. chaosmode = false
  8036. Controlledmode = false
  8037. RecolorTextAndRename("INSANE GUEST",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8038. newTheme("rbxassetid://719008519",0,1.02,1.25)
  8039. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8040. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  8041. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,BrickColor.new("Navy blue"),0,BrickColor.new("Really blue"),true,true)
  8042. end
  8043. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  8044. ModeOfGlitch = 1264532489
  8045. storehumanoidWS = 250
  8046. hum.WalkSpeed = 250
  8047. rainbowmode = false
  8048. chaosmode = false
  8049. Controlledmode = false
  8050. RecolorTextAndRename("Fallenx Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  8051. newTheme("rbxassetid://1505487022",0,1.01,1.5)
  8052. MAINRUINCOLOR = BrickColor.new("Pastel green")
  8053. warnedpeople(modet.Text,modet.Font,modet.TextColor3,modet.TextStrokeColor3)
  8054. RecolorThing(BrickColor.new("Deep orange"),BrickColor.new("Toothpaste"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,0,MAINRUINCOLOR,0,BrickColor.new("Deep orange"),true,true)
  8055. end
  8056. if k == "l" and mutedtog == false then
  8057. mutedtog = true
  8058. kan.Volume = 0
  8059. elseif k == "l" and mutedtog == true then
  8060. mutedtog = false
  8061. kan.Volume = 1.25
  8062. end
  8063. if k == "p" and toggleTag == false then
  8064. toggleTag = true
  8065. modet.TextTransparency = 0
  8066. modet.TextStrokeTransparency = 0
  8067. elseif k == "p" and toggleTag == true then
  8068. toggleTag = false
  8069. modet.TextTransparency = 1
  8070. modet.TextStrokeTransparency = 1
  8071. end
  8072. if k == "z" and attack == false and ModeOfGlitch == 1 then
  8073. ExtinctiveHeartbreak()
  8074. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  8075. HeavenlyDisk()
  8076. elseif k == "x" and attack == false and ModeOfGlitch == 2 then
  8077. PureBomb()
  8078. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  8079. CorruptionEvent()
  8080. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  8081. CorruptBlink()
  8082. elseif k == "x" and attack == false and ModeOfGlitch == 3 then
  8083. scattercorrupt()
  8084. elseif k == "z" and attack == false and ModeOfGlitch == 55469696922 then
  8085. DarkGroundStrike()
  8086. elseif k == "x" and attack == false and ModeOfGlitch == 9999999921111 then
  8087. dragin()
  8088. elseif k == "z" and attack == false and ModeOfGlitch == 9999999921111 then
  8089. CyberSlash()
  8090. elseif k == "z" and attack == false and ModeOfGlitch == 878787 then
  8091. Wip()
  8092. elseif k == "z" and attack == false and ModeOfGlitch == 987987 then
  8093. UniversalSpark()
  8094. elseif k == "z" and attack == false and ModeOfGlitch == 68786 then
  8095. shytaunty()
  8096. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  8097. Counter()
  8098. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  8099. RapidBurst()
  8100. elseif k == "z" and attack == false and ModeOfGlitch == 66 then
  8101. BurstRapid()
  8102. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  8103. DivineLights()
  8104. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  8105. DivineBlast()
  8106. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  8107. EquinoxOrbs()
  8108. elseif k == "z" and attack == false and ModeOfGlitch == 664663666 then
  8109. KnifeStab()
  8110. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  8111. FallenOrbs()
  8112. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  8113. SHDTwist()
  8114. end
  8115. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  8116. FallenDEMISE()
  8117. end
  8118. if k == "x" and attack == false and ModeOfGlitch == 1 then
  8119. EndGROUND()
  8120. end
  8121. end)
  8122.  
  8123. coroutine.resume(coroutine.create(function()
  8124. while true do
  8125. swait()
  8126. if ModeOfGlitch ~= 664663666 then
  8127. Knife.Transparency = 1
  8128. Trail.Enabled = false
  8129. else
  8130. Knife.Transparency = 0
  8131. Trail.Enabled = true
  8132. end
  8133. end
  8134. end))
  8135. coroutine.resume(coroutine.create(function()
  8136. while true do
  8137. swait()
  8138. if ModeOfGlitch ~= 664663666 then
  8139. Knife2.Transparency = 1
  8140. Trail.Enabled = false
  8141. else
  8142. Knife2.Transparency = 0
  8143. Trail.Enabled = true
  8144. end
  8145. end
  8146. end))
  8147. coroutine.resume(coroutine.create(function()
  8148. if Controlledmode == true then
  8149. for i, v in pairs(m:GetChildren()) do
  8150. if v:IsA("Part") then
  8151. v.BrickColor = BrickColor.new("Black")
  8152. v.Material = "Glass"
  8153. end
  8154. end
  8155. for i, v in pairs(m2:GetChildren()) do
  8156. if v:IsA("Part") then
  8157. v.BrickColor = BrickColor.new("Navy blue")
  8158. v.Material = "Granite"
  8159. end
  8160. end
  8161. for i, v in pairs(m3:GetChildren()) do
  8162. if v:IsA("Part") then
  8163. v.BrickColor = BrickColor.new("Navy blue")
  8164. v.Material = "Neon"
  8165. end
  8166. end
  8167. for i, v in pairs(mw2:GetChildren()) do
  8168. if v:IsA("Part") then
  8169. v.BrickColor = BrickColor.new("Navy blue")
  8170. v.Material = "Neon"
  8171. end
  8172. end
  8173. for i, v in pairs(mw1:GetChildren()) do
  8174. if v:IsA("Part") then
  8175. v.Transparency = 1
  8176. v.BrickColor = BrickColor.new("Really black")
  8177. v.Material = "Neon"
  8178. end
  8179. end
  8180. for i, v in pairs(extrawingmod1:GetChildren()) do
  8181. if v:IsA("Part") then
  8182. v.Transparency = 0.4
  8183. v.BrickColor = BrickColor.new("Really red")
  8184. v.Material = "Neon"
  8185. end
  8186. end
  8187. for i, v in pairs(extrawingmod2:GetChildren()) do
  8188. if v:IsA("Part") then
  8189. v.Transparency = 1
  8190. v.BrickColor = BrickColor.new("White")
  8191. v.Material = "Neon"
  8192. end
  8193. end
  8194. local MAINRUINCOLOR = BrickColor.new("Really black")
  8195. end
  8196. end))
  8197. coroutine.resume(coroutine.create(function()
  8198. while true do
  8199. swait()
  8200. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 664663666 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 878787 then
  8201. 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)
  8202. 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)
  8203. if ModeOfGlitch == 765688533321 then
  8204. 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)
  8205. elseif ModeOfGlitch == 88893333388 then
  8206. 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)
  8207. elseif ModeOfGlitch == 808080808080808080808080 then
  8208. 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)
  8209. elseif ModeOfGlitch == 878787 then
  8210. 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(r / 255, g / 255, b / 255),0)
  8211. end
  8212. end
  8213. end
  8214. end))
  8215. --[[coroutine.resume(coroutine.create(function()
  8216. while true do
  8217. swait(2)
  8218. if chaosmode == true then
  8219. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8220. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8221. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8222. RecolorTextAndRename("Altered Guest",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  8223. for i, v in pairs(mw1:GetChildren()) do
  8224. if v:IsA("Part") then
  8225. v.Transparency = 0.75
  8226. v.BrickColor = BrickColor.random()
  8227. v.Material = "Neon"
  8228. end
  8229. end
  8230. for i, v in pairs(m2:GetChildren()) do
  8231. if v:IsA("Part") then
  8232. v.BrickColor = BrickColor.random()
  8233. v.Material = "Neon"
  8234. end
  8235. end
  8236. end
  8237. end
  8238. end))]]--
  8239. Humanoid.Name = "STARGLITCHER"
  8240. Humanoid.MaxHealth = math.huge
  8241. Humanoid.Health = math.huge
  8242. Instance.new("ForceField",char).Visible = false
  8243.  
  8244. local bguis = Instance.new("BillboardGui",tors)
  8245. bguis.Size = UDim2.new(25, 0, 25, 0)
  8246. local imgca = Instance.new("ImageLabel",bguis)
  8247. imgca.BackgroundTransparency = 1
  8248. imgca.ImageTransparency = 1
  8249. imgca.Size = UDim2.new(1,0,1,0)
  8250. imgca.Image = "rbxassetid://2344830904" --997291547,521073910,2312119891,2344830904
  8251. imgca.ImageColor3 = Color3.new(0,0,0)
  8252.  
  8253. idleanim=.4
  8254. while true do
  8255. if mutedtog == false then
  8256. kan.Volume = currentVol
  8257. elseif mutedtog == true then
  8258. kan.Volume = 0
  8259. end
  8260. kan.PlaybackSpeed = currentPitch
  8261. kan.Pitch = currentPitch
  8262. kan.SoundId = currentThemePlaying
  8263. kan.Looped = true
  8264. kan.Parent = char
  8265. kan:Resume()
  8266. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 4 or ModeOfGlitch == 878787 then
  8267. imgca.ImageTransparency = 1
  8268. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 878787 then
  8269. imgca.ImageColor3 = MAINRUINCOLOR.Color
  8270. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  8271. end
  8272. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  8273. bguis.Size = UDim2.new(15 + 3 * math.cos(sine / 30),0, 15 + 3 * math.cos(sine / 30),0)
  8274. coroutine.resume(coroutine.create(function()
  8275. if chaosmode == true then
  8276. for i, v in pairs(mw1:GetChildren()) do
  8277. if v:IsA("Part") then
  8278. v.Transparency = 0
  8279. v.BrickColor = BrickColor.random()
  8280. v.Material = "Neon"
  8281. end
  8282. end
  8283. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  8284. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  8285. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  8286. RecolorTextAndRename("Altered Guest",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  8287. end
  8288. end))
  8289. if chaosmode == false then
  8290. modet.Position = UDim2.new(0,0,0,0)
  8291. modet.Rotation = -5 * math.cos(sine / 32)
  8292. techc.Rotation = techc.Rotation + 1
  8293. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  8294. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  8295. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  8296. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  8297. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  8298. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  8299. else
  8300. techc.Rotation = techc.Rotation + 1
  8301. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  8302. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  8303. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  8304. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  8305. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  8306. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  8307. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  8308. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  8309. end
  8310. if rainbowmode == true then
  8311. RecolorTextAndRename("Hopefilled Guest", Color3.new(r / 255, g / 255, b / 255), Color3.new(r / 500, g / 500, b / 500),"Bodoni")
  8312. MAINRUINCOLOR = BrickColor.new(r / 255, g / 255, b / 255)
  8313. for i, v in pairs(m:GetChildren()) do
  8314. if v:IsA("Part") then
  8315. v.Color = Color3.new(r / 255, g / 255, b / 255)
  8316. end
  8317. end
  8318. for i, v in pairs(m2:GetChildren()) do
  8319. if v:IsA("Part") then
  8320. v.Color = Color3.new(r / 255, g / 255, b / 255)
  8321. end
  8322. end
  8323. for i, v in pairs(m3:GetChildren()) do
  8324. if v:IsA("Part") then
  8325. v.Color = Color3.new(r / 255, g / 255, b / 255)
  8326. end
  8327. end
  8328. for i, v in pairs(mw1:GetChildren()) do
  8329. if v:IsA("Part") then
  8330. v.Color = Color3.new(r / 255, g / 255, b / 255)
  8331. v.Material = "Neon"
  8332. end
  8333. end
  8334. for i, v in pairs(mw2:GetChildren()) do
  8335. if v:IsA("Part") then
  8336. v.Color = Color3.new(r / 255, g / 255, b / 255)
  8337. v.Material = "Neon"
  8338. end
  8339. end
  8340. for i, v in pairs(extrawingmod1:GetChildren()) do
  8341. if v:IsA("Part") then
  8342. v.Color = Color3.new(r / 255, g / 255, b / 255)
  8343. v.Material = "Neon"
  8344. end
  8345. end
  8346. for i, v in pairs(extrawingmod2:GetChildren()) do
  8347. if v:IsA("Part") then
  8348. v.Color = Color3.new(r / 255, g / 255, b / 255)
  8349. v.Material = "Neon"
  8350. end
  8351. end
  8352. end
  8353.  
  8354. CameraManager()
  8355.  
  8356. swait()
  8357. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 1 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 765688533321 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 664663666 and ModeOfGlitch ~= 88893333388 and ModeOfGlitch ~= 808080808080808080808080 and ModeOfGlitch ~= 68786 and ModeOfGlitch ~= 66 and ModeOfGlitch ~= 987987 and ModeOfGlitch ~= 878787 and ModeOfGlitch ~= 500 then
  8358. 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)
  8359. 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)
  8360. 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)
  8361. 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)
  8362. 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)
  8363. 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)
  8364. elseif ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 1 or ModeOfGlitch == 4 then
  8365. 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)
  8366. 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)
  8367. 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)
  8368. 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)
  8369. 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)
  8370. 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)
  8371. elseif ModeOfGlitch == 8889 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 1 or ModeOfGlitch == 4 then
  8372. 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)
  8373. 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)
  8374. 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)
  8375. 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)
  8376. 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)
  8377. 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)
  8378. elseif ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 1 or ModeOfGlitch == 4 or ModeOfGlitch == 66 or ModeOfGlitch == 987987 or ModeOfGlitch == 878787 then
  8379. 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)
  8380. 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)
  8381. 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)
  8382. 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)
  8383. 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)
  8384. 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)
  8385. 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)
  8386. 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)
  8387. 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)
  8388. 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)
  8389. 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)
  8390. 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)
  8391. elseif ModeOfGlitch == 68786 or ModeOfGlitch == 500 then
  8392. 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)
  8393. 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)
  8394. 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)
  8395. 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)
  8396. 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)
  8397. 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)
  8398. end
  8399. sine = sine + change
  8400. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  8401. local velderp=RootPart.Velocity.y
  8402. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  8403. coroutine.resume(coroutine.create(function()
  8404. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 664663666 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 4 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 500 then
  8405. if hitfloor ~= nil then
  8406. effar.Enabled = true
  8407. effar.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8408. 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"))
  8409. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 4 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 808080808080808080808080 then
  8410. 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)
  8411. end
  8412. if ModeOfGlitch == 808080808080808080808080 then
  8413. 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.random())
  8414. elseif ModeOfGlitch == 765688533321 then
  8415. 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.random())
  8416. elseif ModeOfGlitch == 1264532489 then
  8417. 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.random())
  8418. elseif ModeOfGlitch == 999999999556 then
  8419. 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.random())
  8420. elseif ModeOfGlitch == 4 then
  8421. 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.random())
  8422. elseif ModeOfGlitch == 4 then
  8423. 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.random())
  8424. elseif ModeOfGlitch == 4 then
  8425. 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.random())
  8426. elseif ModeOfGlitch == 500 then
  8427. slash(math.random(15,25)/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,45)/250,BrickColor.new("Really black"))
  8428. end
  8429. end
  8430. elseif hitfloor == nil then
  8431. effar.Enabled = false
  8432. end
  8433. if ModeOfGlitch ~= 6 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
  8434. effar.Enabled = false
  8435. end
  8436. end))
  8437. if equipped==true or equipped==false then
  8438. if attack==false then
  8439. idle=idle+1
  8440. else
  8441. idle=0
  8442. end
  8443. if idle>=500 then
  8444. if attack==false then
  8445. --Sheath()
  8446. end
  8447. end
  8448. if RootPart.Velocity.y > 1 and hitfloor==nil then
  8449. Anim="Jump"
  8450. if attack==false then
  8451. 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)
  8452. 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)
  8453. 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)
  8454. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  8455. 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)
  8456. 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)
  8457. end
  8458. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  8459. Anim="Fall"
  8460. if attack==false then
  8461. 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)
  8462. 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)
  8463. 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)
  8464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  8465. 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)
  8466. 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)
  8467. end
  8468. elseif torvel<1 and hitfloor~=nil then
  8469. Anim="Idle"
  8470. if attack==false then
  8471. if ModeOfGlitch == 1 then
  8472. local snap = math.random(1,5000)
  8473. if snap == 1 then
  8474. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(33 + math.random(-7,7)),math.rad(math.random(-7,7)),math.rad(52 + math.random(-8,33))),5)
  8475. end
  8476. 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)
  8477. 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)
  8478. 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)
  8479. 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)
  8480. 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)
  8481. 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)
  8482. elseif ModeOfGlitch == 2 then
  8483. 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)
  8484. 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)
  8485. 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)
  8486. 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)
  8487. 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)
  8488. 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)
  8489. elseif ModeOfGlitch == 3 then
  8490. local snap = math.random(1,32)
  8491. if snap == 1 then
  8492. 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)
  8493. end
  8494. 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)
  8495. 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)
  8496. 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)
  8497. 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)
  8498. 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)
  8499. 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)
  8500. elseif ModeOfGlitch == 4 then
  8501. local snap = math.random(1,5)
  8502. if snap == 1 then
  8503. 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)
  8504. 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)
  8505. 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)
  8506. end
  8507. 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)
  8508. 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)
  8509. 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)
  8510. 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)
  8511. 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)
  8512. 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)
  8513. elseif ModeOfGlitch == 5 then
  8514. 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)
  8515. 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)
  8516. 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)
  8517. 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)
  8518. 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)
  8519. 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)
  8520. elseif ModeOfGlitch == 6 then
  8521. 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)
  8522. 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)
  8523. 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)
  8524. 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)
  8525. 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)
  8526. 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)
  8527. elseif ModeOfGlitch == 8 then
  8528. 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)
  8529. 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)
  8530. 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)
  8531. 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)
  8532. 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)
  8533. 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)
  8534. elseif ModeOfGlitch == 9 then
  8535. 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)
  8536. 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))
  8537. 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)
  8538. 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)
  8539. 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)
  8540. 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)
  8541. 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)
  8542. 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)
  8543. elseif ModeOfGlitch == 8889 then
  8544. 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)
  8545. 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)
  8546. 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)
  8547. 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)
  8548. 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)
  8549. 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)
  8550. elseif ModeOfGlitch == 88893333388 then
  8551. 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)
  8552. 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)
  8553. 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)
  8554. 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)
  8555. 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)
  8556. 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)
  8557. elseif ModeOfGlitch == 808080808080808080808080 then
  8558. 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)
  8559. 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)
  8560. 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)
  8561. 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)
  8562. 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)
  8563. 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)
  8564. 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)
  8565. 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)
  8566. elseif ModeOfGlitch == 1264532489 then
  8567. 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)
  8568. 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)
  8569. 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)
  8570. 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)
  8571. 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)
  8572. 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)
  8573. 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)
  8574. 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)
  8575. 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)
  8576. elseif ModeOfGlitch == 9999999921111 then
  8577. 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)
  8578. 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)
  8579. 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)
  8580. 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)
  8581. 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)
  8582. 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)
  8583. elseif ModeOfGlitch == 4367677813 then
  8584. 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)
  8585. 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)
  8586. 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)
  8587. 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)
  8588. 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)
  8589. 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)
  8590. elseif ModeOfGlitch == 765688533321 then
  8591. local snap = math.random(1,32)
  8592. if snap == 1 then
  8593. 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)
  8594. end
  8595. 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)
  8596. 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)
  8597. 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)
  8598. 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)
  8599. 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)
  8600. 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)
  8601. 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)
  8602. 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)
  8603. elseif ModeOfGlitch == 55469696922 then
  8604. 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("Crimson"),BrickColor.new("Really red").Color)
  8605. 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"),Color3.new(1,0,0))
  8606. 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)
  8607. 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)
  8608. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(2 + math.cos(sine / 70) * math.cos(sine / 20) - 2, 0 , 5 + 1.5* math.cos(sine / 20)) * angles(math.rad(0 + 0.5 * math.cos(sine / 20)), math.rad(0), math.rad(0)), 0.1)
  8609. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  8610. 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)
  8611. elseif ModeOfGlitch == 664663666 then
  8612. local snap = math.random(1,32)
  8613. if snap == 1 then
  8614. 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)
  8615. end
  8616. 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)
  8617. 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)
  8618. 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)
  8619. 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)
  8620. 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)
  8621. 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)
  8622. elseif ModeOfGlitch == 999999999556 then
  8623. 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)
  8624. 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)
  8625. 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)
  8626. 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)
  8627. 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)
  8628. 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)
  8629. 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)
  8630. 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)
  8631. elseif ModeOfGlitch == 68786 then
  8632. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  8633. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  8634. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  8635. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
  8636. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  8637. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  8638. elseif ModeOfGlitch == 66 then
  8639. 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 - 1 * math.cos(sine / 34))),.1)
  8640. 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(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  8641. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  8642. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  8643. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  8644. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  8645. elseif ModeOfGlitch == 987987 then
  8646. 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("White"),BrickColor.new("White").Color)
  8647. 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("Bright yellow"),BrickColor.new("Bright yellow"))
  8648. 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 yellow"),BrickColor.new("Bright yellow").Color)
  8649. 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("White"),BrickColor.new("White").Color)
  8650. 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)
  8651. 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)
  8652. 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)
  8653. 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)
  8654. 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)
  8655. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*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)
  8656. elseif ModeOfGlitch == 878787 then
  8657. 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(r / 255, g / 255, b / 255),BrickColor.new(r / 255, g / 255, b / 255).Color)
  8658. 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(r / 255, g / 255, b / 255),BrickColor.new(r / 255, g / 255, b / 255).Color)
  8659. 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)
  8660. 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)
  8661. 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)
  8662. 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)
  8663. 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)
  8664. 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)
  8665. elseif ModeOfGlitch == 500 then
  8666. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  8667. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  8668. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  8669. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  8670. 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)
  8671. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  8672. end
  8673. end
  8674. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  8675. Anim="Walk"
  8676. if attack==false then
  8677. 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)
  8678. 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)
  8679. 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)
  8680. 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)
  8681. 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)
  8682. 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)
  8683. elseif attack==false and ModeOfGlitch == 68786 then
  8684. 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  8685. 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  8686. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  8687. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
  8688. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  8689. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  8690. end
  8691. end
  8692. elseif torvel>=22 and hitfloor~=nil then
  8693. Anim="Run"
  8694. if attack==false then
  8695. if ModeOfGlitch ~= 6 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 and ModeOfGlitch ~= 987987 and ModeOfGlitch ~= 66 and ModeOfGlitch ~= 500 and ModeOfGlitch ~= 878787 then
  8696. 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)
  8697. 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)
  8698. 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)
  8699. 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)
  8700. 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)
  8701. 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)
  8702. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 765688533321 or ModeOfGlitch == 664663666 or ModeOfGlitch == 88893333388 or ModeOfGlitch == 808080808080808080808080 or ModeOfGlitch == 987987 or ModeOfGlitch == 878787 or ModeOfGlitch == 500 then
  8703. 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)
  8704. 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)
  8705. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  8706. 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)
  8707. 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)
  8708. 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)
  8709. if ModeOfGlitch == 765688533321 then
  8710. 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)
  8711. if ModeOfGlitch == 9 then
  8712. 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)
  8713. 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))
  8714. 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)
  8715. end
  8716. end
  8717. end
  8718. end
  8719. end
  8720. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement