Advertisement
Disseya

Star Glitch Edit FE

Oct 12th, 2019
3,361
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 466.16 KB | None | 0 0
  1. --https://github.com/Mokiros/roblox-FE-compatibility
  2. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  3. local Player,game,owner = owner,game
  4. local RealPlayer = Player
  5. do
  6. print("FE Compatibility code V2 by Mokiros")
  7. local RealPlayer = RealPlayer
  8. script.Parent = RealPlayer.Character
  9.  
  10. --Fake event to make stuff like Mouse.KeyDown work
  11. local Disconnect_Function = function(this)
  12. this[1].Functions[this[2]] = nil
  13. end
  14. local Disconnect_Metatable = {__index={disconnect=Disconnect_Function,Disconnect=Disconnect_Function}}
  15. local FakeEvent_Metatable = {__index={
  16. Connect = function(this,f)
  17. local i = tostring(math.random(0,10000))
  18. while this.Functions[i] do
  19. i = tostring(math.random(0,10000))
  20. end
  21. this.Functions[i] = f
  22. return setmetatable({this,i},Disconnect_Metatable)
  23. end
  24. }}
  25. FakeEvent_Metatable.__index.connect = FakeEvent_Metatable.__index.Connect
  26. local function fakeEvent()
  27. return setmetatable({Functions={}},FakeEvent_Metatable)
  28. end
  29.  
  30. --Creating fake input objects with fake variables
  31. local FakeMouse = {Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent(),Button2Up=fakeEvent(),Button2Down=fakeEvent()}
  32. FakeMouse.keyUp = FakeMouse.KeyUp
  33. FakeMouse.keyDown = FakeMouse.KeyDown
  34. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  35. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  36. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  37. end}
  38. --Merged 2 functions into one by checking amount of arguments
  39. CAS.UnbindAction = CAS.BindAction
  40.  
  41. --This function will trigger the events that have been :Connect()'ed
  42. local function TriggerEvent(self,ev,...)
  43. for _,f in pairs(self[ev].Functions) do
  44. f(...)
  45. end
  46. end
  47. FakeMouse.TriggerEvent = TriggerEvent
  48. UIS.TriggerEvent = TriggerEvent
  49.  
  50. --Client communication
  51. local Event = Instance.new("RemoteEvent")
  52. Event.Name = "UserInput_Event"
  53. Event.OnServerEvent:Connect(function(plr,io)
  54. if plr~=RealPlayer then return end
  55. FakeMouse.Target = io.Target
  56. FakeMouse.Hit = io.Hit
  57. if not io.isMouse then
  58. local b = io.UserInputState == Enum.UserInputState.Begin
  59. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  60. return FakeMouse:TriggerEvent(b and "Button1Down" or "Button1Up")
  61. end
  62. if io.UserInputType == Enum.UserInputType.MouseButton2 then
  63. return FakeMouse:TriggerEvent(b and "Button2Down" or "Button2Up")
  64. end
  65. for _,t in pairs(CAS.Actions) do
  66. for _,k in pairs(t.Keys) do
  67. if k==io.KeyCode then
  68. t.Function(t.Name,io.UserInputState,io)
  69. end
  70. end
  71. end
  72. FakeMouse:TriggerEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  73. UIS:TriggerEvent(b and "InputBegan" or "InputEnded",io,false)
  74. end
  75. end)
  76. Event.Parent = NLS([==[local Event = script:WaitForChild("UserInput_Event")
  77. local Mouse = owner:GetMouse()
  78. local UIS = game:GetService("UserInputService")
  79. local input = function(io,RobloxHandled)
  80. if RobloxHandled then return end
  81. --Since InputObject is a client-side instance, we create and pass table instead
  82. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  83. end
  84. UIS.InputBegan:Connect(input)
  85. UIS.InputEnded:Connect(input)
  86.  
  87. local h,t
  88. --Give the server mouse data every second frame, but only if the values changed
  89. --If player is not moving their mouse, client won't fire events
  90. local HB = game:GetService("RunService").Heartbeat
  91. while true do
  92. if h~=Mouse.Hit or t~=Mouse.Target then
  93. h,t=Mouse.Hit,Mouse.Target
  94. Event:FireServer({isMouse=true,Target=t,Hit=h})
  95. end
  96. --Wait 2 frames
  97. for i=1,2 do
  98. HB:Wait()
  99. end
  100. end]==],script)
  101.  
  102. ----Sandboxed game object that allows the usage of client-side methods and services
  103. --Real game object
  104. local RealGame = game
  105.  
  106. --Metatable for fake service
  107. local FakeService_Metatable = {
  108. __index = function(self,k)
  109. local s = rawget(self,"_RealService")
  110. if s then
  111. return typeof(s[k])=="function"
  112. and function(_,...)return s[k](s,...)end or s[k]
  113. end
  114. end,
  115. __newindex = function(self,k,v)
  116. local s = rawget(self,"_RealService")
  117. if s then s[k]=v end
  118. end
  119. }
  120. local function FakeService(t,RealService)
  121. t._RealService = typeof(RealService)=="string" and RealGame:GetService(RealService) or RealService
  122. return setmetatable(t,FakeService_Metatable)
  123. end
  124.  
  125. --Fake game object
  126. local FakeGame = {
  127. GetService = function(self,s)
  128. return rawget(self,s) or RealGame:GetService(s)
  129. end,
  130. Players = FakeService({
  131. LocalPlayer = FakeService({GetMouse=function(self)return FakeMouse end},Player)
  132. },"Players"),
  133. UserInputService = FakeService(UIS,"UserInputService"),
  134. ContextActionService = FakeService(CAS,"ContextActionService"),
  135. RunService = FakeService({
  136. _btrs = {},
  137. RenderStepped = RealGame:GetService("RunService").Heartbeat,
  138. BindToRenderStep = function(self,name,_,fun)
  139. self._btrs[name] = self.Heartbeat:Connect(fun)
  140. end,
  141. UnbindFromRenderStep = function(self,name)
  142. self._btrs[name]:Disconnect()
  143. end,
  144. },"RunService")
  145. }
  146. rawset(FakeGame.Players,"localPlayer",FakeGame.Players.LocalPlayer)
  147. FakeGame.service = FakeGame.GetService
  148. FakeService(FakeGame,game)
  149. --Changing owner to fake player object to support owner:GetMouse()
  150. game,owner = FakeGame,FakeGame.Players.LocalPlayer
  151. end
  152. wait(0.2)
  153.  
  154.  
  155. warn([[SpectrumGlitcher v5 AWAKENED Loaded.
  156. The super switcher.
  157. Velnorum is one of the first wielders.
  158.  
  159. Created, Reworked by NoobyGames12
  160. Edited by GodzPlaysRB
  161. Edited by wanTH092 (Gam_Filano CH)
  162. SpectrumGlitcher Developers ^^^
  163. ]])
  164.  
  165.  
  166. ------------- ORIGINAL WIELDER OC: Velnorum
  167. print([[Icons:
  168. ! = New
  169. ? = Spoilers
  170. * = Exclusivity
  171. C = Changes
  172.  
  173. ]])
  174. warn([[V 7.5 Update Log:
  175. C: Changed everything to guest xd
  176. ]])
  177. --- its obs smooth af do not touch
  178. ---- Sources and functions might be taken from others
  179. plr = game:GetService("Players").LocalPlayer
  180. char = plr.Character
  181. hum = char.Humanoid
  182. local cam = game.Workspace.CurrentCamera
  183. Camera = cam
  184. mouse = plr:GetMouse()
  185. local CamInterrupt = false
  186. local TwoD = false
  187. local TargetInfo = {nil, nil}
  188. cam.CameraType = "Custom"
  189. t = char.Torso
  190. h = char.Head
  191. ra = char["Right Arm"]
  192. la = char["Left Arm"]
  193. rl = char["Right Leg"]
  194. ll = char["Left Leg"]
  195. tors = char.Torso
  196. lleg = char["Left Leg"]
  197. root = char.HumanoidRootPart
  198. hed = char.Head
  199. rleg = char["Right Leg"]
  200. rarm = char["Right Arm"]
  201. larm = char["Left Arm"]
  202. radian = math.rad
  203. random = math.random
  204. Vec3 = Vector3.new
  205. Inst = Instance.new
  206. cFrame = CFrame.new
  207. Euler = CFrame.fromEulerAnglesXYZ
  208. vt = Vector3.new
  209. bc = BrickColor.new
  210. br = BrickColor.random
  211. it = Instance.new
  212. cf = CFrame.new
  213. local Player_Size = 0
  214. cam = game.Workspace.CurrentCamera
  215. CF = CFrame.new
  216. angles = CFrame.Angles
  217. attack = false
  218. Euler = CFrame.fromEulerAnglesXYZ
  219. Rad = math.rad
  220. IT = Instance.new
  221. BrickC = BrickColor.new
  222. Cos = math.cos
  223. Acos = math.acos
  224. Sin = math.sin
  225. Asin = math.asin
  226. Abs = math.abs
  227. Mrandom = math.random
  228. Floor = math.floor
  229. IT = Instance.new
  230. CF = CFrame.new
  231. VT = Vector3.new
  232. RAD = math.rad
  233. C3 = Color3.new
  234. UD2 = UDim2.new
  235. BRICKC = BrickColor.new
  236. ANGLES = CFrame.Angles
  237. EULER = CFrame.fromEulerAnglesXYZ
  238. COS = math.cos
  239. ACOS = math.acos
  240. SIN = math.sin
  241. ASIN = math.asin
  242. ABS = math.abs
  243. MRANDOM = math.random
  244. FLOOR = math.floor
  245. local SINE = 0
  246.  
  247. local Booleans = {
  248. CamFollow = true,
  249. GyroUse = true
  250. }
  251.  
  252. function lerp(object, newCFrame, alpha)
  253. return object:lerp(newCFrame, alpha)
  254. end
  255.  
  256. local Directer = Inst("BodyGyro", root)
  257. Directer.MaxTorque = Vec3(0, 0, 0)
  258. Directer.P = 600000
  259. local CPart = Inst("Part")
  260. CPart.Anchored = true
  261. CPart.CanCollide = false
  262. CPart.Locked = true
  263. CPart.Transparency = 1
  264.  
  265. local rainbowmode = false
  266. local chaosmode = false
  267.  
  268. local kan = Instance.new("Sound",tors)
  269. kan.Volume = 0.85
  270. kan.TimePosition = 0
  271. kan.PlaybackSpeed = 1
  272. kan.Pitch = 1
  273. kan.SoundId = "rbxassetid://1255569288"
  274. kan.Name = "wrecked"
  275. kan.Looped = true
  276. kan:Play()
  277.  
  278. local currentThemePlaying = kan.SoundId
  279. local currentPitch = kan.Pitch
  280. local currentVol = kan.Volume
  281. function newTheme(ID,timepos,pitch,vol)
  282. local kanz = kan
  283. --kanz:Stop()
  284. kanz.Volume = vol
  285. --kanz.TimePosition = timepos
  286. kanz.PlaybackSpeed = pitch
  287. kanz.Pitch = pitch
  288. kanz.SoundId = ID
  289. kanz.Name = "wrecked"
  290. kanz.Looped = true
  291. currentThemePlaying = kanz.SoundId
  292. currentVol = kanz.Volume
  293. currentPitch = kanz.Pitch
  294. --kanz:Play()
  295. --coroutine.resume(coroutine.create(function()
  296. --wait(0.05)
  297. --end))
  298. end
  299.  
  300. function newThemeCust(ID,timepos,pitch,vol)
  301. local kanz = kan
  302. kanz:Stop()
  303. kanz.Volume = vol
  304. kanz.TimePosition = timepos
  305. kanz.PlaybackSpeed = pitch
  306. kanz.Pitch = pitch
  307. kanz.SoundId = ID
  308. kanz.Name = "wrecked"
  309. kanz.Looped = true
  310. currentThemePlaying = kanz.SoundId
  311. currentVol = kanz.Volume
  312. currentPitch = kanz.Pitch
  313. kanz:Play()
  314. coroutine.resume(coroutine.create(function()
  315. wait(0.05)
  316. end))
  317. end
  318.  
  319. local mutedtog = false
  320.  
  321. function CameraEnshaking(Length,Intensity)
  322. coroutine.resume(coroutine.create(function()
  323. local intensity = 1*Intensity
  324. local rotM = 0.01*Intensity
  325. for i = 0, Length, 0.1 do
  326. swait()
  327. intensity = intensity - 0.05*Intensity/Length
  328. rotM = rotM - 0.0005*Intensity/Length
  329. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  330. cam.CFrame = cam.CFrame * cFrame(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity))) * Euler(radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM, radian(random(-intensity, intensity)) * rotM)
  331. end
  332. Humanoid.CameraOffset = Vec3(0, 0, 0)
  333. end))
  334. end
  335. CamShake=function(Part,Distan,Power,Times)
  336. local de=Part.Position
  337. for i,v in pairs(workspace:children()) do
  338. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  339. for _,c in pairs(v:children()) do
  340. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  341. local Noob=v.Humanoid
  342. if Noob~=nil then
  343. coroutine.resume(coroutine.create(function()
  344. FV = Instance.new("BoolValue", Noob)
  345. FV.Name = "CameraShake"
  346. for ShakeNum=1,Times do
  347. swait()
  348. local ef=Power
  349. if ef>=1 then
  350. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  351. else
  352. ef=Power*10
  353. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  354. end
  355. end
  356. Humanoid.CameraOffset = Vector3.new(0,0,0)
  357. FV:Destroy()
  358. end))
  359. CameraShake(Times, Power, Noob)
  360. end
  361. end
  362. end
  363. end
  364. end
  365. end
  366.  
  367. local toggleTag = true
  368. local bilguit = Instance.new("BillboardGui", hed)
  369. bilguit.Adornee = nil
  370. bilguit.Name = "ModeName"
  371. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  372. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  373. local modet = Instance.new("TextLabel", bilguit)
  374. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  375. modet.FontSize = "Size8"
  376. modet.TextScaled = true
  377. modet.TextTransparency = 0
  378. modet.BackgroundTransparency = 1
  379. modet.TextTransparency = 0
  380. modet.TextStrokeTransparency = 0
  381. modet.Font = "Antique"
  382. modet.TextStrokeColor3 = Color3.new(1,0,0)
  383. modet.TextColor3 = Color3.new(0.25,0,0)
  384. modet.Text = "Hopeless Guest"
  385.  
  386.  
  387. function chatfunc(text,color,typet,font,timeex)
  388. local chat = coroutine.wrap(function()
  389. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  390. Character:FindFirstChild("TalkingBillBoard"):destroy()
  391. end
  392. local naeeym2 = Instance.new("BillboardGui",Character)
  393. naeeym2.Size = UDim2.new(0,100,0,40)
  394. naeeym2.StudsOffset = Vector3.new(0,3,0)
  395. naeeym2.Adornee = Character.Head
  396. naeeym2.Name = "TalkingBillBoard"
  397. local tecks2 = Instance.new("TextLabel",naeeym2)
  398. tecks2.BackgroundTransparency = 1
  399. tecks2.BorderSizePixel = 0
  400. tecks2.Text = ""
  401. tecks2.Font = font
  402. tecks2.TextSize = 30
  403. tecks2.TextStrokeTransparency = 0
  404. tecks2.TextColor3 = color
  405. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  406. tecks2.Size = UDim2.new(1,0,0.5,0)
  407. local tecks3 = Instance.new("TextLabel",naeeym2)
  408. tecks3.BackgroundTransparency = 1
  409. tecks3.BorderSizePixel = 0
  410. tecks3.Text = ""
  411. tecks3.Font = font
  412. tecks3.TextSize = 30
  413. tecks3.TextStrokeTransparency = 0
  414. if typet == "Inverted" then
  415. tecks3.TextColor3 = Color3.new(0,0,0)
  416. tecks3.TextStrokeColor3 = color
  417. elseif typet == "Normal" then
  418. tecks3.TextColor3 = color
  419. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  420. end
  421. tecks3.Size = UDim2.new(1,0,0.5,0)
  422. coroutine.resume(coroutine.create(function()
  423. while true do
  424. swait(1)
  425. if chaosmode == true then
  426. tecks2.TextColor3 = BrickColor.random().Color
  427. tecks3.TextStrokeColor3 = BrickColor.random().Color
  428. end
  429. end
  430. end))
  431. modet.TextTransparency = modet.TextTransparency + 1
  432. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  433. for i = 0, 74*timeex do
  434. swait()
  435. modet.TextTransparency = 1
  436. modet.TextStrokeTransparency = 1
  437. tecks2.Text = text
  438. tecks3.Text = text
  439. end
  440. local randomrot = math.random(1,2)
  441. if randomrot == 1 then
  442. for i = 1, 50 do
  443. swait()
  444. tecks2.Text = text
  445. tecks3.Text = text
  446. modet.TextTransparency = modet.TextTransparency - .02
  447. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  448. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  449. tecks2.TextTransparency = tecks2.TextTransparency + .04
  450. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  451. tecks3.TextTransparency = tecks2.TextTransparency + .04
  452. end
  453. elseif randomrot == 2 then
  454. for i = 1, 50 do
  455. swait()
  456. tecks2.Text = text
  457. tecks3.Text = text
  458. modet.TextTransparency = modet.TextTransparency - .02
  459. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  460. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  461. tecks2.TextTransparency = tecks2.TextTransparency + .04
  462. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  463. tecks3.TextTransparency = tecks2.TextTransparency + .04
  464. end
  465. end
  466. modet.TextTransparency = 0
  467. modet.TextStrokeTransparency = 0
  468. if toggleTag == false then
  469. modet.TextTransparency = 1
  470. modet.TextStrokeTransparency = 1
  471. end
  472. naeeym2:Destroy()
  473. end)
  474. chat()
  475. end
  476.  
  477. function bosschatfunc(text,color,watval)
  478. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  479. coroutine.resume(coroutine.create(function()
  480. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  481. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  482. end
  483. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  484. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  485. scrg.Name = "Dialog"
  486. local txtlb = Instance.new("TextLabel",scrg)
  487. txtlb.Text = ""
  488. txtlb.Font = "Bodoni"
  489. txtlb.TextColor3 = Color3.new(0,0,0)
  490. txtlb.TextStrokeTransparency = 0
  491. txtlb.BackgroundTransparency = 0.75
  492. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  493. txtlb.TextStrokeColor3 = color
  494. txtlb.TextScaled = true
  495. txtlb.Size = UDim2.new(1,0,0.25,0)
  496. txtlb.TextXAlignment = "Left"
  497. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  498. local txtlb2 = Instance.new("TextLabel",scrg)
  499. txtlb2.Text = plr.Name.." The Guest:"
  500. txtlb2.Font = "Antique"
  501. txtlb2.TextColor3 = Color3.new(0,0,0)
  502. txtlb2.TextStrokeTransparency = 0
  503. txtlb2.BackgroundTransparency = 1
  504. txtlb2.TextStrokeColor3 = color
  505. txtlb2.TextSize = 40
  506. txtlb2.Size = UDim2.new(1,0,0.25,0)
  507. txtlb2.TextXAlignment = "Left"
  508. txtlb2.Position = UDim2.new(0,0,1,0)
  509. local fvalen = 0.55
  510. local fval = -0.49
  511. coroutine.resume(coroutine.create(function()
  512. while true do
  513. swait()
  514. if chaosmode == true then
  515. txtlb.Rotation = math.random(-1,1)
  516. txtlb2.Rotation = math.random(-1,1)
  517. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  518. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  519. txtlb.TextStrokeColor3 = BrickColor.random().Color
  520. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  521. end
  522. end
  523. end))
  524. coroutine.resume(coroutine.create(function()
  525. while true do
  526. swait()
  527. if scrg.Parent ~= nil then
  528. fvalen = fvalen - 0.0001
  529. elseif scrg.Parent == nil then
  530. break
  531. end
  532. end
  533. end))
  534. local flol = 1.75
  535. local flil = 1.6
  536. coroutine.resume(coroutine.create(function()
  537. for i = 0, 9 do
  538. swait()
  539. fval = fval + 0.05
  540. flol = flol - 0.1
  541. flil = flil - 0.1
  542. txtlb.Text = ""
  543. txtlb.Position = UDim2.new(0,0,flol,0)
  544. txtlb2.Position = UDim2.new(0,0,flil,0)
  545. end
  546. txtlb.Text = text
  547. wait(watval)
  548. local valinc = 0
  549. for i = 0, 99 do
  550. swait()
  551. valinc = valinc + 0.0001
  552. flol = flol + valinc
  553. flil = flil + valinc
  554. txtlb.Rotation = txtlb.Rotation + valinc*20
  555. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  556. txtlb.Position = UDim2.new(0,0,flol,0)
  557. txtlb2.Position = UDim2.new(0,0,flil,0)
  558. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  559. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  560. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  561. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  562. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  563. end
  564. scrg:Destroy()
  565. end))
  566. end))
  567. end
  568. end
  569.  
  570.  
  571. local Create = LoadLibrary("RbxUtility").Create
  572.  
  573. CFuncs = {
  574. ["Part"] = {
  575. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  576. local Part = Create("Part"){
  577. Parent = Parent,
  578. Reflectance = Reflectance,
  579. Transparency = Transparency,
  580. CanCollide = false,
  581. Locked = true,
  582. BrickColor = BrickColor.new(tostring(BColor)),
  583. Name = Name,
  584. Size = Size,
  585. Material = Material,
  586. }
  587. RemoveOutlines(Part)
  588. return Part
  589. end;
  590. };
  591.  
  592. ["Mesh"] = {
  593. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  594. local Msh = Create(Mesh){
  595. Parent = Part,
  596. Offset = OffSet,
  597. Scale = Scale,
  598. }
  599. if Mesh == "SpecialMesh" then
  600. Msh.MeshType = MeshType
  601. Msh.MeshId = MeshId
  602. end
  603. return Msh
  604. end;
  605. };
  606.  
  607. ["Mesh"] = {
  608. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  609. local Msh = Create(Mesh){
  610. Parent = Part,
  611. Offset = OffSet,
  612. Scale = Scale,
  613. }
  614. if Mesh == "SpecialMesh" then
  615. Msh.MeshType = MeshType
  616. Msh.MeshId = MeshId
  617. end
  618. return Msh
  619. end;
  620. };
  621.  
  622. ["Weld"] = {
  623. Create = function(Parent, Part0, Part1, C0, C1)
  624. local Weld = Create("Weld"){
  625. Parent = Parent,
  626. Part0 = Part0,
  627. Part1 = Part1,
  628. C0 = C0,
  629. C1 = C1,
  630. }
  631. return Weld
  632. end;
  633. };
  634.  
  635. ["Sound"] = {
  636. Create = function(id, par, vol, pit)
  637. coroutine.resume(coroutine.create(function()
  638. local S = Create("Sound"){
  639. Volume = vol,
  640. Name = "EffectSoundo",
  641. Pitch = pit or 1,
  642. SoundId = id,
  643. Parent = par or workspace,
  644. }
  645. wait()
  646. S:play()
  647. game:GetService("Debris"):AddItem(S, 10)
  648. end))
  649. end;
  650. };
  651.  
  652. ["TimeSound"] = {
  653. Create = function(id, par, vol, pit, timepos)
  654. coroutine.resume(coroutine.create(function()
  655. local S = Create("Sound"){
  656. Volume = vol,
  657. Name = "EffectSoundo",
  658. Pitch = pit or 1,
  659. SoundId = id,
  660. TimePosition = timepos,
  661. Parent = par or workspace,
  662. }
  663. wait()
  664. S:play()
  665. game:GetService("Debris"):AddItem(S, 10)
  666. end))
  667. end;
  668. };
  669. ["EchoSound"] = {
  670. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  671. coroutine.resume(coroutine.create(function()
  672. local Sas = Create("Sound"){
  673. Volume = vol,
  674. Name = "EffectSoundo",
  675. Pitch = pit or 1,
  676. SoundId = id,
  677. TimePosition = timepos,
  678. Parent = par or workspace,
  679. }
  680. local E = Create("EchoSoundEffect"){
  681. Delay = echodelay,
  682. Name = "Echo",
  683. Feedback = fedb,
  684. DryLevel = dryl,
  685. Parent = Sas,
  686. }
  687. wait()
  688. Sas:play()
  689. game:GetService("Debris"):AddItem(Sas, delays)
  690. end))
  691. end;
  692. };
  693.  
  694. ["LongSound"] = {
  695. Create = function(id, par, vol, pit)
  696. coroutine.resume(coroutine.create(function()
  697. local S = Create("Sound"){
  698. Volume = vol,
  699. Pitch = pit or 1,
  700. SoundId = id,
  701. Parent = par or workspace,
  702. }
  703. wait()
  704. S:play()
  705. game:GetService("Debris"):AddItem(S, 60)
  706. end))
  707. end;
  708. };
  709.  
  710. ["ParticleEmitter"] = {
  711. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  712. local fp = Create("ParticleEmitter"){
  713. Parent = Parent,
  714. Color = ColorSequence.new(Color1, Color2),
  715. LightEmission = LightEmission,
  716. Size = Size,
  717. Texture = Texture,
  718. Transparency = Transparency,
  719. ZOffset = ZOffset,
  720. Acceleration = Accel,
  721. Drag = Drag,
  722. LockedToPart = LockedToPart,
  723. VelocityInheritance = VelocityInheritance,
  724. EmissionDirection = EmissionDirection,
  725. Enabled = Enabled,
  726. Lifetime = LifeTime,
  727. Rate = Rate,
  728. Rotation = Rotation,
  729. RotSpeed = RotSpeed,
  730. Speed = Speed,
  731. VelocitySpread = VelocitySpread,
  732. }
  733. return fp
  734. end;
  735. };
  736.  
  737. CreateTemplate = {
  738.  
  739. };
  740. }
  741.  
  742.  
  743.  
  744. New = function(Object, Parent, Name, Data)
  745. local Object = Instance.new(Object)
  746. for Index, Value in pairs(Data or {}) do
  747. Object[Index] = Value
  748. end
  749. Object.Parent = Parent
  750. Object.Name = Name
  751. return Object
  752. end
  753. local halocolor = BrickColor.new("Pastel light blue")
  754. local halocolor2 = BrickColor.new("Cool yellow")
  755. local starcolor = BrickColor.new("Bright yellow")
  756. local lunacolor = BrickColor.new("Navy blue")
  757. local lunacolor2 = BrickColor.new("Bright blue")
  758. local wepcolor = BrickColor.new("Really black")
  759. local maincolor = BrickColor.new("Really black")
  760. local m = Instance.new("Model",char)
  761. local m2 = Instance.new("Model",char)
  762. local m3 = Instance.new("Model",char)
  763. local mw1 = Instance.new("Model",char)
  764. local mw2 = Instance.new("Model",char)
  765.  
  766.  
  767. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  768. local gui = it(GuiType)
  769. gui.Parent = parent
  770. gui.Text = text
  771. gui.BackgroundTransparency = backtrans
  772. gui.BackgroundColor3 = backcol
  773. gui.SizeConstraint = "RelativeXY"
  774. gui.TextXAlignment = "Center"
  775. gui.TextYAlignment = "Center"
  776. gui.Position = pos
  777. gui.Size = size
  778. gui.Font = "SourceSans"
  779. gui.FontSize = "Size14"
  780. gui.TextWrapped = false
  781. gui.TextStrokeTransparency = 0
  782. gui.TextColor = BrickColor.new("White")
  783. return gui
  784. end
  785. --------------------------- GUI STUFF
  786. local basgui = it("GuiMain")
  787. basgui.Parent = plr.PlayerGui
  788. basgui.Name = "VISgui"
  789. local fullscreenz = it("Frame")
  790. fullscreenz.Parent = basgui
  791. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  792. fullscreenz.BackgroundTransparency = 1
  793. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  794. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  795. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  796. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  797. imgl2.BackgroundTransparency = 1
  798. imgl2.BorderSizePixel = 0
  799. imgl2.ImageTransparency = 0.5
  800. imgl2.ImageColor3 = Color3.new(1,0,0)
  801. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  802. imgl2.Size = UDim2.new(0,1000,0,1000)
  803. imgl2.Image = "rbxassetid://2325939897"
  804. local techc = imgl2:Clone()
  805. techc.Parent = fullscreenz
  806. techc.ImageTransparency = 0
  807. techc.Size = UDim2.new(0,900,0,900)
  808. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  809. techc.ImageColor3 = Color3.new(1,0,0)
  810. techc.Image = "rbxassetid://2273224484"
  811. local circl = imgl2:Clone()
  812. circl.Parent = fullscreenz
  813. circl.ImageTransparency = 0
  814. circl.Size = UDim2.new(0,550,0,550)
  815. circl.Position = UDim2.new(0.75,25,0.55,25)
  816. circl.ImageColor3 = Color3.new(0,0,0)
  817. circl.Image = "rbxassetid://2312119891"
  818. local circl2 = imgl2:Clone()
  819. circl2.Parent = fullscreenz
  820. circl2.ImageTransparency = 0
  821. circl2.Size = UDim2.new(0,700,0,700)
  822. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  823. circl2.ImageColor3 = Color3.new(1,0,0)
  824. circl2.Image = "rbxassetid://2312119891"
  825. local imgl2b = imgl2:Clone()
  826. imgl2b.Parent = fullscreenz
  827. imgl2b.ImageTransparency = 0
  828. imgl2b.Size = UDim2.new(0,800,0,800)
  829. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  830. imgl2b.ImageColor3 = Color3.new(0,0,0)
  831. local ned = Instance.new("TextLabel",fullscreenz)
  832. ned.ZIndex = 2
  833. ned.Font = "Arcade"
  834. ned.BackgroundTransparency = 1
  835. ned.BorderSizePixel = 0.65
  836. ned.Size = UDim2.new(0.3,0,0.2,0)
  837. ned.Position = UDim2.new(0.7,0,0.8,0)
  838. ned.TextColor3 = BrickColor.new("Really red").Color
  839. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  840. ned.TextScaled = true
  841. ned.TextStrokeTransparency = 0
  842. ned.Text = "Hopeless Guest"
  843. ned.TextSize = 24
  844. ned.Rotation = 1
  845. ned.TextXAlignment = "Right"
  846. ned.TextYAlignment = "Bottom"
  847.  
  848. local extrawingmod1 = Instance.new("Model",char)
  849. local extrawingmod2 = Instance.new("Model",char)
  850.  
  851. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  852. local p = Instance.new("Part")
  853. p.TopSurface = 0
  854. p.BottomSurface = 0
  855. p.Parent = parent
  856. p.Size = Vector3.new(0.1,0.1,0.1)
  857. p.Transparency = transparency
  858. p.Reflectance = reflectance
  859. p.CanCollide = false
  860. p.Locked = true
  861. p.BrickColor = brickcolor
  862. p.Material = material
  863. return p
  864. end
  865.  
  866. function CreateMesh(parent,meshtype,x1,y1,z1)
  867. local mesh = Instance.new("SpecialMesh",parent)
  868. mesh.MeshType = meshtype
  869. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  870. return mesh
  871. end
  872.  
  873. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  874. local mesh = Instance.new("SpecialMesh",parent)
  875. mesh.MeshType = "FileMesh"
  876. mesh.MeshId = meshid
  877. mesh.Scale = Vector3.new(x1,y1,z1)
  878. return mesh
  879. end
  880.  
  881.  
  882. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  883. local mesh = Instance.new("SpecialMesh",parent)
  884. mesh.MeshType = "FileMesh"
  885. mesh.MeshId = meshid
  886. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  887. mesh.Scale = Vector3.new(x1,y1,z1)
  888. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  889. return mesh
  890. end
  891.  
  892. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  893. local weld = Instance.new("Weld")
  894. weld.Parent = parent
  895. weld.Part0 = part0
  896. weld.Part1 = part1
  897. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  898. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  899. return weld
  900. end
  901.  
  902.  
  903. --------------
  904. --------------
  905. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  906. 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))
  907. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  908. 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))
  909.  
  910. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  911. CreateMesh(handle,"Brick",0,0,0)
  912. 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))
  913. local valuaring = 10
  914. for i = 0, 49 do
  915. valuaring = valuaring + 10
  916. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  917. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  918. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  919. end
  920.  
  921. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  922. CreateMesh(handle,"Brick",0,0,0)
  923. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  924. local valuaring = 10
  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('Really red').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('Really red').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('Really red').Color)
  1028. tl3.Lifetime = 0.6
  1029.  
  1030. tl1.Enabled = false
  1031. tl2.Enabled = false
  1032. tl3.Enabled = false
  1033. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1034. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1035. 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))
  1036.  
  1037. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1039. CreateWeld(wed,lwing4,wed,0,0,0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1040. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1042. CreateWeld(wed,lwing4,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))
  1043. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1045. CreateWeld(wed,lwing4,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))
  1046. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1048. CreateWeld(wed,lwing4,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))
  1049.  
  1050. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1051. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1052. local lwing5weld = CreateWeld(lwing5,handle,lwing5,6.75,4,0,math.rad(25),math.rad(0),math.rad(62.5),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1053.  
  1054. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1056. CreateWeld(wed,lwing5,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))
  1057. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1058. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1059. CreateWeld(wed,lwing5,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))
  1060. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1062. CreateWeld(wed,lwing5,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))
  1063. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1065. CreateWeld(wed,lwing5,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))
  1066.  
  1067. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1068. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1069. 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))
  1070.  
  1071. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1072. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1073. CreateWeld(wed,lwing6,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))
  1074. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1075. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1076. CreateWeld(wed,lwing6,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))
  1077. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1078. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1079. CreateWeld(wed,lwing6,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))
  1080. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1081. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1082. CreateWeld(wed,lwing6,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))
  1083.  
  1084. -- Right wing.
  1085.  
  1086. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1087. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1088. 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))
  1089.  
  1090. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1091. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1092. 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))
  1093. A0 = Instance.new('Attachment',wed)
  1094. A0.Position = vt(0,0.25,0.25)
  1095. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1096. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1097. 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))
  1098. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1099. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1100. 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))
  1101. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1102. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1103. 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))
  1104. A1 = Instance.new('Attachment',wed)
  1105. A1.Position = vt(0,2,0.25)
  1106.  
  1107. tr1 = Instance.new('Trail',wed)
  1108. tr1.Attachment0 = A1
  1109. tr1.Attachment1 = A0
  1110. tr1.Texture = "rbxassetid://2108945559"
  1111. tr1.LightEmission = 1
  1112. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1113. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1114. tr1.Lifetime = 0.6
  1115.  
  1116. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1117. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1118. 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))
  1119.  
  1120. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1121. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1122. 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))
  1123. A0 = Instance.new('Attachment',wed)
  1124. A0.Position = vt(0,0.25,0.25)
  1125. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1127. CreateWeld(wed,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))
  1128. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1129. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1130. 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))
  1131. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1132. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1133. 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))
  1134. A1 = Instance.new('Attachment',wed)
  1135. A1.Position = vt(0,2,0.25)
  1136.  
  1137. tr2 = Instance.new('Trail',wed)
  1138. tr2.Attachment0 = A1
  1139. tr2.Attachment1 = A0
  1140. tr2.Texture = "rbxassetid://2108945559"
  1141. tr2.LightEmission = 1
  1142. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1143. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1144. tr2.Lifetime = 0.6
  1145.  
  1146. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1147. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1148. 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))
  1149.  
  1150. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1151. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1152. 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))
  1153. A0 = Instance.new('Attachment',wed)
  1154. A0.Position = vt(0,0.25,0.25)
  1155. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1156. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1157. CreateWeld(wed,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))
  1158. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1159. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1160. 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))
  1161. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1162. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1163. 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))
  1164. A1 = Instance.new('Attachment',wed)
  1165. A1.Position = vt(0,2,0.25)
  1166.  
  1167. tr3 = Instance.new('Trail',wed)
  1168. tr3.Attachment0 = A1
  1169. tr3.Attachment1 = A0
  1170. tr3.Texture = "rbxassetid://2108945559"
  1171. tr3.LightEmission = 1
  1172. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1173. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1174. tr3.Lifetime = 0.6
  1175.  
  1176.  
  1177. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1178. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1179. 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))
  1180.  
  1181. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1182. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1183. CreateWeld(wed,rwing4,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))
  1184. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1185. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1186. CreateWeld(wed,rwing4,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))
  1187. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1188. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1189. CreateWeld(wed,rwing4,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))
  1190. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1191. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1192. CreateWeld(wed,rwing4,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))
  1193.  
  1194. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1195. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1196. 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))
  1197.  
  1198. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1199. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1200. CreateWeld(wed,rwing5,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))
  1201. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1202. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1203. CreateWeld(wed,rwing5,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))
  1204. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1205. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1206. CreateWeld(wed,rwing5,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))
  1207. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1208. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1209. CreateWeld(wed,rwing5,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))
  1210.  
  1211. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1212. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1213. 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))
  1214.  
  1215. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1216. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1217. CreateWeld(wed,rwing6,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))
  1218. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1219. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1220. CreateWeld(wed,rwing6,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))
  1221. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1222. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1223. CreateWeld(wed,rwing6,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))
  1224. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1225. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1226. CreateWeld(wed,rwing6,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))
  1227.  
  1228. --HERES THE RING
  1229.  
  1230.  
  1231. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1232. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1233. 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))
  1234. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1235. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1236. 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))
  1237. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1238. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1239. 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))
  1240.  
  1241.  
  1242. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1243. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1244. 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))
  1245.  
  1246. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1247. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1248. 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))
  1249.  
  1250.  
  1251.  
  1252. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1253. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1254. 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))
  1255.  
  1256. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1257. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1258. 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))
  1259.  
  1260. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1261. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1262. 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))
  1263.  
  1264. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1265. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1266. 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))
  1267. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1268. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1269. 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))]]--
  1270.  
  1271. --- second ring
  1272.  
  1273.  
  1274. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1275. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1276. 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))
  1277.  
  1278. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1279. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1280. 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))
  1281.  
  1282.  
  1283.  
  1284. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1285. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1286. 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))
  1287.  
  1288. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1289. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1290. 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))
  1291.  
  1292. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1293. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1294. 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))
  1295.  
  1296. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1297. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1298. 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))
  1299. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1300. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1301. 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))
  1302.  
  1303.  
  1304.  
  1305. for i, v in pairs(m:GetChildren()) do
  1306. if v:IsA("Part") then
  1307. v.BrickColor = BrickColor.new("Really black")
  1308. v.Material = "Glass"
  1309. end
  1310. end
  1311. for i, v in pairs(m2:GetChildren()) do
  1312. if v:IsA("Part") then
  1313. v.BrickColor = BrickColor.new("Crimson")
  1314. v.Material = "Granite"
  1315. end
  1316. end
  1317. for i, v in pairs(m3:GetChildren()) do
  1318. if v:IsA("Part") then
  1319. v.BrickColor = BrickColor.new("Really red")
  1320. v.Material = "Neon"
  1321. end
  1322. end
  1323. for i, v in pairs(mw2:GetChildren()) do
  1324. if v:IsA("Part") then
  1325. v.BrickColor = BrickColor.new("Really red")
  1326. v.Material = "Neon"
  1327. end
  1328. end
  1329. for i, v in pairs(mw1:GetChildren()) do
  1330. if v:IsA("Part") then
  1331. v.Transparency = 1
  1332. v.BrickColor = BrickColor.new("Really red")
  1333. v.Material = "Neon"
  1334. end
  1335. end
  1336. for i, v in pairs(extrawingmod1:GetChildren()) do
  1337. if v:IsA("Part") then
  1338. v.Transparency = 1
  1339. v.BrickColor = BrickColor.new("White")
  1340. v.Material = "Neon"
  1341. end
  1342. end
  1343. for i, v in pairs(extrawingmod2:GetChildren()) do
  1344. if v:IsA("Part") then
  1345. v.Transparency = 1
  1346. v.BrickColor = BrickColor.new("White")
  1347. v.Material = "Neon"
  1348. end
  1349. end
  1350. local MAINRUINCOLOR = BrickColor.new("Really red")
  1351. ------
  1352.  
  1353.  
  1354. function RemoveOutlines(part)
  1355. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1356. end
  1357. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1358. local Part = Create("Part")({
  1359. Parent = Parent,
  1360. Reflectance = Reflectance,
  1361. Transparency = Transparency,
  1362. CanCollide = false,
  1363. Locked = true,
  1364. BrickColor = BrickColor.new(tostring(BColor)),
  1365. Name = Name,
  1366. Size = Size,
  1367. Material = Material
  1368. })
  1369. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1370. RemoveOutlines(Part)
  1371. return Part
  1372. end
  1373. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1374. local Msh = Create(Mesh)({
  1375. Parent = Part,
  1376. Offset = OffSet,
  1377. Scale = Scale
  1378. })
  1379. if Mesh == "SpecialMesh" then
  1380. Msh.MeshType = MeshType
  1381. Msh.MeshId = MeshId
  1382. end
  1383. return Msh
  1384. end
  1385. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1386. local Weld = Create("Weld")({
  1387. Parent = Parent,
  1388. Part0 = Part0,
  1389. Part1 = Part1,
  1390. C0 = C0,
  1391. C1 = C1
  1392. })
  1393. return Weld
  1394. end
  1395.  
  1396. Player = plr
  1397. Character=Player.Character
  1398. PlayerGui=Player.PlayerGui
  1399. Backpack=Player.Backpack
  1400. Torso=Character.Torso
  1401. Head=Character.Head
  1402. Humanoid=Character.Humanoid
  1403. m=Instance.new('Model',Character)
  1404. LeftArm=Character["Left Arm"]
  1405. LeftLeg=Character["Left Leg"]
  1406. RightArm=Character["Right Arm"]
  1407. RightLeg=Character["Right Leg"]
  1408. LS=Torso["Left Shoulder"]
  1409. LH=Torso["Left Hip"]
  1410. RS=Torso["Right Shoulder"]
  1411. RH=Torso["Right Hip"]
  1412. Face = Head.face
  1413. Neck=Torso.Neck
  1414. it=Instance.new
  1415. attacktype=1
  1416. vt=Vector3.new
  1417. cf=CFrame.new
  1418. euler=CFrame.fromEulerAnglesXYZ
  1419. angles=CFrame.Angles
  1420. cloaked=false
  1421. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1422. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1423. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1424. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1425. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1426. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1427. RootPart=Character.HumanoidRootPart
  1428. RootJoint=RootPart.RootJoint
  1429. RootCF=euler(-1.57,0,3.14)
  1430. attack = false
  1431. attackdebounce = false
  1432. deb=false
  1433. equipped=true
  1434. hand=false
  1435. combo=0
  1436. mana=0
  1437. trispeed=.2
  1438. attackmode='none'
  1439. local idle=0
  1440. local Anim="Idle"
  1441. local Effects={}
  1442. local gun=false
  1443. local shoot=false
  1444. local sine = 0
  1445. local change = 1
  1446.  
  1447. function RecolorTextAndRename(name,col1,col2,font)
  1448. modet.TextStrokeColor3 = col2
  1449. modet.TextColor3 = col1
  1450. modet.Font = font
  1451. modet.Text = name
  1452. techc.ImageColor3 = col2
  1453. circl.ImageColor3 = col2
  1454. circl2.ImageColor3 = col1
  1455. imgl2.ImageColor3 = col1
  1456. imgl2b.ImageColor3 = col2
  1457. ned.Text = name
  1458. ned.TextColor3 = col1
  1459. ned.TextStrokeColor3 = col2
  1460. end
  1461. --save shoulders
  1462. RSH, LSH=nil, nil
  1463. --welds
  1464. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1465. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1466. LH=Torso["Left Hip"]
  1467. RH=Torso["Right Hip"]
  1468. TorsoColor=Torso.BrickColor
  1469. function NoOutline(Part)
  1470. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1471. end
  1472. ch=Character
  1473. RSH=ch.Torso["Right Shoulder"]
  1474. LSH=ch.Torso["Left Shoulder"]
  1475. --
  1476. RSH.Parent=nil
  1477. LSH.Parent=nil
  1478. --
  1479. RW.Name="Right Shoulder"
  1480. RW.Part0=ch.Torso
  1481. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1482. RW.C1=cf(0, 0.5, 0)
  1483. RW.Part1=ch["Right Arm"]
  1484. RW.Parent=ch.Torso
  1485. --
  1486. LW.Name="Left Shoulder"
  1487. LW.Part0=ch.Torso
  1488. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1489. LW.C1=cf(0, 0.5, 0)
  1490. LW.Part1=ch["Left Arm"]
  1491. LW.Parent=ch.Torso
  1492.  
  1493. local Stats=Instance.new("BoolValue")
  1494. Stats.Name="Stats"
  1495. Stats.Parent=Character
  1496. local Atk=Instance.new("NumberValue")
  1497. Atk.Name="Damage"
  1498. Atk.Parent=Stats
  1499. Atk.Value=1
  1500. local Def=Instance.new("NumberValue")
  1501. Def.Name="Defense"
  1502. Def.Parent=Stats
  1503. Def.Value=1
  1504. local Speed=Instance.new("NumberValue")
  1505. Speed.Name="Speed"
  1506. Speed.Parent=Stats
  1507. Speed.Value=1
  1508. local Mvmt=Instance.new("NumberValue")
  1509. Mvmt.Name="Movement"
  1510. Mvmt.Parent=Stats
  1511. Mvmt.Value=1
  1512.  
  1513. local donum=0
  1514. local ast = {744586075,385254610}
  1515.  
  1516. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1517. local fp=it("Part")
  1518. fp.formFactor=formfactor
  1519. fp.Parent=parent
  1520. fp.Reflectance=reflectance
  1521. fp.Transparency=transparency
  1522. fp.CanCollide=false
  1523. fp.Locked=true
  1524. fp.BrickColor=brickcolor
  1525. fp.Name=name
  1526. fp.Size=size
  1527. fp.Position=Torso.Position
  1528. NoOutline(fp)
  1529. fp.Material="SmoothPlastic"
  1530. fp:BreakJoints()
  1531. return fp
  1532. end
  1533.  
  1534. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1535. local mesh=it(Mesh)
  1536. mesh.Parent=part
  1537. if Mesh=="SpecialMesh" then
  1538. mesh.MeshType=meshtype
  1539. if meshid~="nil" then
  1540. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1541. end
  1542. end
  1543. mesh.Offset=offset
  1544. mesh.Scale=scale
  1545. return mesh
  1546. end
  1547.  
  1548. function weld(parent,part0,part1,c0)
  1549. local weld=it("Weld")
  1550. weld.Parent=parent
  1551. weld.Part0=part0
  1552. weld.Part1=part1
  1553. weld.C0=c0
  1554. return weld
  1555. end
  1556.  
  1557. local Color1=Torso.BrickColor
  1558.  
  1559. local bodvel=Instance.new("BodyVelocity")
  1560. local bg=Instance.new("BodyGyro")
  1561.  
  1562. --------- SazEreno's Artificial HB --------------
  1563. ArtificialHB = Instance.new("BindableEvent", script)
  1564. ArtificialHB.Name = "ArtificialHB"
  1565.  
  1566. script:WaitForChild("ArtificialHB")
  1567. Frame_Speed = 1 / 60
  1568. frame = Frame_Speed
  1569. tf = 0
  1570. allowframeloss = false
  1571. tossremainder = false
  1572. lastframe = tick()
  1573. script.ArtificialHB:Fire()
  1574.  
  1575. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1576. tf = tf + s
  1577. if tf >= frame then
  1578. if allowframeloss then
  1579. script.ArtificialHB:Fire()
  1580. lastframe = tick()
  1581. else
  1582. for i = 1, math.floor(tf / frame) do
  1583. script.ArtificialHB:Fire()
  1584. end
  1585. lastframe = tick()
  1586. end
  1587. if tossremainder then
  1588. tf = 0
  1589. else
  1590. tf = tf - frame * math.floor(tf / frame)
  1591. end
  1592. end
  1593. end)
  1594.  
  1595. ------------------
  1596. function swait(num)
  1597. if num == 0 or num == nil then
  1598. ArtificialHB.Event:wait()
  1599. else
  1600. for i = 1, num do
  1601. ArtificialHB.Event:wait()
  1602. end
  1603. end
  1604. end
  1605. -------- RAINBOW LEAVE IT TO ME
  1606. local r = 255
  1607. local g = 0
  1608. local b = 0
  1609. coroutine.resume(coroutine.create(function()
  1610. while wait() do
  1611. for i = 0, 254/5 do
  1612. swait()
  1613. g = g + 5
  1614. end
  1615. for i = 0, 254/5 do
  1616. swait()
  1617. r = r - 5
  1618. end
  1619. for i = 0, 254/5 do
  1620. swait()
  1621. b = b + 5
  1622. end
  1623. for i = 0, 254/5 do
  1624. swait()
  1625. g = g - 5
  1626. end
  1627. for i = 0, 254/5 do
  1628. swait()
  1629. r = r + 5
  1630. end
  1631. for i = 0, 254/5 do
  1632. swait()
  1633. b = b - 5
  1634. end
  1635. end
  1636. end))
  1637.  
  1638.  
  1639. so = function(id,par,vol,pit)
  1640. coroutine.resume(coroutine.create(function()
  1641. local sou = Instance.new("Sound",par or workspace)
  1642. sou.Volume=vol
  1643. sou.Pitch=pit or 1
  1644. sou.SoundId=id
  1645. swait()
  1646. sou:play()
  1647. game:GetService("Debris"):AddItem(sou,6)
  1648. end))
  1649. end
  1650.  
  1651. function clerp(a,b,t)
  1652. local qa = {QuaternionFromCFrame(a)}
  1653. local qb = {QuaternionFromCFrame(b)}
  1654. local ax, ay, az = a.x, a.y, a.z
  1655. local bx, by, bz = b.x, b.y, b.z
  1656. local _t = 1-t
  1657. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1658. end
  1659.  
  1660. function QuaternionFromCFrame(cf)
  1661. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1662. local trace = m00 + m11 + m22
  1663. if trace > 0 then
  1664. local s = math.sqrt(1 + trace)
  1665. local recip = 0.5/s
  1666. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1667. else
  1668. local i = 0
  1669. if m11 > m00 then
  1670. i = 1
  1671. end
  1672. if m22 > (i == 0 and m00 or m11) then
  1673. i = 2
  1674. end
  1675. if i == 0 then
  1676. local s = math.sqrt(m00-m11-m22+1)
  1677. local recip = 0.5/s
  1678. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1679. elseif i == 1 then
  1680. local s = math.sqrt(m11-m22-m00+1)
  1681. local recip = 0.5/s
  1682. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1683. elseif i == 2 then
  1684. local s = math.sqrt(m22-m00-m11+1)
  1685. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1686. end
  1687. end
  1688. end
  1689.  
  1690. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1691. local xs, ys, zs = x + x, y + y, z + z
  1692. local wx, wy, wz = w*xs, w*ys, w*zs
  1693. local xx = x*xs
  1694. local xy = x*ys
  1695. local xz = x*zs
  1696. local yy = y*ys
  1697. local yz = y*zs
  1698. local zz = z*zs
  1699. 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))
  1700. end
  1701.  
  1702. function QuaternionSlerp(a, b, t)
  1703. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1704. local startInterp, finishInterp;
  1705. if cosTheta >= 0.0001 then
  1706. if (1 - cosTheta) > 0.0001 then
  1707. local theta = math.acos(cosTheta)
  1708. local invSinTheta = 1/math.sin(theta)
  1709. startInterp = math.sin((1-t)*theta)*invSinTheta
  1710. finishInterp = math.sin(t*theta)*invSinTheta
  1711. else
  1712. startInterp = 1-t
  1713. finishInterp = t
  1714. end
  1715. else
  1716. if (1+cosTheta) > 0.0001 then
  1717. local theta = math.acos(-cosTheta)
  1718. local invSinTheta = 1/math.sin(theta)
  1719. startInterp = math.sin((t-1)*theta)*invSinTheta
  1720. finishInterp = math.sin(t*theta)*invSinTheta
  1721. else
  1722. startInterp = t-1
  1723. finishInterp = t
  1724. end
  1725. end
  1726. 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
  1727. end
  1728.  
  1729. local function CFrameFromTopBack(at, top, back)
  1730. local right = top:Cross(back)
  1731. return CFrame.new(at.x, at.y, at.z,
  1732. right.x, top.x, back.x,
  1733. right.y, top.y, back.y,
  1734. right.z, top.z, back.z)
  1735. end
  1736.  
  1737. function Triangle(a, b, c)
  1738. local edg1 = (c-a):Dot((b-a).unit)
  1739. local edg2 = (a-b):Dot((c-b).unit)
  1740. local edg3 = (b-c):Dot((a-c).unit)
  1741. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1742. a, b, c = a, b, c
  1743. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1744. a, b, c = b, c, a
  1745. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1746. a, b, c = c, a, b
  1747. else
  1748. assert(false, "unreachable")
  1749. end
  1750.  
  1751. local len1 = (c-a):Dot((b-a).unit)
  1752. local len2 = (b-a).magnitude - len1
  1753. local width = (a + (b-a).unit*len1 - c).magnitude
  1754.  
  1755. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1756.  
  1757. local list = {}
  1758.  
  1759. if len1 > 0.01 then
  1760. local w1 = Instance.new('WedgePart', m)
  1761. game:GetService("Debris"):AddItem(w1,5)
  1762. w1.Material = "SmoothPlastic"
  1763. w1.FormFactor = 'Custom'
  1764. w1.BrickColor = BrickColor.new("Really red")
  1765. w1.Transparency = 0
  1766. w1.Reflectance = 0
  1767. w1.Material = "SmoothPlastic"
  1768. w1.CanCollide = false
  1769. local l1 = Instance.new("PointLight",w1)
  1770. l1.Color = Color3.new(170,0,0)
  1771. NoOutline(w1)
  1772. local sz = Vector3.new(0.2, width, len1)
  1773. w1.Size = sz
  1774. local sp = Instance.new("SpecialMesh",w1)
  1775. sp.MeshType = "Wedge"
  1776. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1777. w1:BreakJoints()
  1778. w1.Anchored = true
  1779. w1.Parent = workspace
  1780. w1.Transparency = 0.7
  1781. table.insert(Effects,{w1,"Disappear",.01})
  1782. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1783. table.insert(list,w1)
  1784. end
  1785.  
  1786. if len2 > 0.01 then
  1787. local w2 = Instance.new('WedgePart', m)
  1788. game:GetService("Debris"):AddItem(w2,5)
  1789. w2.Material = "SmoothPlastic"
  1790. w2.FormFactor = 'Custom'
  1791. w2.BrickColor = BrickColor.new("Really red")
  1792. w2.Transparency = 0
  1793. w2.Reflectance = 0
  1794. w2.Material = "SmoothPlastic"
  1795. w2.CanCollide = false
  1796. local l2 = Instance.new("PointLight",w2)
  1797. l2.Color = Color3.new(170,0,0)
  1798. NoOutline(w2)
  1799. local sz = Vector3.new(0.2, width, len2)
  1800. w2.Size = sz
  1801. local sp = Instance.new("SpecialMesh",w2)
  1802. sp.MeshType = "Wedge"
  1803. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1804. w2:BreakJoints()
  1805. w2.Anchored = true
  1806. w2.Parent = workspace
  1807. w2.Transparency = 0.7
  1808. table.insert(Effects,{w2,"Disappear",.01})
  1809. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1810. table.insert(list,w2)
  1811. end
  1812. return unpack(list)
  1813. end
  1814.  
  1815.  
  1816. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1817. if hit.Parent == nil then
  1818. return
  1819. end
  1820. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1821. for _, v in pairs(hit.Parent:children()) do
  1822. if v:IsA("Humanoid") then
  1823. h = v
  1824. end
  1825. end
  1826. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1827. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1828. return
  1829. end
  1830. local c = Create("ObjectValue")({
  1831. Name = "creator",
  1832. Value = game:GetService("Players").LocalPlayer,
  1833. Parent = h
  1834. })
  1835. game:GetService("Debris"):AddItem(c, 0.5)
  1836. if HitSound ~= nil and HitPitch ~= nil then
  1837. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1838. end
  1839. local Damage = math.random(minim, maxim)
  1840. local blocked = false
  1841. local block = hit.Parent:findFirstChild("Block")
  1842. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1843. blocked = true
  1844. block.Value = block.Value - 1
  1845. print(block.Value)
  1846. end
  1847. if blocked == false then
  1848. HitHealth = h.Health
  1849. h.MaxHealth = 100
  1850. h.Health = h.Health - Damage
  1851. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1852. print("gained kill")
  1853. dmg(h.Parent)
  1854. end
  1855. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1856. else
  1857. h.Health = h.Health - Damage / 2
  1858. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1859. end
  1860. if Type == "Knockdown" then
  1861. local hum = hit.Parent.Humanoid
  1862. hum.PlatformStand = true
  1863. coroutine.resume(coroutine.create(function(HHumanoid)
  1864. swait(1)
  1865. HHumanoid.PlatformStand = false
  1866. end), hum)
  1867. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1868. local bodvol = Create("BodyVelocity")({
  1869. velocity = angle * knockback,
  1870. P = 5000,
  1871. maxForce = Vector3.new(8000, 8000, 8000),
  1872. Parent = hit
  1873. })
  1874. local rl = Create("BodyAngularVelocity")({
  1875. P = 3000,
  1876. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1877. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1878. Parent = hit
  1879. })
  1880. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1881. game:GetService("Debris"):AddItem(rl, 0.5)
  1882. elseif Type == "Normal" then
  1883. local vp = Create("BodyVelocity")({
  1884. P = 500,
  1885. maxForce = Vector3.new(math.huge, 0, math.huge),
  1886. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1887. })
  1888. if knockback > 0 then
  1889. vp.Parent = hit.Parent.Head
  1890. end
  1891. game:GetService("Debris"):AddItem(vp, 0.5)
  1892. elseif Type == "Up" then
  1893. local bodyVelocity = Create("BodyVelocity")({
  1894. velocity = Vector3.new(0, 20, 0),
  1895. P = 5000,
  1896. maxForce = Vector3.new(8000, 8000, 8000),
  1897. Parent = hit
  1898. })
  1899. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1900. local bodyVelocity = Create("BodyVelocity")({
  1901. velocity = Vector3.new(0, 20, 0),
  1902. P = 5000,
  1903. maxForce = Vector3.new(8000, 8000, 8000),
  1904. Parent = hit
  1905. })
  1906. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1907. elseif Type == "Leech" then
  1908. local hum = hit.Parent.Humanoid
  1909. if hum ~= nil then
  1910. for i = 0, 2 do
  1911. 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)
  1912. end
  1913. Humanoid.Health = Humanoid.Health + 10
  1914. end
  1915. elseif Type == "UpKnock" then
  1916. local hum = hit.Parent.Humanoid
  1917. hum.PlatformStand = true
  1918. if hum ~= nil then
  1919. hitr = true
  1920. end
  1921. coroutine.resume(coroutine.create(function(HHumanoid)
  1922. swait(5)
  1923. HHumanoid.PlatformStand = false
  1924. hitr = false
  1925. end), hum)
  1926. local bodyVelocity = Create("BodyVelocity")({
  1927. velocity = Vector3.new(0, 20, 0),
  1928. P = 5000,
  1929. maxForce = Vector3.new(8000, 8000, 8000),
  1930. Parent = hit
  1931. })
  1932. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1933. local bodyVelocity = Create("BodyVelocity")({
  1934. velocity = Vector3.new(0, 20, 0),
  1935. P = 5000,
  1936. maxForce = Vector3.new(8000, 8000, 8000),
  1937. Parent = hit
  1938. })
  1939. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1940. elseif Type == "Snare" then
  1941. local bp = Create("BodyPosition")({
  1942. P = 2000,
  1943. D = 100,
  1944. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1945. position = hit.Parent.Torso.Position,
  1946. Parent = hit.Parent.Torso
  1947. })
  1948. game:GetService("Debris"):AddItem(bp, 1)
  1949. elseif Type == "Slashnare" then
  1950. 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)
  1951. for i = 1, math.random(4, 5) do
  1952. 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)
  1953. end
  1954. local bp = Create("BodyPosition")({
  1955. P = 2000,
  1956. D = 100,
  1957. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1958. position = hit.Parent.Torso.Position,
  1959. Parent = hit.Parent.Torso
  1960. })
  1961. game:GetService("Debris"):AddItem(bp, 1)
  1962. elseif Type == "Spike" then
  1963. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1964. local bp = Create("BodyPosition")({
  1965. P = 2000,
  1966. D = 100,
  1967. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1968. position = hit.Parent.Torso.Position,
  1969. Parent = hit.Parent.Torso
  1970. })
  1971. game:GetService("Debris"):AddItem(bp, 1)
  1972. elseif Type == "Freeze" then
  1973. local BodPos = Create("BodyPosition")({
  1974. P = 50000,
  1975. D = 1000,
  1976. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1977. position = hit.Parent.Torso.Position,
  1978. Parent = hit.Parent.Torso
  1979. })
  1980. local BodGy = Create("BodyGyro")({
  1981. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1982. P = 20000,
  1983. Parent = hit.Parent.Torso,
  1984. cframe = hit.Parent.Torso.CFrame
  1985. })
  1986. hit.Parent.Torso.Anchored = true
  1987. coroutine.resume(coroutine.create(function(Part)
  1988. swait(1.5)
  1989. Part.Anchored = false
  1990. end), hit.Parent.Torso)
  1991. game:GetService("Debris"):AddItem(BodPos, 3)
  1992. game:GetService("Debris"):AddItem(BodGy, 3)
  1993. end
  1994. local debounce = Create("BoolValue")({
  1995. Name = "DebounceHit",
  1996. Parent = hit.Parent,
  1997. Value = true
  1998. })
  1999. game:GetService("Debris"):AddItem(debounce, Delay)
  2000. c = Instance.new("ObjectValue")
  2001. c.Name = "creator"
  2002. c.Value = Player
  2003. c.Parent = h
  2004. game:GetService("Debris"):AddItem(c, 0.5)
  2005. end
  2006. end
  2007. function ShowDamage(Pos, Text, Time, Color)
  2008. local Rate = 0.03333333333333333
  2009. local Pos = Pos or Vector3.new(0, 0, 0)
  2010. local Text = Text or ""
  2011. local Time = Time or 2
  2012. local Color = Color or Color3.new(1, 0, 1)
  2013. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  2014. EffectPart.Anchored = true
  2015. local BillboardGui = Create("BillboardGui")({
  2016. Size = UDim2.new(3, 0, 3, 0),
  2017. Adornee = EffectPart,
  2018. Parent = EffectPart
  2019. })
  2020. local TextLabel = Create("TextLabel")({
  2021. BackgroundTransparency = 1,
  2022. Size = UDim2.new(1, 0, 1, 0),
  2023. Text = Text,
  2024. TextColor3 = Color,
  2025. TextScaled = true,
  2026. Font = Enum.Font.ArialBold,
  2027. Parent = BillboardGui
  2028. })
  2029. game.Debris:AddItem(EffectPart, Time + 0.1)
  2030. EffectPart.Parent = game:GetService("Workspace")
  2031. delay(0, function()
  2032. local Frames = Time / Rate
  2033. for Frame = 1, Frames do
  2034. wait(Rate)
  2035. local Percent = Frame / Frames
  2036. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2037. TextLabel.TextTransparency = Percent
  2038. end
  2039. if EffectPart and EffectPart.Parent then
  2040. EffectPart:Destroy()
  2041. end
  2042. end)
  2043. end
  2044. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2045. for _, c in pairs(workspace:children()) do
  2046. local hum = c:findFirstChildOfClass("Humanoid")
  2047. if hum ~= nil then
  2048. local head = c:findFirstChild("Head")
  2049. if head ~= nil then
  2050. local targ = head.Position - Part.Position
  2051. local mag = targ.magnitude
  2052. if magni >= mag and c.Name ~= Player.Name then
  2053. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2054. end
  2055. end
  2056. end
  2057. end
  2058. end
  2059.  
  2060. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2061. for _, c in pairs(workspace:children()) do
  2062. local hum = c:findFirstChild("Humanoid")
  2063. if hum ~= nil then
  2064. local head = c:findFirstChild("Torso")
  2065. if head ~= nil then
  2066. local targ = head.Position - Part.Position
  2067. local mag = targ.magnitude
  2068. if magni >= mag and c.Name ~= Player.Name then
  2069. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2070. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2071. end
  2072. end
  2073. end
  2074. end
  2075. end
  2076.  
  2077. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2078. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2079. end
  2080.  
  2081. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2082. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2083. prt.Anchored=true
  2084. prt.CFrame=cframe
  2085. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2086. --http://www.roblox.com/asset/?id=4770560
  2087. game:GetService("Debris"):AddItem(prt,2)
  2088. CF=prt.CFrame
  2089. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2090. for i=0,1,0.2 do
  2091. wait()
  2092. Part.CFrame=CF*cf(0,0,-0.4)
  2093. end
  2094. for i=0,1,delay do
  2095. wait()
  2096. --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)
  2097. Mesh.Scale=Mesh.Scale
  2098. end
  2099. for i=0,1,0.1 do
  2100. wait()
  2101. Part.Transparency=i
  2102. end
  2103. Part.Parent=nil
  2104. end),prt,msh,CF)
  2105. end
  2106.  
  2107. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2108. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2109. prt.Anchored=true
  2110. prt.Material = "Neon"
  2111. prt.CFrame=cframe
  2112. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2113. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2114. game:GetService("Debris"):AddItem(prt,5)
  2115. coroutine.resume(coroutine.create(function(Part,Mesh)
  2116. for i=0,1,delay do
  2117. swait()
  2118. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2119. Part.Transparency=i
  2120. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2121. end
  2122. Part.Parent=nil
  2123. end),prt,msh)
  2124. end
  2125.  
  2126. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2127. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2128. prt.Anchored=true
  2129. prt.Material = "Neon"
  2130. prt.CFrame=cframe
  2131. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2132. game:GetService("Debris"):AddItem(prt,5)
  2133. coroutine.resume(coroutine.create(function(Part,Mesh)
  2134. local rtype = rottype
  2135. for i=0,1,delay do
  2136. swait()
  2137. if rtype == 1 then
  2138. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2139. elseif rtype == 2 then
  2140. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2141. end
  2142. Part.Transparency=i
  2143. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2144. end
  2145. Part.Parent=nil
  2146. end),prt,msh)
  2147. end
  2148.  
  2149. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2150. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2151. prt.Anchored=true
  2152. prt.CFrame=cframe
  2153. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2154. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2155. game:GetService("Debris"):AddItem(prt,5)
  2156. coroutine.resume(coroutine.create(function(Part,Mesh)
  2157. for i=0,1,delay do
  2158. wait()
  2159. Part.Transparency=i
  2160. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2161. end
  2162. Part.Parent=nil
  2163. end),prt,msh)
  2164. end
  2165.  
  2166. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2167. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2168. prt.Anchored=true
  2169. prt.Material = "Neon"
  2170. prt.CFrame=cframe
  2171. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2172. game:GetService("Debris"):AddItem(prt,5)
  2173. coroutine.resume(coroutine.create(function(Part,Mesh)
  2174. local rtype = rottype
  2175. for i=0,1,delay do
  2176. swait()
  2177. if rtype == 1 then
  2178. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2179. elseif rtype == 2 then
  2180. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2181. end
  2182. Part.Transparency=i
  2183. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2184. end
  2185. Part.Parent=nil
  2186. end),prt,msh)
  2187. end
  2188.  
  2189. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2190. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2191. prt.Anchored=true
  2192. prt.Material = "Neon"
  2193. prt.CFrame=cframe
  2194. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2195. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2196. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2197. game:GetService("Debris"):AddItem(prt,5)
  2198. coroutine.resume(coroutine.create(function(Part,Mesh)
  2199. local rtype = rottype
  2200. for i=0,1,delay do
  2201. swait()
  2202. if rtype == 1 then
  2203. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2204. elseif rtype == 2 then
  2205. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2206. end
  2207. dec.Transparency=i
  2208. dec2.Transparency=i
  2209. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2210. end
  2211. Part.Parent=nil
  2212. end),prt,msh)
  2213. end
  2214.  
  2215. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2216. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2217. prt.Anchored=true
  2218. prt.Material = "Neon"
  2219. prt.CFrame=cframe
  2220. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2221. game:GetService("Debris"):AddItem(prt,5)
  2222. coroutine.resume(coroutine.create(function(Part,Mesh)
  2223. local rtype = rottype
  2224. for i=0,1,delay do
  2225. swait()
  2226. if rtype == 1 then
  2227. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2228. elseif rtype == 2 then
  2229. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2230. end
  2231. prt.Transparency=i
  2232. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2233. end
  2234. Part.Parent=nil
  2235. end),prt,msh)
  2236. end
  2237.  
  2238. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2239. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2240. prt.Anchored=true
  2241. prt.Material = "Neon"
  2242. prt.CFrame=cframe
  2243. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2244. game:GetService("Debris"):AddItem(prt,5)
  2245. coroutine.resume(coroutine.create(function(Part,Mesh)
  2246. local rtype = rottype
  2247. for i=0,1,delay do
  2248. swait()
  2249. if rtype == 1 then
  2250. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2251. elseif rtype == 2 then
  2252. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2253. end
  2254. prt.Transparency=i
  2255. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2256. end
  2257. Part.Parent=nil
  2258. end),prt,msh)
  2259. end
  2260.  
  2261. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2262. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2263. prt.Anchored=true
  2264. prt.Material = "Neon"
  2265. prt.CFrame=cframe
  2266. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2267. game:GetService("Debris"):AddItem(prt,5)
  2268. coroutine.resume(coroutine.create(function(Part,Mesh)
  2269. local rtype = rottype
  2270. for i=0,1,delay do
  2271. swait()
  2272. if rtype == 1 then
  2273. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2274. elseif rtype == 2 then
  2275. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2276. end
  2277. prt.Transparency=i
  2278. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2279. end
  2280. Part.Parent=nil
  2281. end),prt,msh)
  2282. end
  2283.  
  2284. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2285. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2286. prt.Anchored=true
  2287. prt.Material = "Neon"
  2288. prt.CFrame=cframe
  2289. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2290. game:GetService("Debris"):AddItem(prt,5)
  2291. coroutine.resume(coroutine.create(function(Part,Mesh)
  2292. local rtype = rottype
  2293. for i=0,1,delay do
  2294. swait()
  2295. if rtype == 1 then
  2296. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2297. elseif rtype == 2 then
  2298. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2299. end
  2300. prt.Transparency=i
  2301. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2302. end
  2303. Part.Parent=nil
  2304. end),prt,msh)
  2305. end
  2306.  
  2307. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2308. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2309. prt.Anchored=false
  2310. prt.CFrame=cframe
  2311. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2312. local wld=weld(prt,prt,Parent,cframe)
  2313. game:GetService("Debris"):AddItem(prt,5)
  2314. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2315. for i=0,1,delay do
  2316. wait()
  2317. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2318. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2319. Part.Transparency=i
  2320. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2321. end
  2322. Part.Parent=nil
  2323. end),prt,msh,wld)
  2324. end
  2325.  
  2326. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2327. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2328. prt.Anchored=false
  2329. prt.CFrame=cframe
  2330. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2331. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2332. game:GetService("Debris"):AddItem(prt,5)
  2333. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2334. for i=0,1,delay do
  2335. wait()
  2336. Weld.C0=euler(i*20,0,0)
  2337. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2338. Part.Transparency=i
  2339. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2340. end
  2341. Part.Parent=nil
  2342. end),prt,msh,wld)
  2343. end
  2344.  
  2345. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2346. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2347. prt.Anchored=true
  2348. prt.CFrame=cframe
  2349. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2350. game:GetService("Debris"):AddItem(prt,2)
  2351. coroutine.resume(coroutine.create(function(Part,Mesh)
  2352. for i=0,1,delay do
  2353. wait()
  2354. Part.CFrame=Part.CFrame
  2355. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2356. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2357. prt2.Anchored=true
  2358. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2359. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2360. game:GetService("Debris"):AddItem(prt2,2)
  2361. coroutine.resume(coroutine.create(function(Part,Mesh)
  2362. for i=0,1,0.1 do
  2363. wait()
  2364. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2365. end
  2366. Part.Parent=nil
  2367. end),prt2,msh2)
  2368. end
  2369. for i=0,1,delay*2 do
  2370. wait()
  2371. Part.CFrame=Part.CFrame
  2372. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2373. end
  2374. Part.Parent=nil
  2375. end),prt,msh)
  2376. end
  2377.  
  2378. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2379. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2380. prt.Anchored=true
  2381. prt.CFrame=cframe
  2382. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2383. game:GetService("Debris"):AddItem(prt,2)
  2384. coroutine.resume(coroutine.create(function(Part,Mesh)
  2385. for i=0,1,delay do
  2386. wait()
  2387. Part.CFrame=Part.CFrame
  2388. Part.Transparency=i
  2389. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2390. end
  2391. Part.Parent=nil
  2392. end),prt,msh)
  2393. end
  2394.  
  2395. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2396. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2397. prt.Anchored=true
  2398. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2399. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2400. game:GetService("Debris"):AddItem(prt,2)
  2401. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2402. CF=Part.CFrame
  2403. Numbb=0
  2404. randnumb=math.random()/10
  2405. rand1=math.random()/10
  2406. for i=0,1,rand1 do
  2407. wait()
  2408. CF=CF*cf(0,math.random()/2,0)
  2409. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2410. Part.CFrame=CF*euler(Numbb,0,0)
  2411. Part.Transparency=i
  2412. Numbb=Numbb+randnumb
  2413. end
  2414. Part.Parent=nil
  2415. end),prt,CF,Numbb,randnumb)
  2416. end
  2417.  
  2418. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2419. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2420. prt.Anchored=true
  2421. prt.CFrame=cframe
  2422. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2423. game:GetService("Debris"):AddItem(prt,5)
  2424. coroutine.resume(coroutine.create(function(Part,Mesh)
  2425. for i=0,1,delay do
  2426. wait()
  2427. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2428. Part.Transparency=i
  2429. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2430. end
  2431. Part.Parent=nil
  2432. end),prt,msh)
  2433. end
  2434.  
  2435. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2436. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2437. prt.Anchored=true
  2438. prt.CFrame=cframe
  2439. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2440. game:GetService("Debris"):AddItem(prt,2)
  2441. coroutine.resume(coroutine.create(function(Part,Mesh)
  2442. for i=0,1,delay do
  2443. wait()
  2444. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2445. Part.Transparency=i
  2446. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2447. end
  2448. Part.Parent=nil
  2449. end),prt,msh)
  2450. end
  2451.  
  2452. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2453. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2454. prt.Anchored=true
  2455. prt.CFrame=cframe*cf(x,y,z)
  2456. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2457. game:GetService("Debris"):AddItem(prt,5)
  2458. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2459. local num=math.random()
  2460. local num2=math.random(-3,2)+math.random()
  2461. local numm=0
  2462. for i=0,1,delay*2 do
  2463. swait()
  2464. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2465. Part.Transparency=i
  2466. numm=numm+0.01
  2467. end
  2468. Part.Parent=nil
  2469. Mesh.Parent=nil
  2470. end),prt,msh,x,y,z)
  2471. end
  2472.  
  2473. function dmgstart(dmg,what)
  2474. hitcon = what.Touched:connect(function(hit)
  2475. local hum = hit.Parent:FindFirstChild("Humanoid")
  2476. if hum and not hum:IsDescendantOf(Character) then
  2477. hum:TakeDamage(dmg)
  2478. end
  2479. end)
  2480. end
  2481.  
  2482. function dmgstop()
  2483. hitcon:disconnect()
  2484. end
  2485.  
  2486. function Cloak()
  2487. Face.Parent=nil
  2488. cloaked=true
  2489. for _,v in pairs(Torso.Parent:children()) do
  2490. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2491. coroutine.resume(coroutine.create(function()
  2492. for i=0,1,0.2 do
  2493. wait()
  2494. v.Transparency=i
  2495. end
  2496. v.Transparency=1
  2497. end))
  2498. end
  2499. if v.className=="Hat" then
  2500. hatp=v.Handle
  2501. coroutine.resume(coroutine.create(function(derp)
  2502. for i=0,1,0.2 do
  2503. wait()
  2504. derp.Transparency=i
  2505. end
  2506. derp.Transparency=1
  2507. end),hatp)
  2508. end
  2509. end
  2510. for _,v in pairs(m:children()) do
  2511. if v.className=="Part" then
  2512. coroutine.resume(coroutine.create(function()
  2513. for i=0,1,0.2 do
  2514. wait()
  2515. v.Transparency=i
  2516. end
  2517. v.Transparency=1
  2518. end))
  2519. end
  2520. end
  2521. end
  2522.  
  2523. function UnCloak()
  2524. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2525. Face.Parent=Head
  2526. cloaked=false
  2527. for _,v in pairs(Torso.Parent:children()) do
  2528. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2529. coroutine.resume(coroutine.create(function()
  2530. for i=0,1,0.1 do
  2531. wait()
  2532. v.Transparency=v.Transparency-0.1
  2533. end
  2534. v.Transparency=0
  2535. end))
  2536. end
  2537. if v.className=="Hat" then
  2538. hatp=v.Handle
  2539. coroutine.resume(coroutine.create(function(derp)
  2540. for i=0,1,0.1 do
  2541. wait()
  2542. derp.Transparency=derp.Transparency-0.1
  2543. end
  2544. derp.Transparency=0
  2545. end),hatp)
  2546. end
  2547. end
  2548. for _,v in pairs(m:children()) do
  2549. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2550. coroutine.resume(coroutine.create(function()
  2551. for i=0,1,0.1 do
  2552. wait()
  2553. v.Transparency=v.Transparency-0.1
  2554. end
  2555. v.Transparency=0
  2556. end))
  2557. v.Transparency=0
  2558. end
  2559. end
  2560. end
  2561.  
  2562. local origcolor = BrickColor.new("Pastel light blue")
  2563. ---- This section of explosions.
  2564.  
  2565. ----
  2566.  
  2567.  
  2568. function ring(type,pos,scale,value)
  2569. local type = type
  2570. local rng = Instance.new("Part", char)
  2571. rng.Anchored = true
  2572. rng.BrickColor = origcolor
  2573. rng.CanCollide = false
  2574. rng.FormFactor = 3
  2575. rng.Name = "Ring"
  2576. rng.Size = Vector3.new(1, 1, 1)
  2577. rng.Transparency = 0
  2578. rng.TopSurface = 0
  2579. rng.BottomSurface = 0
  2580. rng.CFrame = pos
  2581. local rngm = Instance.new("SpecialMesh", rng)
  2582. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2583. rngm.Scale = scale
  2584. local scaler2 = 1
  2585. if type == "Add" then
  2586. scaler2 = 1*value
  2587. elseif type == "Divide" then
  2588. scaler2 = 1/value
  2589. end
  2590. coroutine.resume(coroutine.create(function()
  2591. for i = 0,10,0.1 do
  2592. swait()
  2593. if type == "Add" then
  2594. scaler2 = scaler2 - 0.01*value
  2595. elseif type == "Divide" then
  2596. scaler2 = scaler2 - 0.01/value
  2597. end
  2598. rng.Transparency = rng.Transparency + 0.01
  2599. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2600. end
  2601. rng:Destroy()
  2602. end))
  2603. end
  2604.  
  2605.  
  2606. function wave(type,pos,scale,value)
  2607. local type = type
  2608. local rng = Instance.new("Part", char)
  2609. rng.Anchored = true
  2610. rng.BrickColor = origcolor
  2611. rng.CanCollide = false
  2612. rng.FormFactor = 3
  2613. rng.Name = "Ring"
  2614. rng.Size = Vector3.new(1, 1, 1)
  2615. rng.Transparency = 0
  2616. rng.TopSurface = 0
  2617. rng.BottomSurface = 0
  2618. rng.CFrame = pos
  2619. local rngm = Instance.new("SpecialMesh", rng)
  2620. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2621. rngm.Scale = scale
  2622. local scaler2 = 1
  2623. if type == "Add" then
  2624. scaler2 = 1*value
  2625. elseif type == "Divide" then
  2626. scaler2 = 1/value
  2627. end
  2628. coroutine.resume(coroutine.create(function()
  2629. for i = 0,10,0.1 do
  2630. swait()
  2631. if type == "Add" then
  2632. scaler2 = scaler2 - 0.01*value
  2633. elseif type == "Divide" then
  2634. scaler2 = scaler2 - 0.01/value
  2635. end
  2636. rng.Transparency = rng.Transparency + 0.01
  2637. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2638. end
  2639. rng:Destroy()
  2640. end))
  2641. end
  2642.  
  2643. function wind(type,pos,scale,value,speed)
  2644. local type = type
  2645. local rng = Instance.new("Part", char)
  2646. rng.Anchored = true
  2647. rng.BrickColor = origcolor
  2648. rng.CanCollide = false
  2649. rng.FormFactor = 3
  2650. rng.Name = "Ring"
  2651. rng.Size = Vector3.new(1, 1, 1)
  2652. rng.Transparency = 0
  2653. rng.TopSurface = 0
  2654. rng.BottomSurface = 0
  2655. rng.CFrame = pos
  2656. local rngm = Instance.new("SpecialMesh", rng)
  2657. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2658. rngm.Scale = scale
  2659. local scaler2 = 1
  2660. if type == "Add" then
  2661. scaler2 = 1*value
  2662. elseif type == "Divide" then
  2663. scaler2 = 1/value
  2664. end
  2665. coroutine.resume(coroutine.create(function()
  2666. for i = 0,10,0.1 do
  2667. swait()
  2668. if type == "Add" then
  2669. scaler2 = scaler2 - 0.01*value
  2670. elseif type == "Divide" then
  2671. scaler2 = scaler2 - 0.01/value
  2672. end
  2673. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2674. rng.Transparency = rng.Transparency + 0.01
  2675. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2676. end
  2677. rng:Destroy()
  2678. end))
  2679. end
  2680.  
  2681. function groundwind(type,pos,scale,value,speed)
  2682. local type = type
  2683. local rng = Instance.new("Part", char)
  2684. rng.Anchored = true
  2685. rng.BrickColor = origcolor
  2686. rng.CanCollide = false
  2687. rng.FormFactor = 3
  2688. rng.Name = "Ring"
  2689. rng.Size = Vector3.new(1, 1, 1)
  2690. rng.Transparency = 0
  2691. rng.TopSurface = 0
  2692. rng.BottomSurface = 0
  2693. rng.CFrame = pos
  2694. local rngm = Instance.new("SpecialMesh", rng)
  2695. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2696. rngm.Scale = scale
  2697. local scaler2 = 1
  2698. if type == "Add" then
  2699. scaler2 = 1*value
  2700. elseif type == "Divide" then
  2701. scaler2 = 1/value
  2702. end
  2703. coroutine.resume(coroutine.create(function()
  2704. for i = 0,10,0.1 do
  2705. swait()
  2706. if type == "Add" then
  2707. scaler2 = scaler2 - 0.01*value
  2708. elseif type == "Divide" then
  2709. scaler2 = scaler2 - 0.01/value
  2710. end
  2711. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2712. rng.Transparency = rng.Transparency + 0.01
  2713. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2714. end
  2715. rng:Destroy()
  2716. end))
  2717. end
  2718.  
  2719. function CameraManager()
  2720. if TwoD and not CamInterrupt then
  2721. if Humanoid.Health > 0 then
  2722. Camera.CameraSubject = Humanoid
  2723. Camera.CameraType = "Scriptable"
  2724. Humanoid.AutoRotate = false
  2725. if Booleans.GyroUse then
  2726. Directer.MaxTorque = Vec3(0, huge, 0)
  2727. else
  2728. Directer.MaxTorque = Vec3(0, 0, 0)
  2729. end
  2730. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2731. if Booleans.CamFollow then
  2732. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2733. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2734. else
  2735. CPart.Position = RootPart.Position
  2736. end
  2737. else
  2738. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2739. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2740. end
  2741. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2742. else
  2743. Camera.CameraSubject = Humanoid
  2744. Camera.CameraType = "Custom"
  2745. Controller.Disabled = false
  2746. end
  2747. end
  2748. end
  2749.  
  2750. function ring(type,pos,scale,value)
  2751. local type = type
  2752. local rng = Instance.new("Part", char)
  2753. rng.Anchored = true
  2754. rng.BrickColor = origcolor
  2755. rng.CanCollide = false
  2756. rng.FormFactor = 3
  2757. rng.Name = "Ring"
  2758. rng.Size = Vector3.new(1, 1, 1)
  2759. rng.Transparency = 0
  2760. rng.TopSurface = 0
  2761. rng.BottomSurface = 0
  2762. rng.CFrame = pos
  2763. local rngm = Instance.new("SpecialMesh", rng)
  2764. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2765. rngm.Scale = scale
  2766. local scaler2 = 1
  2767. if type == "Add" then
  2768. scaler2 = 1*value
  2769. elseif type == "Divide" then
  2770. scaler2 = 1/value
  2771. end
  2772. coroutine.resume(coroutine.create(function()
  2773. for i = 0,10,0.1 do
  2774. swait()
  2775. if type == "Add" then
  2776. scaler2 = scaler2 - 0.01*value
  2777. elseif type == "Divide" then
  2778. scaler2 = scaler2 - 0.01/value
  2779. end
  2780. rng.Transparency = rng.Transparency + 0.01
  2781. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2782. end
  2783. rng:Destroy()
  2784. end))
  2785. end
  2786.  
  2787.  
  2788. function wave(type,pos,scale,value)
  2789. local type = type
  2790. local rng = Instance.new("Part", char)
  2791. rng.Anchored = true
  2792. rng.BrickColor = origcolor
  2793. rng.CanCollide = false
  2794. rng.FormFactor = 3
  2795. rng.Name = "Ring"
  2796. rng.Size = Vector3.new(1, 1, 1)
  2797. rng.Transparency = 0
  2798. rng.TopSurface = 0
  2799. rng.BottomSurface = 0
  2800. rng.CFrame = pos
  2801. local rngm = Instance.new("SpecialMesh", rng)
  2802. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2803. rngm.Scale = scale
  2804. local scaler2 = 1
  2805. if type == "Add" then
  2806. scaler2 = 1*value
  2807. elseif type == "Divide" then
  2808. scaler2 = 1/value
  2809. end
  2810. coroutine.resume(coroutine.create(function()
  2811. for i = 0,10,0.1 do
  2812. swait()
  2813. if type == "Add" then
  2814. scaler2 = scaler2 - 0.01*value
  2815. elseif type == "Divide" then
  2816. scaler2 = scaler2 - 0.01/value
  2817. end
  2818. rng.Transparency = rng.Transparency + 0.01
  2819. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2820. end
  2821. rng:Destroy()
  2822. end))
  2823. end
  2824.  
  2825. function sphere(bonuspeed,type,pos,scale,value,color)
  2826. local type = type
  2827. local rng = Instance.new("Part", char)
  2828. rng.Anchored = true
  2829. if ModeOfGlitch ~= 9 then
  2830. rng.BrickColor = color
  2831. elseif ModeOfGlitch == 9 then
  2832. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2833. end
  2834. rng.CanCollide = false
  2835. rng.FormFactor = 3
  2836. rng.Name = "Ring"
  2837. rng.Material = "Neon"
  2838. rng.Size = Vector3.new(1, 1, 1)
  2839. rng.Transparency = 0
  2840. rng.TopSurface = 0
  2841. rng.BottomSurface = 0
  2842. rng.CFrame = pos
  2843. local rngm = Instance.new("SpecialMesh", rng)
  2844. rngm.MeshType = "Sphere"
  2845. rngm.Scale = scale
  2846. if rainbowmode == true then
  2847. rng.Color = Color3.new(r/255,g/255,b/255)
  2848. end
  2849. if ModeOfGlitch == 9 then
  2850. coroutine.resume(coroutine.create(function()
  2851. while true do
  2852. swait()
  2853. if rng.Parent ~= nil then
  2854. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2855. else
  2856. break
  2857. end
  2858. end
  2859. end))
  2860. end
  2861. local scaler2 = 1
  2862. if type == "Add" then
  2863. scaler2 = 1*value
  2864. elseif type == "Divide" then
  2865. scaler2 = 1/value
  2866. end
  2867. coroutine.resume(coroutine.create(function()
  2868. for i = 0,10/bonuspeed,0.1 do
  2869. swait()
  2870. if rainbowmode == true then
  2871. rng.Color = Color3.new(r/255,g/255,b/255)
  2872. end
  2873. if type == "Add" then
  2874. scaler2 = scaler2 - 0.01*value/bonuspeed
  2875. elseif type == "Divide" then
  2876. scaler2 = scaler2 - 0.01/value*bonuspeed
  2877. end
  2878. if chaosmode == true then
  2879. rng.BrickColor = BrickColor.random()
  2880. end
  2881. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2882. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2883. end
  2884. rng:Destroy()
  2885. end))
  2886. end
  2887.  
  2888. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2889. local type = type
  2890. local rng = Instance.new("Part", char)
  2891. rng.Anchored = true
  2892. if ModeOfGlitch ~= 9 then
  2893. rng.BrickColor = color
  2894. elseif ModeOfGlitch == 9 then
  2895. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2896. end
  2897. rng.CanCollide = false
  2898. rng.FormFactor = 3
  2899. rng.Name = "Ring"
  2900. rng.Material = "Neon"
  2901. rng.Size = Vector3.new(1, 1, 1)
  2902. rng.Transparency = 0
  2903. rng.TopSurface = 0
  2904. rng.BottomSurface = 0
  2905. rng.CFrame = pos
  2906. local rngm = Instance.new("SpecialMesh", rng)
  2907. rngm.MeshType = "Sphere"
  2908. rngm.Scale = scale
  2909. local scaler2 = 1
  2910. local scaler2b = 1
  2911. local scaler2c = 1
  2912. if type == "Add" then
  2913. scaler2 = 1*value
  2914. scaler2b = 1*value2
  2915. scaler2c = 1*value3
  2916. elseif type == "Divide" then
  2917. scaler2 = 1/value
  2918. scaler2b = 1/value2
  2919. scaler2c = 1/value3
  2920. end
  2921. if ModeOfGlitch == 9 then
  2922. coroutine.resume(coroutine.create(function()
  2923. while true do
  2924. swait()
  2925. if rng.Parent ~= nil then
  2926. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2927. else
  2928. break
  2929. end
  2930. end
  2931. end))
  2932. end
  2933. coroutine.resume(coroutine.create(function()
  2934. for i = 0,10/bonuspeed,0.1 do
  2935. swait()
  2936. if type == "Add" then
  2937. scaler2 = scaler2 - 0.01*value/bonuspeed
  2938. scaler2b = scaler2b - 0.01*value/bonuspeed
  2939. scaler2c = scaler2c - 0.01*value/bonuspeed
  2940. elseif type == "Divide" then
  2941. scaler2 = scaler2 - 0.01/value*bonuspeed
  2942. scaler2b = scaler2b - 0.01/value*bonuspeed
  2943. scaler2c = scaler2c - 0.01/value*bonuspeed
  2944. end
  2945. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2946. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2947. end
  2948. rng:Destroy()
  2949. end))
  2950. end
  2951.  
  2952. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2953. local type = type
  2954. local rotenable = rotatingop
  2955. local rng = Instance.new("Part", char)
  2956. rng.Anchored = true
  2957. rng.BrickColor = color
  2958. rng.CanCollide = false
  2959. rng.FormFactor = 3
  2960. rng.Name = "Ring"
  2961. rng.Material = "Neon"
  2962. rng.Size = Vector3.new(1, 1, 1)
  2963. rng.Transparency = 0
  2964. if typeoftrans == "In" then
  2965. rng.Transparency = 1
  2966. end
  2967. rng.TopSurface = 0
  2968. rng.BottomSurface = 0
  2969. rng.CFrame = pos
  2970. local rngm = Instance.new("SpecialMesh", rng)
  2971. rngm.MeshType = "FileMesh"
  2972. if typeofshape == "Normal" then
  2973. rngm.MeshId = "rbxassetid://662586858"
  2974. elseif typeofshape == "Round" then
  2975. rngm.MeshId = "rbxassetid://662585058"
  2976. end
  2977. rngm.Scale = scale
  2978. local scaler2 = 1/10
  2979. if type == "Add" then
  2980. scaler2 = 1*value/10
  2981. elseif type == "Divide" then
  2982. scaler2 = 1/value/10
  2983. end
  2984. local randomrot = math.random(1,2)
  2985. coroutine.resume(coroutine.create(function()
  2986. for i = 0,10/bonuspeed,0.1 do
  2987. swait()
  2988. if type == "Add" then
  2989. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2990. elseif type == "Divide" then
  2991. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2992. end
  2993. if rotenable == true then
  2994. if randomrot == 1 then
  2995. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2996. elseif randomrot == 2 then
  2997. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2998. end
  2999. end
  3000. if typeoftrans == "Out" then
  3001. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3002. elseif typeoftrans == "In" then
  3003. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3004. end
  3005. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  3006. end
  3007. rng:Destroy()
  3008. end))
  3009. end
  3010.  
  3011. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3012. local type = type
  3013. local rng = Instance.new("Part", char)
  3014. rng.Anchored = true
  3015. rng.BrickColor = color
  3016. rng.CanCollide = false
  3017. rng.FormFactor = 3
  3018. rng.Name = "Ring"
  3019. rng.Material = "Neon"
  3020. rng.Size = Vector3.new(1, 1, 1)
  3021. rng.Transparency = 0
  3022. rng.TopSurface = 0
  3023. rng.BottomSurface = 0
  3024. rng.CFrame = pos
  3025. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3026. local rngm = Instance.new("SpecialMesh", rng)
  3027. rngm.MeshType = "Brick"
  3028. rngm.Scale = vt(x1,y1,z1)
  3029. if rainbowmode == true then
  3030. rng.Color = Color3.new(r/255,g/255,b/255)
  3031. end
  3032. local scaler2 = 1
  3033. local speeder = FastSpeed/10
  3034. if type == "Add" then
  3035. scaler2 = 1*value
  3036. elseif type == "Divide" then
  3037. scaler2 = 1/value
  3038. end
  3039. coroutine.resume(coroutine.create(function()
  3040. for i = 0,10/bonuspeed,0.1 do
  3041. swait()
  3042. if rainbowmode == true then
  3043. rng.Color = Color3.new(r/255,g/255,b/255)
  3044. end
  3045. if type == "Add" then
  3046. scaler2 = scaler2 - 0.01*value/bonuspeed
  3047. elseif type == "Divide" then
  3048. scaler2 = scaler2 - 0.01/value*bonuspeed
  3049. end
  3050. if chaosmode == true then
  3051. rng.BrickColor = BrickColor.random()
  3052. end
  3053. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3054. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3055. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3056. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3057. end
  3058. rng:Destroy()
  3059. end))
  3060. end
  3061.  
  3062. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3063. local type = type
  3064. local rng = Instance.new("Part", char)
  3065. rng.Anchored = true
  3066. rng.BrickColor = color
  3067. rng.CanCollide = false
  3068. rng.FormFactor = 3
  3069. rng.Name = "Ring"
  3070. rng.Material = "Neon"
  3071. rng.Size = Vector3.new(1, 1, 1)
  3072. rng.Transparency = 0
  3073. rng.TopSurface = 0
  3074. rng.BottomSurface = 0
  3075. rng.CFrame = pos
  3076. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3077. local rngm = Instance.new("SpecialMesh", rng)
  3078. rngm.MeshType = "Brick"
  3079. rngm.Scale = vt(x1,y1,z1)
  3080. if rainbowmode == true then
  3081. rng.Color = Color3.new(r/255,g/255,b/255)
  3082. end
  3083. local scaler2 = 1
  3084. local speeder = FastSpeed/10
  3085. if type == "Add" then
  3086. scaler2 = 1*value
  3087. elseif type == "Divide" then
  3088. scaler2 = 1/value
  3089. end
  3090. coroutine.resume(coroutine.create(function()
  3091. for i = 0,10/bonuspeed,0.1 do
  3092. swait()
  3093. if rainbowmode == true then
  3094. rng.Color = Color3.new(r/255,g/255,b/255)
  3095. end
  3096. if type == "Add" then
  3097. scaler2 = scaler2 - 0.01*value/bonuspeed
  3098. elseif type == "Divide" then
  3099. scaler2 = scaler2 - 0.01/value*bonuspeed
  3100. end
  3101. if chaosmode == true then
  3102. rng.BrickColor = BrickColor.random()
  3103. end
  3104. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3105. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3106. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3107. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3108. end
  3109. rng:Destroy()
  3110. end))
  3111. end
  3112.  
  3113. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3114. local type = type
  3115. local rng = Instance.new("Part", char)
  3116. rng.Anchored = true
  3117. rng.BrickColor = color
  3118. rng.CanCollide = false
  3119. rng.FormFactor = 3
  3120. rng.Name = "Ring"
  3121. rng.Material = "Neon"
  3122. rng.Size = Vector3.new(1, 1, 1)
  3123. rng.Transparency = 0
  3124. rng.TopSurface = 0
  3125. rng.BottomSurface = 0
  3126. rng.CFrame = pos
  3127. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3128. local rngm = Instance.new("SpecialMesh", rng)
  3129. rngm.MeshType = "Brick"
  3130. rngm.Scale = vt(x1,y1,z1)
  3131. if rainbowmode == true then
  3132. rng.Color = Color3.new(r/255,g/255,b/255)
  3133. end
  3134. local scaler2 = 0
  3135. local speeder = FastSpeed/10
  3136. if type == "Add" then
  3137. scaler2 = 1*value
  3138. elseif type == "Divide" then
  3139. scaler2 = 1/value
  3140. end
  3141. coroutine.resume(coroutine.create(function()
  3142. for i = 0,10/bonuspeed,0.1 do
  3143. swait()
  3144. if rainbowmode == true then
  3145. rng.Color = Color3.new(r/255,g/255,b/255)
  3146. end
  3147. if type == "Add" then
  3148. scaler2 = scaler2 - 0.01*value/bonuspeed
  3149. elseif type == "Divide" then
  3150. scaler2 = scaler2 - 0.01/value*bonuspeed
  3151. end
  3152. if chaosmode == true then
  3153. rng.BrickColor = BrickColor.random()
  3154. end
  3155. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3156. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3157. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3158. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3159. end
  3160. rng:Destroy()
  3161. end))
  3162. end
  3163.  
  3164. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3165. local type = type
  3166. local rng = Instance.new("Part", char)
  3167. rng.Anchored = true
  3168. rng.BrickColor = color
  3169. rng.Color = color3
  3170. rng.CanCollide = false
  3171. rng.FormFactor = 3
  3172. rng.Name = "Ring"
  3173. rng.Material = "Neon"
  3174. rng.Size = Vector3.new(1, 1, 1)
  3175. rng.Transparency = 0
  3176. rng.TopSurface = 0
  3177. rng.BottomSurface = 0
  3178. rng.CFrame = pos
  3179. local rngm = Instance.new("SpecialMesh", rng)
  3180. rngm.MeshType = "Brick"
  3181. rngm.Scale = scale
  3182. local scaler2 = 1
  3183. local scaler2b = 1
  3184. local scaler2c = 1
  3185. if type == "Add" then
  3186. scaler2 = 1*value
  3187. scaler2b = 1*value2
  3188. scaler2c = 1*value3
  3189. elseif type == "Divide" then
  3190. scaler2 = 1/value
  3191. scaler2b = 1/value2
  3192. scaler2c = 1/value3
  3193. end
  3194. coroutine.resume(coroutine.create(function()
  3195. for i = 0,10/bonuspeed,0.1 do
  3196. swait()
  3197. if type == "Add" then
  3198. scaler2 = scaler2 - 0.01*value/bonuspeed
  3199. scaler2b = scaler2b - 0.01*value/bonuspeed
  3200. scaler2c = scaler2c - 0.01*value/bonuspeed
  3201. elseif type == "Divide" then
  3202. scaler2 = scaler2 - 0.01/value*bonuspeed
  3203. scaler2b = scaler2b - 0.01/value*bonuspeed
  3204. scaler2c = scaler2c - 0.01/value*bonuspeed
  3205. end
  3206. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3207. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3208. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3209. end
  3210. rng:Destroy()
  3211. end))
  3212. end
  3213.  
  3214. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3215. local type = type
  3216. local rng = Instance.new("Part", char)
  3217. rng.Anchored = true
  3218. if ModeOfGlitch ~= 9 then
  3219. rng.BrickColor = color
  3220. elseif ModeOfGlitch == 9 then
  3221. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3222. end
  3223. rng.CanCollide = false
  3224. rng.FormFactor = 3
  3225. rng.Name = "Ring"
  3226. rng.Material = "Neon"
  3227. rng.Size = Vector3.new(1, 1, 1)
  3228. rng.Transparency = 0
  3229. rng.TopSurface = 0
  3230. rng.BottomSurface = 0
  3231. rng.CFrame = pos
  3232. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3233. local rngm = Instance.new("SpecialMesh", rng)
  3234. rngm.MeshType = "Sphere"
  3235. rngm.Scale = vt(x1,y1,z1)
  3236. if rainbowmode == true then
  3237. rng.Color = Color3.new(r/255,g/255,b/255)
  3238. end
  3239. if ModeOfGlitch == 9 then
  3240. coroutine.resume(coroutine.create(function()
  3241. while true do
  3242. swait()
  3243. if rng.Parent ~= nil then
  3244. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3245. else
  3246. break
  3247. end
  3248. end
  3249. end))
  3250. end
  3251. local scaler2 = 1
  3252. local speeder = FastSpeed
  3253. if type == "Add" then
  3254. scaler2 = 1*value
  3255. elseif type == "Divide" then
  3256. scaler2 = 1/value
  3257. end
  3258. coroutine.resume(coroutine.create(function()
  3259. for i = 0,10/bonuspeed,0.1 do
  3260. swait()
  3261. if rainbowmode == true then
  3262. rng.Color = Color3.new(r/255,g/255,b/255)
  3263. end
  3264. if type == "Add" then
  3265. scaler2 = scaler2 - 0.01*value/bonuspeed
  3266. elseif type == "Divide" then
  3267. scaler2 = scaler2 - 0.01/value*bonuspeed
  3268. end
  3269. if chaosmode == true then
  3270. rng.BrickColor = BrickColor.random()
  3271. end
  3272. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3273. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3274. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3275. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3276. end
  3277. rng:Destroy()
  3278. end))
  3279. end
  3280.  
  3281.  
  3282. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3283. local type = type
  3284. local rng = Instance.new("Part", char)
  3285. rng.Anchored = true
  3286. if ModeOfGlitch ~= 9 then
  3287. rng.BrickColor = color
  3288. elseif ModeOfGlitch == 9 then
  3289. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3290. end
  3291. rng.CanCollide = false
  3292. rng.FormFactor = 3
  3293. rng.Name = "Ring"
  3294. rng.Material = "Neon"
  3295. rng.Size = Vector3.new(1, 1, 1)
  3296. rng.Transparency = 1
  3297. rng.TopSurface = 0
  3298. rng.BottomSurface = 0
  3299. rng.CFrame = pos
  3300. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3301. local rngm = Instance.new("SpecialMesh", rng)
  3302. rngm.MeshType = "Sphere"
  3303. rngm.Scale = vt(x1,y1,z1)
  3304. if rainbowmode == true then
  3305. rng.Color = Color3.new(r/255,g/255,b/255)
  3306. end
  3307. if ModeOfGlitch == 9 then
  3308. coroutine.resume(coroutine.create(function()
  3309. while true do
  3310. swait()
  3311. if rng.Parent ~= nil then
  3312. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3313. else
  3314. break
  3315. end
  3316. end
  3317. end))
  3318. end
  3319. local scaler2 = 1
  3320. local speeder = FastSpeed
  3321. if type == "Add" then
  3322. scaler2 = 1*value
  3323. elseif type == "Divide" then
  3324. scaler2 = 1/value
  3325. end
  3326. coroutine.resume(coroutine.create(function()
  3327. for i = 0,10/bonuspeed,0.1 do
  3328. swait()
  3329. if rainbowmode == true then
  3330. rng.Color = Color3.new(r/255,g/255,b/255)
  3331. end
  3332. if type == "Add" then
  3333. scaler2 = scaler2 - 0.01*value/bonuspeed
  3334. elseif type == "Divide" then
  3335. scaler2 = scaler2 - 0.01/value*bonuspeed
  3336. end
  3337. if chaosmode == true then
  3338. rng.BrickColor = BrickColor.random()
  3339. end
  3340. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3341. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3342. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3343. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3344. end
  3345. rng:Destroy()
  3346. end))
  3347. end
  3348.  
  3349. function dmg(dude)
  3350. if dude.Name ~= Character then
  3351. local keptcolor = MAINRUINCOLOR
  3352. local bgf = Instance.new("BodyGyro",dude.Head)
  3353. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3354. --[[local val = Instance.new("BoolValue",dude)
  3355. val.Name = "IsHit"]]--
  3356. local ds = coroutine.wrap(function()
  3357. dude:WaitForChild("Head"):BreakJoints()
  3358. for i, v in pairs(dude:GetChildren()) do
  3359. if v:IsA("Part") or v:IsA("MeshPart") then
  3360. v.Name = "DEMINISHED"
  3361. end
  3362. end
  3363. wait(0.5)
  3364. targetted = nil
  3365. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3366. coroutine.resume(coroutine.create(function()
  3367. for i, v in pairs(dude:GetChildren()) do
  3368. if v:IsA("Accessory") then
  3369. v:Destroy()
  3370. end
  3371. if v:IsA("Humanoid") then
  3372. v:Destroy()
  3373. end
  3374. if v:IsA("CharacterMesh") then
  3375. v:Destroy()
  3376. end
  3377. if v:IsA("Model") then
  3378. v:Destroy()
  3379. end
  3380. if v:IsA("Part") or v:IsA("MeshPart") then
  3381. for x, o in pairs(v:GetChildren()) do
  3382. if o:IsA("Decal") then
  3383. o:Destroy()
  3384. end
  3385. end
  3386. coroutine.resume(coroutine.create(function()
  3387. v.Material = "Neon"
  3388. v.CanCollide = false
  3389. v.Anchored = false
  3390. local bld = Instance.new("ParticleEmitter",v)
  3391. bld.LightEmission = 0.75
  3392. bld.Texture = "rbxassetid://363275192" ---284205403
  3393. bld.Color = ColorSequence.new(keptcolor.Color)
  3394. bld.Rate = 500
  3395. bld.Lifetime = NumberRange.new(1)
  3396. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3397. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3398. bld.Speed = NumberRange.new(2,5)
  3399. bld.VelocitySpread = 50000
  3400. bld.Rotation = NumberRange.new(-500,500)
  3401. bld.RotSpeed = NumberRange.new(-500,500)
  3402. local sbs = Instance.new("BodyPosition", v)
  3403. sbs.P = 3000
  3404. sbs.D = 1000
  3405. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3406. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3407. v.Color = keptcolor.Color
  3408. coroutine.resume(coroutine.create(function()
  3409. for i = 0, 49 do
  3410. swait(1)
  3411. v:BreakJoints()
  3412. v.Transparency = v.Transparency + 0.02
  3413. end
  3414. v:BreakJoints()
  3415. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3416. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3417. bld.Speed = NumberRange.new(10,25)
  3418. bld.Drag = 5
  3419. bld.Acceleration = vt(0,2,0)
  3420. wait(0.5)
  3421. bld.Enabled = false
  3422. wait(8)
  3423. v:Destroy()
  3424. dude:Destroy()
  3425. end))
  3426. end))
  3427. end
  3428. end
  3429. end))
  3430. end)
  3431. ds()
  3432. end
  3433. end
  3434.  
  3435.  
  3436. function FindNearestHead(Position, Distance, SinglePlayer)
  3437. if SinglePlayer then
  3438. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3439. end
  3440. local List = {}
  3441. for i, v in pairs(workspace:GetChildren()) do
  3442. if v:IsA("Model") then
  3443. if v:findFirstChild("Head") then
  3444. if v ~= Character then
  3445. if (v.Head.Position - Position).magnitude <= Distance then
  3446. table.insert(List, v)
  3447. end
  3448. end
  3449. end
  3450. end
  3451. end
  3452. return List
  3453. end
  3454.  
  3455. function FaceMouse()
  3456. Cam = workspace.CurrentCamera
  3457. return {
  3458. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3459. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3460. }
  3461. end
  3462.  
  3463. function FaceMouse2()
  3464. Cam = workspace.CurrentCamera
  3465. return {
  3466. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3467. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3468. }
  3469. end
  3470.  
  3471. local ModeOfGlitch = 1
  3472. -- Functions are ready.
  3473. local storehumanoidWS = 16
  3474.  
  3475. function CorruptBlink()
  3476. for i = 0, 14 do
  3477. 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)
  3478. end
  3479. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3480. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3481. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3482. CameraEnshaking(2,10)
  3483. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3484. if v:FindFirstChild('Head') then
  3485. dmg(v)
  3486. end
  3487. end
  3488. for i = 0, 14 do
  3489. 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)
  3490. end
  3491. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3492. end
  3493. function PureBomb()
  3494. attack = true
  3495. hum.WalkSpeed = 0
  3496. local orb = Instance.new("Part", char)
  3497. orb.Anchored = true
  3498. orb.BrickColor = BrickColor.new("Toothpaste")
  3499. orb.CanCollide = false
  3500. orb.FormFactor = 3
  3501. orb.Name = "Ring"
  3502. orb.Material = "Neon"
  3503. orb.Size = Vector3.new(1, 1, 1)
  3504. orb.Transparency = 0
  3505. orb.TopSurface = 0
  3506. orb.BottomSurface = 0
  3507. local orbm = Instance.new("SpecialMesh", orb)
  3508. orbm.MeshType = "Sphere"
  3509. orbm.Name = "SizeMesh"
  3510. orbm.Scale = vt(0,0,0)
  3511. local scaled = 0.1
  3512. local posid = 0
  3513. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3514. for i = 0, 5, 0.1 do
  3515. swait()
  3516. scaled = scaled - 0.001
  3517. posid = posid - scaled
  3518. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3519. local scaled = 0.1
  3520. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3521. 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)
  3522. 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)
  3523. 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)
  3524. 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)
  3525. 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)
  3526. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3527. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3528. 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)
  3529. end
  3530. for i = 0, 2, 0.1 do
  3531. swait()
  3532. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3533. 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)
  3534. 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)
  3535. 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)
  3536. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3537. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3538. 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)
  3539. end
  3540. coroutine.resume(coroutine.create(function()
  3541. orb.Anchored = false
  3542. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3543. local a = Instance.new("Part",workspace)
  3544. a.Name = "Direction"
  3545. a.Anchored = true
  3546. a.BrickColor = bc("Bright red")
  3547. a.Material = "Neon"
  3548. a.Transparency = 1
  3549. a.CanCollide = false
  3550. local ray = Ray.new(
  3551. orb.CFrame.p, -- origin
  3552. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3553. )
  3554. local ignore = orb
  3555. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3556. a.BottomSurface = 10
  3557. a.TopSurface = 10
  3558. local distance = (orb.CFrame.p - position).magnitude
  3559. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3560. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3561. orb.CFrame = a.CFrame
  3562. a:Destroy()
  3563. local bv = Instance.new("BodyVelocity")
  3564. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3565. bv.velocity = orb.CFrame.lookVector*125
  3566. bv.Parent = orb
  3567. local hitted = false
  3568. game:GetService("Debris"):AddItem(orb, 15)
  3569. wait()
  3570. local hit =orb.Touched:connect(function(hit)
  3571. if hitted == false then
  3572. hitted = true
  3573. CameraEnshaking(10,2.5)
  3574. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3575. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3576. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3577. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3578. for i = 0, 49 do
  3579. 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)
  3580. end
  3581. for i = 0, 9 do
  3582. 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)
  3583. 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)
  3584. end
  3585. orb.Anchored = true
  3586. orb.Transparency = 1
  3587. wait(8)
  3588. orb:Destroy()
  3589. end
  3590. end)
  3591. end))
  3592. for i = 0, 1, 0.1 do
  3593. swait()
  3594. 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)
  3595. 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)
  3596. 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)
  3597. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3598. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3599. 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)
  3600. end
  3601. hum.WalkSpeed = storehumanoidWS
  3602. attack = false
  3603. end
  3604.  
  3605. function BanishingOrb()
  3606. attack = true
  3607. hum.WalkSpeed = 0
  3608. local radm = math.random(1,3)
  3609. if radm == 1 then
  3610. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3611. elseif radm == 2 then
  3612. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3613. elseif radm == 3 then
  3614. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3615. end
  3616. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3617. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3618. local orb = Instance.new("Part", char)
  3619. orb.Anchored = true
  3620. orb.BrickColor = BrickColor.new("Lime green")
  3621. orb.CanCollide = false
  3622. orb.FormFactor = 3
  3623. orb.Name = "Ring"
  3624. orb.Material = "Neon"
  3625. orb.Size = Vector3.new(1, 1, 1)
  3626. orb.Transparency = 0
  3627. orb.TopSurface = 0
  3628. orb.BottomSurface = 0
  3629. local orbm = Instance.new("SpecialMesh", orb)
  3630. orbm.MeshType = "Sphere"
  3631. orbm.Name = "SizeMesh"
  3632. orbm.Scale = vt(0,0,0)
  3633. local scaled = 0.1
  3634. local posid = 0
  3635. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3636. for i = 0, 5, 0.1 do
  3637. swait()
  3638. scaled = scaled - 0.001
  3639. posid = posid - scaled
  3640. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3641. local scaled = 0.1
  3642. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3643. 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("Cool yellow"),10)
  3644. 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)
  3645. 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)
  3646. 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)
  3647. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3648. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3649. 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)
  3650. end
  3651. for i = 0, 2, 0.1 do
  3652. swait()
  3653. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3654. 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)
  3655. 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)
  3656. 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)
  3657. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3658. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3659. 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)
  3660. end
  3661. coroutine.resume(coroutine.create(function()
  3662. orb.Anchored = false
  3663. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3664. local a = Instance.new("Part",workspace)
  3665. a.Name = "Direction"
  3666. a.Anchored = true
  3667. a.BrickColor = bc("Lime green")
  3668. a.Material = "Neon"
  3669. a.Transparency = 1
  3670. a.CanCollide = false
  3671. local ray = Ray.new(
  3672. orb.CFrame.p, -- origin
  3673. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3674. )
  3675. local ignore = orb
  3676. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3677. a.BottomSurface = 10
  3678. a.TopSurface = 10
  3679. local distance = (orb.CFrame.p - position).magnitude
  3680. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3681. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3682. orb.CFrame = a.CFrame
  3683. a:Destroy()
  3684. local bv = Instance.new("BodyVelocity")
  3685. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3686. bv.velocity = orb.CFrame.lookVector*0
  3687. bv.Parent = orb
  3688. local hitted = false
  3689. local rate = 0
  3690. coroutine.resume(coroutine.create(function()
  3691. for i = 0, 24 do
  3692. wait(0.1)
  3693. rate = rate + 0.25
  3694. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3695. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3696. if v:FindFirstChild('Head') then
  3697. dmg(v)
  3698. end
  3699. end
  3700. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3701. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3702. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3703. end
  3704. orb.Anchored = true
  3705. orb.Transparency = 1
  3706. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3707. if v:FindFirstChild('Head') then
  3708. dmg(v)
  3709. end
  3710. end
  3711. local eff = Instance.new("ParticleEmitter",orb)
  3712. eff.Texture = "rbxassetid://296874871"
  3713. eff.LightEmission = 0.95
  3714. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3715. eff.Rate = 1000000000
  3716. eff.Lifetime = NumberRange.new(3)
  3717. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,9,0),NumberSequenceKeypoint.new(1,0,0)})
  3718. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3719. eff.Speed = NumberRange.new(30)
  3720. eff.Acceleration = vt(0,-15,0)
  3721. eff.Rotation = NumberRange.new(-500,500)
  3722. eff.VelocitySpread = 100000
  3723. eff.RotSpeed = NumberRange.new(-500,500)
  3724. coroutine.resume(coroutine.create(function()
  3725. wait(0.6)
  3726. eff.Enabled = false
  3727. end))
  3728. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3729. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3730. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3731. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3732. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3733. game:GetService("Debris"):AddItem(orb, 15)
  3734. end))
  3735. end))
  3736. for i = 0, 1, 0.1 do
  3737. swait()
  3738. 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)
  3739. 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)
  3740. 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)
  3741. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3742. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3743. 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)
  3744. end
  3745. hum.WalkSpeed = storehumanoidWS
  3746. attack = false
  3747. end
  3748.  
  3749.  
  3750. function ChaosGroundStrike()
  3751. attack = true
  3752. for i = 0, 2, 0.1 do
  3753. swait()
  3754. 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)
  3755. 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)
  3756. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3757. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3758. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3759. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3760. end
  3761. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3762. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3763. CameraEnshaking(4,12)
  3764. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3765. if v:FindFirstChild('Head') then
  3766. dmg(v)
  3767. end
  3768. end
  3769. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3770. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3771. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3772. for i = 0, 2, 0.1 do
  3773. swait()
  3774. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*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,BrickColor.random(),0)
  3775. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5,52.5),-5,math.random(-52.5,52.5))*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,BrickColor.random(),0)
  3776. 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)
  3777. 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)
  3778. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3779. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3780. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3781. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3782. end
  3783. attack = false
  3784. end
  3785.  
  3786.  
  3787.  
  3788. function Starfall()
  3789. attack = true
  3790. hum.WalkSpeed = 0
  3791. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3792. for i = 0, 5, 0.1 do
  3793. swait()
  3794. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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)
  3795. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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)
  3796. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3797. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3798. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3799. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3800. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3801. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3802. end
  3803. local Overed = false
  3804. CameraEnshaking(2,20)
  3805. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3806. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3807. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3808. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3809. local orb = Instance.new("Part", char)
  3810. orb.Anchored = true
  3811. orb.BrickColor = BrickColor.new("Toothpaste")
  3812. orb.CanCollide = false
  3813. orb.FormFactor = 3
  3814. orb.Name = "Remenant"
  3815. orb.Material = "Neon"
  3816. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3817. orb.Size = Vector3.new(1, 1, 1)
  3818. orb.Transparency = 1
  3819. orb.TopSurface = 0
  3820. orb.BottomSurface = 0
  3821. hum.WalkSpeed = storehumanoidWS
  3822. coroutine.resume(coroutine.create(function()
  3823. for i = 0, 9 do
  3824. swait(10)
  3825. local lb = Instance.new("Part")
  3826. lb.Color = MAINRUINCOLOR.Color
  3827. lb.CanCollide = false
  3828. lb.Material = "Neon"
  3829. lb.Anchored = true
  3830. lb.TopSurface = 0
  3831. lb.BottomSurface = 0
  3832. lb.Transparency = 0
  3833. lb.Size = vt(1,1,1)
  3834. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3835. lb.Anchored = false
  3836. lb.Parent = char
  3837. local thingery = Instance.new("SpecialMesh",lb)
  3838. thingery.MeshType = "Sphere"
  3839. thingery.Scale = vt(20,20,20)
  3840. game:GetService("Debris"):AddItem(lb, 10)
  3841. local bv = Instance.new("BodyVelocity")
  3842. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3843. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3844. bv.Parent = lb
  3845. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3846. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3847. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3848. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3849. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3850. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3851. local hitted = false
  3852. coroutine.resume(coroutine.create(function()
  3853. while true do
  3854. swait(1)
  3855. if lb.Parent ~= nil and hitted == false then
  3856. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3857. elseif lb.Parent == nil then
  3858. break
  3859. end
  3860. end
  3861. end))
  3862.  
  3863. game:GetService("Debris"):AddItem(a, 0.1)
  3864.  
  3865. coroutine.resume(coroutine.create(function()
  3866. swait(1)
  3867. lb.Touched:connect(function(hit)
  3868. if hitted == false then
  3869. hitted = true
  3870. lb.Transparency = 1
  3871. lb.Anchored = true
  3872. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3873. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3874. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3875. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3876. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3877. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3878. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3879. CameraEnshaking(1,5)
  3880. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3881. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3882. for i = 0, 9 do
  3883. sphereMK(1,math.random(1,3),"Add",lb.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.1,MAINRUINCOLOR,0)
  3884. end
  3885. for i = 0, 49 do
  3886. swait()
  3887. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3888. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3889. end
  3890. end
  3891. end)
  3892. end))
  3893. end
  3894. Overed = true
  3895. orb:Destroy()
  3896. end))
  3897.  
  3898. attack = false
  3899. end
  3900.  
  3901. function StarfallEX()
  3902. attack = true
  3903. hum.WalkSpeed = 0
  3904. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3905. for i = 0, 10, 0.1 do
  3906. swait()
  3907. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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)
  3908. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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)
  3909. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3910. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3911. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3912. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3913. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3914. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3915. end
  3916. local Overed = false
  3917. CameraEnshaking(2,20)
  3918. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3919. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3920. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3921. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3922. local orb = Instance.new("Part", char)
  3923. orb.Anchored = true
  3924. orb.BrickColor = BrickColor.new("Toothpaste")
  3925. orb.CanCollide = false
  3926. orb.FormFactor = 3
  3927. orb.Name = "Remenant"
  3928. orb.Material = "Neon"
  3929. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3930. orb.Size = Vector3.new(1, 1, 1)
  3931. orb.Transparency = 1
  3932. orb.TopSurface = 0
  3933. orb.BottomSurface = 0
  3934. hum.WalkSpeed = storehumanoidWS
  3935. coroutine.resume(coroutine.create(function()
  3936. for i = 0, 4 do
  3937. swait(15)
  3938. local lb = Instance.new("Part")
  3939. lb.Color = MAINRUINCOLOR.Color
  3940. lb.CanCollide = false
  3941. lb.Material = "Neon"
  3942. lb.Anchored = true
  3943. lb.TopSurface = 0
  3944. lb.BottomSurface = 0
  3945. lb.Transparency = 0
  3946. lb.Size = vt(1,1,1)
  3947. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3948. lb.Anchored = false
  3949. lb.Parent = char
  3950. local thingery = Instance.new("SpecialMesh",lb)
  3951. thingery.MeshType = "Sphere"
  3952. thingery.Scale = vt(50,50,50)
  3953. game:GetService("Debris"):AddItem(lb, 10)
  3954. local bv = Instance.new("BodyVelocity")
  3955. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3956. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3957. bv.Parent = lb
  3958. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3959. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3960. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3961. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3962. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3963. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3964. local hitted = false
  3965. coroutine.resume(coroutine.create(function()
  3966. while true do
  3967. swait(1)
  3968. if lb.Parent ~= nil and hitted == false then
  3969. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),25,25,25,0.25,MAINRUINCOLOR,-2)
  3970. elseif lb.Parent == nil then
  3971. break
  3972. end
  3973. end
  3974. end))
  3975.  
  3976. game:GetService("Debris"):AddItem(a, 0.1)
  3977.  
  3978. coroutine.resume(coroutine.create(function()
  3979. swait(1)
  3980. lb.Touched:connect(function(hit)
  3981. if hitted == false then
  3982. hitted = true
  3983. lb.Transparency = 1
  3984. lb.Anchored = true
  3985. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3986. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3987. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3988. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3989. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3990. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3991. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3992. CameraEnshaking(1,5)
  3993. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3994. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3995. for i = 0, 9 do
  3996. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,100,-0.1,MAINRUINCOLOR,0)
  3997. end
  3998. for i = 0, 99 do
  3999. swait()
  4000. MagniDamage(lb, 30, 6,18, 0, "Normal")
  4001. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),32,32,32,0.32,MAINRUINCOLOR,0)
  4002. end
  4003. end
  4004. end)
  4005. end))
  4006. end
  4007. Overed = true
  4008. orb:Destroy()
  4009. end))
  4010.  
  4011. attack = false
  4012. end
  4013.  
  4014. function DivineBlast()
  4015. attack = true
  4016. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  4017. hum.WalkSpeed = 0
  4018. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  4019. elocacenter.Anchored = true
  4020. elocacenter.CFrame = sorb.CFrame
  4021. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4022. eloca1.Anchored = true
  4023. eloca1.CFrame = elocacenter.CFrame
  4024. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4025. eloca2.Anchored = true
  4026. eloca2.CFrame = elocacenter.CFrame
  4027. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4028. eloca3.Anchored = true
  4029. eloca3.CFrame = elocacenter.CFrame
  4030. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4031. eloca4.Anchored = true
  4032. eloca4.CFrame = elocacenter.CFrame
  4033. local lookavec = 0
  4034. local speeds = 0
  4035. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4036. for i = 0, 3, 0.1 do
  4037. swait()
  4038. ---
  4039. lookavec = lookavec + 0.1
  4040. speeds = speeds + 10
  4041. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4042. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4043. 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)
  4044.  
  4045. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4046. 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)
  4047.  
  4048. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4049. 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)
  4050.  
  4051. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4052. 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)
  4053. ---
  4054. root.CFrame = FaceMouse()[1]
  4055. 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)
  4056. 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)
  4057. 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)
  4058. 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)
  4059. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4060. 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)
  4061. end
  4062. for i = 0, 3, 0.1 do
  4063. swait()
  4064. ---
  4065. speeds = speeds + 10
  4066. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4067. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4068. 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)
  4069.  
  4070. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4071. 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)
  4072.  
  4073. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4074. 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)
  4075.  
  4076. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4077. 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)
  4078. ---
  4079. root.CFrame = FaceMouse()[1]
  4080. 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)
  4081. 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)
  4082. 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)
  4083. 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)
  4084. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4085. 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)
  4086. end
  4087. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4088. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4089. for i = 0, 3, 0.1 do
  4090. swait()
  4091. ---
  4092. speeds = speeds + 10
  4093. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4094. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4095. 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)
  4096.  
  4097. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4098. 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)
  4099.  
  4100. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4101. 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)
  4102.  
  4103. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4104. 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)
  4105. ---
  4106. root.CFrame = FaceMouse()[1]
  4107. 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)
  4108. 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)
  4109. 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)
  4110. 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)
  4111. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4112. 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)
  4113. end
  4114. coroutine.resume(coroutine.create(function()
  4115. local a = Instance.new("Part",Character)
  4116. a.Name = "Direction"
  4117. a.Anchored = true
  4118. a.BrickColor = bc("White")
  4119. a.Material = "Neon"
  4120. a.Transparency = 0
  4121. a.Shape = "Cylinder"
  4122. a.CanCollide = false
  4123. local a2 = Instance.new("Part",Character)
  4124. a2.Name = "Direction"
  4125. a2.Anchored = true
  4126. a2.BrickColor = bc("Bright yellow")
  4127. a2.Material = "Neon"
  4128. a2.Transparency = 0
  4129. a2.Shape = "Cylinder"
  4130. a2.CanCollide = false
  4131. local b = Instance.new("Part",Character)
  4132. b.Name = "HitDirect"
  4133. b.Anchored = true
  4134. b.BrickColor = bc("Cool yellow")
  4135. b.Material = "Neon"
  4136. b.Transparency = 1
  4137. b.CanCollide = false
  4138. local ray = Ray.new(
  4139. elocacenter.CFrame.p, -- origin
  4140. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4141. )
  4142. local ignore = Character
  4143. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4144. a.BottomSurface = 10
  4145. a.TopSurface = 10
  4146. a2.BottomSurface = 10
  4147. a2.TopSurface = 10
  4148. local distance = (elocacenter.CFrame.p - position).magnitude
  4149. a.Size = Vector3.new(distance, 1, 1)
  4150. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4151. a2.Size = Vector3.new(distance, 1, 1)
  4152. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4153. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4154. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4155. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4156. game:GetService("Debris"):AddItem(a, 10)
  4157. game:GetService("Debris"):AddItem(a2, 10)
  4158. game:GetService("Debris"):AddItem(b, 10)
  4159. local eff = Instance.new("ParticleEmitter",b)
  4160. eff.Texture = "rbxassetid://2273224484"
  4161. eff.LightEmission = 1
  4162. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4163. eff.Rate = 500000
  4164. eff.Lifetime = NumberRange.new(0.5,2)
  4165. 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)})
  4166. 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)})
  4167. eff.Speed = NumberRange.new(20,250)
  4168. eff.Drag = 5
  4169. eff.Rotation = NumberRange.new(-500,500)
  4170. eff.VelocitySpread = 9000
  4171. eff.RotSpeed = NumberRange.new(-50,50)
  4172. coroutine.resume(coroutine.create(function()
  4173. wait(0.25)
  4174. eff.Enabled = false
  4175. end))
  4176. local msh = Instance.new("SpecialMesh",a)
  4177. msh.MeshType = "Cylinder"
  4178. msh.Scale = vt(1,2,2)
  4179. local msh2 = Instance.new("SpecialMesh",a2)
  4180. msh2.MeshType = "Cylinder"
  4181. msh2.Scale = vt(1,2.5,2.5)
  4182. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4183. coroutine.resume(coroutine.create(function()
  4184. for i = 0,10,0.1 do
  4185. swait()
  4186. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4187. a.Transparency = a.Transparency + 0.025
  4188. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4189. a2.Transparency = a2.Transparency + 0.05
  4190. end
  4191. a:Destroy()
  4192. a2:Destroy()
  4193. end))
  4194. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4195. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4196. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4197. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4198. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4199. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4200. MagniDamage(b, 25, 40,65, 0, "Normal")
  4201. for i = 0, 49 do
  4202. 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)
  4203. 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)
  4204. end
  4205. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4206. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4207. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4208. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4209. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4210. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4211. end))
  4212. game:GetService("Debris"):AddItem(elocacenter, 5)
  4213. hum.WalkSpeed = storehumanoidWS
  4214. attack = false
  4215. end
  4216.  
  4217. function StarDivision()
  4218. attack = true
  4219. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4220. for i = 0, 2, 0.1 do
  4221. swait()
  4222. 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)
  4223. 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)
  4224. 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(0)),.1)
  4225. 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)
  4226. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4227. 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)
  4228. end
  4229. local orb = Instance.new("Part", char)
  4230. orb.BrickColor = MAINRUINCOLOR
  4231. orb.CanCollide = false
  4232. orb.FormFactor = 3
  4233. orb.Name = "Ring"
  4234. orb.Material = "Neon"
  4235. orb.Size = Vector3.new(1, 1, 1)
  4236. orb.Transparency = 0
  4237. orb.TopSurface = 0
  4238. orb.BottomSurface = 0
  4239. local orbm = Instance.new("SpecialMesh", orb)
  4240. orbm.MeshType = "Sphere"
  4241. orbm.Name = "SizeMesh"
  4242. orbm.Scale = vt(2,2,2)
  4243. local a = Instance.new("Part",workspace)
  4244. a.Name = "Direction"
  4245. a.Anchored = true
  4246. a.BrickColor = bc("Bright red")
  4247. a.Material = "Neon"
  4248. a.Transparency = 1
  4249. a.CanCollide = false
  4250. local ray = Ray.new(
  4251. sorb.CFrame.p, -- origin
  4252. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4253. )
  4254. local ignore = sorb
  4255. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4256. a.BottomSurface = 10
  4257. a.TopSurface = 10
  4258. local distance = (sorb.CFrame.p - position).magnitude
  4259. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4260. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4261. orb.CFrame = a.CFrame
  4262. a:Destroy()
  4263. local bv = Instance.new("BodyVelocity")
  4264. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4265. bv.velocity = orb.CFrame.lookVector*100
  4266. bv.Parent = orb
  4267. local hitted = false
  4268. game:GetService("Debris"):AddItem(orb, 10)
  4269. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4270. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4271. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4272. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4273. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4274. coroutine.resume(coroutine.create(function()
  4275. while true do
  4276. swait(1)
  4277. if orb.Parent ~= nil and hitted == false then
  4278. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  4279. elseif orb.Parent == nil then
  4280. break
  4281. end
  4282. end
  4283. end))
  4284. coroutine.resume(coroutine.create(function()
  4285. swait(1)
  4286. orb.Touched:connect(function(hit)
  4287. if hitted == false then
  4288. hitted = true
  4289. game:GetService("Debris"):AddItem(orb, 5)
  4290. orb.Transparency = 1
  4291. orb.Anchored = true
  4292. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4293. elocacenter.Anchored = true
  4294. elocacenter.CFrame = orb.CFrame
  4295. elocacenter.Orientation = vt(0,0,0)
  4296. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4297. eloca1.Anchored = true
  4298. eloca1.CFrame = elocacenter.CFrame
  4299. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4300. eloca2.Anchored = true
  4301. eloca2.CFrame = elocacenter.CFrame
  4302. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4303. eloca3.Anchored = true
  4304. eloca3.CFrame = elocacenter.CFrame
  4305. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4306. eloca4.Anchored = true
  4307. eloca4.CFrame = elocacenter.CFrame
  4308. local lookavec = 0
  4309. local speeds = 0
  4310. CameraEnshaking(1,1)
  4311. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4312. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4313. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4314. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4315. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4316. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4317. for i = 0, 99 do
  4318. swait()
  4319. lookavec = lookavec + 1
  4320. speeds = speeds + 0.1
  4321. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4322. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4323. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4324.  
  4325. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4326. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4327.  
  4328. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4329. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4330.  
  4331. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4332. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4333. end
  4334.  
  4335. for i = 0, 149 do
  4336. swait()
  4337. speeds = speeds + 0.1
  4338. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4339. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4340. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4341.  
  4342. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4343. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4344.  
  4345. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4346. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4347.  
  4348. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4349. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4350. end
  4351. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4352. if v:FindFirstChild('Head') then
  4353. dmg(v)
  4354. end
  4355. end
  4356. CameraEnshaking(7,30)
  4357. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4358. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4359. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4360. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4361. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4362. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4363. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4364. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4365. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4366. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4367. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4368. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4369. for i = 0, 24 do
  4370. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4371. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4372. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4373. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4374. end
  4375. coroutine.resume(coroutine.create(function()
  4376. for i = 0, 499 do
  4377. swait(1)
  4378. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4379. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  4380. end
  4381. elocacenter:Destroy()
  4382. eloca1:Destroy()
  4383. eloca2:Destroy()
  4384. eloca3:Destroy()
  4385. eloca4:Destroy()
  4386. end))
  4387. end
  4388. end)
  4389. end))
  4390. attack = false
  4391. end
  4392.  
  4393.  
  4394. function THE_TRUE_POWER_OF_VIOLENCE()
  4395. attack = true
  4396. hum.WalkSpeed = 0
  4397. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4398. for i = 0, 10, 0.1 do
  4399. swait()
  4400. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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)
  4401. 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)
  4402. 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)
  4403. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(40)),.4)
  4404. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4405. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4406. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  4407. end
  4408. local orb = Instance.new("Part", char)
  4409. orb.BrickColor = MAINRUINCOLOR
  4410. orb.CanCollide = false
  4411. orb.FormFactor = 3
  4412. orb.Name = "Ring"
  4413. orb.Material = "Neon"
  4414. orb.Size = Vector3.new(1, 1, 1)
  4415. orb.Transparency = 0
  4416. orb.TopSurface = 0
  4417. orb.BottomSurface = 0
  4418. orb.CFrame = sorb.CFrame
  4419. local orbm = Instance.new("SpecialMesh", orb)
  4420. orbm.MeshType = "Sphere"
  4421. orbm.Name = "SizeMesh"
  4422. orbm.Scale = vt(0,0,0)
  4423. local sbs = Instance.new("BodyPosition", orb)
  4424. sbs.P = 3000
  4425. sbs.D = 1000
  4426. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4427. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4428. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4429. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4430. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4431. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4432. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4433. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4434. for i = 0, 10, 0.1 do
  4435. swait()
  4436. PixelBlockNeg(1,0.01,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0)
  4437. 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)
  4438. 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)
  4439. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4440. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4441. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4442. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4443. end
  4444. orb.Anchored = true
  4445. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4446. elocacenter.Anchored = true
  4447. elocacenter.CFrame = orb.CFrame
  4448. elocacenter.Orientation = vt(0,0,0)
  4449. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4450. eloca1.Anchored = true
  4451. eloca1.CFrame = elocacenter.CFrame
  4452. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4453. eloca2.Anchored = true
  4454. eloca2.CFrame = elocacenter.CFrame
  4455. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4456. eloca3.Anchored = true
  4457. eloca3.CFrame = elocacenter.CFrame
  4458. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4459. eloca4.Anchored = true
  4460. eloca4.CFrame = elocacenter.CFrame
  4461. local lookavec = 0
  4462. local speeds = 0
  4463. CameraEnshaking(1,1)
  4464. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4465. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4466. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4467. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4468. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4469. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4470. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4471. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4472. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4473. for i = 0, 99 do
  4474. swait()
  4475. lookavec = lookavec + 2.5
  4476. speeds = speeds + 0.25
  4477. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4478. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4479. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4480.  
  4481. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4482. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4483.  
  4484. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4485. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4486.  
  4487. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4488. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4489. end
  4490.  
  4491. for i = 0, 149 do
  4492. swait()
  4493. speeds = speeds + 0.25
  4494. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4495. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4496. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4497.  
  4498. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4499. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4500.  
  4501. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4502. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4503.  
  4504. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4505. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4506. end
  4507. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4508. for i = 0, 99 do
  4509. swait()
  4510. lookavec = lookavec - 2.5
  4511. speeds = speeds + 0.25
  4512. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4513. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4514. PixelBlockNeg(2,0,"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4515.  
  4516. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4517. PixelBlockNeg(2,0,"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4518.  
  4519. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4520. PixelBlockNeg(2,0,"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4521.  
  4522. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4523. PixelBlockNeg(2,0,"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4524. end
  4525. local scaled = 0.1*75
  4526. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4527. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4528. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4529. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4530. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4531. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4532. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4533. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4534. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4535. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4536. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4537.  
  4538. for i = 0, 10, 0.1 do
  4539. swait()
  4540. scaled = scaled - 0.001*75
  4541. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4542. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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)
  4543. 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)
  4544. 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)
  4545. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(60)),.6)
  4546. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4547. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4548. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-10),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.6)
  4549. end
  4550. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4551. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4552. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4553. for x = 0, 4 do
  4554. for i = 0, 9 do
  4555. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4556. end
  4557. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4558. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4559. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4560. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4561. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4562. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4563. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4564. for i = 0, 5, 0.1 do
  4565. swait()
  4566. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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)
  4567. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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)
  4568. 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)
  4569. 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)
  4570. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  4571. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4572. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4573. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4574. end
  4575. end
  4576. local speedearn = 0
  4577. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4578. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4579. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4580. for i = 0, 30, 0.1 do
  4581. swait()
  4582. scaled = scaled - 0.001*75/10
  4583. speedearn = speedearn + 0.5
  4584. for i = 0, 4 do
  4585. sphereMK(1+speedearn,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4586. end
  4587. PixelBlock(1,speedearn,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1*speedearn/10,1*speedearn/10,1*speedearn/10,0.02*speedearn/10,MAINRUINCOLOR,0)
  4588. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4589. PixelBlockNeg(1,math.random(1,2),"Add",sorb.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)
  4590. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.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)
  4591. 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)
  4592. 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)
  4593. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  4594. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4595. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4596. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4597. end
  4598. orb.Transparency = 1
  4599. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4600. if v:FindFirstChild('Head') then
  4601. dmg(v)
  4602. end
  4603. end
  4604. CameraEnshaking(7,30)
  4605. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4606. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4607. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4608. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4609. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4610. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4611. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4612. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4613. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4614. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4615. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4616. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4617. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4618. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4619. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4620. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4621. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4622. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4623. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4624. for i = 0, 99 do
  4625. PixelBlock(1,math.random(50,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  4626. PixelBlock(2,math.random(250,1000),"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,10,0.2,MAINRUINCOLOR,0)
  4627. end
  4628. for i = 0, 24 do
  4629. sphereMK(0.5,0,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,100000,0,MAINRUINCOLOR,0)
  4630. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4631. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4632. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4633. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4634. end
  4635. game:GetService("Debris"):AddItem(orb, 10)
  4636. hum.WalkSpeed = storehumanoidWS
  4637. attack = false
  4638. end
  4639.  
  4640.  
  4641. function ViolentRing()
  4642. attack = true
  4643. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4644. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4645. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4646. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4647. for i = 0, 2, 0.1 do
  4648. swait()
  4649. local snap = math.random(1,10)
  4650. if snap == 1 then
  4651. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(-50 + math.random(-10,10))),1)
  4652. end
  4653. PixelBlockX(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4654. PixelBlockNeg(5,0.5,"Add",rarm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,MAINRUINCOLOR,0)
  4655. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
  4656. 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))),.6)
  4657. 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(0)),.6)
  4658. 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)),.6)
  4659. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4660. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4661. 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)),.6)
  4662. RootPart.CFrame = FaceMouse()[1]
  4663. end
  4664. local orb = Instance.new("Part", char)
  4665. orb.BrickColor = MAINRUINCOLOR
  4666. orb.CanCollide = false
  4667. orb.FormFactor = 3
  4668. orb.Name = "Ring"
  4669. orb.Material = "Neon"
  4670. orb.Size = Vector3.new(1, 1, 1)
  4671. orb.Transparency = 0
  4672. orb.TopSurface = 0
  4673. orb.BottomSurface = 0
  4674. local orbm = Instance.new("SpecialMesh", orb)
  4675. orbm.MeshType = "Sphere"
  4676. orbm.Name = "SizeMesh"
  4677. orbm.Scale = vt(2,2,2)
  4678. orb.CFrame = mouse.Hit
  4679. local bv = Instance.new("BodyVelocity")
  4680. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4681. bv.velocity = orb.CFrame.lookVector*100
  4682. bv.Parent = orb
  4683. local hitted = false
  4684. coroutine.resume(coroutine.create(function()
  4685. game:GetService("Debris"):AddItem(orb, 5)
  4686. orb.Transparency = 1
  4687. orb.Anchored = true
  4688. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4689. elocacenter.Anchored = true
  4690. elocacenter.CFrame = orb.CFrame
  4691. elocacenter.Orientation = vt(0,0,0)
  4692. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4693. eloca1.Anchored = true
  4694. eloca1.CFrame = elocacenter.CFrame
  4695. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4696. eloca2.Anchored = true
  4697. eloca2.CFrame = elocacenter.CFrame
  4698. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4699. eloca3.Anchored = true
  4700. eloca3.CFrame = elocacenter.CFrame
  4701. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4702. eloca4.Anchored = true
  4703. eloca4.CFrame = elocacenter.CFrame
  4704. local lookavec = 0
  4705. local speeds = 0
  4706. CameraEnshaking(1,1)
  4707. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4708. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4709. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4710. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4711. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4712. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4713. for i = 0, 24 do
  4714. swait()
  4715. lookavec = lookavec + 3.5
  4716. speeds = speeds + 1
  4717. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4718. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4719. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4720.  
  4721. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4722. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4723.  
  4724. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4725. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4726.  
  4727. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4728. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4729. end
  4730.  
  4731. local risen = 0
  4732. for i = 0, 49 do
  4733. swait()
  4734. risen = risen + 0.05
  4735. speeds = speeds + 0.1
  4736. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4737. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4738. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4739.  
  4740. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4741. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4742.  
  4743. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4744. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4745.  
  4746. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4747. PixelBlockNeg(2,math.random(1+risen,2+risen),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4748. end
  4749. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4750. if v:FindFirstChild('Head') then
  4751. dmg(v)
  4752. end
  4753. end
  4754. CameraEnshaking(4,10)
  4755. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4756. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4757. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4758. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4759. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4760. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4761. local eff = Instance.new("ParticleEmitter",elocacenter)
  4762. eff.Texture = "rbxassetid://2273224484"
  4763. eff.LightEmission = 1
  4764. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4765. eff.Rate = 1000000
  4766. eff.Lifetime = NumberRange.new(0.5,2)
  4767. 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)})
  4768. 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)})
  4769. eff.Speed = NumberRange.new(20,250)
  4770. eff.Drag = 5
  4771. eff.Rotation = NumberRange.new(-500,500)
  4772. eff.VelocitySpread = 5000000
  4773. eff.RotSpeed = NumberRange.new(-50,50)
  4774. coroutine.resume(coroutine.create(function()
  4775. wait(1)
  4776. eff.Enabled = false
  4777. end))
  4778. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4779. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4780. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4781. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4782. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4783. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4784. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4785. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4786. for i = 0, 24 do
  4787. sphereMK(2,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.25,MAINRUINCOLOR,0)
  4788. sphereMK(4,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4789. sphereMK(6,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4790. sphereMK(8,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4791. end
  4792. coroutine.resume(coroutine.create(function()
  4793. wait(10)
  4794. elocacenter:Destroy()
  4795. eloca1:Destroy()
  4796. eloca2:Destroy()
  4797. eloca3:Destroy()
  4798. eloca4:Destroy()
  4799. end))
  4800. end))
  4801. attack = false
  4802. end
  4803.  
  4804. function UniversalCollapse()
  4805. attack = true
  4806. local speedearn = 0
  4807. hum.WalkSpeed = 0
  4808. local sbs = Instance.new("BodyPosition", root)
  4809. sbs.P = 3000
  4810. sbs.D = 1000
  4811. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4812. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4813. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4814. for i = 0, 85, 0.1 do
  4815. swait()
  4816. speedearn = speedearn + 0.1
  4817. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4818. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4819. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4820. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4821. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4822. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4823. 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)
  4824. 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)
  4825. 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)
  4826. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4827. 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)
  4828. 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)
  4829. end
  4830. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4831. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4832. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4833. for i = 0, 25, 0.1 do
  4834. swait()
  4835. speedearn = speedearn + 0.1
  4836. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4837. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4838. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4839. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4840. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4841. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4842. 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)
  4843. 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)
  4844. 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)
  4845. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4846. 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)
  4847. 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)
  4848. end
  4849. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4850. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4851. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4852. CameraEnshaking(5,50)
  4853. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4854. for i = 0, 2 do
  4855. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4856. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4857. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4858. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4859. end
  4860. for i = 0, 49 do
  4861. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  4862. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  4863. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  4864. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  4865. end
  4866. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4867. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4868. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4869. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4870. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4871. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4872. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4873. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4874. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4875. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4876. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4877. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4878. for i = 0, 99 do
  4879. PixelBlock(1,math.random(50,1000),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),20,20,20,0.4,MAINRUINCOLOR,0)
  4880. PixelBlock(2,math.random(250,1000),"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,10,0.2,MAINRUINCOLOR,0)
  4881. end
  4882. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4883. if v:FindFirstChild('Head') then
  4884. dmg(v)
  4885. end
  4886. end
  4887. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4888. sbs:Destroy()
  4889. hum.WalkSpeed = storehumanoidWS
  4890. attack = false
  4891. end
  4892.  
  4893.  
  4894. function ChaosEND()
  4895. attack = true
  4896. local speedearn = 0
  4897. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4898. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4899. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4900. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4901. for i = 0, 15, 0.1 do
  4902. swait()
  4903. speedearn = speedearn + 0.25
  4904. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4905. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4906. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4907. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4908. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4909. 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)
  4910. 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)
  4911. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4912. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4913. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4914. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4915. end
  4916. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4917. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4918. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4919. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4920. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4921. CameraEnshaking(5,25)
  4922. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4923. if v:FindFirstChild('Head') then
  4924. dmg(v)
  4925. end
  4926. end
  4927. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4928. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4929. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4930. for i = 0, 3, 0.1 do
  4931. swait()
  4932. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4933. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4934. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4935. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-52.5*10,52.5*10),-5,math.random(-52.5*10,52.5*10))*CFrame.Angles(math.rad(90 + math.rad(math.random(-45,45))),math.rad(math.random(-45,45)),math.rad(math.random(-45,45))),25,25,250,-0.25,BrickColor.random(),0)
  4936. 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)
  4937. 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)
  4938. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4939. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4940. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4941. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4942. end
  4943. attack = false
  4944. end
  4945.  
  4946. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4947. local orb = Instance.new("Part", char)
  4948. orb.Anchored = true
  4949. orb.BrickColor = color
  4950. orb.CanCollide = false
  4951. orb.FormFactor = 3
  4952. orb.Name = "Ring"
  4953. orb.Material = "Neon"
  4954. orb.Size = Vector3.new(1, 1, 1)
  4955. orb.Transparency = 0
  4956. orb.TopSurface = 0
  4957. orb.BottomSurface = 0
  4958. local orbm = Instance.new("SpecialMesh", orb)
  4959. orbm.MeshType = "Sphere"
  4960. orb.CFrame = positted
  4961. orbm.Name = "SizeMesh"
  4962. orbm.Scale = vt(1,1,1)
  4963. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4964. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4965. --[[for i = 0, 2 do
  4966. 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)
  4967. end]]--
  4968. coroutine.resume(coroutine.create(function()
  4969. wait(timer)
  4970. CameraEnshaking(3,ShakePower)
  4971. orb.Transparency = 1
  4972. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4973. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4974. --[[for i = 0, 4 do
  4975. 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)
  4976. end]]--
  4977. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4978. wait(3)
  4979. orb:Destroy()
  4980. end))
  4981. end
  4982.  
  4983. function orb_spawn(positted,timer)
  4984. local randomcol = math.random(1,2)
  4985. local orb = Instance.new("Part", char)
  4986. orb.Anchored = true
  4987. if randomcol == 1 then
  4988. orb.BrickColor = BrickColor.new("White")
  4989. elseif randomcol == 2 then
  4990. orb.BrickColor = BrickColor.new("Really black")
  4991. end
  4992. orb.CanCollide = false
  4993. orb.FormFactor = 3
  4994. orb.Name = "Ring"
  4995. orb.Material = "Neon"
  4996. orb.Size = Vector3.new(1, 1, 1)
  4997. orb.Transparency = 0
  4998. orb.TopSurface = 0
  4999. orb.BottomSurface = 0
  5000. local orbm = Instance.new("SpecialMesh", orb)
  5001. orbm.MeshType = "Sphere"
  5002. orb.CFrame = positted
  5003. orbm.Name = "SizeMesh"
  5004. orbm.Scale = vt(1,1,1)
  5005. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  5006. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  5007. for i = 0, 2 do
  5008. 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)
  5009. end
  5010. coroutine.resume(coroutine.create(function()
  5011. wait(timer)
  5012. CameraEnshaking(3,2)
  5013. orb.Transparency = 1
  5014. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  5015. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  5016. for i = 0, 4 do
  5017. 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)
  5018. end
  5019. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  5020. wait(3)
  5021. orb:Destroy()
  5022. end))
  5023. end
  5024.  
  5025. function scattercorrupt()
  5026. attack = true
  5027. hum.WalkSpeed = 0
  5028. for i = 0, 2, 0.1 do
  5029. swait()
  5030. 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)
  5031. 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)
  5032. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5033. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5034. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  5035. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  5036. end
  5037. local rot = 0
  5038. local randomrotations = math.random(1,2)
  5039. local lookv = 2.5
  5040. local power = 7
  5041. local radm = math.random(1,3)
  5042. if radm == 1 then
  5043. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  5044. elseif radm == 2 then
  5045. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  5046. elseif radm == 3 then
  5047. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  5048. end
  5049. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  5050. for i = 0, 1, 0.1 do
  5051. swait()
  5052. 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)
  5053. 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)
  5054. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  5055. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  5056. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  5057. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  5058. end
  5059. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  5060. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  5061. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  5062. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  5063. for i = 0, 9 do
  5064. 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)
  5065. end
  5066. local hite = Instance.new("Part", char)
  5067. hite.Anchored = true
  5068. hite.CanCollide = false
  5069. hite.FormFactor = 3
  5070. hite.Name = "Ring"
  5071. hite.Material = "Neon"
  5072. hite.Size = Vector3.new(1, 1, 1)
  5073. hite.Transparency = 1
  5074. hite.TopSurface = 0
  5075. hite.BottomSurface = 0
  5076. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5077. local rem = Instance.new("Part", char)
  5078. rem.Anchored = true
  5079. rem.CanCollide = false
  5080. rem.FormFactor = 3
  5081. rem.Name = "Ring"
  5082. rem.Material = "Neon"
  5083. rem.Size = Vector3.new(1, 1, 1)
  5084. rem.Transparency = 1
  5085. rem.TopSurface = 0
  5086. rem.BottomSurface = 0
  5087. rem.CFrame = hite.CFrame
  5088. local rem2 = rem:Clone()
  5089. rem2.Parent = char
  5090. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5091. local rem3 = rem:Clone()
  5092. rem3.Parent = char
  5093. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5094. local rem4 = rem:Clone()
  5095. rem4.Parent = char
  5096. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5097. hite:Destroy()
  5098. coroutine.resume(coroutine.create(function()
  5099. for i = 0, 24 do
  5100. swait(1)
  5101. if randomrotations == 1 then
  5102. rot = rot + 1
  5103. elseif randomrotations == 2 then
  5104. rot = rot - 1
  5105. end
  5106. power = power + 0.5
  5107. lookv = lookv + 7.5
  5108. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5109. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5110. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5111. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5112. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5113. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5114. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5115. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5116. end
  5117. end))
  5118. wait(2)
  5119. hum.WalkSpeed = storehumanoidWS
  5120. attack = false
  5121. end
  5122. function yinyangi()
  5123. attack = true
  5124. for i = 0, 2, 0.1 do
  5125. swait()
  5126. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  5127. 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(20)),.2)
  5128. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  5129. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5130. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5131. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5132. end
  5133. local bv = Instance.new("BodyVelocity")
  5134. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5135. bv.velocity = root.CFrame.lookVector*175
  5136. bv.Parent = root
  5137. for Rotations = 0, 9 do
  5138. for i = 0, 1, 0.5 do
  5139. swait()
  5140. bv.velocity = root.CFrame.lookVector*175
  5141. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5142. 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(20)),.5)
  5143. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  5144. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5145. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5146. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5147. end
  5148. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5149. for i = 0, 1, 0.5 do
  5150. swait()
  5151. bv.velocity = root.CFrame.lookVector*175
  5152. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5153. 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(20)),.5)
  5154. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  5155. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5156. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5157. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5158. end
  5159. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5160. for i = 0, 1, 0.5 do
  5161. swait()
  5162. bv.velocity = root.CFrame.lookVector*175
  5163. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5164. 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(20)),.5)
  5165. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  5166. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5167. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5168. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5169. end
  5170. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5171. for i = 0, 1, 0.5 do
  5172. swait()
  5173. bv.velocity = root.CFrame.lookVector*175
  5174. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5175. 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(20)),.5)
  5176. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  5177. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5178. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5179. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5180. end
  5181. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5182. end
  5183. bv:Destroy()
  5184. attack = false
  5185. end
  5186.  
  5187. function createBGCircle(size,parent,color)
  5188. local bgui = Instance.new("BillboardGui",parent)
  5189. bgui.Size = UDim2.new(size, 0, size, 0)
  5190. local imgc = Instance.new("ImageLabel",bgui)
  5191. imgc.BackgroundTransparency = 1
  5192. imgc.ImageTransparency = 0
  5193. imgc.Size = UDim2.new(1,0,1,0)
  5194. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5195. imgc.ImageColor3 = color
  5196. return bgui,imgc
  5197. end
  5198.  
  5199. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5200. local bgui,imgc = createBGCircle(size,guipar,color)
  5201. bgui.AlwaysOnTop = true
  5202. imgc.Image = "rbxassetid://" ..img
  5203. local rrot = math.random(1,2)
  5204. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5205. coroutine.resume(coroutine.create(function()
  5206. for i = 0, 24*delay do
  5207. swait()
  5208. if rotationenabled == true then
  5209. if rrot == 1 then
  5210. imgc.Rotation = imgc.Rotation + rotsp
  5211. elseif rrot == 2 then
  5212. imgc.Rotation = imgc.Rotation - rotsp
  5213. end
  5214. end
  5215. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5216. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5217. end
  5218. bgui:Destroy()
  5219. end))
  5220. end
  5221. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5222. for i, v in pairs(mw2:GetChildren()) do
  5223. if v:IsA("Part") then
  5224. v.BrickColor = one
  5225. v.Material = "Neon"
  5226. end
  5227. end
  5228. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5229. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5230. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5231. tr1.Color = ColorSequence.new(one.Color)
  5232. tr2.Color = ColorSequence.new(one.Color)
  5233. tr3.Color = ColorSequence.new(one.Color)
  5234. for i, v in pairs(mw1:GetChildren()) do
  5235. if v:IsA("Part") then
  5236. if secondaryenabled == false then
  5237. v.Transparency = 1
  5238. elseif secondaryenabled == true then
  5239. v.Transparency = 0
  5240. end
  5241. v.BrickColor = two
  5242. v.Material = "Neon"
  5243. end
  5244. end
  5245. if secondaryenabled == false then
  5246. tl1.Enabled = false
  5247. tl2.Enabled = false
  5248. tl3.Enabled = false
  5249. elseif secondaryenabled == true then
  5250. tl1.Enabled = true
  5251. tl2.Enabled = true
  5252. tl3.Enabled = true
  5253. end
  5254. tl1.Color = ColorSequence.new(two.Color)
  5255. tl2.Color = ColorSequence.new(two.Color)
  5256. tl3.Color = ColorSequence.new(two.Color)
  5257. for i, v in pairs(m:GetChildren()) do
  5258. if v:IsA("Part") then
  5259. v.BrickColor = three
  5260. v.Material = "Ice"
  5261. end
  5262. end
  5263. for i, v in pairs(m2:GetChildren()) do
  5264. if v:IsA("Part") then
  5265. v.BrickColor = four
  5266. v.Material = "Ice"
  5267. end
  5268. end
  5269. for i, v in pairs(m3:GetChildren()) do
  5270. if v:IsA("Part") then
  5271. v.BrickColor = five
  5272. v.Material = "Neon"
  5273. end
  5274. end
  5275. for i, v in pairs(extrawingmod1:GetChildren()) do
  5276. if v:IsA("Part") then
  5277. v.Transparency = exonetran
  5278. v.BrickColor = exone
  5279. v.Material = "Neon"
  5280. end
  5281. end
  5282. for i, v in pairs(extrawingmod2:GetChildren()) do
  5283. if v:IsA("Part") then
  5284. v.Transparency = extwotran
  5285. v.BrickColor = extwo
  5286. v.Material = "Neon"
  5287. end
  5288. end
  5289. end
  5290.  
  5291.  
  5292. function normalmog()
  5293. attack = true
  5294. hum.WalkSpeed = 0
  5295. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5296. for i = 0,6,0.1 do
  5297. swait()
  5298. 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)
  5299. 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)
  5300. 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)
  5301. 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)
  5302. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5303. 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)
  5304. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5305. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5306. end
  5307. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5308. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5309. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5310. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5311. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5312. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5313. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5314. rainbowmode = false
  5315. chaosmode = false
  5316. ModeOfGlitch = 1
  5317. storehumanoidWS = 16
  5318. newTheme("rbxassetid://367339030",48.6,1,1.25)
  5319. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5320. CameraEnshaking(5,2.5)
  5321. MAINRUINCOLOR = BrickColor.new("Really red")
  5322. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5323. for i = 0, 49 do
  5324. 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)
  5325. end
  5326. for i = 0, 24 do
  5327. 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)
  5328. 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"))
  5329. end
  5330. for i = 0,3,0.1 do
  5331. 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)
  5332. end
  5333. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5334. for i = 0,2,0.1 do
  5335. swait()
  5336. 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)
  5337. 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)
  5338. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5339. 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)
  5340. 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)
  5341. 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)
  5342. end
  5343. hum.WalkSpeed = storehumanoidWS
  5344. attack = false
  5345. end
  5346.  
  5347. function attackone()
  5348. attack = true
  5349. local keptcolor = MAINRUINCOLOR
  5350. for i = 0,1,0.1 do
  5351. swait()
  5352. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5353. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5354. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5355. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5356. 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)
  5357. 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)
  5358. end
  5359. local distlook = 5
  5360. coroutine.resume(coroutine.create(function()
  5361. for i = 0, 4 do
  5362. swait(2)
  5363. CameraEnshaking(2,3)
  5364. local hite = Instance.new("Part", char)
  5365. hite.Anchored = true
  5366. hite.CanCollide = false
  5367. hite.FormFactor = 3
  5368. hite.Name = "Ring"
  5369. hite.Material = "Neon"
  5370. hite.Size = Vector3.new(1, 1, 1)
  5371. hite.Transparency = 1
  5372. hite.TopSurface = 0
  5373. hite.BottomSurface = 0
  5374. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5375. 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)
  5376. 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)
  5377. 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)
  5378. 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)
  5379. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5380. for i = 0, 14 do
  5381. local rsiz = math.random(5,20)
  5382. 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)
  5383. end
  5384. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5385. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5386. game:GetService("Debris"):AddItem(hite, 5)
  5387. distlook = distlook + 10
  5388. end
  5389. end))
  5390. for i = 0,1,0.1 do
  5391. swait()
  5392. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5393. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5394. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5395. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5396. 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)
  5397. 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)
  5398. end
  5399. attack = false
  5400. end
  5401.  
  5402. function attacktwo()
  5403. attack = true
  5404. hum.WalkSpeed = 2
  5405. local keptcolor = MAINRUINCOLOR
  5406. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5407. 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)
  5408. 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)
  5409. for i = 0, 14 do
  5410. 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)
  5411. end
  5412. for i = 0,1,0.1 do
  5413. swait()
  5414. 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)
  5415. 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)
  5416. 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)
  5417. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5418. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5419. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5420. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5421. end
  5422. for i = 0, 1 do
  5423. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5424. for i = 0,1,0.6 do
  5425. swait()
  5426. 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)
  5427. 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"))
  5428. 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)
  5429. 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)
  5430. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5431. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5432. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5433. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5434. end
  5435. for i = 0,1,0.6 do
  5436. swait()
  5437. 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)
  5438. 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"))
  5439. 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)
  5440. 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)
  5441. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5442. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5443. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5444. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5445. end
  5446. for i = 0,1,0.6 do
  5447. swait()
  5448. 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)
  5449. 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"))
  5450. 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)
  5451. 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)
  5452. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5453. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5454. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5455. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5456. end
  5457. for i = 0,1,0.6 do
  5458. swait()
  5459. 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)
  5460. 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"))
  5461. 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)
  5462. 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)
  5463. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5464. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5465. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5466. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5467. end
  5468. local rot = 0
  5469. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5470. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5471. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5472. CreateMesh(dis,"Sphere",10,1,10)
  5473. local at1 = Instance.new("Attachment",dis)
  5474. at1.Position = vt(-5,0,0)
  5475. local at2 = Instance.new("Attachment",dis)
  5476. at2.Position = vt(5,0,0)
  5477. local trl = Instance.new('Trail',wed)
  5478. trl.Attachment0 = at1
  5479. trl.Attachment1 = at2
  5480. trl.Texture = "rbxassetid://1049219073"
  5481. trl.LightEmission = 1
  5482. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5483. trl.Color = ColorSequence.new(dis.Color)
  5484. trl.Lifetime = 0.6
  5485. local a = Instance.new("Part",workspace)
  5486. a.Name = "Direction"
  5487. a.Anchored = true
  5488. a.BrickColor = bc("Bright red")
  5489. a.Material = "Neon"
  5490. a.Transparency = 1
  5491. a.CanCollide = false
  5492. local ray = Ray.new(
  5493. dis.CFrame.p, -- origin
  5494. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5495. )
  5496. local ignore = dis
  5497. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5498. a.BottomSurface = 10
  5499. a.TopSurface = 10
  5500. local distance = (dis.CFrame.p - position).magnitude
  5501. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5502. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5503. dis.CFrame = a.CFrame
  5504. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5505. a:Destroy()
  5506. local bv = Instance.new("BodyVelocity")
  5507. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5508. bv.velocity = dis.CFrame.lookVector*250
  5509. bv.Parent = dis
  5510. game:GetService("Debris"):AddItem(dis, 5)
  5511. local hitted = false
  5512. coroutine.resume(coroutine.create(function()
  5513. dis.Touched:connect(function(hit)
  5514. if hitted == false and hit.Parent ~= char then
  5515. hitted = true
  5516. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5517. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5518. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5519. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5520. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5521. coroutine.resume(coroutine.create(function()
  5522. for i = 0, 9 do
  5523. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5524. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5525. local at1 = Instance.new("Attachment",disr)
  5526. at1.Position = vt(-5,0,0)
  5527. local at2 = Instance.new("Attachment",disr)
  5528. at2.Position = vt(5,0,0)
  5529. local trl = Instance.new('Trail',disr)
  5530. trl.Attachment0 = at1
  5531. trl.FaceCamera = true
  5532. trl.Attachment1 = at2
  5533. trl.Texture = "rbxassetid://2342682798"
  5534. trl.LightEmission = 1
  5535. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5536. trl.Color = ColorSequence.new(keptcolor.Color)
  5537. trl.Lifetime = 0.5
  5538. local bv = Instance.new("BodyVelocity")
  5539. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5540. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5541. bv.Parent = disr
  5542. local val = 0
  5543. coroutine.resume(coroutine.create(function()
  5544. swait(30)
  5545. for i = 0, 9 do
  5546. swait()
  5547. val = val + 0.1
  5548. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5549. end
  5550. game:GetService("Debris"):AddItem(disr, 3)
  5551. end))
  5552. end
  5553. local eff = Instance.new("ParticleEmitter",dis)
  5554. eff.Texture = "rbxassetid://2273224484"
  5555. eff.LightEmission = 1
  5556. eff.Color = ColorSequence.new(keptcolor.Color)
  5557. eff.Rate = 500000
  5558. eff.Lifetime = NumberRange.new(0.5,2)
  5559. 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)})
  5560. 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)})
  5561. eff.Speed = NumberRange.new(20,250)
  5562. eff.Drag = 5
  5563. eff.Rotation = NumberRange.new(-500,500)
  5564. eff.VelocitySpread = 9000
  5565. eff.RotSpeed = NumberRange.new(-50,50)
  5566. wait(0.25)
  5567. eff.Enabled = false
  5568. end))
  5569. for i = 0, 9 do
  5570. 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"))
  5571. end
  5572. for i = 0, 19 do
  5573. 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)
  5574. end
  5575. coroutine.resume(coroutine.create(function()
  5576. for i = 0, 19 do
  5577. swait()
  5578. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5579. end
  5580. hum.CameraOffset = vt(0,0,0)
  5581. end))
  5582. dis.Anchored = true
  5583. dis.Transparency = 1
  5584. wait(8)
  5585. dis:Destroy()
  5586. end
  5587. end)
  5588. end))
  5589. rot = rot - 15
  5590. end
  5591. for i = 0,2,0.1 do
  5592. swait()
  5593. 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)
  5594. 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)
  5595. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5596. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5597. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5598. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5599. end
  5600. attack = false
  5601. hum.WalkSpeed = storehumanoidWS
  5602. end
  5603.  
  5604. function attackthree()
  5605. attack = true
  5606. local keptcolor = MAINRUINCOLOR
  5607. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5608. for i = 0,2,0.1 do
  5609. swait()
  5610. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5611. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5612. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5613. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5614. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5615. 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)
  5616. 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)
  5617. end
  5618. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5619. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5620. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5621. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5622. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5623. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5624. for i = 0, 24 do
  5625. 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"))
  5626. end
  5627. for i = 0,4,0.1 do
  5628. swait()
  5629. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5630. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5631. CreateMesh(dis,"Sphere",1,1,1)
  5632. dis.Anchored = true
  5633. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5634. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5635. coroutine.resume(coroutine.create(function()
  5636. swait(30)
  5637. dis.Transparency = 1
  5638. coroutine.resume(coroutine.create(function()
  5639. for i = 0, 19 do
  5640. swait()
  5641. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5642. end
  5643. hum.CameraOffset = vt(0,0,0)
  5644. end))
  5645. coroutine.resume(coroutine.create(function()
  5646. local eff = Instance.new("ParticleEmitter",dis)
  5647. eff.Texture = "rbxassetid://2273224484"
  5648. eff.LightEmission = 1
  5649. eff.Color = ColorSequence.new(dis.Color)
  5650. eff.Rate = 500000
  5651. eff.Lifetime = NumberRange.new(0.5,2)
  5652. 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)})
  5653. 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)})
  5654. eff.Speed = NumberRange.new(50,450)
  5655. eff.Drag = 5
  5656. eff.Rotation = NumberRange.new(-500,500)
  5657. eff.VelocitySpread = 9000
  5658. eff.RotSpeed = NumberRange.new(-50,50)
  5659. wait(0.125)
  5660. eff.Enabled = false
  5661. end))
  5662. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5663. for i = 0, 2 do
  5664. 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)
  5665. end
  5666. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5667. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5668. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5669. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5670. end))
  5671. game:GetService("Debris"):AddItem(dis, 5)
  5672. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5673. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5674. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5675. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5676. 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)
  5677. 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)
  5678. end
  5679. attack = false
  5680. end
  5681. ----------------------------------- Abilities
  5682.  
  5683. function ExtinctiveHeartbreak()
  5684. local targetted = nil
  5685. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5686. targetted = mouse.Target.Parent
  5687. end
  5688. if targetted ~= nil then
  5689. attack = true
  5690. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5691. for i = 0, 9 do
  5692. 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)
  5693. end
  5694. for i = 0, 24 do
  5695. 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)
  5696. end
  5697. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5698. local originalpos = root.CFrame
  5699. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5700. for i = 0, 9 do
  5701. 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)
  5702. end
  5703. for i = 0, 24 do
  5704. 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)
  5705. end
  5706. hum.WalkSpeed = 0
  5707. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5708. local radm = math.random(1,3)
  5709. if radm == 1 then
  5710. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5711. elseif radm == 2 then
  5712. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5713. elseif radm == 3 then
  5714. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5715. end
  5716. for i = 0,2,0.1 do
  5717. swait()
  5718. 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)
  5719. 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)
  5720. 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)
  5721. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5722. 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)
  5723. 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)
  5724. end
  5725. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5726. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5727. for i = 0,2,0.1 do
  5728. swait()
  5729. coroutine.resume(coroutine.create(function()
  5730. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5731. for i,v in pairs(targetted:GetChildren()) do
  5732. if v:IsA("Part") or v:IsA("MeshPart") then
  5733. v.Velocity = vt(0,0,0)
  5734. end
  5735. end
  5736. end))
  5737. 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)
  5738. 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)
  5739. 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)
  5740. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5741. 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)
  5742. 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)
  5743. end
  5744. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5745. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5746. for i = 0, 1 do
  5747. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5748. end
  5749. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5750. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5751. for i = 0,4,0.1 do
  5752. swait()
  5753. coroutine.resume(coroutine.create(function()
  5754. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5755. 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)))
  5756. local at1 = Instance.new("Attachment",dis)
  5757. at1.Position = vt(-25000,0,0)
  5758. local at2 = Instance.new("Attachment",dis)
  5759. at2.Position = vt(25000,0,0)
  5760. local trl = Instance.new('Trail',dis)
  5761. trl.Attachment0 = at1
  5762. trl.FaceCamera = true
  5763. trl.Attachment1 = at2
  5764. trl.Texture = "rbxassetid://1049219073"
  5765. trl.LightEmission = 1
  5766. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5767. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5768. trl.Lifetime = 5
  5769. local bv = Instance.new("BodyVelocity")
  5770. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5771. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5772. bv.Parent = dis
  5773. game:GetService("Debris"):AddItem(dis, 5)
  5774. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5775. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5776. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5777. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5778. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5779. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5780. 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)
  5781. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5782. for i = 0, 2 do
  5783. 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"))
  5784. end
  5785. 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)
  5786. for i,v in pairs(targetted:GetChildren()) do
  5787. if v:IsA("Part") or v:IsA("MeshPart") then
  5788. v.Velocity = vt(0,0,0)
  5789. end
  5790. end
  5791. end))
  5792. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5793. 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)
  5794. 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)
  5795. 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)
  5796. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5797. 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)
  5798. 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)
  5799. end
  5800. hum.CameraOffset = vt(0,0,0)
  5801. for i = 0, 49 do
  5802. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5803. 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)))
  5804. local at1 = Instance.new("Attachment",dis)
  5805. at1.Position = vt(-50000,0,0)
  5806. local at2 = Instance.new("Attachment",dis)
  5807. at2.Position = vt(50000,0,0)
  5808. local trl = Instance.new('Trail',dis)
  5809. trl.Attachment0 = at1
  5810. trl.FaceCamera = true
  5811. trl.Attachment1 = at2
  5812. trl.Texture = "rbxassetid://1049219073"
  5813. trl.LightEmission = 1
  5814. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5815. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5816. trl.Lifetime = 5
  5817. local bv = Instance.new("BodyVelocity")
  5818. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5819. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5820. bv.Parent = dis
  5821. game:GetService("Debris"):AddItem(dis, 5)
  5822. end
  5823. for i = 0, 49 do
  5824. 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)
  5825. 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"))
  5826. end
  5827. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5828. for i = 0, 1 do
  5829. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5830. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5831. end
  5832. for i = 0, 4 do
  5833. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5834. end
  5835. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5836. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5837. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5838. dmg(targetted)
  5839. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5840. for i = 0, 9 do
  5841. 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)
  5842. end
  5843. for i = 0, 24 do
  5844. 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)
  5845. end
  5846. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5847. root.CFrame = originalpos
  5848. for i = 0, 9 do
  5849. 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)
  5850. end
  5851. for i = 0, 24 do
  5852. 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)
  5853. end
  5854. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5855. attack = false
  5856. hum.WalkSpeed = storehumanoidWS
  5857. end
  5858. end
  5859.  
  5860. function CorruptionEvent()
  5861. attack = true
  5862. hum.WalkSpeed = 0
  5863. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5864. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5865. local keptcolor = MAINRUINCOLOR
  5866. for i = 0,4,0.1 do
  5867. swait()
  5868. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5869. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5870. 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)
  5871. 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)
  5872. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5873. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5874. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5875. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5876. end
  5877. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5878. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5879. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5880. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5881. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5882. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5883. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5884. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5885. hum.CameraOffset = vt(0,0,0)
  5886. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5887. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5888. for i = 0, 24 do
  5889. 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"))
  5890. end
  5891. local rrot = 0
  5892. coroutine.resume(coroutine.create(function()
  5893. for i = 0, 4 do
  5894. rrot = rrot + 45
  5895. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5896. xa.Anchored = true
  5897. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5898. xb.Anchored = true
  5899. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5900. xc.Anchored = true
  5901. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5902. xd.Anchored = true
  5903. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5904. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5905. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5906. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5907. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5908. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5909. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5910. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5911. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5912. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5913. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5914. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5915. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5916. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5917. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5918. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5919. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5920. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5921. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5922. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5923. for i = 0, 9 do
  5924. 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"))
  5925. 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"))
  5926. 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"))
  5927. 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"))
  5928. end
  5929. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5930. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5931. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5932. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5933. 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)
  5934. 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)
  5935. 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)
  5936. 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)
  5937. 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))
  5938. 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))
  5939. 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))
  5940. 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))
  5941. game:GetService("Debris"):AddItem(xa, 5)
  5942. game:GetService("Debris"):AddItem(xb, 5)
  5943. game:GetService("Debris"):AddItem(xc, 5)
  5944. game:GetService("Debris"):AddItem(xd, 5)
  5945. coroutine.resume(coroutine.create(function()
  5946. for i = 0, 19 do
  5947. swait()
  5948. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5949. end
  5950. hum.CameraOffset = vt(0,0,0)
  5951. end))
  5952. swait(9)
  5953. end
  5954. end))
  5955. for i = 0,2,0.1 do
  5956. swait()
  5957. 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)
  5958. 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)
  5959. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5960. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5961. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5962. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5963. end
  5964. attack = false
  5965. hum.WalkSpeed = storehumanoidWS
  5966. end
  5967.  
  5968. function EndGROUND()
  5969. attack = true
  5970. hum.WalkSpeed = 0
  5971. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5972. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5973. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5974. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5975. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5976. local keptcolor = MAINRUINCOLOR
  5977. for i = 0,4,0.1 do
  5978. swait()
  5979. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5980. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5981. 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"))
  5982. 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)
  5983. 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)
  5984. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5985. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5986. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5987. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5988. end
  5989. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5990. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5991. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5992. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5993. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5994. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5995. coroutine.resume(coroutine.create(function()
  5996. local shval = 10
  5997. for i = 0, 99 do
  5998. swait()
  5999. shval = shval - 0.1
  6000. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  6001. end
  6002. hum.CameraOffset = vt(0,0,0)
  6003. end))
  6004. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6005. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  6006. for i = 0, 24 do
  6007. 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"))
  6008. end
  6009. local rrot = 0
  6010. local xam = 1
  6011. coroutine.resume(coroutine.create(function()
  6012. for i = 0, 14 do
  6013. --swait()
  6014. rrot = rrot + 40*xam
  6015. xam = xam + 0.25
  6016. local bonus = xam
  6017. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  6018. xa.Anchored = true
  6019. xa.Color = Color3.new(0,0,0)
  6020. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  6021. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  6022. local xc = 0
  6023. coroutine.resume(coroutine.create(function()
  6024. for i = 0, 99 do
  6025. swait()
  6026. xc = xc + 0.01
  6027. xa.Color = Color3.new(xc,0,0)
  6028. end
  6029. xa.Transparency = 1
  6030. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  6031. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  6032. for i = 0, 9 do
  6033. 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"))
  6034. end
  6035. 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)
  6036. 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)
  6037. 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))
  6038. game:GetService("Debris"):AddItem(xa, 5)
  6039. coroutine.resume(coroutine.create(function()
  6040. for i = 0, 19 do
  6041. swait()
  6042. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  6043. end
  6044. hum.CameraOffset = vt(0,0,0)
  6045. end))
  6046. end))
  6047. end
  6048. end))
  6049. for i = 0,2,0.1 do
  6050. swait()
  6051. 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)
  6052. 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)
  6053. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  6054. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  6055. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  6056. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6057. end
  6058. attack = false
  6059. hum.WalkSpeed = storehumanoidWS
  6060. end
  6061.  
  6062. function HeavenlyDisk()
  6063. attack = true
  6064. hum.WalkSpeed = 2
  6065. local keptcolor = MAINRUINCOLOR
  6066. local radm = math.random(1,3)
  6067. if radm == 1 then
  6068. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  6069. elseif radm == 2 then
  6070. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  6071. elseif radm == 3 then
  6072. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6073. end
  6074. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6075. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  6076. 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)
  6077. 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)
  6078. for i = 0, 14 do
  6079. 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)
  6080. end
  6081. for i = 0,2,0.1 do
  6082. swait()
  6083. 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)
  6084. 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)
  6085. 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)
  6086. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6087. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6088. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6089. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6090. end
  6091. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6092. for i = 0,1,0.6 do
  6093. swait()
  6094. 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)
  6095. 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"))
  6096. 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)
  6097. 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)
  6098. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6099. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6100. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6101. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6102. end
  6103. for i = 0,1,0.6 do
  6104. swait()
  6105. 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)
  6106. 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"))
  6107. 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)
  6108. 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)
  6109. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6110. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6111. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6112. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6113. end
  6114. for i = 0,1,0.6 do
  6115. swait()
  6116. 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)
  6117. 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"))
  6118. 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)
  6119. 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)
  6120. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6121. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6122. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6123. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6124. end
  6125. for i = 0,1,0.6 do
  6126. swait()
  6127. 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)
  6128. 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"))
  6129. 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)
  6130. 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)
  6131. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6132. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6133. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6134. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6135. end
  6136. local rot = 15
  6137. for i = 0, 2 do
  6138. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6139. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6140. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6141. CreateMesh(dis,"Sphere",10,1,10)
  6142. local at1 = Instance.new("Attachment",dis)
  6143. at1.Position = vt(-5,0,0)
  6144. local at2 = Instance.new("Attachment",dis)
  6145. at2.Position = vt(5,0,0)
  6146. local trl = Instance.new('Trail',wed)
  6147. trl.Attachment0 = at1
  6148. trl.Attachment1 = at2
  6149. trl.Texture = "rbxassetid://1049219073"
  6150. trl.LightEmission = 1
  6151. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6152. trl.Color = ColorSequence.new(dis.Color)
  6153. trl.Lifetime = 0.6
  6154. local a = Instance.new("Part",workspace)
  6155. a.Name = "Direction"
  6156. a.Anchored = true
  6157. a.BrickColor = bc("Bright red")
  6158. a.Material = "Neon"
  6159. a.Transparency = 1
  6160. a.CanCollide = false
  6161. local ray = Ray.new(
  6162. dis.CFrame.p, -- origin
  6163. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6164. )
  6165. local ignore = dis
  6166. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6167. a.BottomSurface = 10
  6168. a.TopSurface = 10
  6169. local distance = (dis.CFrame.p - position).magnitude
  6170. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6171. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6172. dis.CFrame = a.CFrame
  6173. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6174. a:Destroy()
  6175. local bv = Instance.new("BodyVelocity")
  6176. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6177. bv.velocity = dis.CFrame.lookVector*250
  6178. bv.Parent = dis
  6179. game:GetService("Debris"):AddItem(dis, 5)
  6180. local hitted = false
  6181. coroutine.resume(coroutine.create(function()
  6182. dis.Touched:connect(function(hit)
  6183. if hitted == false and hit.Parent ~= char then
  6184. hitted = true
  6185. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6186. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6187. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6188. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6189. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6190. coroutine.resume(coroutine.create(function()
  6191. for i = 0, 9 do
  6192. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6193. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6194. local at1 = Instance.new("Attachment",disr)
  6195. at1.Position = vt(-2,0,0)
  6196. local at2 = Instance.new("Attachment",disr)
  6197. at2.Position = vt(2,0,0)
  6198. local trl = Instance.new('Trail',disr)
  6199. trl.Attachment0 = at1
  6200. trl.FaceCamera = true
  6201. trl.Attachment1 = at2
  6202. trl.Texture = "rbxassetid://2342682798"
  6203. trl.LightEmission = 1
  6204. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6205. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6206. trl.Lifetime = 0.5
  6207. local bv = Instance.new("BodyVelocity")
  6208. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6209. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6210. bv.Parent = disr
  6211. local val = 0
  6212. coroutine.resume(coroutine.create(function()
  6213. swait(30)
  6214. for i = 0, 9 do
  6215. swait()
  6216. val = val + 0.1
  6217. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6218. end
  6219. game:GetService("Debris"):AddItem(disr, 3)
  6220. end))
  6221. end
  6222. local eff = Instance.new("ParticleEmitter",dis)
  6223. eff.Texture = "rbxassetid://2273224484"
  6224. eff.LightEmission = 1
  6225. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6226. eff.Rate = 500000
  6227. eff.Lifetime = NumberRange.new(0.5,2)
  6228. 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)})
  6229. 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)})
  6230. eff.Speed = NumberRange.new(20,250)
  6231. eff.Drag = 5
  6232. eff.Rotation = NumberRange.new(-500,500)
  6233. eff.VelocitySpread = 9000
  6234. eff.RotSpeed = NumberRange.new(-50,50)
  6235. wait(0.25)
  6236. eff.Enabled = false
  6237. end))
  6238. for i = 0, 9 do
  6239. 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"))
  6240. end
  6241. for i = 0, 19 do
  6242. 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)
  6243. end
  6244. coroutine.resume(coroutine.create(function()
  6245. for i = 0, 19 do
  6246. swait()
  6247. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6248. end
  6249. hum.CameraOffset = vt(0,0,0)
  6250. end))
  6251. dis.Anchored = true
  6252. dis.Transparency = 1
  6253. wait(8)
  6254. dis:Destroy()
  6255. end
  6256. end)
  6257. end))
  6258. rot = rot - 15
  6259. end
  6260. for i = 0,2,0.1 do
  6261. swait()
  6262. 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)
  6263. 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)
  6264. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6265. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6266. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6267. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6268. end
  6269. attack = false
  6270. hum.WalkSpeed = storehumanoidWS
  6271. end
  6272.  
  6273.  
  6274. function RapidBurst()
  6275. attack = true
  6276. hum.WalkSpeed = 0
  6277. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6278. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6279. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6280. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.8)
  6281. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.9)
  6282. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,2)
  6283. local keptcolor = MAINRUINCOLOR
  6284. for i = 0,8,0.1 do
  6285. swait()
  6286. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6287. 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())
  6288. 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)
  6289. 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)
  6290. 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)
  6291. 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)
  6292. 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)
  6293. 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)
  6294. 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)
  6295. end
  6296. for i = 0, 99 do
  6297. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6298. 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)))
  6299. local at1 = Instance.new("Attachment",dis)
  6300. at1.Position = vt(-25000,0,0)
  6301. local at2 = Instance.new("Attachment",dis)
  6302. at2.Position = vt(25000,0,0)
  6303. local trl = Instance.new('Trail',dis)
  6304. trl.Attachment0 = at1
  6305. trl.FaceCamera = true
  6306. trl.Attachment1 = at2
  6307. trl.Texture = "rbxassetid://1049219073"
  6308. trl.LightEmission = 1
  6309. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6310. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6311. trl.Lifetime = 5
  6312. local bv = Instance.new("BodyVelocity")
  6313. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6314. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6315. bv.Parent = dis
  6316. game:GetService("Debris"):AddItem(dis, 5)
  6317. end
  6318. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6319. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6320. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6321. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6322. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6323. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6324. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6325. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6326. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6327. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6328. hum.CameraOffset = vt(0,0,0)
  6329. for i = 0, 24 do
  6330. 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())
  6331. end
  6332. local distam = 0
  6333. coroutine.resume(coroutine.create(function()
  6334. for i = 0, 99 do
  6335. wait()
  6336. distam = distam + 1
  6337. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6338. xa.Anchored = true
  6339. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6340. game:GetService("Debris"):AddItem(xa, 5)
  6341. for i = 0, 4 do
  6342. 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())
  6343. end
  6344. coroutine.resume(coroutine.create(function()
  6345. local eff = Instance.new("ParticleEmitter",xa)
  6346. eff.Texture = "rbxassetid://2273224484"
  6347. eff.LightEmission = 1
  6348. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6349. eff.Rate = 500000
  6350. eff.Lifetime = NumberRange.new(1,3)
  6351. 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)})
  6352. 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)})
  6353. eff.Speed = NumberRange.new(50,500)
  6354. eff.Drag = 5
  6355. eff.Rotation = NumberRange.new(-500,500)
  6356. eff.VelocitySpread = 9000
  6357. eff.RotSpeed = NumberRange.new(-50,50)
  6358. wait(0.25)
  6359. eff.Enabled = false
  6360. end))
  6361. coroutine.resume(coroutine.create(function()
  6362. for i = 0, 19 do
  6363. swait()
  6364. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6365. end
  6366. hum.CameraOffset = vt(0,0,0)
  6367. end))
  6368. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6369. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6370. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6371. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6372. end
  6373. end))
  6374. attack = false
  6375. hum.WalkSpeed = storehumanoidWS
  6376. end
  6377.  
  6378. function InsaneDrop()
  6379. attack = true
  6380. hum.WalkSpeed = 0
  6381. CFuncs["Sound"].Create("rbxassetid://907329669", char, 2.5, 0.5)
  6382. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 0.5)
  6383. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  6384. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.8)
  6385. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.9)
  6386. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
  6387. local keptcolor = MAINRUINCOLOR
  6388. for i = 0,8,0.1 do
  6389. swait()
  6390. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6391. 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())
  6392. 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)
  6393. 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)
  6394. 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)
  6395. 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)
  6396. 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)
  6397. 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)
  6398. 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)
  6399. end
  6400. for i = 0, 99 do
  6401. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6402. 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)))
  6403. local at1 = Instance.new("Attachment",dis)
  6404. at1.Position = vt(-25000,0,0)
  6405. local at2 = Instance.new("Attachment",dis)
  6406. at2.Position = vt(25000,0,0)
  6407. local trl = Instance.new('Trail',dis)
  6408. trl.Attachment0 = at1
  6409. trl.FaceCamera = true
  6410. trl.Attachment1 = at2
  6411. trl.Texture = "rbxassetid://1049219073"
  6412. trl.LightEmission = 1
  6413. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6414. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6415. trl.Lifetime = 5
  6416. local bv = Instance.new("BodyVelocity")
  6417. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6418. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6419. bv.Parent = dis
  6420. game:GetService("Debris"):AddItem(dis, 5)
  6421. end
  6422. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6423. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6424. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6425. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6426. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6427. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6428. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6429. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6430. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6431. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6432. hum.CameraOffset = vt(0,0,0)
  6433. for i = 0, 24 do
  6434. 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())
  6435. end
  6436. local distam = 0
  6437. coroutine.resume(coroutine.create(function()
  6438. for i = 0, 99 do
  6439. wait()
  6440. distam = distam + 1
  6441. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6442. xa.Anchored = true
  6443. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6444. game:GetService("Debris"):AddItem(xa, 5)
  6445. for i = 0, 4 do
  6446. 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())
  6447. end
  6448. coroutine.resume(coroutine.create(function()
  6449. local eff = Instance.new("ParticleEmitter",xa)
  6450. eff.Texture = "rbxassetid://2273224484"
  6451. eff.LightEmission = 1
  6452. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6453. eff.Rate = 500000
  6454. eff.Lifetime = NumberRange.new(1,3)
  6455. 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)})
  6456. 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)})
  6457. eff.Speed = NumberRange.new(50,500)
  6458. eff.Drag = 5
  6459. eff.Rotation = NumberRange.new(-500,500)
  6460. eff.VelocitySpread = 9000
  6461. eff.RotSpeed = NumberRange.new(-50,50)
  6462. wait(0.25)
  6463. eff.Enabled = false
  6464. end))
  6465. coroutine.resume(coroutine.create(function()
  6466. for i = 0, 19 do
  6467. swait()
  6468. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6469. end
  6470. hum.CameraOffset = vt(0,0,0)
  6471. end))
  6472. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6473. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6474. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6475. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6476. end
  6477. end))
  6478. attack = false
  6479. hum.WalkSpeed = storehumanoidWS
  6480. end
  6481.  
  6482. function FallenOrbs()
  6483. attack = true
  6484. hum.WalkSpeed = 2
  6485. local keptcolor = MAINRUINCOLOR
  6486. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6487. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6488. local radm = math.random(1,3)
  6489. if radm == 1 then
  6490. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6491. elseif radm == 2 then
  6492. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6493. elseif radm == 3 then
  6494. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6495. end
  6496. coroutine.resume(coroutine.create(function()
  6497. for i = 0, 29 do
  6498. swait(2)
  6499. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6500. dis.Anchored = true
  6501. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6502. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6503. CreateMesh(dis,"Sphere",2,2,2)
  6504. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6505. 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"))
  6506. coroutine.resume(coroutine.create(function()
  6507. wait(0.5)
  6508. dis.Anchored = false
  6509. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6510. local at1 = Instance.new("Attachment",dis)
  6511. at1.Position = vt(-1,0,0)
  6512. local at2 = Instance.new("Attachment",dis)
  6513. at2.Position = vt(1,0,0)
  6514. local trl = Instance.new('Trail',dis)
  6515. trl.Attachment0 = at1
  6516. trl.FaceCamera = true
  6517. trl.Attachment1 = at2
  6518. trl.Texture = "rbxassetid://1049219073"
  6519. trl.LightEmission = 1
  6520. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6521. trl.Color = ColorSequence.new(dis.Color)
  6522. trl.Lifetime = 0.6
  6523. local a = Instance.new("Part",workspace)
  6524. a.Name = "Direction"
  6525. a.Anchored = true
  6526. a.BrickColor = bc("Bright red")
  6527. a.Material = "Neon"
  6528. a.Transparency = 1
  6529. a.CanCollide = false
  6530. local ray = Ray.new(
  6531. dis.CFrame.p, -- origin
  6532. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6533. )
  6534. local ignore = dis
  6535. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6536. a.BottomSurface = 10
  6537. a.TopSurface = 10
  6538. local distance = (dis.CFrame.p - position).magnitude
  6539. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6540. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6541. dis.CFrame = a.CFrame
  6542. a:Destroy()
  6543. local bv = Instance.new("BodyVelocity")
  6544. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6545. bv.velocity = dis.CFrame.lookVector*500
  6546. bv.Parent = dis
  6547. game:GetService("Debris"):AddItem(dis, 5)
  6548. local hitted = false
  6549. coroutine.resume(coroutine.create(function()
  6550. dis.Touched:connect(function(hit)
  6551. if hitted == false and hit.Parent ~= char then
  6552. hitted = true
  6553. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6554. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6555. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6556. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6557. coroutine.resume(coroutine.create(function()
  6558. for i = 0, 4 do
  6559. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6560. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6561. local at1 = Instance.new("Attachment",disr)
  6562. at1.Position = vt(-10,0,0)
  6563. local at2 = Instance.new("Attachment",disr)
  6564. at2.Position = vt(10,0,0)
  6565. local trl = Instance.new('Trail',disr)
  6566. trl.Attachment0 = at1
  6567. trl.FaceCamera = true
  6568. trl.Attachment1 = at2
  6569. trl.Texture = "rbxassetid://2342682798"
  6570. trl.LightEmission = 1
  6571. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6572. trl.Color = ColorSequence.new(disr.Color)
  6573. trl.Lifetime = 0.5
  6574. local bv = Instance.new("BodyVelocity")
  6575. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6576. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6577. bv.Parent = disr
  6578. local val = 0
  6579. coroutine.resume(coroutine.create(function()
  6580. swait(30)
  6581. for i = 0, 9 do
  6582. swait()
  6583. val = val + 0.1
  6584. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6585. end
  6586. game:GetService("Debris"):AddItem(disr, 3)
  6587. end))
  6588. end
  6589. local eff = Instance.new("ParticleEmitter",dis)
  6590. eff.Texture = "rbxassetid://1049219073"
  6591. eff.LightEmission = 1
  6592. eff.Color = ColorSequence.new(dis.Color)
  6593. eff.Rate = 500000
  6594. eff.Lifetime = NumberRange.new(0.5,2)
  6595. 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)})
  6596. 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)})
  6597. eff.Speed = NumberRange.new(20,250)
  6598. eff.Drag = 5
  6599. eff.Rotation = NumberRange.new(-500,500)
  6600. eff.VelocitySpread = 9000
  6601. eff.RotSpeed = NumberRange.new(-50,50)
  6602. wait(0.5)
  6603. eff.Enabled = false
  6604. end))
  6605. for i = 0, 4 do
  6606. 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"))
  6607. end
  6608. coroutine.resume(coroutine.create(function()
  6609. for i = 0, 19 do
  6610. swait()
  6611. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6612. end
  6613. hum.CameraOffset = vt(0,0,0)
  6614. end))
  6615. dis.Anchored = true
  6616. dis.Transparency = 1
  6617. wait(8)
  6618. dis:Destroy()
  6619. end
  6620. end)
  6621. end))
  6622. end))
  6623. end
  6624. end))
  6625. for i = 0,9,0.1 do
  6626. swait()
  6627. 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)
  6628. 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)
  6629. 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)
  6630. 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(90)),.3)
  6631. 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)
  6632. 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)
  6633. 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)
  6634. end
  6635. attack = false
  6636. hum.WalkSpeed = storehumanoidWS
  6637. end
  6638.  
  6639. function CyberSlash()
  6640. local posit = -2
  6641. attack = true
  6642. hum.WalkSpeed = 5
  6643. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6644. local radm = math.random(1,3)
  6645. if radm == 1 then
  6646. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6647. elseif radm == 2 then
  6648. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6649. elseif radm == 3 then
  6650. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6651. end
  6652. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6653. for i = 0,2,0.1 do
  6654. swait()
  6655. 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)
  6656. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6657. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6658. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6659. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6660. 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)
  6661. 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)
  6662. end
  6663. for i = 0, 2 do
  6664. CameraEnshaking(1,2)
  6665. local hite = Instance.new("Part", char)
  6666. hite.Anchored = true
  6667. hite.CanCollide = false
  6668. hite.FormFactor = 3
  6669. hite.Name = "Ring"
  6670. hite.Material = "Neon"
  6671. hite.Size = Vector3.new(1, 1, 1)
  6672. hite.Transparency = 1
  6673. hite.TopSurface = 0
  6674. hite.BottomSurface = 0
  6675. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6676. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6677. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6678. coroutine.resume(coroutine.create(function()
  6679. for i = 0, 1 do
  6680. swait()
  6681. 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)
  6682. 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)
  6683. 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)
  6684. end
  6685. end))
  6686. 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)
  6687. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6688. game:GetService("Debris"):AddItem(hite, 5)
  6689. posit = posit + 2
  6690. end
  6691. for i = 0,1,0.1 do
  6692. swait()
  6693. 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)
  6694. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6695. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6696. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6697. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6698. 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)
  6699. 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)
  6700. end
  6701. for i = 0,1,0.1 do
  6702. swait()
  6703. 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)
  6704. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6705. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6706. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6707. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6708. 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)
  6709. 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)
  6710. end
  6711. posit = -6
  6712. for i = 0, 6 do
  6713. CameraEnshaking(1,3)
  6714. local hite = Instance.new("Part", char)
  6715. hite.Anchored = true
  6716. hite.CanCollide = false
  6717. hite.FormFactor = 3
  6718. hite.Name = "Ring"
  6719. hite.Material = "Neon"
  6720. hite.Size = Vector3.new(1, 1, 1)
  6721. hite.Transparency = 1
  6722. hite.TopSurface = 0
  6723. hite.BottomSurface = 0
  6724. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6725. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6726. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6727. 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)
  6728. coroutine.resume(coroutine.create(function()
  6729. for i = 0, 2 do
  6730. swait()
  6731. 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)
  6732. 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)
  6733. 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)
  6734. end
  6735. end))
  6736. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6737. game:GetService("Debris"):AddItem(hite, 5)
  6738. posit = posit + 2
  6739. end
  6740. for i = 0,1,0.1 do
  6741. swait()
  6742. 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)
  6743. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6744. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6745. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6746. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6747. 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)
  6748. 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)
  6749. end
  6750. hum.WalkSpeed = storehumanoidWS
  6751. attack = false
  6752. end
  6753.  
  6754. function EquinoxOrbs()
  6755. hum.WalkSpeed = 0
  6756. attack = true
  6757. local radm = math.random(1,3)
  6758. if radm == 1 then
  6759. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6760. elseif radm == 2 then
  6761. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6762. elseif radm == 3 then
  6763. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6764. end
  6765. for i = 0,1,0.1 do
  6766. swait()
  6767. 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)
  6768. 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)
  6769. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6770. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6771. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6772. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6773. end
  6774. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6775. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6776. for i = 0, 24 do
  6777. 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"))
  6778. end
  6779. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6780. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6781. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6782. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6783. for i = 0,4,0.1 do
  6784. swait()
  6785. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6786. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6787. CreateMesh(dis,"Sphere",1,1,1)
  6788. dis.Anchored = true
  6789. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6790. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6791. CreateMesh(dis2,"Sphere",1,1,1)
  6792. dis2.Anchored = true
  6793. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6794. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6795. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6796. coroutine.resume(coroutine.create(function()
  6797. swait(60)
  6798. dis.Transparency = 1
  6799. dis2.Transparency = 1
  6800. coroutine.resume(coroutine.create(function()
  6801. for i = 0, 19 do
  6802. swait()
  6803. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6804. end
  6805. hum.CameraOffset = vt(0,0,0)
  6806. end))
  6807. coroutine.resume(coroutine.create(function()
  6808. local eff = Instance.new("ParticleEmitter",dis)
  6809. eff.Texture = "rbxassetid://2273224484"
  6810. eff.LightEmission = 1
  6811. eff.Color = ColorSequence.new(dis.Color)
  6812. eff.Rate = 500000
  6813. eff.Lifetime = NumberRange.new(0.5,2)
  6814. 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)})
  6815. 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)})
  6816. eff.Speed = NumberRange.new(50,450)
  6817. eff.Drag = 5
  6818. eff.Rotation = NumberRange.new(-500,500)
  6819. eff.VelocitySpread = 9000
  6820. eff.RotSpeed = NumberRange.new(-50,50)
  6821. local eff2 = eff:Clone()
  6822. eff2.Parent = dis2
  6823. eff2.LightEmission = 0
  6824. eff2.Color = ColorSequence.new(dis2.Color)
  6825. wait(0.25)
  6826. eff.Enabled = false
  6827. eff2.Enabled = false
  6828. end))
  6829. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6830. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6831. for i = 0, 2 do
  6832. 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)
  6833. 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)
  6834. end
  6835. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6836. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6837. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6838. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6839. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6840. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6841. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6842. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6843. end))
  6844. game:GetService("Debris"):AddItem(dis, 5)
  6845. game:GetService("Debris"):AddItem(dis2, 5)
  6846. 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)
  6847. 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)
  6848. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6849. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6850. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6851. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6852. end
  6853. attack = false
  6854. hum.WalkSpeed = storehumanoidWS
  6855. end
  6856. function FallenDEMISE()
  6857. attack = true
  6858. hum.WalkSpeed = 0
  6859. local keptcolor = MAINRUINCOLOR
  6860. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6861. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6862. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6863. for i = 0, 15, 0.1 do
  6864. swait()
  6865. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6866. 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)))
  6867. local at1 = Instance.new("Attachment",dis)
  6868. at1.Position = vt(-25000,0,0)
  6869. local at2 = Instance.new("Attachment",dis)
  6870. at2.Position = vt(25000,0,0)
  6871. local trl = Instance.new('Trail',dis)
  6872. trl.Attachment0 = at1
  6873. trl.FaceCamera = true
  6874. trl.Attachment1 = at2
  6875. trl.Texture = "rbxassetid://1049219073"
  6876. trl.LightEmission = 1
  6877. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6878. trl.Color = ColorSequence.new(dis.Color)
  6879. trl.Lifetime = 5
  6880. local bv = Instance.new("BodyVelocity")
  6881. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6882. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6883. bv.Parent = dis
  6884. game:GetService("Debris"):AddItem(dis, 1)
  6885. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6886. 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"))
  6887. 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"))
  6888. 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)
  6889. 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)
  6890. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6891. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6892. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6893. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6894. end
  6895. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6896. for i = 0, 30, 0.1 do
  6897. swait()
  6898. coroutine.resume(coroutine.create(function()
  6899. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6900. if v:FindFirstChild('Head') then
  6901. dmg(v)
  6902. end
  6903. end
  6904. end))
  6905. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6906. 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)))
  6907. local at1 = Instance.new("Attachment",dis)
  6908. at1.Position = vt(-50000,0,0)
  6909. local at2 = Instance.new("Attachment",dis)
  6910. at2.Position = vt(50000,0,0)
  6911. local trl = Instance.new('Trail',dis)
  6912. trl.Attachment0 = at1
  6913. trl.FaceCamera = true
  6914. trl.Attachment1 = at2
  6915. trl.Texture = "rbxassetid://1049219073"
  6916. trl.LightEmission = 1
  6917. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6918. trl.Color = ColorSequence.new(dis.Color)
  6919. trl.Lifetime = 10
  6920. local bv = Instance.new("BodyVelocity")
  6921. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6922. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6923. bv.Parent = dis
  6924. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6925. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6926. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6927. 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"))
  6928. 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"))
  6929. 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"))
  6930. 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"))
  6931. for i = 0, 2 do
  6932. 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)
  6933. end
  6934. 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)
  6935. 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)
  6936. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6937. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6938. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6939. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6940. end
  6941. attack = false
  6942. hum.WalkSpeed = storehumanoidWS
  6943. end
  6944.  
  6945. function SpeedDrop()
  6946. attack = true
  6947. hum.WalkSpeed = 0
  6948. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6949. local poste = 3
  6950. local rotation = 0
  6951. local rate = 0
  6952. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  6953. for i = 0, 124 do
  6954. swait()
  6955. rotation = rotation + rate
  6956. poste = poste + 0.1
  6957. rate = rate + 0.1
  6958. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  6959. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  6960. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  6961. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  6962. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  6963. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  6964. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  6965. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
  6966. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  6967. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  6968. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  6969. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  6970. end
  6971. CameraEnshaking(3,7)
  6972. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  6973. local loc = Instance.new("Part", char)
  6974. loc.BrickColor = MAINRUINCOLOR
  6975. loc.CanCollide = false
  6976. loc.FormFactor = 3
  6977. loc.Name = "Ring"
  6978. loc.Material = "Neon"
  6979. loc.Size = Vector3.new(1, 1, 1)
  6980. loc.Transparency = 1
  6981. loc.TopSurface = 0
  6982. loc.BottomSurface = 0
  6983. loc.Anchored = true
  6984. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  6985. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  6986. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  6987. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  6988. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  6989. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6990. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6991. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6992. coroutine.resume(coroutine.create(function()
  6993. local eff = Instance.new("ParticleEmitter",loc)
  6994. eff.Texture = "rbxassetid://363275192"
  6995. eff.LightEmission = 0.95
  6996. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6997. eff.Rate = 10000
  6998. eff.Lifetime = NumberRange.new(1)
  6999. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  7000. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7001. eff.Speed = NumberRange.new(100,500)
  7002. eff.Drag = 5
  7003. eff.Rotation = NumberRange.new(-500,500)
  7004. eff.VelocitySpread = 9000
  7005. eff.RotSpeed = NumberRange.new(-50,50)
  7006. wait(0.5)
  7007. eff.Enabled = false
  7008. end))
  7009. for i = 0, 49 do
  7010. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  7011. end
  7012. for i = 0, 9 do
  7013. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  7014. end
  7015. game:GetService("Debris"):AddItem(loc, 5)
  7016. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  7017. hum.WalkSpeed = storehumanoidWS
  7018. attack = false
  7019. end
  7020.  
  7021. function cutesigh()
  7022. attack = true
  7023. hum.WalkSpeed = 0
  7024. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  7025. local blush = Instance.new("Decal",hed)
  7026. blush.Texture = "rbxassetid://898404027"
  7027. blush.Face = "Front"
  7028. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  7029. for i = 0, 9, 0.1 do
  7030. swait()
  7031. RH.C0=clerp(RH.C0,cf(1,-0.4,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(19 + 8 * math.cos(sine / 62)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-20 - 3 * math.cos(sine / 34))),.1)
  7032. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 - 1 * math.cos(sine / 55)),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(26 + 5 * math.cos(sine / 41))),.1)
  7033. 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(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  7034. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  7035. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 + 0 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 5 * math.cos(sine / 51))),.1)
  7036. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(0 - 0 * math.cos(sine / 73)),math.rad(2 - 3 * math.cos(sine / 53)),math.rad(-33 - 5 * math.cos(sine / 51))),.1)
  7037. end
  7038. coroutine.resume(coroutine.create(function()
  7039. for i = 0, 49 do
  7040. swait()
  7041. blush.Transparency = blush.Transparency + 0.02
  7042. end
  7043. blush:Destroy()
  7044. end))
  7045. hum.WalkSpeed = storehumanoidWS
  7046. attack = false
  7047. end
  7048.  
  7049. function smiter()
  7050. local targetted = nil
  7051. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7052. targetted = mouse.Target.Parent
  7053. end
  7054. if targetted ~= nil then
  7055. RootPart.CFrame = FaceMouse()[1]
  7056. attack = true
  7057. local radm = math.random(1,3)
  7058. if radm == 1 then
  7059. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  7060. elseif radm == 2 then
  7061. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  7062. elseif radm == 3 then
  7063. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  7064. end
  7065. hum.WalkSpeed = 0
  7066. coroutine.resume(coroutine.create(function()
  7067. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7068. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7069. local vel = Instance.new("BodyPosition", targetted.Head)
  7070. vel.P = 12500
  7071. vel.D = 1000
  7072. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7073. vel.position = targetted.Head.CFrame.p
  7074. end))
  7075. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7076. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  7077. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  7078. for i = 0,4,0.1 do
  7079. swait()
  7080. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
  7081. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7082. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7083. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7084. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7085. 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)
  7086. 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)
  7087. end
  7088. coroutine.resume(coroutine.create(function()
  7089. CameraEnshaking(6,5)
  7090. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7091. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7092. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7093. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7094. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7095. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7096. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7097. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7098. coroutine.resume(coroutine.create(function()
  7099. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7100. eff.Texture = "rbxassetid://2273224484"
  7101. eff.LightEmission = 1
  7102. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7103. eff.Rate = 500000
  7104. eff.Lifetime = NumberRange.new(0.5,2)
  7105. 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)})
  7106. 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)})
  7107. eff.Speed = NumberRange.new(20,250)
  7108. eff.Drag = 5
  7109. eff.Rotation = NumberRange.new(-500,500)
  7110. eff.VelocitySpread = 9000
  7111. eff.RotSpeed = NumberRange.new(-50,50)
  7112. wait(0.25)
  7113. eff.Enabled = false
  7114. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7115. eff.Texture = "rbxassetid://363275192"
  7116. eff.LightEmission = 0.95
  7117. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7118. eff.Rate = 10000
  7119. eff.Lifetime = NumberRange.new(1.5)
  7120. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7121. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7122. eff.Speed = NumberRange.new(25,150)
  7123. eff.Drag = 5
  7124. eff.Rotation = NumberRange.new(-500,500)
  7125. eff.VelocitySpread = 9000
  7126. eff.RotSpeed = NumberRange.new(-50,50)
  7127. local eff2 = eff:Clone()
  7128. eff2.Parent = targetted.Head
  7129. eff2.Texture = "rbxassetid://284205403"
  7130. eff2.Rate = 10000
  7131. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7132. eff2.Drag = 5
  7133. eff2.Rotation = NumberRange.new(-500,500)
  7134. eff2.VelocitySpread = 9000
  7135. wait(0.5)
  7136. eff2.Enabled = false
  7137. eff.Enabled = false
  7138. end))
  7139. for i = 0, 9 do
  7140. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  7141. end
  7142. for i = 0, 49 do
  7143. local rsiz = math.random(10,50)
  7144. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  7145. end
  7146. game:GetService("Debris"):AddItem(vel,1)
  7147. dmg(targetted)
  7148. end))
  7149. for i = 0,1,0.1 do
  7150. swait()
  7151. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7152. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7153. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  7154. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7155. 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)
  7156. 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)
  7157. end
  7158. attack = false
  7159. hum.WalkSpeed = storehumanoidWS
  7160. end
  7161. end
  7162.  
  7163. function shytaunty()
  7164. attack = true
  7165. hum.WalkSpeed = 0
  7166. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7167. local blush = Instance.new("Decal",hed)
  7168. blush.Texture = "rbxassetid://898404027"
  7169. blush.Face = "Front"
  7170. for i = 0, 13, 0.1 do
  7171. swait()
  7172. 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)
  7173. 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)
  7174. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),1 + 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)
  7175. 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)
  7176. 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)
  7177. 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)
  7178. end
  7179. coroutine.resume(coroutine.create(function()
  7180. for i = 0, 49 do
  7181. swait()
  7182. blush.Transparency = blush.Transparency + 0.02
  7183. end
  7184. blush:Destroy()
  7185. end))
  7186. hum.WalkSpeed = storehumanoidWS
  7187. attack = false
  7188. end
  7189.  
  7190. function PureBomb()
  7191. attack = true
  7192. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7193. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7194. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7195. local orb = Instance.new("Part", char)
  7196. orb.Anchored = true
  7197. orb.BrickColor = BrickColor.new("Toothpaste")
  7198. orb.CanCollide = false
  7199. orb.FormFactor = 3
  7200. orb.Name = "Ring"
  7201. orb.Material = "Neon"
  7202. orb.Size = Vector3.new(1, 1, 1)
  7203. orb.Transparency = 0
  7204. orb.TopSurface = 0
  7205. orb.BottomSurface = 0
  7206. local orbm = Instance.new("SpecialMesh", orb)
  7207. orbm.MeshType = "Sphere"
  7208. orbm.Name = "SizeMesh"
  7209. orbm.Scale = vt(0,0,0)
  7210. local scaled = 0.1
  7211. local posid = 0
  7212. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7213. for i = 0, 5, 0.1 do
  7214. swait()
  7215. scaled = scaled - 0.001
  7216. posid = posid - scaled
  7217. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7218. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7219. 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)
  7220. 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)
  7221. 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)
  7222. 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)
  7223. 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)
  7224. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7225. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7226. 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)
  7227. end
  7228. for i = 0, 2, 0.1 do
  7229. swait()
  7230. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7231. 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)
  7232. 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)
  7233. 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)
  7234. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7235. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7236. 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)
  7237. end
  7238. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7239. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7240. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7241. coroutine.resume(coroutine.create(function()
  7242. orb.Anchored = false
  7243. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7244. local a = Instance.new("Part",workspace)
  7245. a.Name = "Direction"
  7246. a.Anchored = true
  7247. a.BrickColor = bc("Bright red")
  7248. a.Material = "Neon"
  7249. a.Transparency = 1
  7250. a.CanCollide = false
  7251. local ray = Ray.new(
  7252. orb.CFrame.p, -- origin
  7253. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7254. )
  7255. local ignore = orb
  7256. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7257. a.BottomSurface = 10
  7258. a.TopSurface = 10
  7259. local distance = (orb.CFrame.p - position).magnitude
  7260. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7261. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7262. orb.CFrame = a.CFrame
  7263. a:Destroy()
  7264. local bv = Instance.new("BodyVelocity")
  7265. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7266. bv.velocity = orb.CFrame.lookVector*125
  7267. bv.Parent = orb
  7268. local hitted = false
  7269. game:GetService("Debris"):AddItem(orb, 15)
  7270. wait()
  7271. local hit =orb.Touched:connect(function(hit)
  7272. if hitted == false then
  7273. hitted = true
  7274. CameraEnshaking(10,2.5)
  7275. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7276. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7277. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7278. for i = 0, 49 do
  7279. 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)
  7280. end
  7281. local eff = Instance.new("ParticleEmitter",orb)
  7282. eff.Texture = "rbxassetid://2273224484"
  7283. eff.LightEmission = 1
  7284. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7285. eff.Rate = 500000
  7286. eff.Lifetime = NumberRange.new(0.5,2)
  7287. 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)})
  7288. 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)})
  7289. eff.Speed = NumberRange.new(20,250)
  7290. eff.Drag = 5
  7291. eff.Rotation = NumberRange.new(-500,500)
  7292. eff.VelocitySpread = 9000
  7293. eff.RotSpeed = NumberRange.new(-50,50)
  7294. coroutine.resume(coroutine.create(function()
  7295. wait(0.25)
  7296. eff.Enabled = false
  7297. end))
  7298. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7299. for i = 0, 9 do
  7300. 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)
  7301. 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)
  7302. end
  7303. orb.Anchored = true
  7304. orb.Transparency = 1
  7305. local eff = Instance.new("ParticleEmitter",orb)
  7306. eff.Texture = "rbxassetid://2273224484"
  7307. eff.LightEmission = 1
  7308. eff.Color = ColorSequence.new(Color3.new(M))
  7309. eff.Rate = 500000
  7310. eff.Lifetime = NumberRange.new(0.5,2)
  7311. 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)})
  7312. 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)})
  7313. eff.Speed = NumberRange.new(20,250)
  7314. eff.Drag = 5
  7315. eff.Rotation = NumberRange.new(-500,500)
  7316. eff.VelocitySpread = 9000
  7317. eff.RotSpeed = NumberRange.new(-50,50)
  7318. coroutine.resume(coroutine.create(function()
  7319. wait(1)
  7320. eff.Enabled = false
  7321. end))
  7322. wait(8)
  7323. orb:Destroy()
  7324. end
  7325. end)
  7326. end))
  7327. for i = 0, 1, 0.1 do
  7328. swait()
  7329. 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)
  7330. 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)
  7331. 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)
  7332. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7333. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7334. 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)
  7335. end
  7336. attack = false
  7337. end
  7338.  
  7339.  
  7340. function BeamOfDeath()
  7341. coroutine.resume(coroutine.create(function()
  7342. attack = true
  7343. hum.WalkSpeed = 0
  7344. for i = 0, 11, 0.1 do
  7345. swait()
  7346. 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)
  7347. 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)
  7348. 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(-16 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  7349. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  7350. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(125 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 14 * math.cos(sine / 45))),.1)
  7351. 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)
  7352. end
  7353. for i = 0, 1, 0.1 do
  7354. swait()
  7355. 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)
  7356. 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)
  7357. 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(16 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  7358. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  7359. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.15)*angles(math.rad(-5 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(33 + 14 * math.cos(sine / 45))),.1)
  7360. 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)
  7361. end
  7362. hum.WalkSpeed = storehumanoidWS
  7363. attack = false
  7364. end))
  7365. CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
  7366. local radm = math.random(1,3)
  7367. if radm == 1 then
  7368. bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
  7369. elseif radm == 2 then
  7370. bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
  7371. elseif radm == 3 then
  7372. bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
  7373. end
  7374. local keptcolor = MAINRUINCOLOR
  7375. local orb = Instance.new("Part", char)
  7376. orb.BrickColor = keptcolor
  7377. orb.CanCollide = false
  7378. orb.FormFactor = 3
  7379. orb.Name = "Ring"
  7380. orb.Material = "Neon"
  7381. orb.Size = Vector3.new(1, 1, 1)
  7382. orb.Transparency = 1
  7383. orb.TopSurface = 0
  7384. orb.BottomSurface = 0
  7385. local orbm = Instance.new("SpecialMesh", orb)
  7386. orbm.MeshType = "Sphere"
  7387. orbm.Name = "SizeMesh"
  7388. orbm.Scale = vt(22.5,10000,22.5)
  7389. orb.CFrame = mouse.Hit
  7390. orb.Anchored = true
  7391. orb.Orientation = vt(0,0,0)
  7392. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7393. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7394. coroutine.resume(coroutine.create(function()
  7395. coroutine.resume(coroutine.create(function()
  7396. for i = 0, 175 do
  7397. swait()
  7398. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7399. orb.Transparency = orb.Transparency - 0.005
  7400. end
  7401. end))
  7402. wait(2)
  7403. coroutine.resume(coroutine.create(function()
  7404. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7405. if hfr ~= nil then
  7406. for i = 0, 24.5 do
  7407. local deb = Instance.new("Part", char)
  7408. deb.Anchored = true
  7409. deb.CanCollide = false
  7410. deb.FormFactor = 3
  7411. deb.Name = "Ring"
  7412. deb.Material = hitfloor.Material
  7413. deb.Color = hitfloor.Color
  7414. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7415. deb.Transparency = 0
  7416. deb.TopSurface = 0
  7417. deb.BottomSurface = 0
  7418. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7419. local deb2 = Instance.new("Part", char)
  7420. deb2.CanCollide = false
  7421. deb2.FormFactor = 3
  7422. deb2.Name = "Ring"
  7423. deb2.Material = hitfloor.Material
  7424. deb2.Color = hitfloor.Color
  7425. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7426. deb2.Transparency = 0
  7427. deb2.TopSurface = 0
  7428. deb2.BottomSurface = 0
  7429. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7430. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  7431. local eff = Instance.new("ParticleEmitter",deb)
  7432. eff.Texture = "rbxassetid://363275192"
  7433. eff.LightEmission = 0.95
  7434. eff.Color = ColorSequence.new(keptcolor.Color)
  7435. eff.Rate = 100
  7436. eff.Lifetime = NumberRange.new(1)
  7437. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7438. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7439. eff.Speed = NumberRange.new(0,5)
  7440. eff.Rotation = NumberRange.new(-500,500)
  7441. eff.VelocitySpread = 9000
  7442. eff.RotSpeed = NumberRange.new(-10,10)
  7443. local at1 = Instance.new('Attachment',deb2)
  7444. at1.Position = vt(0,15,0)
  7445. local at2 = Instance.new('Attachment',deb2)
  7446. at2.Position = vt(0,-15,0)
  7447. local tl = Instance.new('Trail',deb2)
  7448. tl.Attachment0 = at1
  7449. tl.Attachment1 = at2
  7450. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7451. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7452. tl.Lifetime = 1
  7453. game:GetService("Debris"):AddItem(deb,30)
  7454. game:GetService("Debris"):AddItem(deb2,30)
  7455. coroutine.resume(coroutine.create(function()
  7456. wait(15)
  7457. eff.Enabled = false
  7458. for i = 0, 49 do
  7459. swait()
  7460. deb.Transparency = deb.Transparency + 0.02
  7461. end
  7462. wait(1)
  7463. deb:Destroy()
  7464. end))
  7465. end
  7466. end
  7467. end))
  7468. for i = 0, 199 do
  7469. swait(1.5)
  7470. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7471. if v:FindFirstChild('Head') then
  7472. dmg(v)
  7473. end
  7474. end
  7475. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7476. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  7477. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  7478. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  7479. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7480. end
  7481. orb:Destroy()
  7482. end))
  7483. end
  7484.  
  7485. function Beams()
  7486. attack = true
  7487. hum.WalkSpeed = 0
  7488. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7489. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7490. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7491. local keptcolor = MAINRUINCOLOR
  7492. coroutine.resume(coroutine.create(function()
  7493. for i = 0, 96 do
  7494. swait(5)
  7495. local orb = Instance.new("Part", char)
  7496. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7497. orb.BrickColor = keptcolor
  7498. orb.CanCollide = false
  7499. orb.FormFactor = 3
  7500. orb.Name = "Ring"
  7501. orb.Material = "Neon"
  7502. orb.Size = Vector3.new(1, 1, 1)
  7503. orb.Transparency = 0
  7504. orb.TopSurface = 0
  7505. orb.BottomSurface = 0
  7506. orb.Anchored = true
  7507. local orbm = Instance.new("SpecialMesh", orb)
  7508. orbm.MeshType = "Sphere"
  7509. orbm.Name = "SizeMesh"
  7510. orbm.Scale = vt(1.25,1.25,1.25)
  7511. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7512. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7513. coroutine.resume(coroutine.create(function()
  7514. wait(0.5)
  7515. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7516. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7517. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7518. orb.Transparency = 1
  7519. local a = Instance.new("Part",char)
  7520. a.Name = "Direction"
  7521. a.Anchored = true
  7522. a.BrickColor = keptcolor
  7523. a.Material = "Neon"
  7524. a.Transparency = 0.25
  7525. a.Shape = "Cylinder"
  7526. local ht = Instance.new("Part",char)
  7527. ht.Name = "DirectionHit"
  7528. ht.Anchored = true
  7529. ht.BrickColor = keptcolor
  7530. ht.CanCollide = false
  7531. ht.Transparency = 1
  7532. ht.Size = vt(0.1,0.1,0.1)
  7533. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7534. a.CanCollide = false
  7535. local ray = Ray.new(
  7536. orb.CFrame.p, -- origin
  7537. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7538. )
  7539. local ignore = char
  7540. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7541. a.BottomSurface = 10
  7542. a.TopSurface = 10
  7543. local distance = (orb.CFrame.p - position).magnitude
  7544. a.Size = Vector3.new(distance,1,1)
  7545. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7546. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7547. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7548. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7549. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7550. coroutine.resume(coroutine.create(function()
  7551. local eff = Instance.new("ParticleEmitter",ht)
  7552. eff.Texture = "rbxassetid://284205403"
  7553. eff.LightEmission = 0.95
  7554. eff.Color = ColorSequence.new(keptcolor.Color)
  7555. eff.Rate = 500
  7556. eff.Lifetime = NumberRange.new(0.5)
  7557. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7558. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7559. eff.Speed = NumberRange.new(10,50)
  7560. eff.Drag = 5
  7561. eff.Rotation = NumberRange.new(-500,500)
  7562. eff.VelocitySpread = 9000
  7563. eff.RotSpeed = NumberRange.new(-500,500)
  7564. wait(0.25)
  7565. eff.Enabled = false
  7566. end))
  7567. for i = 0, 4 do
  7568. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  7569. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  7570. local rsiz = math.random(10,30)
  7571. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  7572. end
  7573. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7574. local msh = Instance.new("SpecialMesh",a)
  7575. msh.MeshType = "Cylinder"
  7576. msh.Scale = vt(1,1,1)
  7577. for i = 0, 49 do
  7578. swait()
  7579. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7580. a.Transparency = a.Transparency + 0.02
  7581. end
  7582. orb:Destroy()
  7583. a:Destroy()
  7584. ht:Destroy()
  7585. end))
  7586. game:GetService("Debris"):AddItem(orb, 10)
  7587. end
  7588. end))
  7589. for i = 0,6,0.1 do
  7590. swait()
  7591. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  7592. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.2 * math.cos(sine / 35))* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  7593. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7594. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7595. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7596. 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)
  7597. 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)
  7598. end
  7599. hum.WalkSpeed = storehumanoidWS
  7600. attack = false
  7601. end
  7602.  
  7603. function CalamityTrans()
  7604. attack = true
  7605. rainbowmode = false
  7606. chaosmode = false
  7607. ModeOfGlitch = 8889
  7608. hum.WalkSpeed = 0
  7609. newThemeCust("rbxassetid://723652641",0,1,1.25)
  7610. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7611. elocacenter.Anchored = true
  7612. elocacenter.CFrame = root.CFrame
  7613. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7614. eloca1.Anchored = true
  7615. eloca1.CFrame = elocacenter.CFrame
  7616. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7617. eloca2.Anchored = true
  7618. eloca2.CFrame = elocacenter.CFrame
  7619. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7620. eloca3.Anchored = true
  7621. eloca3.CFrame = elocacenter.CFrame
  7622. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7623. eloca4.Anchored = true
  7624. eloca4.CFrame = elocacenter.CFrame
  7625. local lookavec = 0
  7626. local speeds = 0
  7627. CameraEnshaking(3,2.5)
  7628. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7629. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7630. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7631. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7632. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7633. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7634. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7635. for i = 0, 5, 0.1 do
  7636. swait()
  7637. ---
  7638. lookavec = lookavec + 1
  7639. speeds = speeds + 10
  7640. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7641. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7642. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7643. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7644. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7645. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7646. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7647. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7648. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7649. ---
  7650. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7651. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7652. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7653. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7654. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7655. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7656. end
  7657. for i = 0, 5, 0.1 do
  7658. swait()
  7659. ---
  7660. speeds = speeds + 10
  7661. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7662. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7663. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7664. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7665. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7666. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7667. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7668. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7669. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7670. ---
  7671. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7672. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7673. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7674. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7675. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7676. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7677. end
  7678. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7679. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7680. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7681. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7682. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7683. CameraEnshaking(1,3)
  7684. for i = 0, 24 do
  7685. PixelBlock(1,math.random(5,25),"Add",eloca1.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7686. PixelBlock(1,math.random(5,25),"Add",eloca2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7687. PixelBlock(1,math.random(5,25),"Add",eloca3.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7688. PixelBlock(1,math.random(5,25),"Add",eloca4.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7689. end
  7690. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7691. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7692. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7693. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7694. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7695. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7696. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7697. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7698. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7699. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7700. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7701. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7702. for i = 0, 5, 0.1 do
  7703. swait()
  7704. ---
  7705. lookavec = lookavec - 1
  7706. speeds = speeds + 10
  7707. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7708. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7709. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7710. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7711. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7712. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7713. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7714. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7715. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7716. ---
  7717. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7718. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7719. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7720. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7721. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7722. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7723. end
  7724. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7725. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7726. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7727. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7728. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7729. for i = 0, 49 do
  7730. PixelBlock(1,math.random(8,16),"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,10,0.2,MAINRUINCOLOR,0)
  7731. PixelBlock(2,math.random(16,32),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.05,MAINRUINCOLOR,0)
  7732. end
  7733. CameraEnshaking(5,6)
  7734. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7735. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7736. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7737. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7738. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7739. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7740. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7741. storehumanoidWS = 100
  7742. hum.WalkSpeed = 100
  7743. rainbowmode = false
  7744. chaosmode = false
  7745. tl1.Enabled = true
  7746. tl2.Enabled = true
  7747. tl3.Enabled = true
  7748. RecolorTextAndRename("Galactical Guest",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7749. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7750. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7751. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7752. for i, v in pairs(mw2:GetChildren()) do
  7753. if v:IsA("Part") then
  7754. v.BrickColor = MAINRUINCOLOR
  7755. v.Material = "Neon"
  7756. end
  7757. end
  7758. for i, v in pairs(mw1:GetChildren()) do
  7759. if v:IsA("Part") then
  7760. v.Transparency = 0
  7761. v.BrickColor = MAINRUINCOLOR
  7762. v.Material = "Neon"
  7763. end
  7764. end
  7765. for i, v in pairs(m:GetChildren()) do
  7766. if v:IsA("Part") then
  7767. v.Color = Color3.new(0.5,0,1)
  7768. v.Material = "Neon"
  7769. end
  7770. end
  7771. for i, v in pairs(m2:GetChildren()) do
  7772. if v:IsA("Part") then
  7773. v.Color = Color3.new(0.25,0,1)
  7774. v.Material = "Neon"
  7775. end
  7776. end
  7777. for i, v in pairs(m3:GetChildren()) do
  7778. if v:IsA("Part") then
  7779. v.Color = Color3.new(0.45,0,1)
  7780. v.Material = "Neon"
  7781. end
  7782. end
  7783. for i, v in pairs(extrawingmod1:GetChildren()) do
  7784. if v:IsA("Part") then
  7785. v.Transparency = 0.75
  7786. v.Color = Color3.new(0.25,0,1)
  7787. v.Material = "Neon"
  7788. end
  7789. end
  7790. for i, v in pairs(extrawingmod2:GetChildren()) do
  7791. if v:IsA("Part") then
  7792. v.Transparency = 0.75
  7793. v.Color = Color3.new(0.5,0,1)
  7794. v.Material = "Neon"
  7795. end
  7796. end
  7797. attack = false
  7798. end
  7799.  
  7800. function InsaneTrans()
  7801. attack = true
  7802. rainbowmode = false
  7803. chaosmode = false
  7804. ModeOfGlitch = 8889
  7805. hum.WalkSpeed = 0
  7806. newThemeCust("rbxassetid://4067317048",1,1,10)
  7807. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7808. elocacenter.Anchored = true
  7809. elocacenter.CFrame = root.CFrame
  7810. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7811. eloca1.Anchored = true
  7812. eloca1.CFrame = elocacenter.CFrame
  7813. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7814. eloca2.Anchored = true
  7815. eloca2.CFrame = elocacenter.CFrame
  7816. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7817. eloca3.Anchored = true
  7818. eloca3.CFrame = elocacenter.CFrame
  7819. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7820. eloca4.Anchored = true
  7821. eloca4.CFrame = elocacenter.CFrame
  7822. local lookavec = 0
  7823. local speeds = 0
  7824. CameraEnshaking(3,2.5)
  7825. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7826. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7827. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7828. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7829. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7830. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7831. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7832. for i = 0, 5, 0.1 do
  7833. swait()
  7834. ---
  7835. lookavec = lookavec + 1
  7836. speeds = speeds + 10
  7837. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7838. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7839. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7840. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7841. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7842. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7843. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7844. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7845. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7846. ---
  7847. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7848. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7849. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7850. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7851. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7852. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7853. end
  7854. for i = 0, 5, 0.1 do
  7855. swait()
  7856. ---
  7857. speeds = speeds + 10
  7858. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7859. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7860. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7861. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7862. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7863. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7864. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7865. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7866. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7867. ---
  7868. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7869. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7870. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7871. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7872. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7873. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7874. end
  7875. MAINRUINCOLOR = BrickColor.new("Really black")
  7876. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7877. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7878. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7879. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7880. CameraEnshaking(1,3)
  7881. for i = 0, 24 do
  7882. PixelBlock(1,math.random(5,25),"Add",eloca1.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7883. PixelBlock(1,math.random(5,25),"Add",eloca2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7884. PixelBlock(1,math.random(5,25),"Add",eloca3.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7885. PixelBlock(1,math.random(5,25),"Add",eloca4.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.1,MAINRUINCOLOR,0)
  7886. end
  7887. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7888. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7889. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7890. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7891. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7892. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7893. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7894. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7895. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7896. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7897. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7898. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7899. for i = 0, 5, 0.1 do
  7900. swait()
  7901. ---
  7902. lookavec = lookavec - 1
  7903. speeds = speeds + 10
  7904. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7905. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7906. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7907. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7908. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7909. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7910. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7911. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7912. 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))),2.5,2.5,2.5,0.025,MAINRUINCOLOR,-2)
  7913. ---
  7914. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  7915. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  7916. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  7917. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7918. RW.C0=clerp(RW.C0,cf(1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  7919. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90 - 2.5 * math.cos(sine / 28))),.1)
  7920. end
  7921. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7922. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7923. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7924. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7925. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7926. for i = 0, 49 do
  7927. PixelBlock(1,math.random(8,16),"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,10,0.2,MAINRUINCOLOR,0)
  7928. PixelBlock(2,math.random(16,32),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,5,0.05,MAINRUINCOLOR,0)
  7929. end
  7930. CameraEnshaking(5,6)
  7931. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7932. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7933. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7934. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7935. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7936. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7937. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7938. storehumanoidWS = 100
  7939. hum.WalkSpeed = 100
  7940. rainbowmode = false
  7941. chaosmode = false
  7942. tl1.Enabled = true
  7943. tl2.Enabled = true
  7944. tl3.Enabled = true
  7945. RecolorTextAndRename("Test",Color3.new(170,0,0),Color3.new(0,0,0),"Antique")
  7946. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7947. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7948. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7949. for i, v in pairs(mw2:GetChildren()) do
  7950. if v:IsA("Part") then
  7951. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  7952. v.Material = "Neon"
  7953. end
  7954. end
  7955. for i, v in pairs(mw1:GetChildren()) do
  7956. if v:IsA("Part") then
  7957. v.Transparency = 0
  7958. v.BrickColor = MAINRUINCOLOR
  7959. v.Material = "Neon"
  7960. end
  7961. end
  7962. for i, v in pairs(m:GetChildren()) do
  7963. if v:IsA("Part") then
  7964. v.Color = Color3.new(170,0,0)
  7965. v.Material = "Neon"
  7966. end
  7967. end
  7968. for i, v in pairs(m2:GetChildren()) do
  7969. if v:IsA("Part") then
  7970. v.Color = Color3.new(0,0,0)
  7971. v.Material = "Neon"
  7972. end
  7973. end
  7974. for i, v in pairs(m3:GetChildren()) do
  7975. if v:IsA("Part") then
  7976. v.Color = Color3.new(0,0,0)
  7977. v.Material = "Neon"
  7978. end
  7979. end
  7980. for i, v in pairs(extrawingmod1:GetChildren()) do
  7981. if v:IsA("Part") then
  7982. v.Transparency = 0.75
  7983. v.Color = Color3.new(0,0,0)
  7984. v.Material = "Neon"
  7985. end
  7986. end
  7987. for i, v in pairs(extrawingmod2:GetChildren()) do
  7988. if v:IsA("Part") then
  7989. v.Transparency = 0.75
  7990. v.Color = Color3.new(0,0,0)
  7991. v.Material = "Neon"
  7992. end
  7993. end
  7994. attack = false
  7995. end
  7996.  
  7997. function GleamingBeam()
  7998. attack = true
  7999. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  8000. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  8001. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  8002. local rsiz = math.random(1,15)
  8003. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8004. hb.Anchored = true
  8005. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8006. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8007. for i = 0, 16, 0.1 do
  8008. swait()
  8009. rsiz = math.random(5,15)
  8010. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8011. sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*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,-15)
  8012. sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
  8013. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  8014. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  8015. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(40)),.1)
  8016. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  8017. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  8018. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  8019. end
  8020. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8021. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8022. for i = 0, 2 do
  8023. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8024. end
  8025. sphere2(3,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8026. sphere2(6,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8027. sphere2(9,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8028. for i = 0, 49 do
  8029. local rsiza = math.random(1,15)
  8030. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  8031. end
  8032. local a = Instance.new("Part",Character)
  8033. a.Name = "Direction"
  8034. a.Anchored = true
  8035. a.BrickColor = MAINRUINCOLOR
  8036. a.Material = "Neon"
  8037. a.Transparency = 0
  8038. a.Shape = "Cylinder"
  8039. a.CanCollide = false
  8040. local ba = Instance.new("Part",Character)
  8041. ba.Name = "HitDirect"
  8042. ba.Anchored = true
  8043. ba.BrickColor = bc("Cool yellow")
  8044. ba.Material = "Neon"
  8045. ba.Transparency = 1
  8046. ba.CanCollide = false
  8047. local ray = Ray.new(
  8048. hb.CFrame.p, -- origin
  8049. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8050. )
  8051. local ignore = Character
  8052. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8053. a.BottomSurface = 10
  8054. a.TopSurface = 10
  8055. local distance = (hb.CFrame.p - position).magnitude
  8056. a.Size = Vector3.new(distance, 1, 1)
  8057. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8058. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8059. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8060. local msh = Instance.new("SpecialMesh",a)
  8061. msh.MeshType = "Cylinder"
  8062. msh.Scale = vt(1,4,4)
  8063. game:GetService("Debris"):AddItem(a, 30)
  8064. game:GetService("Debris"):AddItem(ba, 30)
  8065. for i = 0, 25, 0.1 do
  8066. swait()
  8067. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8068. ray = Ray.new(
  8069. hb.CFrame.p, -- origin
  8070. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8071. )
  8072. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8073. distance = (hb.CFrame.p - position).magnitude
  8074. a.Size = Vector3.new(distance, 1, 1)
  8075. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8076. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8077. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8078. rsiz = math.random(5,25)
  8079. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  8080. sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,0)
  8081. for c = 0, 2 do
  8082. sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,MAINRUINCOLOR,2)
  8083. end
  8084. sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  8085. sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
  8086. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  8087. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
  8088. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(80)),.6)
  8089. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  8090. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  8091. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  8092. end
  8093. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8094. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8095. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8096. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8097. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  8098. sphere2(1,"Add",ba.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),1,1,1,MAINRUINCOLOR)
  8099. sphere2(2,"Add",ba.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),1,1,1,MAINRUINCOLOR)
  8100. sphere2(3,"Add",ba.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),1,1,1,MAINRUINCOLOR)
  8101. sphere2(3,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8102. sphere2(6,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8103. sphere2(9,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8104. for i = 0, 49 do
  8105. local rsiza = math.random(1,15)
  8106. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  8107. end
  8108. for i = 0, 49 do
  8109. rsiz = math.random(1,8)
  8110. sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,MAINRUINCOLOR,2)
  8111. end
  8112. coroutine.resume(coroutine.create(function()
  8113. for i = 0, 99 do
  8114. swait()
  8115. a.Transparency = a.Transparency + 0.01
  8116. end
  8117. a:Destroy()
  8118. ba:Destroy()
  8119. end))
  8120. hb:Destroy()
  8121. attack = false
  8122. end
  8123.  
  8124. function DualGleamingBeam()
  8125. attack = true
  8126. hum.WalkSpeed = 0
  8127. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  8128. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  8129. local radm = math.random(1,3)
  8130. if radm == 1 then
  8131. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  8132. elseif radm == 2 then
  8133. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  8134. elseif radm == 3 then
  8135. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  8136. end
  8137. local rsiz = math.random(1,15)
  8138. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8139. hb.Anchored = true
  8140. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8141. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8142. hb2.Anchored = true
  8143. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8144. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8145. for i = 0, 14, 0.1 do
  8146. swait()
  8147. rsiz = math.random(5,15)
  8148. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8149. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8150. sphereMK(math.random(3,9),0.25,"Add",sorb.CFrame*CFrame.new(0,-3,0)*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,-15)
  8151. sphere2(5,"Add",sorb.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,MAINRUINCOLOR)
  8152. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*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,BrickColor.new("Lime green"),-15)
  8153. sphere2(5,"Add",sorb2.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4,4,4),0.01,0.01,0.01,BrickColor.new("Lime green"))
  8154. 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)
  8155. 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)
  8156. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  8157. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  8158. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  8159. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  8160. end
  8161. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8162. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8163. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  8164. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  8165. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8166. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  8167. sphere2(3,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8168. sphere2(6,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8169. sphere2(9,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8170. sphere2(3,"Add",hb2.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.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  8171. sphere2(6,"Add",hb2.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.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  8172. sphere2(9,"Add",hb2.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.5,0.5),0.3,0.3,0.3,BrickColor.new("Lime green"))
  8173. for i = 0, 49 do
  8174. local rsiza = math.random(1,15)
  8175. sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  8176. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,MAINRUINCOLOR,0)
  8177. end
  8178. local a = Instance.new("Part",Character)
  8179. a.Name = "Direction"
  8180. a.Anchored = true
  8181. a.BrickColor = MAINRUINCOLOR
  8182. a.Material = "Neon"
  8183. a.Transparency = 0
  8184. a.Shape = "Cylinder"
  8185. a.CanCollide = false
  8186. local a2 = Instance.new("Part",Character)
  8187. a2.Name = "Direction"
  8188. a2.Anchored = true
  8189. a2.BrickColor = MAINRUINCOLOR
  8190. a2.Material = "Neon"
  8191. a2.Transparency = 0
  8192. a2.Shape = "Cylinder"
  8193. a2.CanCollide = false
  8194. local ba = Instance.new("Part",Character)
  8195. ba.Name = "HitDirect"
  8196. ba.Anchored = true
  8197. ba.BrickColor = MAINRUINCOLOR
  8198. ba.Material = "Neon"
  8199. ba.Transparency = 1
  8200. ba.CanCollide = false
  8201. local ba2 = Instance.new("Part",Character)
  8202. ba2.Name = "HitDirect"
  8203. ba2.Anchored = true
  8204. ba2.BrickColor = MAINRUINCOLOR
  8205. ba2.Material = "Neon"
  8206. ba2.Transparency = 1
  8207. ba2.CanCollide = false
  8208. local ray = Ray.new(
  8209. hb.CFrame.p, -- origin
  8210. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8211. )
  8212. local ignore = Character
  8213. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8214. local ray2 = Ray.new(
  8215. hb2.CFrame.p, -- origin
  8216. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8217. )
  8218. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8219. local distance2 = (hb2.CFrame.p - position).magnitude
  8220.  
  8221. a.BottomSurface = 10
  8222. a.TopSurface = 10
  8223. local distance = (hb.CFrame.p - position).magnitude
  8224. a.Size = Vector3.new(distance, 1, 1)
  8225. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8226. a2.BottomSurface = 10
  8227. a2.TopSurface = 10
  8228. a2.Size = Vector3.new(distance2, 1, 1)
  8229. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8230. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8231. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8232. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8233. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8234. local msh = Instance.new("SpecialMesh",a)
  8235. msh.MeshType = "Cylinder"
  8236. msh.Scale = vt(1,4,4)
  8237. local msh2 = Instance.new("SpecialMesh",a2)
  8238. msh2.MeshType = "Cylinder"
  8239. msh2.Scale = vt(1,4,4)
  8240. game:GetService("Debris"):AddItem(a, 30)
  8241. game:GetService("Debris"):AddItem(a2, 30)
  8242. game:GetService("Debris"):AddItem(ba, 30)
  8243. game:GetService("Debris"):AddItem(ba2, 30)
  8244. for i = 0, 20, 0.1 do
  8245. swait()
  8246. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8247. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8248. ray = Ray.new(
  8249. hb.CFrame.p, -- origin
  8250. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8251. )
  8252. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8253. distance = (hb.CFrame.p - position).magnitude
  8254. ray2 = Ray.new(
  8255. hb2.CFrame.p, -- origin
  8256. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8257. )
  8258. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8259. distance2 = (hb2.CFrame.p - position).magnitude
  8260. a.Size = Vector3.new(distance, 1, 1)
  8261. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8262. a2.Size = Vector3.new(distance2, 1, 1)
  8263. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8264. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8265. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8266. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8267. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8268. rsiz = math.random(5,25)
  8269. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8270. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8271. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8272. if v:FindFirstChild('Head') then
  8273. dmg(v)
  8274. end
  8275. end
  8276. coroutine.resume(coroutine.create(function()
  8277. local bx = Instance.new("Part",Character)
  8278. bx.Name = "Location"
  8279. bx.Anchored = true
  8280. bx.BrickColor = MAINRUINCOLOR
  8281. bx.Material = "Neon"
  8282. bx.Transparency = 1
  8283. bx.CanCollide = false
  8284. bx.Position = ba.Position
  8285. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8286. wait(math.random(1,2))
  8287. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8288. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8289. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8290. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8291. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8292. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8293. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8294. if v:FindFirstChild('Head') then
  8295. dmg(v)
  8296. end
  8297. end
  8298. wait(5)
  8299. bx:Destroy()
  8300. end))
  8301. sphereMK(math.random(4,8),0.25,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
  8302. sphereMK(math.random(4,8),0.25,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),0)
  8303. for c = 0, 2 do
  8304. sphereMK(math.random(3,6),0.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/5,rsiz/5,rsiz/5,0,BrickColor.new("Lime green"),2)
  8305. end
  8306. sphere2(5,"Add",hb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  8307. sphere2(5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(12,12,12),0.05,0.05,0.05,MAINRUINCOLOR)
  8308. sphere2(5,"Add",hb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(4.2,4.2,4.2),0.01,0.01,0.01,MAINRUINCOLOR)
  8309. 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)
  8310. 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)
  8311. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0.3 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.05)
  8312. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8313. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8314. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8315. end
  8316. for i = 0, 1 do
  8317. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8318. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8319. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8320. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8321. end
  8322. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8323. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8324. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8325. if v:FindFirstChild('Head') then
  8326. dmg(v)
  8327. end
  8328. end
  8329. sphere2(1,"Add",ba.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),1,1,1,MAINRUINCOLOR)
  8330. sphere2(2,"Add",ba.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),1,1,1,MAINRUINCOLOR)
  8331. sphere2(3,"Add",ba.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),1,1,1,MAINRUINCOLOR)
  8332. sphere2(3,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8333. sphere2(6,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8334. sphere2(9,"Add",hb.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.5,0.5),0.3,0.3,0.3,MAINRUINCOLOR)
  8335. sphere2(3,"Add",hb2.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.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  8336. sphere2(6,"Add",hb2.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.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  8337. sphere2(9,"Add",hb2.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.5,0.5),0.3,0.3,0.3,bc("Lime green"))
  8338. for i = 0, 49 do
  8339. local rsiza = math.random(1,15)
  8340. sphereMK(math.random(1,5),0.75,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
  8341. sphereMK(math.random(1,5),0.75,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiza/10,rsiza/10,rsiza/10,0,bc("Lime green"),0)
  8342. end
  8343. for i = 0, 49 do
  8344. rsiz = math.random(1,8)
  8345. sphereMK(math.random(1,3),1,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz,rsiz,rsiz,0,bc("Lime green"),2)
  8346. end
  8347. coroutine.resume(coroutine.create(function()
  8348. for i = 0, 99 do
  8349. swait()
  8350. a.Transparency = a.Transparency + 0.01
  8351. a2.Transparency = a2.Transparency + 0.01
  8352. end
  8353. a:Destroy()
  8354. ba:Destroy()
  8355. a2:Destroy()
  8356. ba2:Destroy()
  8357. end))
  8358. hum.WalkSpeed = storehumanoidWS
  8359. hb:Destroy()
  8360. hb2:Destroy()
  8361. attack = false
  8362. end
  8363.  
  8364. function dragin()
  8365. local targetted = nil
  8366. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8367. targetted = mouse.Target.Parent
  8368. end
  8369. if targetted ~= nil then
  8370. RootPart.CFrame = FaceMouse()[1]
  8371. attack = true
  8372. hum.WalkSpeed = 0
  8373. for x = 0, 1 do
  8374. for i = 0,1,0.5 do
  8375. swait()
  8376. 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)
  8377. 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)
  8378. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8379. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8380. 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)
  8381. 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)
  8382. end
  8383. for i = 0,1,0.5 do
  8384. swait()
  8385. 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)
  8386. 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)
  8387. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8388. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8389. 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)
  8390. 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)
  8391. end
  8392. for i = 0,1,0.5 do
  8393. swait()
  8394. 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)
  8395. 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)
  8396. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8397. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8398. 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)
  8399. 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)
  8400. end
  8401. for i = 0,1,0.5 do
  8402. swait()
  8403. 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)
  8404. 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)
  8405. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8406. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8407. 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)
  8408. 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)
  8409. end
  8410. end
  8411. coroutine.resume(coroutine.create(function()
  8412. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8413. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8414. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8415. end))
  8416. local A1 = Instance.new("Attachment",targetted.Head)
  8417. local A2 = Instance.new("Attachment",sorb)
  8418. local Beem = Instance.new("Beam",tors)
  8419. Beem.Attachment0 = A1
  8420. Beem.Attachment1 = A2
  8421. Beem.Texture = "rbxassetid://897585362"
  8422. Beem.LightEmission = 0.75
  8423. Beem.FaceCamera = true
  8424. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8425. Beem.Width0 = 1
  8426. Beem.Width1 = 1
  8427. Beem.TextureMode = "Wrap"
  8428. Beem.TextureLength = 1
  8429. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8430. 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)
  8431. 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)
  8432. for x = 0, 24 do
  8433. local rsiz = math.random(5,15)
  8434. 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)
  8435. end
  8436.  
  8437. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8438. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8439. local radm = math.random(1,2)
  8440. if radm == 1 then
  8441. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8442. elseif radm == 2 then
  8443. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8444. end
  8445. for i = 0,3,0.1 do
  8446. swait()
  8447. coroutine.resume(coroutine.create(function()
  8448. local rsiz = math.random(5,15)
  8449. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8450. 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)
  8451. end))
  8452. 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)
  8453. 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)
  8454. 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)
  8455. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8456. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8457. 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)
  8458. 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)
  8459. end
  8460. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8461. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8462. local vel = Instance.new("BodyPosition", targetted.Head)
  8463. vel.P = 12500
  8464. vel.D = 1000
  8465. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8466. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8467. for i = 0,4,0.1 do
  8468. swait()
  8469. coroutine.resume(coroutine.create(function()
  8470. local rsiz = math.random(5,15)
  8471. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8472. 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)
  8473. end))
  8474. 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)
  8475. 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)
  8476. 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)
  8477. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8478. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8479. 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)
  8480. 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)
  8481. end
  8482. local visibility = 0
  8483. coroutine.resume(coroutine.create(function()
  8484. for i = 0, 49 do
  8485. swait()
  8486. visibility = visibility + 0.02
  8487. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8488. end
  8489. Beem:Destroy()
  8490. A1:Destroy()
  8491. A2:Destroy()
  8492. end))
  8493. game:GetService("Debris"):AddItem(vel,0.75)
  8494. attack = false
  8495. hum.WalkSpeed = storehumanoidWS
  8496.  
  8497. end
  8498. end
  8499.  
  8500. function hugg()
  8501. attack = true
  8502. hum.WalkSpeed = 5
  8503. local rsiz = math.random(5,15)
  8504. for i = 0, 2, 0.1 do
  8505. swait()
  8506. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8507. 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))),.3)
  8508. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8509. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  8510. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8511. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8512. end
  8513. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8514. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8515. hb.Anchored = true
  8516. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8517. local huggedperson = nil
  8518. local act = false
  8519. local alreadydid = false
  8520. for i = 0, 3, 0.1 do
  8521. swait()
  8522. if act == false then
  8523. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8524. if v:FindFirstChild('Head') then
  8525. if alreadydid == false then
  8526. huggedperson = v
  8527. hum.WalkSpeed = 0
  8528. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8529. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8530. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8531. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8532. local radm = math.random(1,3)
  8533. if radm == 1 then
  8534. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8535. elseif radm == 2 then
  8536. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8537. elseif radm == 3 then
  8538. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8539. end
  8540. root.Anchored = true
  8541. coroutine.resume(coroutine.create(function()
  8542. huggedperson.Humanoid.WalkSpeed = 0
  8543. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8544. end))
  8545. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8546. alreadydid = true
  8547. act = true
  8548. print(huggedperson.Name)
  8549. end
  8550. end
  8551. end
  8552. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8553. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(0)),.3)
  8554. elseif act == true then
  8555. coroutine.resume(coroutine.create(function()
  8556. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8557. end))
  8558. rsiz = math.random(5,15)
  8559. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8560. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(40)),.1)
  8561. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8562. end
  8563. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8564. 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))),.3)
  8565. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8566. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8567. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8568. end
  8569. hb:Destroy()
  8570. if act == true then
  8571. for x = 0, 2 do
  8572. for i = 0, 2, 0.1 do
  8573. swait()
  8574. coroutine.resume(coroutine.create(function()
  8575. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8576. end))
  8577. rsiz = math.random(5,15)
  8578. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8579. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(45)),.1)
  8580. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8581. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8582. 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))),.3)
  8583. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8584. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8585. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8586. end
  8587. for i = 0, 2, 0.1 do
  8588. swait()
  8589. coroutine.resume(coroutine.create(function()
  8590. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8591. end))
  8592. rsiz = math.random(5,15)
  8593. sphereMK(math.random(1,4),0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-8,-4),math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),rsiz/20,rsiz/20,rsiz/20,0,MAINRUINCOLOR,0)
  8594. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(10),math.rad(35)),.1)
  8595. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8596. 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(7.5),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.3)
  8597. 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))),.3)
  8598. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.05 * math.cos(sine / 28))*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8599. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8600. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8601. end
  8602. end
  8603. end
  8604. hum.WalkSpeed = storehumanoidWS
  8605. root.Anchored = false
  8606. if act == true then
  8607. coroutine.resume(coroutine.create(function()
  8608. huggedperson.Humanoid.WalkSpeed = 16
  8609. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8610. end))
  8611. end
  8612. hum.WalkSpeed = storehumanoidWS
  8613. attack = false
  8614. end
  8615.  
  8616. function Counter()
  8617. hum.WalkSpeed = 0
  8618. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8619. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8620. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8621. attack = true
  8622. for i = 0,1,0.1 do
  8623. swait()
  8624. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8625. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8626. 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)
  8627. 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)
  8628. 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)
  8629. 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)
  8630. end
  8631. CameraEnshaking(3,4)
  8632. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8633. 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)
  8634. 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)
  8635. 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)
  8636. coroutine.resume(coroutine.create(function()
  8637. local eff = Instance.new("ParticleEmitter",root)
  8638. eff.Texture = "rbxassetid://363275192"
  8639. eff.LightEmission = 0.95
  8640. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8641. eff.Rate = 10000
  8642. eff.Lifetime = NumberRange.new(1)
  8643. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8644. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8645. eff.Speed = NumberRange.new(10,125)
  8646. eff.Drag = 5
  8647. eff.Rotation = NumberRange.new(-500,500)
  8648. eff.VelocitySpread = 9000
  8649. eff.RotSpeed = NumberRange.new(-50,50)
  8650. local eff2 = eff:Clone()
  8651. eff2.Parent = root
  8652. eff2.Texture = "rbxassetid://284205403"
  8653. eff2.Rate = 10000
  8654. 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)})
  8655. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8656. eff2.Drag = 5
  8657. eff2.Speed = NumberRange.new(10,50)
  8658. eff2.Rotation = NumberRange.new(-500,500)
  8659. eff2.VelocitySpread = 9000
  8660. wait(0.25)
  8661. eff2.Enabled = false
  8662. eff.Enabled = false
  8663. wait(3)
  8664. eff2:Destroy()
  8665. eff:Destroy()
  8666. end))
  8667. for i = 0, 9 do
  8668. 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)
  8669. end
  8670. for i = 0, 24 do
  8671. local rsiz = math.random(5,20)
  8672. 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)
  8673. end
  8674. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8675. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8676. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8677. for i = 0,2,0.1 do
  8678. swait()
  8679. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8680. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8681. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8682. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8683. 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)
  8684. 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)
  8685. end
  8686. hum.WalkSpeed = storehumanoidWS
  8687. attack = false
  8688. end
  8689.  
  8690. function superjump()
  8691. attack = true
  8692. hum.WalkSpeed = 0
  8693. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8694. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8695. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8696. for i = 0, 2, 0.1 do
  8697. swait()
  8698. root.Velocity = vt(0,0,0)
  8699. 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.05,0.01,0.05),math.random(25,250)/250,BrickColor.new("White"))
  8700. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(20)),.4)
  8701. 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(40)),.4)
  8702. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8703. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8704. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8705. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8706. end
  8707. MagniDamage(root, 28, 25,50, 25, "Normal")
  8708. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8709. hum.Jump = true
  8710. swait()
  8711. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8712. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.3,5,0.3,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8713. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(-45),0,0),vt(25,1,25),0.2,4,0.2,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8714. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8715. for i = 0, 3, 0.1 do
  8716. swait()
  8717. RH.C0=clerp(RH.C0,cf(1,-0.45,-0.45)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3),math.rad(0),math.rad(-20)),.4)
  8718. 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(30)),.4)
  8719. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8720. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8721. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8722. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8723. end
  8724. attack = false
  8725. if equipped == false then
  8726. hum.WalkSpeed = 16
  8727. else
  8728. hum.WalkSpeed = 24
  8729. end
  8730. end
  8731.  
  8732.  
  8733. -------------------------------------
  8734.  
  8735.  
  8736.  
  8737. Humanoid.Animator.Parent = nil
  8738.  
  8739.  
  8740.  
  8741. -------------------------------------
  8742.  
  8743. local attacktype = 1
  8744. mouse.Button1Down:connect(function()
  8745. if attack == false and attacktype == 1 then
  8746. attacktype = 2
  8747. attackone()
  8748. elseif attack == false and attacktype == 2 then
  8749. attacktype = 3
  8750. attacktwo()
  8751. elseif attack == false and attacktype == 3 then
  8752. attacktype = 1
  8753. attackthree()
  8754. elseif attack == false and attacktype == 4 then
  8755. attacktype = 1
  8756. --attackfour()
  8757. end
  8758. end)
  8759. mouse.KeyDown:connect(function(k)
  8760. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8761. --normalmog()
  8762. ModeOfGlitch = 1
  8763. storehumanoidWS = 16
  8764. hum.WalkSpeed = 16
  8765. rainbowmode = false
  8766. chaosmode = false
  8767. newTheme("rbxassetid://847966117",48.6,1,0.85)
  8768. RecolorTextAndRename("Destiny",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8769. MAINRUINCOLOR = BrickColor.new("Really red")
  8770. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8771. end
  8772. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8773. ModeOfGlitch = 2
  8774. storehumanoidWS = 16
  8775. hum.WalkSpeed = 16
  8776. rainbowmode = false
  8777. chaosmode = false
  8778. RecolorTextAndRename("Serene Guest",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8779. newTheme("rbxassetid://1539245059",0,1,0.85)
  8780. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8781. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8782. end
  8783. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8784. ModeOfGlitch = 3
  8785. storehumanoidWS = 14
  8786. hum.WalkSpeed = 14
  8787. rainbowmode = false
  8788. chaosmode = false
  8789. RecolorTextAndRename("Bride",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8790. newTheme("rbxassetid://594522440",58.15,1.01,0.85)
  8791. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8792. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8793. end
  8794. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8795. ModeOfGlitch = 4
  8796. storehumanoidWS = 14
  8797. hum.WalkSpeed = 14
  8798. rainbowmode = false
  8799. chaosmode = true
  8800. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  8801. newTheme("rbxassetid://2203914587",10,1.01,0.85)
  8802. MAINRUINCOLOR = BrickColor.new("Crimson")
  8803. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8804. end
  8805. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8806. ModeOfGlitch = 5
  8807. storehumanoidWS = 14
  8808. hum.WalkSpeed = 14
  8809. rainbowmode = false
  8810. chaosmode = false
  8811. RecolorTextAndRename("Blood Rage",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8812. newTheme("rbxassetid://4067317048",0,1.01,0.85)
  8813. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8814. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8815. end
  8816. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8817. ModeOfGlitch = 6
  8818. storehumanoidWS = 15
  8819. hum.WalkSpeed = 15
  8820. rainbowmode = false
  8821. chaosmode = false
  8822. RecolorTextAndRename("Forgotten",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8823. newTheme("rbxassetid://608832510",0,1.01,0.85)
  8824. MAINRUINCOLOR = BrickColor.new("White")
  8825. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8826. end
  8827. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8828. ModeOfGlitch = 8
  8829. storehumanoidWS = 100
  8830. hum.WalkSpeed = 100
  8831. rainbowmode = false
  8832. chaosmode = false
  8833. RecolorTextAndRename("Destinal Guest",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8834. newTheme("rbxassetid://919231299",0,1.01,0.85)
  8835. MAINRUINCOLOR = BrickColor.new("Alder")
  8836. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8837. end
  8838. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8839. ModeOfGlitch = 9
  8840. storehumanoidWS = 85
  8841. hum.WalkSpeed = 85
  8842. rainbowmode = false
  8843. chaosmode = false
  8844. RecolorTextAndRename("Infected Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8845. newTheme("rbxassetid://879189331",0,1.01,0.85)
  8846. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8847. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8848. end
  8849. if k == "h" and attack == false and ModeOfGlitch ~= 5555 then
  8850. ModeOfGlitch = 5555
  8851. storehumanoidWS = 30
  8852. hum.WalkSpeed = 30
  8853. rainbowmode = false
  8854. chaosmode = false
  8855. RecolorTextAndRename("Love Guest",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
  8856. newTheme("rbxassetid://736003449",0,1,1.25)
  8857. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8858. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8859. end
  8860. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8861. CalamityTrans()
  8862. end
  8863. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 8889 then
  8864. InsaneTrans()
  8865. end
  8866. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8867. ModeOfGlitch = 55469696922
  8868. storehumanoidWS = 95
  8869. hum.WalkSpeed = 95
  8870. rainbowmode = false
  8871. chaosmode = false
  8872. RecolorTextAndRename("God Eater (Resurrected)",Color3.new(0.25,0,0.1),BrickColor.new("Really black").Color,"Antique")
  8873. newTheme("rbxassetid://272216663",0,1.005,0.9)
  8874. MAINRUINCOLOR = BrickColor.new("Really black")
  8875. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8876. end
  8877. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8878. ModeOfGlitch = 4367677813
  8879. storehumanoidWS = 75
  8880. hum.WalkSpeed = 75
  8881. rainbowmode = false
  8882. chaosmode = false
  8883. RecolorTextAndRename("Mysterious Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8884. newTheme("rbxassetid://919231299",0,1.01,0.95)
  8885. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8886. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8887. end
  8888. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8889. ModeOfGlitch = 9999999921111
  8890. storehumanoidWS = 145
  8891. hum.WalkSpeed = 145
  8892. rainbowmode = false
  8893. chaosmode = false
  8894. RecolorTextAndRename("Omega Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8895. newTheme("rbxassetid://643309199",0,1.01,1)
  8896. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8897. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8898. end
  8899. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8900. ModeOfGlitch = 999999999556
  8901. storehumanoidWS = 115
  8902. hum.WalkSpeed = 115
  8903. rainbowmode = false
  8904. chaosmode = false
  8905. RecolorTextAndRename("Crazy Game",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8906. newTheme("rbxassetid://719008519",0,1.02,0.85)
  8907. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8908. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8909. end
  8910. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8911. ModeOfGlitch = 12
  8912. storehumanoidWS = 19
  8913. hum.WalkSpeed = 19
  8914. rainbowmode = false
  8915. chaosmode = false
  8916. print'Mode was meant for Vengeful Program or those other fans out there'
  8917. RecolorTextAndRename("Awakened",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8918. newTheme("rbxassetid://180098982",0,1,1.7)
  8919. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8920. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8921. end
  8922.  
  8923. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8924. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8925. for i = 0, 49 do
  8926. 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("Institutional white"),0)
  8927. end
  8928. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8929. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8930. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8931. hum.WalkSpeed = storehumanoidWS
  8932. attack = false
  8933. ModeOfGlitch = 50
  8934. storehumanoidWS = 18
  8935. hum.WalkSpeed = 18
  8936. rainbowmode = false
  8937. chaosmode = false
  8938. RecolorTextAndRename("Humble",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  8939. newTheme("rbxassetid://489954857",0,1.01,1.5)
  8940. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8941. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8942. end
  8943.  
  8944. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8945. hum.WalkSpeed = 0
  8946. attack = true
  8947. for i = 0,1,0.1 do
  8948. swait()
  8949. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8950. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8951. 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)
  8952. 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)
  8953. 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)
  8954. 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)
  8955. end
  8956. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8957. for i = 0, 148 do
  8958. 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)
  8959. end
  8960. for i = 0,3,0.1 do
  8961. 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)
  8962. end
  8963. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8964. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8965. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8966. hum.WalkSpeed = storehumanoidWS
  8967. attack = false
  8968. ModeOfGlitch = 66
  8969. storehumanoidWS = 16
  8970. hum.WalkSpeed = 16
  8971. rainbowmode = false
  8972. chaosmode = false
  8973. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  8974. MAINRUINCOLOR = BrickColor.new("Really black")
  8975. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8976. for i = 0,2,0.1 do
  8977. swait()
  8978. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8979. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8980. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8981. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8982. 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)
  8983. 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)
  8984. end
  8985. end
  8986.  
  8987. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  8988. hum.WalkSpeed = 0
  8989. attack = true
  8990. for i = 0,1,0.1 do
  8991. swait()
  8992. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8993. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8994. 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)
  8995. 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)
  8996. 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)
  8997. 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)
  8998. end
  8999. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  9000. for i = 0, 49 do
  9001. 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)
  9002. end
  9003. for i = 0,3,0.1 do
  9004. 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)
  9005. end
  9006. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  9007. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  9008. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  9009. hum.WalkSpeed = storehumanoidWS
  9010. attack = false
  9011. ModeOfGlitch = 13
  9012. storehumanoidWS = 45
  9013. hum.WalkSpeed = 45
  9014. rainbowmode = false
  9015. chaosmode = false
  9016. RecolorTextAndRename("Judicial Guest",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  9017. newTheme("rbxassetid://190845741",0,1,1.35)
  9018. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  9019. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9020. for i = 0,2,0.1 do
  9021. swait()
  9022. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9023. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9024. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9025. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9026. 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)
  9027. 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)
  9028. end
  9029. end
  9030. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  9031. ModeOfGlitch = 1002
  9032. storehumanoidWS = 45
  9033. hum.WalkSpeed = 45
  9034. rainbowmode = false
  9035. chaosmode = false
  9036. RecolorTextAndRename("Pixeled Guest",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  9037. newTheme("rbxassetid://2027652726",0,1,0.85)
  9038. MAINRUINCOLOR = BrickColor.new("Dark blue")
  9039. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9040. end
  9041. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  9042. ModeOfGlitch = 1003
  9043. storehumanoidWS = 90
  9044. hum.WalkSpeed = 90
  9045. rainbowmode = false
  9046. chaosmode = false
  9047. RecolorTextAndRename("A.s.c.e.n.d.e.d G.u.e.s.t",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  9048. newTheme("rbxassetid://257453119",0,1,0.85)
  9049. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  9050. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9051. end
  9052. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  9053. ModeOfGlitch = 1264532489
  9054. storehumanoidWS = 175
  9055. hum.WalkSpeed = 175
  9056. rainbowmode = false
  9057. chaosmode = false
  9058. RecolorTextAndRename("Fallenx Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  9059. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  9060. MAINRUINCOLOR = BrickColor.new("Pastel green")
  9061. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9062. end
  9063. if k == "l" and mutedtog == false then
  9064. mutedtog = true
  9065. kan.Volume = 0.85
  9066. elseif k == "l" and mutedtog == true then
  9067. mutedtog = false
  9068. kan.Volume = 0.85
  9069. end
  9070. if k == "p" and toggleTag == false then
  9071. toggleTag = true
  9072. modet.TextTransparency = 0
  9073. modet.TextStrokeTransparency = 0
  9074. elseif k == "p" and toggleTag == true then
  9075. toggleTag = false
  9076. modet.TextTransparency = 1
  9077. modet.TextStrokeTransparency = 1
  9078. end
  9079. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9080. ExtinctiveHeartbreak()
  9081. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9082. HeavenlyDisk()
  9083. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9084. DualGleamingBeam()
  9085. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9086. BanishingOrb()
  9087. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  9088. hugg()
  9089. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  9090. cutesigh()
  9091. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  9092. Counter()
  9093. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  9094. superjump()
  9095. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9096. dragin()
  9097. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9098. UniversalCollapse()
  9099. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9100. PureBomb()
  9101. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9102. Beams()
  9103. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9104. BeamOfDeath()
  9105. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  9106. THE_TRUE_POWER_OF_VIOLENCE()
  9107. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  9108. GleamingBeam()
  9109. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9110. ViolentRing()
  9111. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9112. CorruptionEvent()
  9113. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9114. CorruptBlink()
  9115. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9116. scattercorrupt()
  9117. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  9118. shytaunty()
  9119. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9120. RapidBurst()
  9121. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9122. InsaneDrop()
  9123. wait(2)
  9124. ChaosEND()
  9125. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9126. ChaosEND()
  9127. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9128. CyberSlash()
  9129. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9130. smiter()
  9131. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  9132. SpeedDrop()
  9133. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  9134. --DivineLights()
  9135. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9136. DivineBlast()
  9137. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9138. EquinoxOrbs()
  9139. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9140. yinyangi()
  9141. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9142. FallenOrbs()
  9143. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  9144. StarfallEX()
  9145. end
  9146. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9147. FallenDEMISE()
  9148. end
  9149. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9150. EndGROUND()
  9151. end
  9152. end)
  9153.  
  9154. coroutine.resume(coroutine.create(function()
  9155. while true do
  9156. swait()
  9157. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9158. 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)
  9159. end
  9160. if ModeOfGlitch == 5555 then
  9161. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
  9162. end
  9163. end
  9164. end))
  9165. --[[coroutine.resume(coroutine.create(function()
  9166. while true do
  9167. swait(2)
  9168. if chaosmode == true then
  9169. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9170. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9171. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9172. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9173. for i, v in pairs(mw1:GetChildren()) do
  9174. if v:IsA("Part") then
  9175. v.Transparency = 0.75
  9176. v.BrickColor = BrickColor.random()
  9177. v.Material = "Neon"
  9178. end
  9179. end
  9180. for i, v in pairs(m2:GetChildren()) do
  9181. if v:IsA("Part") then
  9182. v.BrickColor = BrickColor.random()
  9183. v.Material = "Neon"
  9184. end
  9185. end
  9186. end
  9187. end
  9188. end))]]
  9189.  
  9190.  
  9191.  
  9192. ff = Instance.new("ForceField",char)
  9193. ff.Visible = false
  9194. hum.Name = "Base"
  9195. hum.MaxHealth = 1.0E298
  9196. hum.Health = 1.0E298
  9197. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9198. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9199. hum.MaxHealth = 1.0E298
  9200. hum.Health = 1.0E298
  9201. end
  9202. end)
  9203.  
  9204. local Hair = Instance.new("Part", char)
  9205. Hair.Name = "Hair"
  9206. Hair.CanCollide = false
  9207. Hair.BrickColor = BrickColor.new("Institutional white")
  9208. Hair.Transparency = 0
  9209. Hair.Material = "Plastic"
  9210. Hair.Size = Vector3.new(1, 1, 2)
  9211. Hair.TopSurface = Enum.SurfaceType.Smooth
  9212. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9213.  
  9214.  
  9215. local bguis = Instance.new("BillboardGui",tors)
  9216. bguis.Size = UDim2.new(25, 0, 25, 0)
  9217. local imgca = Instance.new("ImageLabel",bguis)
  9218. imgca.BackgroundTransparency = 1
  9219. imgca.ImageTransparency = 1
  9220. imgca.Size = UDim2.new(1,0,1,0)
  9221. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9222. imgca.ImageColor3 = Color3.new(0,0,0)
  9223.  
  9224.  
  9225. local bguis2 = Instance.new("BillboardGui",tors)
  9226. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9227. local imgca2 = Instance.new("ImageLabel",bguis)
  9228. imgca2.BackgroundTransparency = 1
  9229. imgca2.ImageTransparency = 1
  9230. imgca2.Size = UDim2.new(1,0,1,0)
  9231. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9232. imgca2.ImageColor3 = Color3.new(0,0,0)
  9233.  
  9234.  
  9235.  
  9236. idleanim=.4
  9237. while true do
  9238. if mutedtog == false then
  9239. kan.Volume = currentVol
  9240. elseif mutedtog == true then
  9241. kan.Volume = 0
  9242. end
  9243. kan.PlaybackSpeed = currentPitch
  9244. kan.Pitch = currentPitch
  9245. kan.SoundId = currentThemePlaying
  9246. kan.Looped = true
  9247. kan.Parent = char
  9248. kan:Resume()
  9249. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9250. imgca.ImageTransparency = 1
  9251. imgca2.ImageTransparency = 1
  9252. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9253. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9254. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9255. elseif ModeOfGlitch == 13 then
  9256. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9257. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9258. end
  9259. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9260. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9261. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9262. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9263. coroutine.resume(coroutine.create(function()
  9264. if chaosmode == true then
  9265. for i, v in pairs(mw1:GetChildren()) do
  9266. if v:IsA("Part") then
  9267. v.Transparency = 0
  9268. v.BrickColor = BrickColor.random()
  9269. v.Material = "Neon"
  9270. end
  9271. end
  9272. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9273. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9274. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9275. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9276. end
  9277. end))
  9278. coroutine.resume(coroutine.create(function()
  9279. if ModeOfGlitch == 66 then
  9280. for i, v in pairs(m:GetChildren()) do
  9281. if v:IsA("Part") then
  9282. v.Transparency = 0
  9283. v.BrickColor = BrickColor.random()
  9284. v.Material = "Neon"
  9285. end
  9286. end
  9287. for i, v in pairs(m2:GetChildren()) do
  9288. if v:IsA("Part") then
  9289. v.Transparency = 0
  9290. v.BrickColor = BrickColor.random()
  9291. v.Material = "Neon"
  9292. end
  9293. end
  9294. for i, v in pairs(mw1:GetChildren()) do
  9295. if v:IsA("Part") then
  9296. v.Transparency = 0
  9297. v.BrickColor = BrickColor.random()
  9298. v.Material = "Neon"
  9299. end
  9300. end
  9301. for i, v in pairs(extrawingmod1:GetChildren()) do
  9302. if v:IsA("Part") then
  9303. v.Transparency = 0.5
  9304. v.BrickColor = BrickColor.random()
  9305. v.Material = "Neon"
  9306. end
  9307. end
  9308. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9309. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9310. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9311. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9312. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9313. end
  9314. end))
  9315.  
  9316. coroutine.resume(coroutine.create(function()
  9317. if ModeOfGlitch == 66 then
  9318. RecolorTextAndRename("Tyrant",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9319. end
  9320. end))
  9321.  
  9322. if chaosmode == false then
  9323. modet.Position = UDim2.new(0,0,0,0)
  9324. modet.Rotation = -5 * math.cos(sine / 32)
  9325. techc.Rotation = techc.Rotation + 1
  9326. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9327. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9328. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9329. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9330. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9331. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9332. else
  9333. techc.Rotation = techc.Rotation + 1
  9334. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9335. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9336. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9337. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9338. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9339. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9340. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9341. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9342. end
  9343. CameraManager()
  9344. swait()
  9345. 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)
  9346. 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)
  9347. 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)
  9348. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  9349. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  9350. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  9351. 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)
  9352. 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)
  9353. 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)
  9354. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  9355. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  9356. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  9357. sine = sine + change
  9358. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9359. local velderp=RootPart.Velocity.y
  9360. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9361. coroutine.resume(coroutine.create(function()
  9362. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1003 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 or ModeOfGlitch == 13 then
  9363. if hitfloor ~= nil then
  9364. 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"))
  9365. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9366. 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)
  9367. end
  9368. end
  9369. end
  9370. end))
  9371. if equipped==true or equipped==false then
  9372. if attack==false then
  9373. idle=idle+1
  9374. else
  9375. idle=0
  9376. end
  9377. if idle>=500 then
  9378. if attack==false then
  9379. --Sheath()
  9380. end
  9381. end
  9382. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9383. Anim="Jump"
  9384. if attack==false then
  9385. 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)
  9386. 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)
  9387. 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)
  9388. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9389. 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)
  9390. 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)
  9391. end
  9392. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9393. Anim="Fall"
  9394. if attack==false then
  9395. 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)
  9396. 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)
  9397. 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)
  9398. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9399. 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)
  9400. 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)
  9401. end
  9402. elseif torvel<1 and hitfloor~=nil then
  9403. Anim="Idle"
  9404. if attack==false then
  9405. if ModeOfGlitch == 1 then
  9406. local snap = math.random(1,10)
  9407. if snap == 1 then
  9408. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 + math.random(-5,5)),math.rad(math.random(-5,5)),math.rad(22 + math.random(-5,5))),1)
  9409. end
  9410. 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)
  9411. 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)
  9412. 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)
  9413. 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)
  9414. 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)
  9415. 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)
  9416. elseif ModeOfGlitch == 2 then
  9417. 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)
  9418. 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)
  9419. 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)
  9420. 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)
  9421. 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)
  9422. 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)
  9423. elseif ModeOfGlitch == 2 then
  9424. RH.C0=clerp(RH.C0,cf(1,-0.5 - 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)
  9425. LH.C0=clerp(LH.C0,cf(-1,-0.5 - 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)
  9426. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),-1 + 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)
  9427. 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)
  9428. 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)
  9429. 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)
  9430. elseif ModeOfGlitch == 50 then
  9431. 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 + 2 * math.cos(sine / 43)),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  9432. 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(-1.5),math.rad(0),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  9433. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(10 - 2 * math.cos(sine / 43))),.1)
  9434. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 - 2 * math.cos(sine / 47)),math.rad(-10 + 2 * math.cos(sine / 43))),.1)
  9435. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 48)),math.rad(-20 - 4 * math.cos(sine / 53)),math.rad(15 - 3 * math.cos(sine / 38))),.1)
  9436. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(-10 + 2 * math.cos(sine / 45)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 39))),.1)
  9437. elseif ModeOfGlitch == 5555 then --5555
  9438. 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)
  9439. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  9440. 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)
  9441. 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)
  9442. 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)
  9443. 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)
  9444. elseif ModeOfGlitch == 1002 then
  9445. 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)
  9446. 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)
  9447. 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)
  9448. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  9449. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  9450. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9451. elseif ModeOfGlitch == 12 then
  9452. RH.C0=clerp(RH.C0,cf(1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-3 + 2 * math.cos(sine / 40)),math.rad(-15),math.rad(0 + 2 * math.cos(sine / 20))),.1)
  9453. LH.C0=clerp(LH.C0,cf(-1,-1 + 0.05 * math.cos(sine / 20) - 0.02 * math.cos(sine / 40),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 - 2 * math.cos(sine / 40)),math.rad(1),math.rad(0 - 2 * math.cos(sine / 20))),.1)
  9454. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.02 * math.cos(sine / 40),0 - 0.02 * math.cos(sine / 40),-0.05 - 0.05 * math.cos(sine / 20))*angles(math.rad(0 + 2 * math.cos(sine / 20)),math.rad(0 + 2 * math.cos(sine / 40)),math.rad(30 + 3 * math.cos(sine / 40))),.1)
  9455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2),math.rad(0 - 7 * math.cos(sine / 40)),math.rad(-30 - 3 * math.cos(sine / 40))),.1)
  9456. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-6 + 5 * math.cos(sine / 26)),math.rad(-10 - 6 * math.cos(sine / 24)),math.rad(13 - 5 * math.cos(sine / 34))),.1)
  9457. LW.C0=clerp(LW.C0,cf(-1.4,0.5 + 0.05 * math.cos(sine / 28),0.1)*angles(math.rad(-13 - 1 * math.cos(sine / 25)),math.rad(10 + 2 * math.cos(sine / 24)),math.rad(10 + 2 * math.cos(sine / 34))),.1)
  9458. elseif ModeOfGlitch == 3 then
  9459. local snap = math.random(1,32)
  9460. if snap == 1 then
  9461. 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)
  9462. end
  9463. 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)
  9464. 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)
  9465. 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)
  9466. 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)
  9467. 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)
  9468. 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)
  9469. elseif ModeOfGlitch == 4 then
  9470. local snap = math.random(1,5)
  9471. if snap == 1 then
  9472. 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)
  9473. 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)
  9474. 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)
  9475. end
  9476. 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)
  9477. 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)
  9478. 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)
  9479. 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)
  9480. 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)
  9481. 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)
  9482. elseif ModeOfGlitch == 66 then
  9483. local snap = math.random(1,2)
  9484. if snap == 1 then
  9485. 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)
  9486. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 + 5 * math.cos(sine / 74) + math.random(-1,1)),math.rad(1 - 3 * math.cos(sine / 53) + math.random(-1,1)),math.rad(-15 + 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9487. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 0.025 * math.cos(sine / 45),0)*angles(math.rad(165 - 3 * math.cos(sine / 73) + math.random(-1,1)),math.rad(2 - 1 * math.cos(sine / 55) + math.random(-1,1)),math.rad(15 - 3 * math.cos(sine / 45) + math.random(-1,1))),.6)
  9488. end
  9489. RH.C0=clerp(RH.C0,cf(1,0.35 - 0.05 * math.cos(sine / 32),-0.7)*angles(math.rad(-20),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)
  9490. LH.C0=clerp(LH.C0,cf(-1,-1.125 - 0.05 * math.cos(sine / 32),-0.6)*angles(math.rad(-105),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)
  9491. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-1.3 + 0.05 * math.cos(sine / 32))*angles(math.rad(7.5 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  9492. 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)
  9493. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 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(-15 + 3 * math.cos(sine / 45))),.1)
  9494. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 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(15 - 3 * math.cos(sine / 45))),.1)
  9495. elseif ModeOfGlitch == 5 then
  9496. 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)
  9497. 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)
  9498. 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)
  9499. 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)
  9500. 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)
  9501. 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)
  9502. elseif ModeOfGlitch == 6 then
  9503. 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)
  9504. 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)
  9505. 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)
  9506. 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)
  9507. 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)
  9508. 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)
  9509. elseif ModeOfGlitch == 13 then
  9510. 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)
  9511. 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)
  9512. 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)
  9513. 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)
  9514. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 1 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
  9515. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 3 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
  9516. elseif ModeOfGlitch == 8 then
  9517. 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)
  9518. 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)
  9519. 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)
  9520. 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)
  9521. 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)
  9522. 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)
  9523. elseif ModeOfGlitch == 9 then
  9524. 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)
  9525. 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))
  9526. 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)
  9527. 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)
  9528. 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)
  9529. 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)
  9530. 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)
  9531. 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)
  9532. elseif ModeOfGlitch == 1003 then
  9533. 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)
  9534. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  9535. 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)
  9536. 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)
  9537. 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)
  9538. 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)
  9539.  
  9540. elseif ModeOfGlitch == 8889 then
  9541. 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)
  9542. 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)
  9543. 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)
  9544. 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)
  9545. 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)
  9546. 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)
  9547. elseif ModeOfGlitch == 1264532489 then
  9548. 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)
  9549. 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)
  9550. 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)
  9551. 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)
  9552. 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)
  9553. 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)
  9554. 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)
  9555. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  9556. 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)
  9557. 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)
  9558. 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)
  9559. 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)
  9560. 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)
  9561. 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)
  9562. elseif ModeOfGlitch == 4367677813 then
  9563. 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)
  9564. 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)
  9565. 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)
  9566. 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)
  9567. 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)
  9568. 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)
  9569. elseif ModeOfGlitch == 55469696922 then --5555
  9570. 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)
  9571. 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)
  9572. 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(-13 - 2 * math.cos(sine / 32)),math.rad(3),math.rad(10 - 4 * math.cos(sine / 67))),.1)
  9573. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(23 - 8 * math.cos(sine / 37)),math.rad(-21 + 2 * math.cos(sine / 58)),math.rad(-10 + 2 * math.cos(sine / 53))),.1)
  9574. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),0.45)*angles(math.rad(-33 + 5 * math.cos(sine / 74)),math.rad(1 - 3 * math.cos(sine / 53)),math.rad(-33 + 14 * math.cos(sine / 45))),.1)
  9575. 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)
  9576. elseif ModeOfGlitch == 999999999556 then
  9577. 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)
  9578. 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)
  9579. 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(17)),.1)
  9580. 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)
  9581. 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)
  9582. 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)
  9583. end
  9584. end
  9585. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9586. Anim="Walk"
  9587. if attack==false and ModeOfGlitch ~= 66 then
  9588. 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)
  9589. 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)
  9590. 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)
  9591. 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)
  9592. 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)
  9593. 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)
  9594. elseif attack==false and ModeOfGlitch == 66 then
  9595. 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)
  9596. 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)
  9597. 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)
  9598. 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)
  9599. RW.C0=clerp(RW.C0,cf(1.35,0.5 + 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(-15 + 3 * math.cos(sine / 45))),.1)
  9600. LW.C0=clerp(LW.C0,cf(-1.35,0.5 + 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(15 - 3 * math.cos(sine / 45))),.1)
  9601. end
  9602. elseif torvel>=22 and hitfloor~=nil then
  9603. Anim="Run"
  9604. if attack==false then
  9605. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 13 and ModeOfGlitch ~= 5555 and ModeOfGlitch ~= 1003 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 then
  9606. 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)
  9607. 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)
  9608. 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)
  9609. 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)
  9610. 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)
  9611. 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)
  9612. if ModeOfGlitch == 12 then
  9613. 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 + 45 * math.cos(sine / 8))),.1)
  9614. 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 + 45 * math.cos(sine / 8))),.1)
  9615. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.05,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(1.5 + 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)
  9616. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5 - 5 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 8))),.1)
  9617. 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)
  9618. 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)
  9619. end
  9620. if ModeOfGlitch == 9 then
  9621. 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)
  9622. 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))
  9623. 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)
  9624. end
  9625. elseif ModeOfGlitch == 6 or ModeOfGlitch == 1003 or ModeOfGlitch == 5555 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  9626. 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)
  9627. 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)
  9628. 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)
  9629. 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)
  9630. 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)
  9631. 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)
  9632. elseif ModeOfGlitch == 13 then
  9633. 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)
  9634. 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)
  9635. 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(40),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  9636. 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)
  9637. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.025 * math.cos(sine / 45),-0.35)*angles(math.rad(6 + 3 * math.cos(sine / 74)),math.rad(-14 - 1 * math.cos(sine / 53)),math.rad(-86 + 5 * math.cos(sine / 32))),.1)
  9638. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.025 * math.cos(sine / 45),-0.55)*angles(math.rad(-20 - 5 * math.cos(sine / 73)),math.rad(23 - 2.25 * math.cos(sine / 55)),math.rad(86 - 6 * math.cos(sine / 33))),.1)
  9639. end
  9640. end
  9641. end
  9642. end
  9643. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement