Advertisement
AxeuerAlt

Untitled

Nov 17th, 2018
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 465.66 KB | None | 0 0
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,game,owner = owner,game
  3. local RealPlayer = Player
  4. do
  5. print("FE Compatibility code by Mokiros")
  6. local rp = RealPlayer
  7. script.Parent = rp.Character
  8.  
  9. --RemoteEvent for communicating
  10. local Event = Instance.new("RemoteEvent")
  11. Event.Name = "UserInput_Event"
  12.  
  13. --Fake event to make stuff like Mouse.KeyDown work
  14. local function fakeEvent()
  15. local t = {_fakeEvent=true,Functions={},Connect=function(self,f)table.insert(self.Functions,f) end}
  16. t.connect = t.Connect
  17. return t
  18. end
  19.  
  20. --Creating fake input objects with fake variables
  21. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  22. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  23. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  24. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  25. end}
  26. --Merged 2 functions into one by checking amount of arguments
  27. CAS.UnbindAction = CAS.BindAction
  28.  
  29. --This function will trigger the events that have been :Connect()'ed
  30. local function te(self,ev,...)
  31. local t = m[ev]
  32. if t and t._fakeEvent then
  33. for _,f in pairs(t.Functions) do
  34. f(...)
  35. end
  36. end
  37. end
  38. m.TrigEvent = te
  39. UIS.TrigEvent = te
  40.  
  41. Event.OnServerEvent:Connect(function(plr,io)
  42. if plr~=rp then return end
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. if not io.isMouse then
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local Mouse = Player:GetMouse()
  66. local UIS = game:GetService("UserInputService")
  67. local input = function(io,a)
  68. if a then return end
  69. --Since InputObject is a client-side instance, we create and pass table instead
  70. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState,Hit=Mouse.Hit,Target=Mouse.Target})
  71. end
  72. UIS.InputBegan:Connect(input)
  73. UIS.InputEnded:Connect(input)
  74.  
  75. local h,t
  76. --Give the server mouse data 30 times every second, but only if the values changed
  77. --If player is not moving their mouse, client won't fire events
  78. while wait(1/30) do
  79. if h~=Mouse.Hit or t~=Mouse.Target then
  80. h,t=Mouse.Hit,Mouse.Target
  81. Event:FireServer({isMouse=true,Target=t,Hit=h})
  82. end
  83. end]==],Player.Character)
  84.  
  85. ----Sandboxed game object that allows the usage of client-side methods and services
  86. --Real game object
  87. local _rg = game
  88.  
  89. --Metatable for fake service
  90. local fsmt = {
  91. __index = function(self,k)
  92. local s = rawget(self,"_RealService")
  93. if s then return s[k] end
  94. end,
  95. __newindex = function(self,k,v)
  96. local s = rawget(self,"_RealService")
  97. if s then s[k]=v end
  98. end,
  99. __call = function(self,...)
  100. local s = rawget(self,"_RealService")
  101. if s then return s(...) end
  102. end
  103. }
  104. local function FakeService(t,RealService)
  105. t._RealService = typeof(RealService)=="string" and _rg:GetService(RealService) or RealService
  106. return setmetatable(t,fsmt)
  107. end
  108.  
  109. --Fake game object
  110. local g = {
  111. GetService = function(self,s)
  112. return self[s]
  113. end,
  114. Players = FakeService({
  115. LocalPlayer = FakeService({GetMouse=function(self)return m end},Player)
  116. },"Players"),
  117. UserInputService = FakeService(UIS,"UserInputService"),
  118. ContextActionService = FakeService(CAS,"ContextActionService"),
  119. }
  120. rawset(g.Players,"localPlayer",g.Players.LocalPlayer)
  121. g.service = g.GetService
  122.  
  123. setmetatable(g,{
  124. __index=function(self,s)
  125. return _rg:GetService(s) or typeof(_rg[s])=="function"
  126. and function(_,...)return _rg[s](_rg,...)end or _rg[s]
  127. end,
  128. __newindex = fsmt.__newindex,
  129. __call = fsmt.__call
  130. })
  131. --Changing owner to fake player object to support owner:GetMouse()
  132. game,owner = g,g.Players.LocalPlayer
  133. end
  134.  
  135.  
  136. wait(0.2)
  137.  
  138. game.StarterGui:SetCore('SendNotification', {
  139. Title = " SpectrumGlitcher v5 AWAKENED Loaded. ";
  140. Text = " Please Enjoy :)! ";
  141. duration = 1000000000000000;
  142. })
  143. ------------- ORIGINAL WIELDER OC: Velnorum
  144. print([[Icons:
  145. ! = New
  146. ? = Spoilers
  147. * = Exclusivity
  148. C = Changes
  149.  
  150. ]])
  151. warn([[V 7.5 Update Log:
  152. C: Changed everything to guest xd
  153. ]])
  154. --- its obs smooth af do not touch
  155. ---- Sources and functions might be taken from others
  156. plr = owner
  157. char = plr.Character
  158. hum = char.Humanoid
  159. local cam = game.Workspace.CurrentCamera
  160. Camera = cam
  161. mouse = plr:GetMouse()
  162. local CamInterrupt = false
  163. local TwoD = false
  164. local TargetInfo = {nil, nil}
  165. cam.CameraType = "Custom"
  166. t = char.Torso
  167. h = char.Head
  168. ra = char["Right Arm"]
  169. la = char["Left Arm"]
  170. rl = char["Right Leg"]
  171. ll = char["Left Leg"]
  172. tors = char.Torso
  173. lleg = char["Left Leg"]
  174. root = char.HumanoidRootPart
  175. hed = char.Head
  176. rleg = char["Right Leg"]
  177. rarm = char["Right Arm"]
  178. larm = char["Left Arm"]
  179. radian = math.rad
  180. random = math.random
  181. Vec3 = Vector3.new
  182. Inst = Instance.new
  183. cFrame = CFrame.new
  184. Euler = CFrame.fromEulerAnglesXYZ
  185. vt = Vector3.new
  186. bc = BrickColor.new
  187. br = BrickColor.random
  188. it = Instance.new
  189. cf = CFrame.new
  190. local Player_Size = 0
  191. cam = game.Workspace.CurrentCamera
  192. CF = CFrame.new
  193. angles = CFrame.Angles
  194. attack = false
  195. Euler = CFrame.fromEulerAnglesXYZ
  196. Rad = math.rad
  197. IT = Instance.new
  198. BrickC = BrickColor.new
  199. Cos = math.cos
  200. Acos = math.acos
  201. Sin = math.sin
  202. Asin = math.asin
  203. Abs = math.abs
  204. Mrandom = math.random
  205. Floor = math.floor
  206. IT = Instance.new
  207. CF = CFrame.new
  208. VT = Vector3.new
  209. RAD = math.rad
  210. C3 = Color3.new
  211. UD2 = UDim2.new
  212. BRICKC = BrickColor.new
  213. ANGLES = CFrame.Angles
  214. EULER = CFrame.fromEulerAnglesXYZ
  215. COS = math.cos
  216. ACOS = math.acos
  217. SIN = math.sin
  218. ASIN = math.asin
  219. ABS = math.abs
  220. MRANDOM = math.random
  221. FLOOR = math.floor
  222. local SINE = 0
  223.  
  224. local Booleans = {
  225. CamFollow = true,
  226. GyroUse = true
  227. }
  228.  
  229. function lerp(object, newCFrame, alpha)
  230. return object:lerp(newCFrame, alpha)
  231. end
  232.  
  233. local Directer = Inst("BodyGyro", root)
  234. Directer.MaxTorque = Vec3(0, 0, 0)
  235. Directer.P = 600000
  236. local CPart = Inst("Part")
  237. CPart.Anchored = true
  238. CPart.CanCollide = false
  239. CPart.Locked = true
  240. CPart.Transparency = 1
  241.  
  242. local rainbowmode = false
  243. local chaosmode = false
  244.  
  245. local kan = Instance.new("Sound",tors)
  246. kan.Volume = 0.85
  247. kan.TimePosition = 0
  248. kan.PlaybackSpeed = 1
  249. kan.Pitch = 1
  250. kan.SoundId = "rbxassetid://1255569288"
  251. kan.Name = "wrecked"
  252. kan.Looped = true
  253. kan:Play()
  254.  
  255. local currentThemePlaying = kan.SoundId
  256. local currentPitch = kan.Pitch
  257. local currentVol = kan.Volume
  258. function newTheme(ID,timepos,pitch,vol)
  259. local kanz = kan
  260. --kanz:Stop()
  261. kanz.Volume = vol
  262. --kanz.TimePosition = timepos
  263. kanz.PlaybackSpeed = pitch
  264. kanz.Pitch = pitch
  265. kanz.SoundId = ID
  266. kanz.Name = "wrecked"
  267. kanz.Looped = true
  268. currentThemePlaying = kanz.SoundId
  269. currentVol = kanz.Volume
  270. currentPitch = kanz.Pitch
  271. --kanz:Play()
  272. --coroutine.resume(coroutine.create(function()
  273. --wait(0.05)
  274. --end))
  275. end
  276.  
  277. function newThemeCust(ID,timepos,pitch,vol)
  278. local kanz = kan
  279. kanz:Stop()
  280. kanz.Volume = vol
  281. kanz.TimePosition = timepos
  282. kanz.PlaybackSpeed = pitch
  283. kanz.Pitch = pitch
  284. kanz.SoundId = ID
  285. kanz.Name = "wrecked"
  286. kanz.Looped = true
  287. currentThemePlaying = kanz.SoundId
  288. currentVol = kanz.Volume
  289. currentPitch = kanz.Pitch
  290. kanz:Play()
  291. coroutine.resume(coroutine.create(function()
  292. wait(0.05)
  293. end))
  294. end
  295.  
  296. local mutedtog = false
  297.  
  298. function CameraEnshaking(Length,Intensity)
  299. coroutine.resume(coroutine.create(function()
  300. local intensity = 1*Intensity
  301. local rotM = 0.01*Intensity
  302. for i = 0, Length, 0.1 do
  303. swait()
  304. intensity = intensity - 0.05*Intensity/Length
  305. rotM = rotM - 0.0005*Intensity/Length
  306. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  307. 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)
  308. end
  309. Humanoid.CameraOffset = Vec3(0, 0, 0)
  310. end))
  311. end
  312. CamShake=function(Part,Distan,Power,Times)
  313. local de=Part.Position
  314. for i,v in pairs(workspace:children()) do
  315. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  316. for _,c in pairs(v:children()) do
  317. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  318. local Noob=v.Humanoid
  319. if Noob~=nil then
  320. coroutine.resume(coroutine.create(function()
  321. FV = Instance.new("BoolValue", Noob)
  322. FV.Name = "CameraShake"
  323. for ShakeNum=1,Times do
  324. swait()
  325. local ef=Power
  326. if ef>=1 then
  327. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  328. else
  329. ef=Power*10
  330. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  331. end
  332. end
  333. Humanoid.CameraOffset = Vector3.new(0,0,0)
  334. FV:Destroy()
  335. end))
  336. CameraShake(Times, Power, Noob)
  337. end
  338. end
  339. end
  340. end
  341. end
  342. end
  343.  
  344. local toggleTag = true
  345. local bilguit = Instance.new("BillboardGui", hed)
  346. bilguit.Adornee = nil
  347. bilguit.Name = "ModeName"
  348. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  349. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  350. local modet = Instance.new("TextLabel", bilguit)
  351. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  352. modet.FontSize = "Size8"
  353. modet.TextScaled = true
  354. modet.TextTransparency = 0
  355. modet.BackgroundTransparency = 1
  356. modet.TextTransparency = 0
  357. modet.TextStrokeTransparency = 0
  358. modet.Font = "Antique"
  359. modet.TextStrokeColor3 = Color3.new(1,0,0)
  360. modet.TextColor3 = Color3.new(0.25,0,0)
  361. modet.Text = "Hopeless Guest"
  362.  
  363.  
  364. function chatfunc(text,color,typet,font,timeex)
  365. local chat = coroutine.wrap(function()
  366. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  367. Character:FindFirstChild("TalkingBillBoard"):destroy()
  368. end
  369. local naeeym2 = Instance.new("BillboardGui",Character)
  370. naeeym2.Size = UDim2.new(0,100,0,40)
  371. naeeym2.StudsOffset = Vector3.new(0,3,0)
  372. naeeym2.Adornee = Character.Head
  373. naeeym2.Name = "TalkingBillBoard"
  374. local tecks2 = Instance.new("TextLabel",naeeym2)
  375. tecks2.BackgroundTransparency = 1
  376. tecks2.BorderSizePixel = 0
  377. tecks2.Text = ""
  378. tecks2.Font = font
  379. tecks2.TextSize = 30
  380. tecks2.TextStrokeTransparency = 0
  381. tecks2.TextColor3 = color
  382. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  383. tecks2.Size = UDim2.new(1,0,0.5,0)
  384. local tecks3 = Instance.new("TextLabel",naeeym2)
  385. tecks3.BackgroundTransparency = 1
  386. tecks3.BorderSizePixel = 0
  387. tecks3.Text = ""
  388. tecks3.Font = font
  389. tecks3.TextSize = 30
  390. tecks3.TextStrokeTransparency = 0
  391. if typet == "Inverted" then
  392. tecks3.TextColor3 = Color3.new(0,0,0)
  393. tecks3.TextStrokeColor3 = color
  394. elseif typet == "Normal" then
  395. tecks3.TextColor3 = color
  396. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  397. end
  398. tecks3.Size = UDim2.new(1,0,0.5,0)
  399. coroutine.resume(coroutine.create(function()
  400. while true do
  401. swait(1)
  402. if chaosmode == true then
  403. tecks2.TextColor3 = BrickColor.random().Color
  404. tecks3.TextStrokeColor3 = BrickColor.random().Color
  405. end
  406. end
  407. end))
  408. modet.TextTransparency = modet.TextTransparency + 1
  409. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  410. for i = 0, 74*timeex do
  411. swait()
  412. modet.TextTransparency = 1
  413. modet.TextStrokeTransparency = 1
  414. tecks2.Text = text
  415. tecks3.Text = text
  416. end
  417. local randomrot = math.random(1,2)
  418. if randomrot == 1 then
  419. for i = 1, 50 do
  420. swait()
  421. tecks2.Text = text
  422. tecks3.Text = text
  423. modet.TextTransparency = modet.TextTransparency - .02
  424. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  425. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  426. tecks2.TextTransparency = tecks2.TextTransparency + .04
  427. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  428. tecks3.TextTransparency = tecks2.TextTransparency + .04
  429. end
  430. elseif randomrot == 2 then
  431. for i = 1, 50 do
  432. swait()
  433. tecks2.Text = text
  434. tecks3.Text = text
  435. modet.TextTransparency = modet.TextTransparency - .02
  436. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  437. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  438. tecks2.TextTransparency = tecks2.TextTransparency + .04
  439. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  440. tecks3.TextTransparency = tecks2.TextTransparency + .04
  441. end
  442. end
  443. modet.TextTransparency = 0
  444. modet.TextStrokeTransparency = 0
  445. if toggleTag == false then
  446. modet.TextTransparency = 1
  447. modet.TextStrokeTransparency = 1
  448. end
  449. naeeym2:Destroy()
  450. end)
  451. chat()
  452. end
  453.  
  454. function bosschatfunc(text,color,watval)
  455. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  456. coroutine.resume(coroutine.create(function()
  457. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  458. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  459. end
  460. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  461. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  462. scrg.Name = "Dialog"
  463. local txtlb = Instance.new("TextLabel",scrg)
  464. txtlb.Text = ""
  465. txtlb.Font = "Bodoni"
  466. txtlb.TextColor3 = Color3.new(0,0,0)
  467. txtlb.TextStrokeTransparency = 0
  468. txtlb.BackgroundTransparency = 0.75
  469. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  470. txtlb.TextStrokeColor3 = color
  471. txtlb.TextScaled = true
  472. txtlb.Size = UDim2.new(1,0,0.25,0)
  473. txtlb.TextXAlignment = "Left"
  474. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  475. local txtlb2 = Instance.new("TextLabel",scrg)
  476. txtlb2.Text = plr.Name.." The Guest:"
  477. txtlb2.Font = "Antique"
  478. txtlb2.TextColor3 = Color3.new(0,0,0)
  479. txtlb2.TextStrokeTransparency = 0
  480. txtlb2.BackgroundTransparency = 1
  481. txtlb2.TextStrokeColor3 = color
  482. txtlb2.TextSize = 40
  483. txtlb2.Size = UDim2.new(1,0,0.25,0)
  484. txtlb2.TextXAlignment = "Left"
  485. txtlb2.Position = UDim2.new(0,0,1,0)
  486. local fvalen = 0.55
  487. local fval = -0.49
  488. coroutine.resume(coroutine.create(function()
  489. while true do
  490. swait()
  491. if chaosmode == true then
  492. txtlb.Rotation = math.random(-1,1)
  493. txtlb2.Rotation = math.random(-1,1)
  494. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  495. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  496. txtlb.TextStrokeColor3 = BrickColor.random().Color
  497. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  498. end
  499. end
  500. end))
  501. coroutine.resume(coroutine.create(function()
  502. while true do
  503. swait()
  504. if scrg.Parent ~= nil then
  505. fvalen = fvalen - 0.0001
  506. elseif scrg.Parent == nil then
  507. break
  508. end
  509. end
  510. end))
  511. local flol = 1.75
  512. local flil = 1.6
  513. coroutine.resume(coroutine.create(function()
  514. for i = 0, 9 do
  515. swait()
  516. fval = fval + 0.05
  517. flol = flol - 0.1
  518. flil = flil - 0.1
  519. txtlb.Text = ""
  520. txtlb.Position = UDim2.new(0,0,flol,0)
  521. txtlb2.Position = UDim2.new(0,0,flil,0)
  522. end
  523. txtlb.Text = text
  524. wait(watval)
  525. local valinc = 0
  526. for i = 0, 99 do
  527. swait()
  528. valinc = valinc + 0.0001
  529. flol = flol + valinc
  530. flil = flil + valinc
  531. txtlb.Rotation = txtlb.Rotation + valinc*20
  532. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  533. txtlb.Position = UDim2.new(0,0,flol,0)
  534. txtlb2.Position = UDim2.new(0,0,flil,0)
  535. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  536. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  537. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  538. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  539. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  540. end
  541. scrg:Destroy()
  542. end))
  543. end))
  544. end
  545. end
  546.  
  547.  
  548. local Create = LoadLibrary("RbxUtility").Create
  549.  
  550. CFuncs = {
  551. ["Part"] = {
  552. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  553. local Part = Create("Part"){
  554. Parent = Parent,
  555. Reflectance = Reflectance,
  556. Transparency = Transparency,
  557. CanCollide = false,
  558. Locked = true,
  559. BrickColor = BrickColor.new(tostring(BColor)),
  560. Name = Name,
  561. Size = Size,
  562. Material = Material,
  563. }
  564. RemoveOutlines(Part)
  565. return Part
  566. end;
  567. };
  568.  
  569. ["Mesh"] = {
  570. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  571. local Msh = Create(Mesh){
  572. Parent = Part,
  573. Offset = OffSet,
  574. Scale = Scale,
  575. }
  576. if Mesh == "SpecialMesh" then
  577. Msh.MeshType = MeshType
  578. Msh.MeshId = MeshId
  579. end
  580. return Msh
  581. end;
  582. };
  583.  
  584. ["Mesh"] = {
  585. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  586. local Msh = Create(Mesh){
  587. Parent = Part,
  588. Offset = OffSet,
  589. Scale = Scale,
  590. }
  591. if Mesh == "SpecialMesh" then
  592. Msh.MeshType = MeshType
  593. Msh.MeshId = MeshId
  594. end
  595. return Msh
  596. end;
  597. };
  598.  
  599. ["Weld"] = {
  600. Create = function(Parent, Part0, Part1, C0, C1)
  601. local Weld = Create("Weld"){
  602. Parent = Parent,
  603. Part0 = Part0,
  604. Part1 = Part1,
  605. C0 = C0,
  606. C1 = C1,
  607. }
  608. return Weld
  609. end;
  610. };
  611.  
  612. ["Sound"] = {
  613. Create = function(id, par, vol, pit)
  614. coroutine.resume(coroutine.create(function()
  615. local S = Create("Sound"){
  616. Volume = vol,
  617. Name = "EffectSoundo",
  618. Pitch = pit or 1,
  619. SoundId = id,
  620. Parent = par or workspace,
  621. }
  622. wait()
  623. S:play()
  624. game:GetService("Debris"):AddItem(S, 10)
  625. end))
  626. end;
  627. };
  628.  
  629. ["TimeSound"] = {
  630. Create = function(id, par, vol, pit, timepos)
  631. coroutine.resume(coroutine.create(function()
  632. local S = Create("Sound"){
  633. Volume = vol,
  634. Name = "EffectSoundo",
  635. Pitch = pit or 1,
  636. SoundId = id,
  637. TimePosition = timepos,
  638. Parent = par or workspace,
  639. }
  640. wait()
  641. S:play()
  642. game:GetService("Debris"):AddItem(S, 10)
  643. end))
  644. end;
  645. };
  646. ["EchoSound"] = {
  647. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  648. coroutine.resume(coroutine.create(function()
  649. local Sas = Create("Sound"){
  650. Volume = vol,
  651. Name = "EffectSoundo",
  652. Pitch = pit or 1,
  653. SoundId = id,
  654. TimePosition = timepos,
  655. Parent = par or workspace,
  656. }
  657. local E = Create("EchoSoundEffect"){
  658. Delay = echodelay,
  659. Name = "Echo",
  660. Feedback = fedb,
  661. DryLevel = dryl,
  662. Parent = Sas,
  663. }
  664. wait()
  665. Sas:play()
  666. game:GetService("Debris"):AddItem(Sas, delays)
  667. end))
  668. end;
  669. };
  670.  
  671. ["LongSound"] = {
  672. Create = function(id, par, vol, pit)
  673. coroutine.resume(coroutine.create(function()
  674. local S = Create("Sound"){
  675. Volume = vol,
  676. Pitch = pit or 1,
  677. SoundId = id,
  678. Parent = par or workspace,
  679. }
  680. wait()
  681. S:play()
  682. game:GetService("Debris"):AddItem(S, 60)
  683. end))
  684. end;
  685. };
  686.  
  687. ["ParticleEmitter"] = {
  688. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  689. local fp = Create("ParticleEmitter"){
  690. Parent = Parent,
  691. Color = ColorSequence.new(Color1, Color2),
  692. LightEmission = LightEmission,
  693. Size = Size,
  694. Texture = Texture,
  695. Transparency = Transparency,
  696. ZOffset = ZOffset,
  697. Acceleration = Accel,
  698. Drag = Drag,
  699. LockedToPart = LockedToPart,
  700. VelocityInheritance = VelocityInheritance,
  701. EmissionDirection = EmissionDirection,
  702. Enabled = Enabled,
  703. Lifetime = LifeTime,
  704. Rate = Rate,
  705. Rotation = Rotation,
  706. RotSpeed = RotSpeed,
  707. Speed = Speed,
  708. VelocitySpread = VelocitySpread,
  709. }
  710. return fp
  711. end;
  712. };
  713.  
  714. CreateTemplate = {
  715.  
  716. };
  717. }
  718.  
  719.  
  720.  
  721. New = function(Object, Parent, Name, Data)
  722. local Object = Instance.new(Object)
  723. for Index, Value in pairs(Data or {}) do
  724. Object[Index] = Value
  725. end
  726. Object.Parent = Parent
  727. Object.Name = Name
  728. return Object
  729. end
  730. local halocolor = BrickColor.new("Pastel light blue")
  731. local halocolor2 = BrickColor.new("Cool yellow")
  732. local starcolor = BrickColor.new("Bright yellow")
  733. local lunacolor = BrickColor.new("Navy blue")
  734. local lunacolor2 = BrickColor.new("Bright blue")
  735. local wepcolor = BrickColor.new("Really black")
  736. local maincolor = BrickColor.new("Really black")
  737. local m = Instance.new("Model",char)
  738. local m2 = Instance.new("Model",char)
  739. local m3 = Instance.new("Model",char)
  740. local mw1 = Instance.new("Model",char)
  741. local mw2 = Instance.new("Model",char)
  742.  
  743.  
  744. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  745. local gui = it(GuiType)
  746. gui.Parent = parent
  747. gui.Text = text
  748. gui.BackgroundTransparency = backtrans
  749. gui.BackgroundColor3 = backcol
  750. gui.SizeConstraint = "RelativeXY"
  751. gui.TextXAlignment = "Center"
  752. gui.TextYAlignment = "Center"
  753. gui.Position = pos
  754. gui.Size = size
  755. gui.Font = "SourceSans"
  756. gui.FontSize = "Size14"
  757. gui.TextWrapped = false
  758. gui.TextStrokeTransparency = 0
  759. gui.TextColor = BrickColor.new("White")
  760. return gui
  761. end
  762. --------------------------- GUI STUFF
  763. local basgui = it("GuiMain")
  764. basgui.Parent = plr.PlayerGui
  765. basgui.Name = "VISgui"
  766. local fullscreenz = it("Frame")
  767. fullscreenz.Parent = basgui
  768. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  769. fullscreenz.BackgroundTransparency = 1
  770. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  771. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  772. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  773. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  774. imgl2.BackgroundTransparency = 1
  775. imgl2.BorderSizePixel = 0
  776. imgl2.ImageTransparency = 0.5
  777. imgl2.ImageColor3 = Color3.new(1,0,0)
  778. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  779. imgl2.Size = UDim2.new(0,1000,0,1000)
  780. imgl2.Image = "rbxassetid://2325939897"
  781. local techc = imgl2:Clone()
  782. techc.Parent = fullscreenz
  783. techc.ImageTransparency = 0
  784. techc.Size = UDim2.new(0,900,0,900)
  785. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  786. techc.ImageColor3 = Color3.new(1,0,0)
  787. techc.Image = "rbxassetid://2273224484"
  788. local circl = imgl2:Clone()
  789. circl.Parent = fullscreenz
  790. circl.ImageTransparency = 0
  791. circl.Size = UDim2.new(0,550,0,550)
  792. circl.Position = UDim2.new(0.75,25,0.55,25)
  793. circl.ImageColor3 = Color3.new(0,0,0)
  794. circl.Image = "rbxassetid://2312119891"
  795. local circl2 = imgl2:Clone()
  796. circl2.Parent = fullscreenz
  797. circl2.ImageTransparency = 0
  798. circl2.Size = UDim2.new(0,700,0,700)
  799. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  800. circl2.ImageColor3 = Color3.new(1,0,0)
  801. circl2.Image = "rbxassetid://2312119891"
  802. local imgl2b = imgl2:Clone()
  803. imgl2b.Parent = fullscreenz
  804. imgl2b.ImageTransparency = 0
  805. imgl2b.Size = UDim2.new(0,800,0,800)
  806. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  807. imgl2b.ImageColor3 = Color3.new(0,0,0)
  808. local ned = Instance.new("TextLabel",fullscreenz)
  809. ned.ZIndex = 2
  810. ned.Font = "Arcade"
  811. ned.BackgroundTransparency = 1
  812. ned.BorderSizePixel = 0.65
  813. ned.Size = UDim2.new(0.3,0,0.2,0)
  814. ned.Position = UDim2.new(0.7,0,0.8,0)
  815. ned.TextColor3 = BrickColor.new("Really red").Color
  816. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  817. ned.TextScaled = true
  818. ned.TextStrokeTransparency = 0
  819. ned.Text = "Hopeless Guest"
  820. ned.TextSize = 24
  821. ned.Rotation = 1
  822. ned.TextXAlignment = "Right"
  823. ned.TextYAlignment = "Bottom"
  824.  
  825. local extrawingmod1 = Instance.new("Model",char)
  826. local extrawingmod2 = Instance.new("Model",char)
  827.  
  828. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  829. local p = Instance.new("Part")
  830. p.TopSurface = 0
  831. p.BottomSurface = 0
  832. p.Parent = parent
  833. p.Size = Vector3.new(0.1,0.1,0.1)
  834. p.Transparency = transparency
  835. p.Reflectance = reflectance
  836. p.CanCollide = false
  837. p.Locked = true
  838. p.BrickColor = brickcolor
  839. p.Material = material
  840. return p
  841. end
  842.  
  843. function CreateMesh(parent,meshtype,x1,y1,z1)
  844. local mesh = Instance.new("SpecialMesh",parent)
  845. mesh.MeshType = meshtype
  846. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  847. return mesh
  848. end
  849.  
  850. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  851. local mesh = Instance.new("SpecialMesh",parent)
  852. mesh.MeshType = "FileMesh"
  853. mesh.MeshId = meshid
  854. mesh.Scale = Vector3.new(x1,y1,z1)
  855. return mesh
  856. end
  857.  
  858.  
  859. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  860. local mesh = Instance.new("SpecialMesh",parent)
  861. mesh.MeshType = "FileMesh"
  862. mesh.MeshId = meshid
  863. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  864. mesh.Scale = Vector3.new(x1,y1,z1)
  865. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  866. return mesh
  867. end
  868.  
  869. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  870. local weld = Instance.new("Weld")
  871. weld.Parent = parent
  872. weld.Part0 = part0
  873. weld.Part1 = part1
  874. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  875. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  876. return weld
  877. end
  878.  
  879.  
  880. --------------
  881. --------------
  882. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  883. 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))
  884. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  885. 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))
  886.  
  887. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  888. CreateMesh(handle,"Brick",0,0,0)
  889. 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))
  890. local valuaring = 10
  891. for i = 0, 49 do
  892. valuaring = valuaring + 10
  893. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  894. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  895. 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))
  896. end
  897.  
  898. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  899. CreateMesh(handle,"Brick",0,0,0)
  900. 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))
  901. local valuaring = 10
  902. for i = 0, 49 do
  903. valuaring = valuaring + 10
  904. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  905. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  906. 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))
  907. end
  908.  
  909.  
  910. local handle = CreateParta(m,1,1,"Neon",maincolor)
  911. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  912. 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))
  913.  
  914. --- Left wing.
  915.  
  916. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  917. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  918. 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))
  919.  
  920. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  921. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  922. 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))
  923. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  924. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  925. 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))
  926. A0 = Instance.new('Attachment',wed)
  927. A0.Position = vt(0,0.25,0.25)
  928. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  929. CreateMesh(wed,"Wedge",0.05,0.5,3)
  930. 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))
  931. A1 = Instance.new('Attachment',wed)
  932. A1.Position = vt(0,-0.25,-2)
  933. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  934. CreateMesh(wed,"Wedge",0.05,3,0.5)
  935. 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))
  936.  
  937. tl1 = Instance.new('Trail',wed)
  938. tl1.Attachment0 = A1
  939. tl1.Attachment1 = A0
  940. tl1.Texture = "rbxassetid://2108945559"
  941. tl1.LightEmission = 1
  942. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  943. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  944. tl1.Lifetime = 0.6
  945.  
  946.  
  947. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  948. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  949. 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))
  950.  
  951. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  952. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  953. 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))
  954. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  955. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  956. 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))
  957. A0 = Instance.new('Attachment',wed)
  958. A0.Position = vt(0,0.25,0.25)
  959. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  960. CreateMesh(wed,"Wedge",0.05,0.5,3)
  961. 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))
  962. A1 = Instance.new('Attachment',wed)
  963. A1.Position = vt(0,-0.25,-2)
  964. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,3,0.5)
  966. 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))
  967.  
  968. tl2 = Instance.new('Trail',wed)
  969. tl2.Attachment0 = A1
  970. tl2.Attachment1 = A0
  971. tl2.Texture = "rbxassetid://2108945559"
  972. tl2.LightEmission = 1
  973. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  974. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  975. tl2.Lifetime = 0.6
  976.  
  977. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  978. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  979. 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))
  980.  
  981. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  983. 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))
  984. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  985. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  986. 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))
  987. A0 = Instance.new('Attachment',wed)
  988. A0.Position = vt(0,0.25,0.25)
  989. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  990. CreateMesh(wed,"Wedge",0.05,0.5,3)
  991. 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))
  992. A1 = Instance.new('Attachment',wed)
  993. A1.Position = vt(0,-0.25,-2)
  994. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  995. CreateMesh(wed,"Wedge",0.05,3,0.5)
  996. 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))
  997.  
  998. tl3 = Instance.new('Trail',wed)
  999. tl3.Attachment0 = A1
  1000. tl3.Attachment1 = A0
  1001. tl3.Texture = "rbxassetid://2108945559"
  1002. tl3.LightEmission = 1
  1003. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1004. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1005. tl3.Lifetime = 0.6
  1006.  
  1007. tl1.Enabled = false
  1008. tl2.Enabled = false
  1009. tl3.Enabled = false
  1010. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1011. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1012. 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))
  1013.  
  1014. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1015. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1016. 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))
  1017. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1018. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1019. 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))
  1020. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1021. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1022. 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))
  1023. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1024. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1025. 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))
  1026.  
  1027. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1028. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1029. 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))
  1030.  
  1031. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1032. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1033. 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))
  1034. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1035. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1036. 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))
  1037. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1038. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1039. 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))
  1040. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1042. 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))
  1043.  
  1044. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1045. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1046. 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))
  1047.  
  1048. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1049. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1050. 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))
  1051. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1052. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1053. 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))
  1054. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1055. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1056. 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))
  1057. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1058. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1059. 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))
  1060.  
  1061. -- Right wing.
  1062.  
  1063. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1064. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1065. 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))
  1066.  
  1067. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1068. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1069. 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))
  1070. A0 = Instance.new('Attachment',wed)
  1071. A0.Position = vt(0,0.25,0.25)
  1072. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1073. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1074. 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))
  1075. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1076. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1077. 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))
  1078. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1079. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1080. 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))
  1081. A1 = Instance.new('Attachment',wed)
  1082. A1.Position = vt(0,2,0.25)
  1083.  
  1084. tr1 = Instance.new('Trail',wed)
  1085. tr1.Attachment0 = A1
  1086. tr1.Attachment1 = A0
  1087. tr1.Texture = "rbxassetid://2108945559"
  1088. tr1.LightEmission = 1
  1089. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1090. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1091. tr1.Lifetime = 0.6
  1092.  
  1093. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1094. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1095. 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))
  1096.  
  1097. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1098. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1099. 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))
  1100. A0 = Instance.new('Attachment',wed)
  1101. A0.Position = vt(0,0.25,0.25)
  1102. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1103. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1104. 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))
  1105. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1106. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1107. 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))
  1108. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1109. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1110. 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))
  1111. A1 = Instance.new('Attachment',wed)
  1112. A1.Position = vt(0,2,0.25)
  1113.  
  1114. tr2 = Instance.new('Trail',wed)
  1115. tr2.Attachment0 = A1
  1116. tr2.Attachment1 = A0
  1117. tr2.Texture = "rbxassetid://2108945559"
  1118. tr2.LightEmission = 1
  1119. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1120. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1121. tr2.Lifetime = 0.6
  1122.  
  1123. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1124. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1125. 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))
  1126.  
  1127. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1128. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1129. 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))
  1130. A0 = Instance.new('Attachment',wed)
  1131. A0.Position = vt(0,0.25,0.25)
  1132. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1133. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1134. 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))
  1135. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1136. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1137. 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))
  1138. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1139. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1140. 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))
  1141. A1 = Instance.new('Attachment',wed)
  1142. A1.Position = vt(0,2,0.25)
  1143.  
  1144. tr3 = Instance.new('Trail',wed)
  1145. tr3.Attachment0 = A1
  1146. tr3.Attachment1 = A0
  1147. tr3.Texture = "rbxassetid://2108945559"
  1148. tr3.LightEmission = 1
  1149. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1150. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1151. tr3.Lifetime = 0.6
  1152.  
  1153.  
  1154. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1155. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1156. 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))
  1157.  
  1158. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1159. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1160. 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))
  1161. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1162. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1163. 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))
  1164. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1165. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1166. 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))
  1167. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1168. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1169. 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))
  1170.  
  1171. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1172. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1173. 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))
  1174.  
  1175. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1176. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1177. 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))
  1178. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1179. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1180. 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))
  1181. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1182. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1183. 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))
  1184. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1185. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1186. 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))
  1187.  
  1188. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1189. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1190. 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))
  1191.  
  1192. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1193. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1194. 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))
  1195. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1196. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1197. 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))
  1198. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1199. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1200. 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))
  1201. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1202. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1203. 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))
  1204.  
  1205. --HERES THE RING
  1206.  
  1207.  
  1208. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1209. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1210. 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))
  1211. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1212. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1213. 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))
  1214. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1215. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1216. 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))
  1217.  
  1218.  
  1219. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1220. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1221. 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))
  1222.  
  1223. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1224. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1225. 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))
  1226.  
  1227.  
  1228.  
  1229. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1230. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1231. 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))
  1232.  
  1233. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1234. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1235. 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))
  1236.  
  1237. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1238. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1239. 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))
  1240.  
  1241. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1242. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1243. 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))
  1244. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1245. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1246. 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))]]--
  1247.  
  1248. --- second ring
  1249.  
  1250.  
  1251. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1252. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1253. 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))
  1254.  
  1255. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1256. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1257. 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))
  1258.  
  1259.  
  1260.  
  1261. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1262. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1263. 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))
  1264.  
  1265. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1266. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1267. 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))
  1268.  
  1269. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1270. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1271. 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))
  1272.  
  1273. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1274. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1275. 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))
  1276. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1277. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1278. 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))
  1279.  
  1280.  
  1281.  
  1282. for i, v in pairs(m:GetChildren()) do
  1283. if v:IsA("Part") then
  1284. v.BrickColor = BrickColor.new("Really black")
  1285. v.Material = "Glass"
  1286. end
  1287. end
  1288. for i, v in pairs(m2:GetChildren()) do
  1289. if v:IsA("Part") then
  1290. v.BrickColor = BrickColor.new("Crimson")
  1291. v.Material = "Granite"
  1292. end
  1293. end
  1294. for i, v in pairs(m3:GetChildren()) do
  1295. if v:IsA("Part") then
  1296. v.BrickColor = BrickColor.new("Really red")
  1297. v.Material = "Neon"
  1298. end
  1299. end
  1300. for i, v in pairs(mw2:GetChildren()) do
  1301. if v:IsA("Part") then
  1302. v.BrickColor = BrickColor.new("Really red")
  1303. v.Material = "Neon"
  1304. end
  1305. end
  1306. for i, v in pairs(mw1:GetChildren()) do
  1307. if v:IsA("Part") then
  1308. v.Transparency = 1
  1309. v.BrickColor = BrickColor.new("Really red")
  1310. v.Material = "Neon"
  1311. end
  1312. end
  1313. for i, v in pairs(extrawingmod1:GetChildren()) do
  1314. if v:IsA("Part") then
  1315. v.Transparency = 1
  1316. v.BrickColor = BrickColor.new("White")
  1317. v.Material = "Neon"
  1318. end
  1319. end
  1320. for i, v in pairs(extrawingmod2:GetChildren()) do
  1321. if v:IsA("Part") then
  1322. v.Transparency = 1
  1323. v.BrickColor = BrickColor.new("White")
  1324. v.Material = "Neon"
  1325. end
  1326. end
  1327. local MAINRUINCOLOR = BrickColor.new("Really red")
  1328. ------
  1329.  
  1330.  
  1331. function RemoveOutlines(part)
  1332. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1333. end
  1334. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1335. local Part = Create("Part")({
  1336. Parent = Parent,
  1337. Reflectance = Reflectance,
  1338. Transparency = Transparency,
  1339. CanCollide = false,
  1340. Locked = true,
  1341. BrickColor = BrickColor.new(tostring(BColor)),
  1342. Name = Name,
  1343. Size = Size,
  1344. Material = Material
  1345. })
  1346. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1347. RemoveOutlines(Part)
  1348. return Part
  1349. end
  1350. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1351. local Msh = Create(Mesh)({
  1352. Parent = Part,
  1353. Offset = OffSet,
  1354. Scale = Scale
  1355. })
  1356. if Mesh == "SpecialMesh" then
  1357. Msh.MeshType = MeshType
  1358. Msh.MeshId = MeshId
  1359. end
  1360. return Msh
  1361. end
  1362. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1363. local Weld = Create("Weld")({
  1364. Parent = Parent,
  1365. Part0 = Part0,
  1366. Part1 = Part1,
  1367. C0 = C0,
  1368. C1 = C1
  1369. })
  1370. return Weld
  1371. end
  1372.  
  1373. Player = plr
  1374. Character=Player.Character
  1375. PlayerGui=Player.PlayerGui
  1376. Backpack=Player.Backpack
  1377. Torso=Character.Torso
  1378. Head=Character.Head
  1379. Humanoid=Character.Humanoid
  1380. m=Instance.new('Model',Character)
  1381. LeftArm=Character["Left Arm"]
  1382. LeftLeg=Character["Left Leg"]
  1383. RightArm=Character["Right Arm"]
  1384. RightLeg=Character["Right Leg"]
  1385. LS=Torso["Left Shoulder"]
  1386. LH=Torso["Left Hip"]
  1387. RS=Torso["Right Shoulder"]
  1388. RH=Torso["Right Hip"]
  1389. Face = Head.face
  1390. Neck=Torso.Neck
  1391. it=Instance.new
  1392. attacktype=1
  1393. vt=Vector3.new
  1394. cf=CFrame.new
  1395. euler=CFrame.fromEulerAnglesXYZ
  1396. angles=CFrame.Angles
  1397. cloaked=false
  1398. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1399. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1400. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1401. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1402. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1403. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1404. RootPart=Character.HumanoidRootPart
  1405. RootJoint=RootPart.RootJoint
  1406. RootCF=euler(-1.57,0,3.14)
  1407. attack = false
  1408. attackdebounce = false
  1409. deb=false
  1410. equipped=true
  1411. hand=false
  1412. combo=0
  1413. mana=0
  1414. trispeed=.2
  1415. attackmode='none'
  1416. local idle=0
  1417. local Anim="Idle"
  1418. local Effects={}
  1419. local gun=false
  1420. local shoot=false
  1421. local sine = 0
  1422. local change = 1
  1423.  
  1424. function RecolorTextAndRename(Mayhem,Really Red,Crimson,ArialBold)
  1425. modet.TextStrokeColor3 = Really red
  1426. modet.TextColor3 = Crimson
  1427. modet.Font = Antique
  1428. modet.Text = Mayhem
  1429. techc.ImageColor3 = Crimson
  1430. circl.ImageColor3 = Crimson
  1431. circl2.ImageColor3 = Really red
  1432. imgl2.ImageColor3 = Really red
  1433. imgl2b.ImageColor3 = Crimson
  1434. ned.Text = Mayhem
  1435. ned.TextColor3 = Crimson
  1436. ned.TextStrokeColor3 = Crimson
  1437. end
  1438. --save shoulders
  1439. RSH, LSH=nil, nil
  1440. --welds
  1441. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1442. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1443. LH=Torso["Left Hip"]
  1444. RH=Torso["Right Hip"]
  1445. TorsoColor=Torso.BrickColor
  1446. function NoOutline(Part)
  1447. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1448. end
  1449. ch=Character
  1450. RSH=ch.Torso["Right Shoulder"]
  1451. LSH=ch.Torso["Left Shoulder"]
  1452. --
  1453. RSH.Parent=nil
  1454. LSH.Parent=nil
  1455. --
  1456. RW.Name="Right Shoulder"
  1457. RW.Part0=ch.Torso
  1458. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1459. RW.C1=cf(0, 0.5, 0)
  1460. RW.Part1=ch["Right Arm"]
  1461. RW.Parent=ch.Torso
  1462. --
  1463. LW.Name="Left Shoulder"
  1464. LW.Part0=ch.Torso
  1465. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1466. LW.C1=cf(0, 0.5, 0)
  1467. LW.Part1=ch["Left Arm"]
  1468. LW.Parent=ch.Torso
  1469.  
  1470. local Stats=Instance.new("BoolValue")
  1471. Stats.Name="Stats"
  1472. Stats.Parent=Character
  1473. local Atk=Instance.new("NumberValue")
  1474. Atk.Name="Damage"
  1475. Atk.Parent=Stats
  1476. Atk.Value=1
  1477. local Def=Instance.new("NumberValue")
  1478. Def.Name="Defense"
  1479. Def.Parent=Stats
  1480. Def.Value=1
  1481. local Speed=Instance.new("NumberValue")
  1482. Speed.Name="Speed"
  1483. Speed.Parent=Stats
  1484. Speed.Value=1
  1485. local Mvmt=Instance.new("NumberValue")
  1486. Mvmt.Name="Movement"
  1487. Mvmt.Parent=Stats
  1488. Mvmt.Value=1
  1489.  
  1490. local donum=0
  1491. local ast = {744586075,385254610}
  1492.  
  1493. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1494. local fp=it("Part")
  1495. fp.formFactor=formfactor
  1496. fp.Parent=parent
  1497. fp.Reflectance=reflectance
  1498. fp.Transparency=transparency
  1499. fp.CanCollide=false
  1500. fp.Locked=true
  1501. fp.BrickColor=brickcolor
  1502. fp.Name=name
  1503. fp.Size=size
  1504. fp.Position=Torso.Position
  1505. NoOutline(fp)
  1506. fp.Material="SmoothPlastic"
  1507. fp:BreakJoints()
  1508. return fp
  1509. end
  1510.  
  1511. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1512. local mesh=it(Mesh)
  1513. mesh.Parent=part
  1514. if Mesh=="SpecialMesh" then
  1515. mesh.MeshType=meshtype
  1516. if meshid~="nil" then
  1517. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1518. end
  1519. end
  1520. mesh.Offset=offset
  1521. mesh.Scale=scale
  1522. return mesh
  1523. end
  1524.  
  1525. function weld(parent,part0,part1,c0)
  1526. local weld=it("Weld")
  1527. weld.Parent=parent
  1528. weld.Part0=part0
  1529. weld.Part1=part1
  1530. weld.C0=c0
  1531. return weld
  1532. end
  1533.  
  1534. local Color1=Torso.BrickColor
  1535.  
  1536. local bodvel=Instance.new("BodyVelocity")
  1537. local bg=Instance.new("BodyGyro")
  1538.  
  1539. --------- SazEreno's Artificial HB --------------
  1540. ArtificialHB = Instance.new("BindableEvent", script)
  1541. ArtificialHB.Name = "ArtificialHB"
  1542.  
  1543. script:WaitForChild("ArtificialHB")
  1544. Frame_Speed = 1 / 60
  1545. frame = Frame_Speed
  1546. tf = 0
  1547. allowframeloss = false
  1548. tossremainder = false
  1549. lastframe = tick()
  1550. script.ArtificialHB:Fire()
  1551.  
  1552. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1553. tf = tf + s
  1554. if tf >= frame then
  1555. if allowframeloss then
  1556. script.ArtificialHB:Fire()
  1557. lastframe = tick()
  1558. else
  1559. for i = 1, math.floor(tf / frame) do
  1560. script.ArtificialHB:Fire()
  1561. end
  1562. lastframe = tick()
  1563. end
  1564. if tossremainder then
  1565. tf = 0
  1566. else
  1567. tf = tf - frame * math.floor(tf / frame)
  1568. end
  1569. end
  1570. end)
  1571.  
  1572. ------------------
  1573. function swait(num)
  1574. if num == 0 or num == nil then
  1575. ArtificialHB.Event:wait()
  1576. else
  1577. for i = 1, num do
  1578. ArtificialHB.Event:wait()
  1579. end
  1580. end
  1581. end
  1582. -------- RAINBOW LEAVE IT TO ME
  1583. local r = 255
  1584. local g = 0
  1585. local b = 0
  1586. coroutine.resume(coroutine.create(function()
  1587. while wait() do
  1588. for i = 0, 254/5 do
  1589. swait()
  1590. g = g + 5
  1591. end
  1592. for i = 0, 254/5 do
  1593. swait()
  1594. r = r - 5
  1595. end
  1596. for i = 0, 254/5 do
  1597. swait()
  1598. b = b + 5
  1599. end
  1600. for i = 0, 254/5 do
  1601. swait()
  1602. g = g - 5
  1603. end
  1604. for i = 0, 254/5 do
  1605. swait()
  1606. r = r + 5
  1607. end
  1608. for i = 0, 254/5 do
  1609. swait()
  1610. b = b - 5
  1611. end
  1612. end
  1613. end))
  1614.  
  1615.  
  1616. so = function(id,par,vol,pit)
  1617. coroutine.resume(coroutine.create(function()
  1618. local sou = Instance.new("Sound",par or workspace)
  1619. sou.Volume=vol
  1620. sou.Pitch=pit or 1
  1621. sou.SoundId=id
  1622. swait()
  1623. sou:play()
  1624. game:GetService("Debris"):AddItem(sou,6)
  1625. end))
  1626. end
  1627.  
  1628. function clerp(a,b,t)
  1629. local qa = {QuaternionFromCFrame(a)}
  1630. local qb = {QuaternionFromCFrame(b)}
  1631. local ax, ay, az = a.x, a.y, a.z
  1632. local bx, by, bz = b.x, b.y, b.z
  1633. local _t = 1-t
  1634. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1635. end
  1636.  
  1637. function QuaternionFromCFrame(cf)
  1638. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1639. local trace = m00 + m11 + m22
  1640. if trace > 0 then
  1641. local s = math.sqrt(1 + trace)
  1642. local recip = 0.5/s
  1643. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1644. else
  1645. local i = 0
  1646. if m11 > m00 then
  1647. i = 1
  1648. end
  1649. if m22 > (i == 0 and m00 or m11) then
  1650. i = 2
  1651. end
  1652. if i == 0 then
  1653. local s = math.sqrt(m00-m11-m22+1)
  1654. local recip = 0.5/s
  1655. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1656. elseif i == 1 then
  1657. local s = math.sqrt(m11-m22-m00+1)
  1658. local recip = 0.5/s
  1659. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1660. elseif i == 2 then
  1661. local s = math.sqrt(m22-m00-m11+1)
  1662. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1663. end
  1664. end
  1665. end
  1666.  
  1667. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1668. local xs, ys, zs = x + x, y + y, z + z
  1669. local wx, wy, wz = w*xs, w*ys, w*zs
  1670. local xx = x*xs
  1671. local xy = x*ys
  1672. local xz = x*zs
  1673. local yy = y*ys
  1674. local yz = y*zs
  1675. local zz = z*zs
  1676. 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))
  1677. end
  1678.  
  1679. function QuaternionSlerp(a, b, t)
  1680. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1681. local startInterp, finishInterp;
  1682. if cosTheta >= 0.0001 then
  1683. if (1 - cosTheta) > 0.0001 then
  1684. local theta = math.acos(cosTheta)
  1685. local invSinTheta = 1/math.sin(theta)
  1686. startInterp = math.sin((1-t)*theta)*invSinTheta
  1687. finishInterp = math.sin(t*theta)*invSinTheta
  1688. else
  1689. startInterp = 1-t
  1690. finishInterp = t
  1691. end
  1692. else
  1693. if (1+cosTheta) > 0.0001 then
  1694. local theta = math.acos(-cosTheta)
  1695. local invSinTheta = 1/math.sin(theta)
  1696. startInterp = math.sin((t-1)*theta)*invSinTheta
  1697. finishInterp = math.sin(t*theta)*invSinTheta
  1698. else
  1699. startInterp = t-1
  1700. finishInterp = t
  1701. end
  1702. end
  1703. 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
  1704. end
  1705.  
  1706. local function CFrameFromTopBack(at, top, back)
  1707. local right = top:Cross(back)
  1708. return CFrame.new(at.x, at.y, at.z,
  1709. right.x, top.x, back.x,
  1710. right.y, top.y, back.y,
  1711. right.z, top.z, back.z)
  1712. end
  1713.  
  1714. function Triangle(a, b, c)
  1715. local edg1 = (c-a):Dot((b-a).unit)
  1716. local edg2 = (a-b):Dot((c-b).unit)
  1717. local edg3 = (b-c):Dot((a-c).unit)
  1718. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1719. a, b, c = a, b, c
  1720. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1721. a, b, c = b, c, a
  1722. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1723. a, b, c = c, a, b
  1724. else
  1725. assert(false, "unreachable")
  1726. end
  1727.  
  1728. local len1 = (c-a):Dot((b-a).unit)
  1729. local len2 = (b-a).magnitude - len1
  1730. local width = (a + (b-a).unit*len1 - c).magnitude
  1731.  
  1732. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1733.  
  1734. local list = {}
  1735.  
  1736. if len1 > 0.01 then
  1737. local w1 = Instance.new('WedgePart', m)
  1738. game:GetService("Debris"):AddItem(w1,5)
  1739. w1.Material = "SmoothPlastic"
  1740. w1.FormFactor = 'Custom'
  1741. w1.BrickColor = BrickColor.new("Really red")
  1742. w1.Transparency = 0
  1743. w1.Reflectance = 0
  1744. w1.Material = "SmoothPlastic"
  1745. w1.CanCollide = false
  1746. local l1 = Instance.new("PointLight",w1)
  1747. l1.Color = Color3.new(170,0,0)
  1748. NoOutline(w1)
  1749. local sz = Vector3.new(0.2, width, len1)
  1750. w1.Size = sz
  1751. local sp = Instance.new("SpecialMesh",w1)
  1752. sp.MeshType = "Wedge"
  1753. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1754. w1:BreakJoints()
  1755. w1.Anchored = true
  1756. w1.Parent = workspace
  1757. w1.Transparency = 0.7
  1758. table.insert(Effects,{w1,"Disappear",.01})
  1759. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1760. table.insert(list,w1)
  1761. end
  1762.  
  1763. if len2 > 0.01 then
  1764. local w2 = Instance.new('WedgePart', m)
  1765. game:GetService("Debris"):AddItem(w2,5)
  1766. w2.Material = "SmoothPlastic"
  1767. w2.FormFactor = 'Custom'
  1768. w2.BrickColor = BrickColor.new("Really red")
  1769. w2.Transparency = 0
  1770. w2.Reflectance = 0
  1771. w2.Material = "SmoothPlastic"
  1772. w2.CanCollide = false
  1773. local l2 = Instance.new("PointLight",w2)
  1774. l2.Color = Color3.new(170,0,0)
  1775. NoOutline(w2)
  1776. local sz = Vector3.new(0.2, width, len2)
  1777. w2.Size = sz
  1778. local sp = Instance.new("SpecialMesh",w2)
  1779. sp.MeshType = "Wedge"
  1780. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1781. w2:BreakJoints()
  1782. w2.Anchored = true
  1783. w2.Parent = workspace
  1784. w2.Transparency = 0.7
  1785. table.insert(Effects,{w2,"Disappear",.01})
  1786. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1787. table.insert(list,w2)
  1788. end
  1789. return unpack(list)
  1790. end
  1791.  
  1792.  
  1793. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1794. if hit.Parent == nil then
  1795. return
  1796. end
  1797. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1798. for _, v in pairs(hit.Parent:children()) do
  1799. if v:IsA("Humanoid") then
  1800. h = v
  1801. end
  1802. end
  1803. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1804. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1805. return
  1806. end
  1807. local c = Create("ObjectValue")({
  1808. Name = "creator",
  1809. Value = owner,
  1810. Parent = h
  1811. })
  1812. game:GetService("Debris"):AddItem(c, 0.5)
  1813. if HitSound ~= nil and HitPitch ~= nil then
  1814. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1815. end
  1816. local Damage = math.random(minim, maxim)
  1817. local blocked = false
  1818. local block = hit.Parent:findFirstChild("Block")
  1819. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1820. blocked = true
  1821. block.Value = block.Value - 1
  1822. print(block.Value)
  1823. end
  1824. if blocked == false then
  1825. HitHealth = h.Health
  1826. h.MaxHealth = 100
  1827. h.Health = h.Health - Damage
  1828. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1829. print("gained kill")
  1830. dmg(h.Parent)
  1831. end
  1832. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1833. else
  1834. h.Health = h.Health - Damage / 2
  1835. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1836. end
  1837. if Type == "Knockdown" then
  1838. local hum = hit.Parent.Humanoid
  1839. hum.PlatformStand = true
  1840. coroutine.resume(coroutine.create(function(HHumanoid)
  1841. swait(1)
  1842. HHumanoid.PlatformStand = false
  1843. end), hum)
  1844. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1845. local bodvol = Create("BodyVelocity")({
  1846. velocity = angle * knockback,
  1847. P = 5000,
  1848. maxForce = Vector3.new(8000, 8000, 8000),
  1849. Parent = hit
  1850. })
  1851. local rl = Create("BodyAngularVelocity")({
  1852. P = 3000,
  1853. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1854. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1855. Parent = hit
  1856. })
  1857. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1858. game:GetService("Debris"):AddItem(rl, 0.5)
  1859. elseif Type == "Normal" then
  1860. local vp = Create("BodyVelocity")({
  1861. P = 500,
  1862. maxForce = Vector3.new(math.huge, 0, math.huge),
  1863. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1864. })
  1865. if knockback > 0 then
  1866. vp.Parent = hit.Parent.Head
  1867. end
  1868. game:GetService("Debris"):AddItem(vp, 0.5)
  1869. elseif Type == "Up" then
  1870. local bodyVelocity = Create("BodyVelocity")({
  1871. velocity = Vector3.new(0, 20, 0),
  1872. P = 5000,
  1873. maxForce = Vector3.new(8000, 8000, 8000),
  1874. Parent = hit
  1875. })
  1876. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1877. local bodyVelocity = Create("BodyVelocity")({
  1878. velocity = Vector3.new(0, 20, 0),
  1879. P = 5000,
  1880. maxForce = Vector3.new(8000, 8000, 8000),
  1881. Parent = hit
  1882. })
  1883. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1884. elseif Type == "Leech" then
  1885. local hum = hit.Parent.Humanoid
  1886. if hum ~= nil then
  1887. for i = 0, 2 do
  1888. 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)
  1889. end
  1890. Humanoid.Health = Humanoid.Health + 10
  1891. end
  1892. elseif Type == "UpKnock" then
  1893. local hum = hit.Parent.Humanoid
  1894. hum.PlatformStand = true
  1895. if hum ~= nil then
  1896. hitr = true
  1897. end
  1898. coroutine.resume(coroutine.create(function(HHumanoid)
  1899. swait(5)
  1900. HHumanoid.PlatformStand = false
  1901. hitr = false
  1902. end), hum)
  1903. local bodyVelocity = Create("BodyVelocity")({
  1904. velocity = Vector3.new(0, 20, 0),
  1905. P = 5000,
  1906. maxForce = Vector3.new(8000, 8000, 8000),
  1907. Parent = hit
  1908. })
  1909. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1910. local bodyVelocity = Create("BodyVelocity")({
  1911. velocity = Vector3.new(0, 20, 0),
  1912. P = 5000,
  1913. maxForce = Vector3.new(8000, 8000, 8000),
  1914. Parent = hit
  1915. })
  1916. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1917. elseif Type == "Snare" then
  1918. local bp = Create("BodyPosition")({
  1919. P = 2000,
  1920. D = 100,
  1921. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1922. position = hit.Parent.Torso.Position,
  1923. Parent = hit.Parent.Torso
  1924. })
  1925. game:GetService("Debris"):AddItem(bp, 1)
  1926. elseif Type == "Slashnare" then
  1927. 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)
  1928. for i = 1, math.random(4, 5) do
  1929. 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)
  1930. end
  1931. local bp = Create("BodyPosition")({
  1932. P = 2000,
  1933. D = 100,
  1934. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1935. position = hit.Parent.Torso.Position,
  1936. Parent = hit.Parent.Torso
  1937. })
  1938. game:GetService("Debris"):AddItem(bp, 1)
  1939. elseif Type == "Spike" then
  1940. CreateBigIceSword(hit.Parent.Torso.CFrame)
  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 == "Freeze" then
  1950. local BodPos = Create("BodyPosition")({
  1951. P = 50000,
  1952. D = 1000,
  1953. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1954. position = hit.Parent.Torso.Position,
  1955. Parent = hit.Parent.Torso
  1956. })
  1957. local BodGy = Create("BodyGyro")({
  1958. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1959. P = 20000,
  1960. Parent = hit.Parent.Torso,
  1961. cframe = hit.Parent.Torso.CFrame
  1962. })
  1963. hit.Parent.Torso.Anchored = true
  1964. coroutine.resume(coroutine.create(function(Part)
  1965. swait(1.5)
  1966. Part.Anchored = false
  1967. end), hit.Parent.Torso)
  1968. game:GetService("Debris"):AddItem(BodPos, 3)
  1969. game:GetService("Debris"):AddItem(BodGy, 3)
  1970. end
  1971. local debounce = Create("BoolValue")({
  1972. Name = "DebounceHit",
  1973. Parent = hit.Parent,
  1974. Value = true
  1975. })
  1976. game:GetService("Debris"):AddItem(debounce, Delay)
  1977. c = Instance.new("ObjectValue")
  1978. c.Name = "creator"
  1979. c.Value = Player
  1980. c.Parent = h
  1981. game:GetService("Debris"):AddItem(c, 0.5)
  1982. end
  1983. end
  1984. function ShowDamage(Pos, Text, Time, Color)
  1985. local Rate = 0.03333333333333333
  1986. local Pos = Pos or Vector3.new(0, 0, 0)
  1987. local Text = Text or ""
  1988. local Time = Time or 2
  1989. local Color = Color or Color3.new(1, 0, 1)
  1990. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1991. EffectPart.Anchored = true
  1992. local BillboardGui = Create("BillboardGui")({
  1993. Size = UDim2.new(3, 0, 3, 0),
  1994. Adornee = EffectPart,
  1995. Parent = EffectPart
  1996. })
  1997. local TextLabel = Create("TextLabel")({
  1998. BackgroundTransparency = 1,
  1999. Size = UDim2.new(1, 0, 1, 0),
  2000. Text = Text,
  2001. TextColor3 = Color,
  2002. TextScaled = true,
  2003. Font = Enum.Font.ArialBold,
  2004. Parent = BillboardGui
  2005. })
  2006. game.Debris:AddItem(EffectPart, Time + 0.1)
  2007. EffectPart.Parent = game:GetService("Workspace")
  2008. delay(0, function()
  2009. local Frames = Time / Rate
  2010. for Frame = 1, Frames do
  2011. wait(Rate)
  2012. local Percent = Frame / Frames
  2013. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2014. TextLabel.TextTransparency = Percent
  2015. end
  2016. if EffectPart and EffectPart.Parent then
  2017. EffectPart:Destroy()
  2018. end
  2019. end)
  2020. end
  2021. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2022. for _, c in pairs(workspace:children()) do
  2023. local hum = c:findFirstChildOfClass("Humanoid")
  2024. if hum ~= nil then
  2025. local head = c:findFirstChild("Head")
  2026. if head ~= nil then
  2027. local targ = head.Position - Part.Position
  2028. local mag = targ.magnitude
  2029. if magni >= mag and c.Name ~= Player.Name then
  2030. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2031. end
  2032. end
  2033. end
  2034. end
  2035. end
  2036.  
  2037. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2038. for _, c in pairs(workspace:children()) do
  2039. local hum = c:findFirstChild("Humanoid")
  2040. if hum ~= nil then
  2041. local head = c:findFirstChild("Torso")
  2042. if head ~= nil then
  2043. local targ = head.Position - Part.Position
  2044. local mag = targ.magnitude
  2045. if magni >= mag and c.Name ~= Player.Name then
  2046. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2047. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2048. end
  2049. end
  2050. end
  2051. end
  2052. end
  2053.  
  2054. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2055. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2056. end
  2057.  
  2058. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2059. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2060. prt.Anchored=true
  2061. prt.CFrame=cframe
  2062. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2063. --http://www.roblox.com/asset/?id=4770560
  2064. game:GetService("Debris"):AddItem(prt,2)
  2065. CF=prt.CFrame
  2066. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2067. for i=0,1,0.2 do
  2068. wait()
  2069. Part.CFrame=CF*cf(0,0,-0.4)
  2070. end
  2071. for i=0,1,delay do
  2072. wait()
  2073. --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)
  2074. Mesh.Scale=Mesh.Scale
  2075. end
  2076. for i=0,1,0.1 do
  2077. wait()
  2078. Part.Transparency=i
  2079. end
  2080. Part.Parent=nil
  2081. end),prt,msh,CF)
  2082. end
  2083.  
  2084. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2085. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2086. prt.Anchored=true
  2087. prt.Material = "Neon"
  2088. prt.CFrame=cframe
  2089. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2090. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2091. game:GetService("Debris"):AddItem(prt,5)
  2092. coroutine.resume(coroutine.create(function(Part,Mesh)
  2093. for i=0,1,delay do
  2094. swait()
  2095. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2096. Part.Transparency=i
  2097. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2098. end
  2099. Part.Parent=nil
  2100. end),prt,msh)
  2101. end
  2102.  
  2103. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2104. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2105. prt.Anchored=true
  2106. prt.Material = "Neon"
  2107. prt.CFrame=cframe
  2108. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2109. game:GetService("Debris"):AddItem(prt,5)
  2110. coroutine.resume(coroutine.create(function(Part,Mesh)
  2111. local rtype = rottype
  2112. for i=0,1,delay do
  2113. swait()
  2114. if rtype == 1 then
  2115. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2116. elseif rtype == 2 then
  2117. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2118. end
  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 MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2127. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2128. prt.Anchored=true
  2129. prt.CFrame=cframe
  2130. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2131. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2132. game:GetService("Debris"):AddItem(prt,5)
  2133. coroutine.resume(coroutine.create(function(Part,Mesh)
  2134. for i=0,1,delay do
  2135. wait()
  2136. Part.Transparency=i
  2137. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2138. end
  2139. Part.Parent=nil
  2140. end),prt,msh)
  2141. end
  2142.  
  2143. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2144. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2145. prt.Anchored=true
  2146. prt.Material = "Neon"
  2147. prt.CFrame=cframe
  2148. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2149. game:GetService("Debris"):AddItem(prt,5)
  2150. coroutine.resume(coroutine.create(function(Part,Mesh)
  2151. local rtype = rottype
  2152. for i=0,1,delay do
  2153. swait()
  2154. if rtype == 1 then
  2155. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2156. elseif rtype == 2 then
  2157. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2158. end
  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 MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2167. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2168. prt.Anchored=true
  2169. prt.Material = "Neon"
  2170. prt.CFrame=cframe
  2171. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2172. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2173. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2174. game:GetService("Debris"):AddItem(prt,5)
  2175. coroutine.resume(coroutine.create(function(Part,Mesh)
  2176. local rtype = rottype
  2177. for i=0,1,delay do
  2178. swait()
  2179. if rtype == 1 then
  2180. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2181. elseif rtype == 2 then
  2182. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2183. end
  2184. dec.Transparency=i
  2185. dec2.Transparency=i
  2186. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2187. end
  2188. Part.Parent=nil
  2189. end),prt,msh)
  2190. end
  2191.  
  2192. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2193. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2194. prt.Anchored=true
  2195. prt.Material = "Neon"
  2196. prt.CFrame=cframe
  2197. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2198. game:GetService("Debris"):AddItem(prt,5)
  2199. coroutine.resume(coroutine.create(function(Part,Mesh)
  2200. local rtype = rottype
  2201. for i=0,1,delay do
  2202. swait()
  2203. if rtype == 1 then
  2204. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2205. elseif rtype == 2 then
  2206. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2207. end
  2208. prt.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 MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,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,1,z1))
  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.1,0)
  2228. elseif rtype == 2 then
  2229. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2230. end
  2231. prt.Transparency=i
  2232. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2233. end
  2234. Part.Parent=nil
  2235. end),prt,msh)
  2236. end
  2237.  
  2238. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,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,y1,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,0.1)
  2251. elseif rtype == 2 then
  2252. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2253. end
  2254. prt.Transparency=i
  2255. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2256. end
  2257. Part.Parent=nil
  2258. end),prt,msh)
  2259. end
  2260.  
  2261. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,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,z3)
  2279. end
  2280. Part.Parent=nil
  2281. end),prt,msh)
  2282. end
  2283.  
  2284. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2285. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2286. prt.Anchored=false
  2287. prt.CFrame=cframe
  2288. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2289. local wld=weld(prt,prt,Parent,cframe)
  2290. game:GetService("Debris"):AddItem(prt,5)
  2291. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2292. for i=0,1,delay do
  2293. wait()
  2294. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2295. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2296. Part.Transparency=i
  2297. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2298. end
  2299. Part.Parent=nil
  2300. end),prt,msh,wld)
  2301. end
  2302.  
  2303. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2304. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2305. prt.Anchored=false
  2306. prt.CFrame=cframe
  2307. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2308. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2309. game:GetService("Debris"):AddItem(prt,5)
  2310. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2311. for i=0,1,delay do
  2312. wait()
  2313. Weld.C0=euler(i*20,0,0)
  2314. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2315. Part.Transparency=i
  2316. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2317. end
  2318. Part.Parent=nil
  2319. end),prt,msh,wld)
  2320. end
  2321.  
  2322. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2323. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2324. prt.Anchored=true
  2325. prt.CFrame=cframe
  2326. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2327. game:GetService("Debris"):AddItem(prt,2)
  2328. coroutine.resume(coroutine.create(function(Part,Mesh)
  2329. for i=0,1,delay do
  2330. wait()
  2331. Part.CFrame=Part.CFrame
  2332. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2333. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2334. prt2.Anchored=true
  2335. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2336. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2337. game:GetService("Debris"):AddItem(prt2,2)
  2338. coroutine.resume(coroutine.create(function(Part,Mesh)
  2339. for i=0,1,0.1 do
  2340. wait()
  2341. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2342. end
  2343. Part.Parent=nil
  2344. end),prt2,msh2)
  2345. end
  2346. for i=0,1,delay*2 do
  2347. wait()
  2348. Part.CFrame=Part.CFrame
  2349. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2350. end
  2351. Part.Parent=nil
  2352. end),prt,msh)
  2353. end
  2354.  
  2355. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2356. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2357. prt.Anchored=true
  2358. prt.CFrame=cframe
  2359. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2360. game:GetService("Debris"):AddItem(prt,2)
  2361. coroutine.resume(coroutine.create(function(Part,Mesh)
  2362. for i=0,1,delay do
  2363. wait()
  2364. Part.CFrame=Part.CFrame
  2365. Part.Transparency=i
  2366. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2367. end
  2368. Part.Parent=nil
  2369. end),prt,msh)
  2370. end
  2371.  
  2372. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2373. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2374. prt.Anchored=true
  2375. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2376. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2377. game:GetService("Debris"):AddItem(prt,2)
  2378. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2379. CF=Part.CFrame
  2380. Numbb=0
  2381. randnumb=math.random()/10
  2382. rand1=math.random()/10
  2383. for i=0,1,rand1 do
  2384. wait()
  2385. CF=CF*cf(0,math.random()/2,0)
  2386. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2387. Part.CFrame=CF*euler(Numbb,0,0)
  2388. Part.Transparency=i
  2389. Numbb=Numbb+randnumb
  2390. end
  2391. Part.Parent=nil
  2392. end),prt,CF,Numbb,randnumb)
  2393. end
  2394.  
  2395. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  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
  2399. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2400. game:GetService("Debris"):AddItem(prt,5)
  2401. coroutine.resume(coroutine.create(function(Part,Mesh)
  2402. for i=0,1,delay do
  2403. wait()
  2404. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2405. Part.Transparency=i
  2406. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2407. end
  2408. Part.Parent=nil
  2409. end),prt,msh)
  2410. end
  2411.  
  2412. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2413. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2414. prt.Anchored=true
  2415. prt.CFrame=cframe
  2416. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2417. game:GetService("Debris"):AddItem(prt,2)
  2418. coroutine.resume(coroutine.create(function(Part,Mesh)
  2419. for i=0,1,delay do
  2420. wait()
  2421. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2422. Part.Transparency=i
  2423. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2424. end
  2425. Part.Parent=nil
  2426. end),prt,msh)
  2427. end
  2428.  
  2429. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2430. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2431. prt.Anchored=true
  2432. prt.CFrame=cframe*cf(x,y,z)
  2433. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2434. game:GetService("Debris"):AddItem(prt,5)
  2435. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2436. local num=math.random()
  2437. local num2=math.random(-3,2)+math.random()
  2438. local numm=0
  2439. for i=0,1,delay*2 do
  2440. swait()
  2441. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2442. Part.Transparency=i
  2443. numm=numm+0.01
  2444. end
  2445. Part.Parent=nil
  2446. Mesh.Parent=nil
  2447. end),prt,msh,x,y,z)
  2448. end
  2449.  
  2450. function dmgstart(dmg,what)
  2451. hitcon = what.Touched:connect(function(hit)
  2452. local hum = hit.Parent:FindFirstChild("Humanoid")
  2453. if hum and not hum:IsDescendantOf(Character) then
  2454. hum:TakeDamage(dmg)
  2455. end
  2456. end)
  2457. end
  2458.  
  2459. function dmgstop()
  2460. hitcon:disconnect()
  2461. end
  2462.  
  2463. function Cloak()
  2464. Face.Parent=nil
  2465. cloaked=true
  2466. for _,v in pairs(Torso.Parent:children()) do
  2467. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2468. coroutine.resume(coroutine.create(function()
  2469. for i=0,1,0.2 do
  2470. wait()
  2471. v.Transparency=i
  2472. end
  2473. v.Transparency=1
  2474. end))
  2475. end
  2476. if v.className=="Hat" then
  2477. hatp=v.Handle
  2478. coroutine.resume(coroutine.create(function(derp)
  2479. for i=0,1,0.2 do
  2480. wait()
  2481. derp.Transparency=i
  2482. end
  2483. derp.Transparency=1
  2484. end),hatp)
  2485. end
  2486. end
  2487. for _,v in pairs(m:children()) do
  2488. if v.className=="Part" then
  2489. coroutine.resume(coroutine.create(function()
  2490. for i=0,1,0.2 do
  2491. wait()
  2492. v.Transparency=i
  2493. end
  2494. v.Transparency=1
  2495. end))
  2496. end
  2497. end
  2498. end
  2499.  
  2500. function UnCloak()
  2501. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2502. Face.Parent=Head
  2503. cloaked=false
  2504. for _,v in pairs(Torso.Parent:children()) do
  2505. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2506. coroutine.resume(coroutine.create(function()
  2507. for i=0,1,0.1 do
  2508. wait()
  2509. v.Transparency=v.Transparency-0.1
  2510. end
  2511. v.Transparency=0
  2512. end))
  2513. end
  2514. if v.className=="Hat" then
  2515. hatp=v.Handle
  2516. coroutine.resume(coroutine.create(function(derp)
  2517. for i=0,1,0.1 do
  2518. wait()
  2519. derp.Transparency=derp.Transparency-0.1
  2520. end
  2521. derp.Transparency=0
  2522. end),hatp)
  2523. end
  2524. end
  2525. for _,v in pairs(m:children()) do
  2526. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2527. coroutine.resume(coroutine.create(function()
  2528. for i=0,1,0.1 do
  2529. wait()
  2530. v.Transparency=v.Transparency-0.1
  2531. end
  2532. v.Transparency=0
  2533. end))
  2534. v.Transparency=0
  2535. end
  2536. end
  2537. end
  2538.  
  2539. local origcolor = BrickColor.new("Pastel light blue")
  2540. ---- This section of explosions.
  2541.  
  2542. ----
  2543.  
  2544.  
  2545. function ring(type,pos,scale,value)
  2546. local type = type
  2547. local rng = Instance.new("Part", char)
  2548. rng.Anchored = true
  2549. rng.BrickColor = origcolor
  2550. rng.CanCollide = false
  2551. rng.FormFactor = 3
  2552. rng.Name = "Ring"
  2553. rng.Size = Vector3.new(1, 1, 1)
  2554. rng.Transparency = 0
  2555. rng.TopSurface = 0
  2556. rng.BottomSurface = 0
  2557. rng.CFrame = pos
  2558. local rngm = Instance.new("SpecialMesh", rng)
  2559. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2560. rngm.Scale = scale
  2561. local scaler2 = 1
  2562. if type == "Add" then
  2563. scaler2 = 1*value
  2564. elseif type == "Divide" then
  2565. scaler2 = 1/value
  2566. end
  2567. coroutine.resume(coroutine.create(function()
  2568. for i = 0,10,0.1 do
  2569. swait()
  2570. if type == "Add" then
  2571. scaler2 = scaler2 - 0.01*value
  2572. elseif type == "Divide" then
  2573. scaler2 = scaler2 - 0.01/value
  2574. end
  2575. rng.Transparency = rng.Transparency + 0.01
  2576. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2577. end
  2578. rng:Destroy()
  2579. end))
  2580. end
  2581.  
  2582.  
  2583. function wave(type,pos,scale,value)
  2584. local type = type
  2585. local rng = Instance.new("Part", char)
  2586. rng.Anchored = true
  2587. rng.BrickColor = origcolor
  2588. rng.CanCollide = false
  2589. rng.FormFactor = 3
  2590. rng.Name = "Ring"
  2591. rng.Size = Vector3.new(1, 1, 1)
  2592. rng.Transparency = 0
  2593. rng.TopSurface = 0
  2594. rng.BottomSurface = 0
  2595. rng.CFrame = pos
  2596. local rngm = Instance.new("SpecialMesh", rng)
  2597. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2598. rngm.Scale = scale
  2599. local scaler2 = 1
  2600. if type == "Add" then
  2601. scaler2 = 1*value
  2602. elseif type == "Divide" then
  2603. scaler2 = 1/value
  2604. end
  2605. coroutine.resume(coroutine.create(function()
  2606. for i = 0,10,0.1 do
  2607. swait()
  2608. if type == "Add" then
  2609. scaler2 = scaler2 - 0.01*value
  2610. elseif type == "Divide" then
  2611. scaler2 = scaler2 - 0.01/value
  2612. end
  2613. rng.Transparency = rng.Transparency + 0.01
  2614. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2615. end
  2616. rng:Destroy()
  2617. end))
  2618. end
  2619.  
  2620. function wind(type,pos,scale,value,speed)
  2621. local type = type
  2622. local rng = Instance.new("Part", char)
  2623. rng.Anchored = true
  2624. rng.BrickColor = origcolor
  2625. rng.CanCollide = false
  2626. rng.FormFactor = 3
  2627. rng.Name = "Ring"
  2628. rng.Size = Vector3.new(1, 1, 1)
  2629. rng.Transparency = 0
  2630. rng.TopSurface = 0
  2631. rng.BottomSurface = 0
  2632. rng.CFrame = pos
  2633. local rngm = Instance.new("SpecialMesh", rng)
  2634. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2635. rngm.Scale = scale
  2636. local scaler2 = 1
  2637. if type == "Add" then
  2638. scaler2 = 1*value
  2639. elseif type == "Divide" then
  2640. scaler2 = 1/value
  2641. end
  2642. coroutine.resume(coroutine.create(function()
  2643. for i = 0,10,0.1 do
  2644. swait()
  2645. if type == "Add" then
  2646. scaler2 = scaler2 - 0.01*value
  2647. elseif type == "Divide" then
  2648. scaler2 = scaler2 - 0.01/value
  2649. end
  2650. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2651. rng.Transparency = rng.Transparency + 0.01
  2652. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2653. end
  2654. rng:Destroy()
  2655. end))
  2656. end
  2657.  
  2658. function groundwind(type,pos,scale,value,speed)
  2659. local type = type
  2660. local rng = Instance.new("Part", char)
  2661. rng.Anchored = true
  2662. rng.BrickColor = origcolor
  2663. rng.CanCollide = false
  2664. rng.FormFactor = 3
  2665. rng.Name = "Ring"
  2666. rng.Size = Vector3.new(1, 1, 1)
  2667. rng.Transparency = 0
  2668. rng.TopSurface = 0
  2669. rng.BottomSurface = 0
  2670. rng.CFrame = pos
  2671. local rngm = Instance.new("SpecialMesh", rng)
  2672. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2673. rngm.Scale = scale
  2674. local scaler2 = 1
  2675. if type == "Add" then
  2676. scaler2 = 1*value
  2677. elseif type == "Divide" then
  2678. scaler2 = 1/value
  2679. end
  2680. coroutine.resume(coroutine.create(function()
  2681. for i = 0,10,0.1 do
  2682. swait()
  2683. if type == "Add" then
  2684. scaler2 = scaler2 - 0.01*value
  2685. elseif type == "Divide" then
  2686. scaler2 = scaler2 - 0.01/value
  2687. end
  2688. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2689. rng.Transparency = rng.Transparency + 0.01
  2690. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2691. end
  2692. rng:Destroy()
  2693. end))
  2694. end
  2695.  
  2696. function CameraManager()
  2697. if TwoD and not CamInterrupt then
  2698. if Humanoid.Health > 0 then
  2699. Camera.CameraSubject = Humanoid
  2700. Camera.CameraType = "Scriptable"
  2701. Humanoid.AutoRotate = false
  2702. if Booleans.GyroUse then
  2703. Directer.MaxTorque = Vec3(0, huge, 0)
  2704. else
  2705. Directer.MaxTorque = Vec3(0, 0, 0)
  2706. end
  2707. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2708. if Booleans.CamFollow then
  2709. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2710. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2711. else
  2712. CPart.Position = RootPart.Position
  2713. end
  2714. else
  2715. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2716. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2717. end
  2718. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2719. else
  2720. Camera.CameraSubject = Humanoid
  2721. Camera.CameraType = "Custom"
  2722. Controller.Disabled = false
  2723. end
  2724. end
  2725. end
  2726.  
  2727. function ring(type,pos,scale,value)
  2728. local type = type
  2729. local rng = Instance.new("Part", char)
  2730. rng.Anchored = true
  2731. rng.BrickColor = origcolor
  2732. rng.CanCollide = false
  2733. rng.FormFactor = 3
  2734. rng.Name = "Ring"
  2735. rng.Size = Vector3.new(1, 1, 1)
  2736. rng.Transparency = 0
  2737. rng.TopSurface = 0
  2738. rng.BottomSurface = 0
  2739. rng.CFrame = pos
  2740. local rngm = Instance.new("SpecialMesh", rng)
  2741. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2742. rngm.Scale = scale
  2743. local scaler2 = 1
  2744. if type == "Add" then
  2745. scaler2 = 1*value
  2746. elseif type == "Divide" then
  2747. scaler2 = 1/value
  2748. end
  2749. coroutine.resume(coroutine.create(function()
  2750. for i = 0,10,0.1 do
  2751. swait()
  2752. if type == "Add" then
  2753. scaler2 = scaler2 - 0.01*value
  2754. elseif type == "Divide" then
  2755. scaler2 = scaler2 - 0.01/value
  2756. end
  2757. rng.Transparency = rng.Transparency + 0.01
  2758. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2759. end
  2760. rng:Destroy()
  2761. end))
  2762. end
  2763.  
  2764.  
  2765. function wave(type,pos,scale,value)
  2766. local type = type
  2767. local rng = Instance.new("Part", char)
  2768. rng.Anchored = true
  2769. rng.BrickColor = origcolor
  2770. rng.CanCollide = false
  2771. rng.FormFactor = 3
  2772. rng.Name = "Ring"
  2773. rng.Size = Vector3.new(1, 1, 1)
  2774. rng.Transparency = 0
  2775. rng.TopSurface = 0
  2776. rng.BottomSurface = 0
  2777. rng.CFrame = pos
  2778. local rngm = Instance.new("SpecialMesh", rng)
  2779. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2780. rngm.Scale = scale
  2781. local scaler2 = 1
  2782. if type == "Add" then
  2783. scaler2 = 1*value
  2784. elseif type == "Divide" then
  2785. scaler2 = 1/value
  2786. end
  2787. coroutine.resume(coroutine.create(function()
  2788. for i = 0,10,0.1 do
  2789. swait()
  2790. if type == "Add" then
  2791. scaler2 = scaler2 - 0.01*value
  2792. elseif type == "Divide" then
  2793. scaler2 = scaler2 - 0.01/value
  2794. end
  2795. rng.Transparency = rng.Transparency + 0.01
  2796. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2797. end
  2798. rng:Destroy()
  2799. end))
  2800. end
  2801.  
  2802. function sphere(bonuspeed,type,pos,scale,value,color)
  2803. local type = type
  2804. local rng = Instance.new("Part", char)
  2805. rng.Anchored = true
  2806. if ModeOfGlitch ~= 9 then
  2807. rng.BrickColor = color
  2808. elseif ModeOfGlitch == 9 then
  2809. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2810. end
  2811. rng.CanCollide = false
  2812. rng.FormFactor = 3
  2813. rng.Name = "Ring"
  2814. rng.Material = "Neon"
  2815. rng.Size = Vector3.new(1, 1, 1)
  2816. rng.Transparency = 0
  2817. rng.TopSurface = 0
  2818. rng.BottomSurface = 0
  2819. rng.CFrame = pos
  2820. local rngm = Instance.new("SpecialMesh", rng)
  2821. rngm.MeshType = "Sphere"
  2822. rngm.Scale = scale
  2823. if rainbowmode == true then
  2824. rng.Color = Color3.new(r/255,g/255,b/255)
  2825. end
  2826. if ModeOfGlitch == 9 then
  2827. coroutine.resume(coroutine.create(function()
  2828. while true do
  2829. swait()
  2830. if rng.Parent ~= nil then
  2831. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2832. else
  2833. break
  2834. end
  2835. end
  2836. end))
  2837. end
  2838. local scaler2 = 1
  2839. if type == "Add" then
  2840. scaler2 = 1*value
  2841. elseif type == "Divide" then
  2842. scaler2 = 1/value
  2843. end
  2844. coroutine.resume(coroutine.create(function()
  2845. for i = 0,10/bonuspeed,0.1 do
  2846. swait()
  2847. if rainbowmode == true then
  2848. rng.Color = Color3.new(r/255,g/255,b/255)
  2849. end
  2850. if type == "Add" then
  2851. scaler2 = scaler2 - 0.01*value/bonuspeed
  2852. elseif type == "Divide" then
  2853. scaler2 = scaler2 - 0.01/value*bonuspeed
  2854. end
  2855. if chaosmode == true then
  2856. rng.BrickColor = BrickColor.random()
  2857. end
  2858. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2859. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2860. end
  2861. rng:Destroy()
  2862. end))
  2863. end
  2864.  
  2865. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2866. local type = type
  2867. local rng = Instance.new("Part", char)
  2868. rng.Anchored = true
  2869. if ModeOfGlitch ~= 9 then
  2870. rng.BrickColor = color
  2871. elseif ModeOfGlitch == 9 then
  2872. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2873. end
  2874. rng.CanCollide = false
  2875. rng.FormFactor = 3
  2876. rng.Name = "Ring"
  2877. rng.Material = "Neon"
  2878. rng.Size = Vector3.new(1, 1, 1)
  2879. rng.Transparency = 0
  2880. rng.TopSurface = 0
  2881. rng.BottomSurface = 0
  2882. rng.CFrame = pos
  2883. local rngm = Instance.new("SpecialMesh", rng)
  2884. rngm.MeshType = "Sphere"
  2885. rngm.Scale = scale
  2886. local scaler2 = 1
  2887. local scaler2b = 1
  2888. local scaler2c = 1
  2889. if type == "Add" then
  2890. scaler2 = 1*value
  2891. scaler2b = 1*value2
  2892. scaler2c = 1*value3
  2893. elseif type == "Divide" then
  2894. scaler2 = 1/value
  2895. scaler2b = 1/value2
  2896. scaler2c = 1/value3
  2897. end
  2898. if ModeOfGlitch == 9 then
  2899. coroutine.resume(coroutine.create(function()
  2900. while true do
  2901. swait()
  2902. if rng.Parent ~= nil then
  2903. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2904. else
  2905. break
  2906. end
  2907. end
  2908. end))
  2909. end
  2910. coroutine.resume(coroutine.create(function()
  2911. for i = 0,10/bonuspeed,0.1 do
  2912. swait()
  2913. if type == "Add" then
  2914. scaler2 = scaler2 - 0.01*value/bonuspeed
  2915. scaler2b = scaler2b - 0.01*value/bonuspeed
  2916. scaler2c = scaler2c - 0.01*value/bonuspeed
  2917. elseif type == "Divide" then
  2918. scaler2 = scaler2 - 0.01/value*bonuspeed
  2919. scaler2b = scaler2b - 0.01/value*bonuspeed
  2920. scaler2c = scaler2c - 0.01/value*bonuspeed
  2921. end
  2922. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2923. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2924. end
  2925. rng:Destroy()
  2926. end))
  2927. end
  2928.  
  2929. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2930. local type = type
  2931. local rotenable = rotatingop
  2932. local rng = Instance.new("Part", char)
  2933. rng.Anchored = true
  2934. rng.BrickColor = color
  2935. rng.CanCollide = false
  2936. rng.FormFactor = 3
  2937. rng.Name = "Ring"
  2938. rng.Material = "Neon"
  2939. rng.Size = Vector3.new(1, 1, 1)
  2940. rng.Transparency = 0
  2941. if typeoftrans == "In" then
  2942. rng.Transparency = 1
  2943. end
  2944. rng.TopSurface = 0
  2945. rng.BottomSurface = 0
  2946. rng.CFrame = pos
  2947. local rngm = Instance.new("SpecialMesh", rng)
  2948. rngm.MeshType = "FileMesh"
  2949. if typeofshape == "Normal" then
  2950. rngm.MeshId = "rbxassetid://662586858"
  2951. elseif typeofshape == "Round" then
  2952. rngm.MeshId = "rbxassetid://662585058"
  2953. end
  2954. rngm.Scale = scale
  2955. local scaler2 = 1/10
  2956. if type == "Add" then
  2957. scaler2 = 1*value/10
  2958. elseif type == "Divide" then
  2959. scaler2 = 1/value/10
  2960. end
  2961. local randomrot = math.random(1,2)
  2962. coroutine.resume(coroutine.create(function()
  2963. for i = 0,10/bonuspeed,0.1 do
  2964. swait()
  2965. if type == "Add" then
  2966. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2967. elseif type == "Divide" then
  2968. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2969. end
  2970. if rotenable == true then
  2971. if randomrot == 1 then
  2972. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2973. elseif randomrot == 2 then
  2974. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2975. end
  2976. end
  2977. if typeoftrans == "Out" then
  2978. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2979. elseif typeoftrans == "In" then
  2980. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2981. end
  2982. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2983. end
  2984. rng:Destroy()
  2985. end))
  2986. end
  2987.  
  2988. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2989. local type = type
  2990. local rng = Instance.new("Part", char)
  2991. rng.Anchored = true
  2992. rng.BrickColor = color
  2993. rng.CanCollide = false
  2994. rng.FormFactor = 3
  2995. rng.Name = "Ring"
  2996. rng.Material = "Neon"
  2997. rng.Size = Vector3.new(1, 1, 1)
  2998. rng.Transparency = 0
  2999. rng.TopSurface = 0
  3000. rng.BottomSurface = 0
  3001. rng.CFrame = pos
  3002. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3003. local rngm = Instance.new("SpecialMesh", rng)
  3004. rngm.MeshType = "Brick"
  3005. rngm.Scale = vt(x1,y1,z1)
  3006. if rainbowmode == true then
  3007. rng.Color = Color3.new(r/255,g/255,b/255)
  3008. end
  3009. local scaler2 = 1
  3010. local speeder = FastSpeed/10
  3011. if type == "Add" then
  3012. scaler2 = 1*value
  3013. elseif type == "Divide" then
  3014. scaler2 = 1/value
  3015. end
  3016. coroutine.resume(coroutine.create(function()
  3017. for i = 0,10/bonuspeed,0.1 do
  3018. swait()
  3019. if rainbowmode == true then
  3020. rng.Color = Color3.new(r/255,g/255,b/255)
  3021. end
  3022. if type == "Add" then
  3023. scaler2 = scaler2 - 0.01*value/bonuspeed
  3024. elseif type == "Divide" then
  3025. scaler2 = scaler2 - 0.01/value*bonuspeed
  3026. end
  3027. if chaosmode == true then
  3028. rng.BrickColor = BrickColor.random()
  3029. end
  3030. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3031. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3032. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3033. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3034. end
  3035. rng:Destroy()
  3036. end))
  3037. end
  3038.  
  3039. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3040. local type = type
  3041. local rng = Instance.new("Part", char)
  3042. rng.Anchored = true
  3043. rng.BrickColor = color
  3044. rng.CanCollide = false
  3045. rng.FormFactor = 3
  3046. rng.Name = "Ring"
  3047. rng.Material = "Neon"
  3048. rng.Size = Vector3.new(1, 1, 1)
  3049. rng.Transparency = 0
  3050. rng.TopSurface = 0
  3051. rng.BottomSurface = 0
  3052. rng.CFrame = pos
  3053. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3054. local rngm = Instance.new("SpecialMesh", rng)
  3055. rngm.MeshType = "Brick"
  3056. rngm.Scale = vt(x1,y1,z1)
  3057. if rainbowmode == true then
  3058. rng.Color = Color3.new(r/255,g/255,b/255)
  3059. end
  3060. local scaler2 = 1
  3061. local speeder = FastSpeed/10
  3062. if type == "Add" then
  3063. scaler2 = 1*value
  3064. elseif type == "Divide" then
  3065. scaler2 = 1/value
  3066. end
  3067. coroutine.resume(coroutine.create(function()
  3068. for i = 0,10/bonuspeed,0.1 do
  3069. swait()
  3070. if rainbowmode == true then
  3071. rng.Color = Color3.new(r/255,g/255,b/255)
  3072. end
  3073. if type == "Add" then
  3074. scaler2 = scaler2 - 0.01*value/bonuspeed
  3075. elseif type == "Divide" then
  3076. scaler2 = scaler2 - 0.01/value*bonuspeed
  3077. end
  3078. if chaosmode == true then
  3079. rng.BrickColor = BrickColor.random()
  3080. end
  3081. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3082. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3083. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3084. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3085. end
  3086. rng:Destroy()
  3087. end))
  3088. end
  3089.  
  3090. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3091. local type = type
  3092. local rng = Instance.new("Part", char)
  3093. rng.Anchored = true
  3094. rng.BrickColor = color
  3095. rng.CanCollide = false
  3096. rng.FormFactor = 3
  3097. rng.Name = "Ring"
  3098. rng.Material = "Neon"
  3099. rng.Size = Vector3.new(1, 1, 1)
  3100. rng.Transparency = 0
  3101. rng.TopSurface = 0
  3102. rng.BottomSurface = 0
  3103. rng.CFrame = pos
  3104. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3105. local rngm = Instance.new("SpecialMesh", rng)
  3106. rngm.MeshType = "Brick"
  3107. rngm.Scale = vt(x1,y1,z1)
  3108. if rainbowmode == true then
  3109. rng.Color = Color3.new(r/255,g/255,b/255)
  3110. end
  3111. local scaler2 = 0
  3112. local speeder = FastSpeed/10
  3113. if type == "Add" then
  3114. scaler2 = 1*value
  3115. elseif type == "Divide" then
  3116. scaler2 = 1/value
  3117. end
  3118. coroutine.resume(coroutine.create(function()
  3119. for i = 0,10/bonuspeed,0.1 do
  3120. swait()
  3121. if rainbowmode == true then
  3122. rng.Color = Color3.new(r/255,g/255,b/255)
  3123. end
  3124. if type == "Add" then
  3125. scaler2 = scaler2 - 0.01*value/bonuspeed
  3126. elseif type == "Divide" then
  3127. scaler2 = scaler2 - 0.01/value*bonuspeed
  3128. end
  3129. if chaosmode == true then
  3130. rng.BrickColor = BrickColor.random()
  3131. end
  3132. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3133. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3134. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3135. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3136. end
  3137. rng:Destroy()
  3138. end))
  3139. end
  3140.  
  3141. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3142. local type = type
  3143. local rng = Instance.new("Part", char)
  3144. rng.Anchored = true
  3145. rng.BrickColor = color
  3146. rng.Color = color3
  3147. rng.CanCollide = false
  3148. rng.FormFactor = 3
  3149. rng.Name = "Ring"
  3150. rng.Material = "Neon"
  3151. rng.Size = Vector3.new(1, 1, 1)
  3152. rng.Transparency = 0
  3153. rng.TopSurface = 0
  3154. rng.BottomSurface = 0
  3155. rng.CFrame = pos
  3156. local rngm = Instance.new("SpecialMesh", rng)
  3157. rngm.MeshType = "Brick"
  3158. rngm.Scale = scale
  3159. local scaler2 = 1
  3160. local scaler2b = 1
  3161. local scaler2c = 1
  3162. if type == "Add" then
  3163. scaler2 = 1*value
  3164. scaler2b = 1*value2
  3165. scaler2c = 1*value3
  3166. elseif type == "Divide" then
  3167. scaler2 = 1/value
  3168. scaler2b = 1/value2
  3169. scaler2c = 1/value3
  3170. end
  3171. coroutine.resume(coroutine.create(function()
  3172. for i = 0,10/bonuspeed,0.1 do
  3173. swait()
  3174. if type == "Add" then
  3175. scaler2 = scaler2 - 0.01*value/bonuspeed
  3176. scaler2b = scaler2b - 0.01*value/bonuspeed
  3177. scaler2c = scaler2c - 0.01*value/bonuspeed
  3178. elseif type == "Divide" then
  3179. scaler2 = scaler2 - 0.01/value*bonuspeed
  3180. scaler2b = scaler2b - 0.01/value*bonuspeed
  3181. scaler2c = scaler2c - 0.01/value*bonuspeed
  3182. end
  3183. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3184. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3185. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3186. end
  3187. rng:Destroy()
  3188. end))
  3189. end
  3190.  
  3191. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3192. local type = type
  3193. local rng = Instance.new("Part", char)
  3194. rng.Anchored = true
  3195. if ModeOfGlitch ~= 9 then
  3196. rng.BrickColor = color
  3197. elseif ModeOfGlitch == 9 then
  3198. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3199. end
  3200. rng.CanCollide = false
  3201. rng.FormFactor = 3
  3202. rng.Name = "Ring"
  3203. rng.Material = "Neon"
  3204. rng.Size = Vector3.new(1, 1, 1)
  3205. rng.Transparency = 0
  3206. rng.TopSurface = 0
  3207. rng.BottomSurface = 0
  3208. rng.CFrame = pos
  3209. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3210. local rngm = Instance.new("SpecialMesh", rng)
  3211. rngm.MeshType = "Sphere"
  3212. rngm.Scale = vt(x1,y1,z1)
  3213. if rainbowmode == true then
  3214. rng.Color = Color3.new(r/255,g/255,b/255)
  3215. end
  3216. if ModeOfGlitch == 9 then
  3217. coroutine.resume(coroutine.create(function()
  3218. while true do
  3219. swait()
  3220. if rng.Parent ~= nil then
  3221. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3222. else
  3223. break
  3224. end
  3225. end
  3226. end))
  3227. end
  3228. local scaler2 = 1
  3229. local speeder = FastSpeed
  3230. if type == "Add" then
  3231. scaler2 = 1*value
  3232. elseif type == "Divide" then
  3233. scaler2 = 1/value
  3234. end
  3235. coroutine.resume(coroutine.create(function()
  3236. for i = 0,10/bonuspeed,0.1 do
  3237. swait()
  3238. if rainbowmode == true then
  3239. rng.Color = Color3.new(r/255,g/255,b/255)
  3240. end
  3241. if type == "Add" then
  3242. scaler2 = scaler2 - 0.01*value/bonuspeed
  3243. elseif type == "Divide" then
  3244. scaler2 = scaler2 - 0.01/value*bonuspeed
  3245. end
  3246. if chaosmode == true then
  3247. rng.BrickColor = BrickColor.random()
  3248. end
  3249. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3250. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3251. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3252. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3253. end
  3254. rng:Destroy()
  3255. end))
  3256. end
  3257.  
  3258.  
  3259. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3260. local type = type
  3261. local rng = Instance.new("Part", char)
  3262. rng.Anchored = true
  3263. if ModeOfGlitch ~= 9 then
  3264. rng.BrickColor = color
  3265. elseif ModeOfGlitch == 9 then
  3266. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3267. end
  3268. rng.CanCollide = false
  3269. rng.FormFactor = 3
  3270. rng.Name = "Ring"
  3271. rng.Material = "Neon"
  3272. rng.Size = Vector3.new(1, 1, 1)
  3273. rng.Transparency = 1
  3274. rng.TopSurface = 0
  3275. rng.BottomSurface = 0
  3276. rng.CFrame = pos
  3277. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3278. local rngm = Instance.new("SpecialMesh", rng)
  3279. rngm.MeshType = "Sphere"
  3280. rngm.Scale = vt(x1,y1,z1)
  3281. if rainbowmode == true then
  3282. rng.Color = Color3.new(r/255,g/255,b/255)
  3283. end
  3284. if ModeOfGlitch == 9 then
  3285. coroutine.resume(coroutine.create(function()
  3286. while true do
  3287. swait()
  3288. if rng.Parent ~= nil then
  3289. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3290. else
  3291. break
  3292. end
  3293. end
  3294. end))
  3295. end
  3296. local scaler2 = 1
  3297. local speeder = FastSpeed
  3298. if type == "Add" then
  3299. scaler2 = 1*value
  3300. elseif type == "Divide" then
  3301. scaler2 = 1/value
  3302. end
  3303. coroutine.resume(coroutine.create(function()
  3304. for i = 0,10/bonuspeed,0.1 do
  3305. swait()
  3306. if rainbowmode == true then
  3307. rng.Color = Color3.new(r/255,g/255,b/255)
  3308. end
  3309. if type == "Add" then
  3310. scaler2 = scaler2 - 0.01*value/bonuspeed
  3311. elseif type == "Divide" then
  3312. scaler2 = scaler2 - 0.01/value*bonuspeed
  3313. end
  3314. if chaosmode == true then
  3315. rng.BrickColor = BrickColor.random()
  3316. end
  3317. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3318. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3319. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3320. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3321. end
  3322. rng:Destroy()
  3323. end))
  3324. end
  3325.  
  3326. function dmg(dude)
  3327. if dude.Name ~= Character then
  3328. local keptcolor = MAINRUINCOLOR
  3329. local bgf = Instance.new("BodyGyro",dude.Head)
  3330. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3331. --[[local val = Instance.new("BoolValue",dude)
  3332. val.Name = "IsHit"]]--
  3333. local ds = coroutine.wrap(function()
  3334. dude:WaitForChild("Head"):BreakJoints()
  3335. for i, v in pairs(dude:GetChildren()) do
  3336. if v:IsA("Part") or v:IsA("MeshPart") then
  3337. v.Name = "DEMINISHED"
  3338. end
  3339. end
  3340. wait(0.5)
  3341. targetted = nil
  3342. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3343. coroutine.resume(coroutine.create(function()
  3344. for i, v in pairs(dude:GetChildren()) do
  3345. if v:IsA("Accessory") then
  3346. v:Destroy()
  3347. end
  3348. if v:IsA("Humanoid") then
  3349. v:Destroy()
  3350. end
  3351. if v:IsA("CharacterMesh") then
  3352. v:Destroy()
  3353. end
  3354. if v:IsA("Model") then
  3355. v:Destroy()
  3356. end
  3357. if v:IsA("Part") or v:IsA("MeshPart") then
  3358. for x, o in pairs(v:GetChildren()) do
  3359. if o:IsA("Decal") then
  3360. o:Destroy()
  3361. end
  3362. end
  3363. coroutine.resume(coroutine.create(function()
  3364. v.Material = "Neon"
  3365. v.CanCollide = false
  3366. v.Anchored = false
  3367. local bld = Instance.new("ParticleEmitter",v)
  3368. bld.LightEmission = 0.75
  3369. bld.Texture = "rbxassetid://363275192" ---284205403
  3370. bld.Color = ColorSequence.new(keptcolor.Color)
  3371. bld.Rate = 500
  3372. bld.Lifetime = NumberRange.new(1)
  3373. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3374. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3375. bld.Speed = NumberRange.new(2,5)
  3376. bld.VelocitySpread = 50000
  3377. bld.Rotation = NumberRange.new(-500,500)
  3378. bld.RotSpeed = NumberRange.new(-500,500)
  3379. local sbs = Instance.new("BodyPosition", v)
  3380. sbs.P = 3000
  3381. sbs.D = 1000
  3382. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3383. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3384. v.Color = keptcolor.Color
  3385. coroutine.resume(coroutine.create(function()
  3386. for i = 0, 49 do
  3387. swait(1)
  3388. v:BreakJoints()
  3389. v.Transparency = v.Transparency + 0.02
  3390. end
  3391. v:BreakJoints()
  3392. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3393. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3394. bld.Speed = NumberRange.new(10,25)
  3395. bld.Drag = 5
  3396. bld.Acceleration = vt(0,2,0)
  3397. wait(0.5)
  3398. bld.Enabled = false
  3399. wait(8)
  3400. v:Destroy()
  3401. dude:Destroy()
  3402. end))
  3403. end))
  3404. end
  3405. end
  3406. end))
  3407. end)
  3408. ds()
  3409. end
  3410. end
  3411.  
  3412.  
  3413. function FindNearestHead(Position, Distance, SinglePlayer)
  3414. if SinglePlayer then
  3415. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3416. end
  3417. local List = {}
  3418. for i, v in pairs(workspace:GetChildren()) do
  3419. if v:IsA("Model") then
  3420. if v:findFirstChild("Head") then
  3421. if v ~= Character then
  3422. if (v.Head.Position - Position).magnitude <= Distance then
  3423. table.insert(List, v)
  3424. end
  3425. end
  3426. end
  3427. end
  3428. end
  3429. return List
  3430. end
  3431.  
  3432. function FaceMouse()
  3433. Cam = workspace.CurrentCamera
  3434. return {
  3435. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3436. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3437. }
  3438. end
  3439.  
  3440. function FaceMouse2()
  3441. Cam = workspace.CurrentCamera
  3442. return {
  3443. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3444. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3445. }
  3446. end
  3447.  
  3448. local ModeOfGlitch = 1
  3449. -- Functions are ready.
  3450. local storehumanoidWS = 16
  3451.  
  3452. function CorruptBlink()
  3453. for i = 0, 14 do
  3454. 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)
  3455. end
  3456. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3457. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3458. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3459. CameraEnshaking(2,10)
  3460. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3461. if v:FindFirstChild('Head') then
  3462. dmg(v)
  3463. end
  3464. end
  3465. for i = 0, 14 do
  3466. 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)
  3467. end
  3468. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3469. end
  3470. function PureBomb()
  3471. attack = true
  3472. hum.WalkSpeed = 0
  3473. local orb = Instance.new("Part", char)
  3474. orb.Anchored = true
  3475. orb.BrickColor = BrickColor.new("Toothpaste")
  3476. orb.CanCollide = false
  3477. orb.FormFactor = 3
  3478. orb.Name = "Ring"
  3479. orb.Material = "Neon"
  3480. orb.Size = Vector3.new(1, 1, 1)
  3481. orb.Transparency = 0
  3482. orb.TopSurface = 0
  3483. orb.BottomSurface = 0
  3484. local orbm = Instance.new("SpecialMesh", orb)
  3485. orbm.MeshType = "Sphere"
  3486. orbm.Name = "SizeMesh"
  3487. orbm.Scale = vt(0,0,0)
  3488. local scaled = 0.1
  3489. local posid = 0
  3490. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3491. for i = 0, 5, 0.1 do
  3492. swait()
  3493. scaled = scaled - 0.001
  3494. posid = posid - scaled
  3495. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3496. local scaled = 0.1
  3497. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3498. 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)
  3499. 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)
  3500. 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)
  3501. 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)
  3502. 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)
  3503. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3504. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3505. 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)
  3506. end
  3507. for i = 0, 2, 0.1 do
  3508. swait()
  3509. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3510. 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)
  3511. 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)
  3512. 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)
  3513. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3514. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3515. 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)
  3516. end
  3517. coroutine.resume(coroutine.create(function()
  3518. orb.Anchored = false
  3519. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3520. local a = Instance.new("Part",workspace)
  3521. a.Name = "Direction"
  3522. a.Anchored = true
  3523. a.BrickColor = bc("Bright red")
  3524. a.Material = "Neon"
  3525. a.Transparency = 1
  3526. a.CanCollide = false
  3527. local ray = Ray.new(
  3528. orb.CFrame.p, -- origin
  3529. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3530. )
  3531. local ignore = orb
  3532. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3533. a.BottomSurface = 10
  3534. a.TopSurface = 10
  3535. local distance = (orb.CFrame.p - position).magnitude
  3536. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3537. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3538. orb.CFrame = a.CFrame
  3539. a:Destroy()
  3540. local bv = Instance.new("BodyVelocity")
  3541. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3542. bv.velocity = orb.CFrame.lookVector*125
  3543. bv.Parent = orb
  3544. local hitted = false
  3545. game:GetService("Debris"):AddItem(orb, 15)
  3546. wait()
  3547. local hit =orb.Touched:connect(function(hit)
  3548. if hitted == false then
  3549. hitted = true
  3550. CameraEnshaking(10,2.5)
  3551. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3552. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3553. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3554. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3555. for i = 0, 49 do
  3556. 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)
  3557. end
  3558. for i = 0, 9 do
  3559. 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)
  3560. 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)
  3561. end
  3562. orb.Anchored = true
  3563. orb.Transparency = 1
  3564. wait(8)
  3565. orb:Destroy()
  3566. end
  3567. end)
  3568. end))
  3569. for i = 0, 1, 0.1 do
  3570. swait()
  3571. 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)
  3572. 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)
  3573. 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)
  3574. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3575. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3576. 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)
  3577. end
  3578. hum.WalkSpeed = storehumanoidWS
  3579. attack = false
  3580. end
  3581.  
  3582. function BanishingOrb()
  3583. attack = true
  3584. hum.WalkSpeed = 0
  3585. local radm = math.random(1,3)
  3586. if radm == 1 then
  3587. bosschatfunc("Let it's go..",MAINRUINCOLOR.Color,1)
  3588. elseif radm == 2 then
  3589. bosschatfunc("So this is it..",MAINRUINCOLOR.Color,1)
  3590. elseif radm == 3 then
  3591. bosschatfunc("I have enough thing..",MAINRUINCOLOR.Color,1)
  3592. end
  3593. CFuncs["EchoSound"].Create("rbxassetid://1535994940", char, 5, 1,0,10,0.15,0.5,1)
  3594. CFuncs["EchoSound"].Create("rbxassetid://1535994940", root, 60, 1,0,10,0.15,0.5,1)
  3595. local orb = Instance.new("Part", char)
  3596. orb.Anchored = true
  3597. orb.BrickColor = BrickColor.new("Lime green")
  3598. orb.CanCollide = false
  3599. orb.FormFactor = 3
  3600. orb.Name = "Ring"
  3601. orb.Material = "Neon"
  3602. orb.Size = Vector3.new(1, 1, 1)
  3603. orb.Transparency = 0
  3604. orb.TopSurface = 0
  3605. orb.BottomSurface = 0
  3606. local orbm = Instance.new("SpecialMesh", orb)
  3607. orbm.MeshType = "Sphere"
  3608. orbm.Name = "SizeMesh"
  3609. orbm.Scale = vt(0,0,0)
  3610. local scaled = 0.1
  3611. local posid = 0
  3612. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3613. for i = 0, 5, 0.1 do
  3614. swait()
  3615. scaled = scaled - 0.001
  3616. posid = posid - scaled
  3617. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3618. local scaled = 0.1
  3619. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3620. 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)
  3621. 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)
  3622. 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)
  3623. 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)
  3624. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3625. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3626. 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)
  3627. end
  3628. for i = 0, 2, 0.1 do
  3629. swait()
  3630. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3631. 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)
  3632. 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)
  3633. 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)
  3634. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3635. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3636. 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)
  3637. end
  3638. coroutine.resume(coroutine.create(function()
  3639. orb.Anchored = false
  3640. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3641. local a = Instance.new("Part",workspace)
  3642. a.Name = "Direction"
  3643. a.Anchored = true
  3644. a.BrickColor = bc("Lime green")
  3645. a.Material = "Neon"
  3646. a.Transparency = 1
  3647. a.CanCollide = false
  3648. local ray = Ray.new(
  3649. orb.CFrame.p, -- origin
  3650. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3651. )
  3652. local ignore = orb
  3653. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3654. a.BottomSurface = 10
  3655. a.TopSurface = 10
  3656. local distance = (orb.CFrame.p - position).magnitude
  3657. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3658. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3659. orb.CFrame = a.CFrame
  3660. a:Destroy()
  3661. local bv = Instance.new("BodyVelocity")
  3662. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3663. bv.velocity = orb.CFrame.lookVector*0
  3664. bv.Parent = orb
  3665. local hitted = false
  3666. local rate = 0
  3667. coroutine.resume(coroutine.create(function()
  3668. for i = 0, 24 do
  3669. wait(0.1)
  3670. rate = rate + 0.25
  3671. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3672. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3673. if v:FindFirstChild('Head') then
  3674. dmg(v)
  3675. end
  3676. end
  3677. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3678. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,bc"Lime green")
  3679. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3680. end
  3681. orb.Anchored = true
  3682. orb.Transparency = 1
  3683. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3684. if v:FindFirstChild('Head') then
  3685. dmg(v)
  3686. end
  3687. end
  3688. local eff = Instance.new("ParticleEmitter",orb)
  3689. eff.Texture = "rbxassetid://296874871"
  3690. eff.LightEmission = 0.95
  3691. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3692. eff.Rate = 1000000000
  3693. eff.Lifetime = NumberRange.new(3)
  3694. 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)})
  3695. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3696. eff.Speed = NumberRange.new(30)
  3697. eff.Acceleration = vt(0,-15,0)
  3698. eff.Rotation = NumberRange.new(-500,500)
  3699. eff.VelocitySpread = 100000
  3700. eff.RotSpeed = NumberRange.new(-500,500)
  3701. coroutine.resume(coroutine.create(function()
  3702. wait(0.6)
  3703. eff.Enabled = false
  3704. end))
  3705. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3706. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3707. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,bc"Lime green")
  3708. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3709. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3710. game:GetService("Debris"):AddItem(orb, 15)
  3711. end))
  3712. end))
  3713. for i = 0, 1, 0.1 do
  3714. swait()
  3715. 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)
  3716. 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)
  3717. 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)
  3718. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3719. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3720. 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)
  3721. end
  3722. hum.WalkSpeed = storehumanoidWS
  3723. attack = false
  3724. end
  3725.  
  3726.  
  3727. function ChaosGroundStrike()
  3728. attack = true
  3729. for i = 0, 2, 0.1 do
  3730. swait()
  3731. 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)
  3732. 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)
  3733. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3734. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3735. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3736. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3737. end
  3738. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3739. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3740. CameraEnshaking(4,12)
  3741. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3742. if v:FindFirstChild('Head') then
  3743. dmg(v)
  3744. end
  3745. end
  3746. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3747. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3748. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3749. for i = 0, 2, 0.1 do
  3750. swait()
  3751. 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)
  3752. 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)
  3753. 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)
  3754. 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)
  3755. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3756. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3757. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3758. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3759. end
  3760. attack = false
  3761. end
  3762.  
  3763.  
  3764.  
  3765. function Starfall()
  3766. attack = true
  3767. hum.WalkSpeed = 0
  3768. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3769. for i = 0, 5, 0.1 do
  3770. swait()
  3771. 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)
  3772. 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)
  3773. 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)
  3774. 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)
  3775. 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)
  3776. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3777. 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)
  3778. 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)
  3779. end
  3780. local Overed = false
  3781. CameraEnshaking(2,20)
  3782. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3783. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3784. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3785. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3786. local orb = Instance.new("Part", char)
  3787. orb.Anchored = true
  3788. orb.BrickColor = BrickColor.new("Toothpaste")
  3789. orb.CanCollide = false
  3790. orb.FormFactor = 3
  3791. orb.Name = "Remenant"
  3792. orb.Material = "Neon"
  3793. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3794. orb.Size = Vector3.new(1, 1, 1)
  3795. orb.Transparency = 1
  3796. orb.TopSurface = 0
  3797. orb.BottomSurface = 0
  3798. hum.WalkSpeed = storehumanoidWS
  3799. coroutine.resume(coroutine.create(function()
  3800. for i = 0, 9 do
  3801. swait(10)
  3802. local lb = Instance.new("Part")
  3803. lb.Color = MAINRUINCOLOR.Color
  3804. lb.CanCollide = false
  3805. lb.Material = "Neon"
  3806. lb.Anchored = true
  3807. lb.TopSurface = 0
  3808. lb.BottomSurface = 0
  3809. lb.Transparency = 0
  3810. lb.Size = vt(1,1,1)
  3811. 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)))
  3812. lb.Anchored = false
  3813. lb.Parent = char
  3814. local thingery = Instance.new("SpecialMesh",lb)
  3815. thingery.MeshType = "Sphere"
  3816. thingery.Scale = vt(20,20,20)
  3817. game:GetService("Debris"):AddItem(lb, 10)
  3818. local bv = Instance.new("BodyVelocity")
  3819. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3820. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3821. bv.Parent = lb
  3822. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3823. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3824. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3825. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3826. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3827. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3828. local hitted = false
  3829. coroutine.resume(coroutine.create(function()
  3830. while true do
  3831. swait(1)
  3832. if lb.Parent ~= nil and hitted == false then
  3833. 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)
  3834. elseif lb.Parent == nil then
  3835. break
  3836. end
  3837. end
  3838. end))
  3839.  
  3840. game:GetService("Debris"):AddItem(a, 0.1)
  3841.  
  3842. coroutine.resume(coroutine.create(function()
  3843. swait(1)
  3844. lb.Touched:connect(function(hit)
  3845. if hitted == false then
  3846. hitted = true
  3847. lb.Transparency = 1
  3848. lb.Anchored = true
  3849. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3850. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3851. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3852. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3853. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3854. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3855. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3856. CameraEnshaking(1,5)
  3857. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3858. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3859. for i = 0, 9 do
  3860. 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)
  3861. end
  3862. for i = 0, 49 do
  3863. swait()
  3864. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3865. 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)
  3866. end
  3867. end
  3868. end)
  3869. end))
  3870. end
  3871. Overed = true
  3872. orb:Destroy()
  3873. end))
  3874.  
  3875. attack = false
  3876. end
  3877.  
  3878. function StarfallEX()
  3879. attack = true
  3880. hum.WalkSpeed = 0
  3881. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3882. for i = 0, 10, 0.1 do
  3883. swait()
  3884. 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)
  3885. 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)
  3886. 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)
  3887. 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)
  3888. 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)
  3889. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3890. 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)
  3891. 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)
  3892. end
  3893. local Overed = false
  3894. CameraEnshaking(2,20)
  3895. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3896. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3897. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3898. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3899. local orb = Instance.new("Part", char)
  3900. orb.Anchored = true
  3901. orb.BrickColor = BrickColor.new("Toothpaste")
  3902. orb.CanCollide = false
  3903. orb.FormFactor = 3
  3904. orb.Name = "Remenant"
  3905. orb.Material = "Neon"
  3906. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3907. orb.Size = Vector3.new(1, 1, 1)
  3908. orb.Transparency = 1
  3909. orb.TopSurface = 0
  3910. orb.BottomSurface = 0
  3911. hum.WalkSpeed = storehumanoidWS
  3912. coroutine.resume(coroutine.create(function()
  3913. for i = 0, 4 do
  3914. swait(15)
  3915. local lb = Instance.new("Part")
  3916. lb.Color = MAINRUINCOLOR.Color
  3917. lb.CanCollide = false
  3918. lb.Material = "Neon"
  3919. lb.Anchored = true
  3920. lb.TopSurface = 0
  3921. lb.BottomSurface = 0
  3922. lb.Transparency = 0
  3923. lb.Size = vt(1,1,1)
  3924. 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)))
  3925. lb.Anchored = false
  3926. lb.Parent = char
  3927. local thingery = Instance.new("SpecialMesh",lb)
  3928. thingery.MeshType = "Sphere"
  3929. thingery.Scale = vt(50,50,50)
  3930. game:GetService("Debris"):AddItem(lb, 10)
  3931. local bv = Instance.new("BodyVelocity")
  3932. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3933. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3934. bv.Parent = lb
  3935. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3936. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3937. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3938. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3939. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3940. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3941. local hitted = false
  3942. coroutine.resume(coroutine.create(function()
  3943. while true do
  3944. swait(1)
  3945. if lb.Parent ~= nil and hitted == false then
  3946. 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)
  3947. elseif lb.Parent == nil then
  3948. break
  3949. end
  3950. end
  3951. end))
  3952.  
  3953. game:GetService("Debris"):AddItem(a, 0.1)
  3954.  
  3955. coroutine.resume(coroutine.create(function()
  3956. swait(1)
  3957. lb.Touched:connect(function(hit)
  3958. if hitted == false then
  3959. hitted = true
  3960. lb.Transparency = 1
  3961. lb.Anchored = true
  3962. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3963. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3964. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3965. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3966. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3967. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3968. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3969. CameraEnshaking(1,5)
  3970. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3971. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3972. for i = 0, 9 do
  3973. 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)
  3974. end
  3975. for i = 0, 99 do
  3976. swait()
  3977. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3978. 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)
  3979. end
  3980. end
  3981. end)
  3982. end))
  3983. end
  3984. Overed = true
  3985. orb:Destroy()
  3986. end))
  3987.  
  3988. attack = false
  3989. end
  3990.  
  3991. function DivineBlast()
  3992. attack = true
  3993. bosschatfunc("Justice Beam!!",MAINRUINCOLOR.Color,0.7)
  3994. hum.WalkSpeed = 0
  3995. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3996. elocacenter.Anchored = true
  3997. elocacenter.CFrame = sorb.CFrame
  3998. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3999. eloca1.Anchored = true
  4000. eloca1.CFrame = elocacenter.CFrame
  4001. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4002. eloca2.Anchored = true
  4003. eloca2.CFrame = elocacenter.CFrame
  4004. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4005. eloca3.Anchored = true
  4006. eloca3.CFrame = elocacenter.CFrame
  4007. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4008. eloca4.Anchored = true
  4009. eloca4.CFrame = elocacenter.CFrame
  4010. local lookavec = 0
  4011. local speeds = 0
  4012. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4013. for i = 0, 3, 0.1 do
  4014. swait()
  4015. ---
  4016. lookavec = lookavec + 0.1
  4017. speeds = speeds + 10
  4018. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4019. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4020. 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)
  4021.  
  4022. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4023. 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)
  4024.  
  4025. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4026. 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)
  4027.  
  4028. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4029. 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)
  4030. ---
  4031. root.CFrame = FaceMouse()[1]
  4032. 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)
  4033. 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)
  4034. 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)
  4035. 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)
  4036. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4037. 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)
  4038. end
  4039. for i = 0, 3, 0.1 do
  4040. swait()
  4041. ---
  4042. speeds = speeds + 10
  4043. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4044. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4045. 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)
  4046.  
  4047. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4048. 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)
  4049.  
  4050. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4051. 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)
  4052.  
  4053. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4054. 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)
  4055. ---
  4056. root.CFrame = FaceMouse()[1]
  4057. 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)
  4058. 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)
  4059. 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)
  4060. 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)
  4061. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4062. 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)
  4063. end
  4064. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4065. CFuncs["Sound"].Create("rbxassetid://1436239652", char, 40,1)
  4066. for i = 0, 3, 0.1 do
  4067. swait()
  4068. ---
  4069. speeds = speeds + 10
  4070. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4071. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4072. 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)
  4073.  
  4074. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4075. 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)
  4076.  
  4077. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4078. 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)
  4079.  
  4080. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4081. 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)
  4082. ---
  4083. root.CFrame = FaceMouse()[1]
  4084. 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)
  4085. 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)
  4086. 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)
  4087. 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)
  4088. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4089. 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)
  4090. end
  4091. coroutine.resume(coroutine.create(function()
  4092. local a = Instance.new("Part",Character)
  4093. a.Name = "Direction"
  4094. a.Anchored = true
  4095. a.BrickColor = bc("White")
  4096. a.Material = "Neon"
  4097. a.Transparency = 0
  4098. a.Shape = "Cylinder"
  4099. a.CanCollide = false
  4100. local a2 = Instance.new("Part",Character)
  4101. a2.Name = "Direction"
  4102. a2.Anchored = true
  4103. a2.BrickColor = bc("Bright yellow")
  4104. a2.Material = "Neon"
  4105. a2.Transparency = 0
  4106. a2.Shape = "Cylinder"
  4107. a2.CanCollide = false
  4108. local b = Instance.new("Part",Character)
  4109. b.Name = "HitDirect"
  4110. b.Anchored = true
  4111. b.BrickColor = bc("Cool yellow")
  4112. b.Material = "Neon"
  4113. b.Transparency = 1
  4114. b.CanCollide = false
  4115. local ray = Ray.new(
  4116. elocacenter.CFrame.p, -- origin
  4117. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4118. )
  4119. local ignore = Character
  4120. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4121. a.BottomSurface = 10
  4122. a.TopSurface = 10
  4123. a2.BottomSurface = 10
  4124. a2.TopSurface = 10
  4125. local distance = (elocacenter.CFrame.p - position).magnitude
  4126. a.Size = Vector3.new(distance, 1, 1)
  4127. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4128. a2.Size = Vector3.new(distance, 1, 1)
  4129. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4130. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4131. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4132. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4133. game:GetService("Debris"):AddItem(a, 10)
  4134. game:GetService("Debris"):AddItem(a2, 10)
  4135. game:GetService("Debris"):AddItem(b, 10)
  4136. local eff = Instance.new("ParticleEmitter",b)
  4137. eff.Texture = "rbxassetid://2273224484"
  4138. eff.LightEmission = 1
  4139. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4140. eff.Rate = 500000
  4141. eff.Lifetime = NumberRange.new(0.5,2)
  4142. 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)})
  4143. 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)})
  4144. eff.Speed = NumberRange.new(20,250)
  4145. eff.Drag = 5
  4146. eff.Rotation = NumberRange.new(-500,500)
  4147. eff.VelocitySpread = 9000
  4148. eff.RotSpeed = NumberRange.new(-50,50)
  4149. coroutine.resume(coroutine.create(function()
  4150. wait(0.25)
  4151. eff.Enabled = false
  4152. end))
  4153. local msh = Instance.new("SpecialMesh",a)
  4154. msh.MeshType = "Cylinder"
  4155. msh.Scale = vt(1,2,2)
  4156. local msh2 = Instance.new("SpecialMesh",a2)
  4157. msh2.MeshType = "Cylinder"
  4158. msh2.Scale = vt(1,2.5,2.5)
  4159. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4160. coroutine.resume(coroutine.create(function()
  4161. for i = 0,10,0.1 do
  4162. swait()
  4163. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4164. a.Transparency = a.Transparency + 0.025
  4165. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4166. a2.Transparency = a2.Transparency + 0.05
  4167. end
  4168. a:Destroy()
  4169. a2:Destroy()
  4170. end))
  4171. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4172. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4173. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4174. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4175. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4176. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4177. MagniDamage(b, 25, 40,65, 0, "Normal")
  4178. for i = 0, 49 do
  4179. 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)
  4180. 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)
  4181. end
  4182. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4183. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4184. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4185. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4186. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4187. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4188. end))
  4189. game:GetService("Debris"):AddItem(elocacenter, 5)
  4190. hum.WalkSpeed = storehumanoidWS
  4191. attack = false
  4192. end
  4193.  
  4194. function StarDivision()
  4195. attack = true
  4196. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4197. for i = 0, 2, 0.1 do
  4198. swait()
  4199. 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)
  4200. 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)
  4201. 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)
  4202. 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)
  4203. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4204. 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)
  4205. end
  4206. local orb = Instance.new("Part", char)
  4207. orb.BrickColor = MAINRUINCOLOR
  4208. orb.CanCollide = false
  4209. orb.FormFactor = 3
  4210. orb.Name = "Ring"
  4211. orb.Material = "Neon"
  4212. orb.Size = Vector3.new(1, 1, 1)
  4213. orb.Transparency = 0
  4214. orb.TopSurface = 0
  4215. orb.BottomSurface = 0
  4216. local orbm = Instance.new("SpecialMesh", orb)
  4217. orbm.MeshType = "Sphere"
  4218. orbm.Name = "SizeMesh"
  4219. orbm.Scale = vt(2,2,2)
  4220. local a = Instance.new("Part",workspace)
  4221. a.Name = "Direction"
  4222. a.Anchored = true
  4223. a.BrickColor = bc("Bright red")
  4224. a.Material = "Neon"
  4225. a.Transparency = 1
  4226. a.CanCollide = false
  4227. local ray = Ray.new(
  4228. sorb.CFrame.p, -- origin
  4229. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4230. )
  4231. local ignore = sorb
  4232. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4233. a.BottomSurface = 10
  4234. a.TopSurface = 10
  4235. local distance = (sorb.CFrame.p - position).magnitude
  4236. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4237. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4238. orb.CFrame = a.CFrame
  4239. a:Destroy()
  4240. local bv = Instance.new("BodyVelocity")
  4241. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4242. bv.velocity = orb.CFrame.lookVector*100
  4243. bv.Parent = orb
  4244. local hitted = false
  4245. game:GetService("Debris"):AddItem(orb, 10)
  4246. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4247. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4248. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4249. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4250. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4251. coroutine.resume(coroutine.create(function()
  4252. while true do
  4253. swait(1)
  4254. if orb.Parent ~= nil and hitted == false then
  4255. 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)
  4256. elseif orb.Parent == nil then
  4257. break
  4258. end
  4259. end
  4260. end))
  4261. coroutine.resume(coroutine.create(function()
  4262. swait(1)
  4263. orb.Touched:connect(function(hit)
  4264. if hitted == false then
  4265. hitted = true
  4266. game:GetService("Debris"):AddItem(orb, 5)
  4267. orb.Transparency = 1
  4268. orb.Anchored = true
  4269. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4270. elocacenter.Anchored = true
  4271. elocacenter.CFrame = orb.CFrame
  4272. elocacenter.Orientation = vt(0,0,0)
  4273. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4274. eloca1.Anchored = true
  4275. eloca1.CFrame = elocacenter.CFrame
  4276. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4277. eloca2.Anchored = true
  4278. eloca2.CFrame = elocacenter.CFrame
  4279. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4280. eloca3.Anchored = true
  4281. eloca3.CFrame = elocacenter.CFrame
  4282. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4283. eloca4.Anchored = true
  4284. eloca4.CFrame = elocacenter.CFrame
  4285. local lookavec = 0
  4286. local speeds = 0
  4287. CameraEnshaking(1,1)
  4288. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4289. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4290. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4291. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4292. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4293. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4294. for i = 0, 99 do
  4295. swait()
  4296. lookavec = lookavec + 1
  4297. speeds = speeds + 0.1
  4298. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4299. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4300. 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)
  4301.  
  4302. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4303. 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)
  4304.  
  4305. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4306. 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)
  4307.  
  4308. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4309. 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)
  4310. end
  4311.  
  4312. for i = 0, 149 do
  4313. swait()
  4314. speeds = speeds + 0.1
  4315. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4316. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4317. 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)
  4318.  
  4319. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4320. 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)
  4321.  
  4322. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4323. 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)
  4324.  
  4325. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4326. 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)
  4327. end
  4328. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4329. if v:FindFirstChild('Head') then
  4330. dmg(v)
  4331. end
  4332. end
  4333. CameraEnshaking(7,30)
  4334. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4335. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4336. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4337. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4338. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4339. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4340. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4341. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4342. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4343. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4344. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4345. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4346. for i = 0, 24 do
  4347. 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)
  4348. 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)
  4349. 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)
  4350. 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)
  4351. end
  4352. coroutine.resume(coroutine.create(function()
  4353. for i = 0, 499 do
  4354. swait(1)
  4355. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4356. 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)
  4357. end
  4358. elocacenter:Destroy()
  4359. eloca1:Destroy()
  4360. eloca2:Destroy()
  4361. eloca3:Destroy()
  4362. eloca4:Destroy()
  4363. end))
  4364. end
  4365. end)
  4366. end))
  4367. attack = false
  4368. end
  4369.  
  4370.  
  4371. function THE_TRUE_POWER_OF_VIOLENCE()
  4372. attack = true
  4373. hum.WalkSpeed = 0
  4374. bosschatfunc("ALL YOUR DESTINY...",MAINRUINCOLOR.Color,4)
  4375. for i = 0, 10, 0.1 do
  4376. swait()
  4377. 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)
  4378. 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)
  4379. 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)
  4380. 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)
  4381. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4382. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4383. 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)
  4384. end
  4385. local orb = Instance.new("Part", char)
  4386. orb.BrickColor = MAINRUINCOLOR
  4387. orb.CanCollide = false
  4388. orb.FormFactor = 3
  4389. orb.Name = "Ring"
  4390. orb.Material = "Neon"
  4391. orb.Size = Vector3.new(1, 1, 1)
  4392. orb.Transparency = 0
  4393. orb.TopSurface = 0
  4394. orb.BottomSurface = 0
  4395. orb.CFrame = sorb.CFrame
  4396. local orbm = Instance.new("SpecialMesh", orb)
  4397. orbm.MeshType = "Sphere"
  4398. orbm.Name = "SizeMesh"
  4399. orbm.Scale = vt(0,0,0)
  4400. local sbs = Instance.new("BodyPosition", orb)
  4401. sbs.P = 3000
  4402. sbs.D = 1000
  4403. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4404. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4405. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4406. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4407. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4408. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4409. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4410. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4411. for i = 0, 10, 0.1 do
  4412. swait()
  4413. 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)
  4414. 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)
  4415. 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)
  4416. 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)
  4417. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4418. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4419. 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)
  4420. end
  4421. orb.Anchored = true
  4422. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4423. elocacenter.Anchored = true
  4424. elocacenter.CFrame = orb.CFrame
  4425. elocacenter.Orientation = vt(0,0,0)
  4426. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4427. eloca1.Anchored = true
  4428. eloca1.CFrame = elocacenter.CFrame
  4429. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4430. eloca2.Anchored = true
  4431. eloca2.CFrame = elocacenter.CFrame
  4432. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4433. eloca3.Anchored = true
  4434. eloca3.CFrame = elocacenter.CFrame
  4435. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4436. eloca4.Anchored = true
  4437. eloca4.CFrame = elocacenter.CFrame
  4438. local lookavec = 0
  4439. local speeds = 0
  4440. CameraEnshaking(1,1)
  4441. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4442. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4443. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4444. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4445. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4446. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4447. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4448. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4449. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4450. for i = 0, 99 do
  4451. swait()
  4452. lookavec = lookavec + 2.5
  4453. speeds = speeds + 0.25
  4454. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4455. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4456. 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)
  4457.  
  4458. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4459. 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)
  4460.  
  4461. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4462. 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)
  4463.  
  4464. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4465. 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)
  4466. end
  4467.  
  4468. for i = 0, 149 do
  4469. swait()
  4470. speeds = speeds + 0.25
  4471. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4472. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4473. 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)
  4474.  
  4475. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4476. 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)
  4477.  
  4478. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4479. 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)
  4480.  
  4481. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4482. 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)
  4483. end
  4484. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4485. for i = 0, 99 do
  4486. swait()
  4487. lookavec = lookavec - 2.5
  4488. speeds = speeds + 0.25
  4489. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4490. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4491. 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)
  4492.  
  4493. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4494. 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)
  4495.  
  4496. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4497. 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)
  4498.  
  4499. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4500. 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)
  4501. end
  4502. local scaled = 0.1*75
  4503. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4504. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4505. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4506. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4507. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4508. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4509. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4510. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4511. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4512. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4513. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4514.  
  4515. for i = 0, 10, 0.1 do
  4516. swait()
  4517. scaled = scaled - 0.001*75
  4518. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4519. 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)
  4520. 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)
  4521. 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)
  4522. 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)
  4523. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4524. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4525. 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)
  4526. end
  4527. bosschatfunc("WILL BE MINE!!!!",MAINRUINCOLOR.Color,2)
  4528. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 10, 1,0,10,0.15,0.5,1)
  4529. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 60, 1,0,10,0.15,0.5,1)
  4530. for x = 0, 4 do
  4531. for i = 0, 9 do
  4532. 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)
  4533. end
  4534. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4535. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4536. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4537. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4538. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4539. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4540. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4541. for i = 0, 5, 0.1 do
  4542. swait()
  4543. 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)
  4544. 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)
  4545. 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)
  4546. 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)
  4547. 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)
  4548. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4549. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4550. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4551. end
  4552. end
  4553. local speedearn = 0
  4554. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4555. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4556. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4557. for i = 0, 30, 0.1 do
  4558. swait()
  4559. scaled = scaled - 0.001*75/10
  4560. speedearn = speedearn + 0.5
  4561. for i = 0, 4 do
  4562. 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)
  4563. end
  4564. 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)
  4565. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  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)),.6)
  4571. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4572. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4573. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4574. end
  4575. orb.Transparency = 1
  4576. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4577. if v:FindFirstChild('Head') then
  4578. dmg(v)
  4579. end
  4580. end
  4581. CameraEnshaking(7,30)
  4582. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4583. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4584. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4585. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4586. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4587. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4588. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4589. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4590. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4591. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4592. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4593. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4594. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4595. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4596. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4597. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4598. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4599. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4600. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4601. for i = 0, 99 do
  4602. 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)
  4603. 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)
  4604. end
  4605. for i = 0, 24 do
  4606. 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)
  4607. 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)
  4608. 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)
  4609. 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)
  4610. 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)
  4611. end
  4612. game:GetService("Debris"):AddItem(orb, 10)
  4613. hum.WalkSpeed = storehumanoidWS
  4614. attack = false
  4615. end
  4616.  
  4617.  
  4618. function ViolentRing()
  4619. attack = true
  4620. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4621. bosschatfunc("SHOULD I TAKE THAT EASIER?!",MAINRUINCOLOR.Color,0.7)
  4622. CFuncs["EchoSound"].Create("rbxassetid://1535994137", char, 4, 1,0,10,0.15,0.5,1)
  4623. CFuncs["EchoSound"].Create("rbxassetid://1535994137", root, 7, 1,0,10,0.15,0.5,1)
  4624. for i = 0, 2, 0.1 do
  4625. swait()
  4626. local snap = math.random(1,10)
  4627. if snap == 1 then
  4628. 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)
  4629. end
  4630. 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)
  4631. 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)
  4632. 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)
  4633. 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)
  4634. 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)
  4635. 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)
  4636. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4637. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4638. 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)
  4639. RootPart.CFrame = FaceMouse()[1]
  4640. end
  4641. local orb = Instance.new("Part", char)
  4642. orb.BrickColor = MAINRUINCOLOR
  4643. orb.CanCollide = false
  4644. orb.FormFactor = 3
  4645. orb.Name = "Ring"
  4646. orb.Material = "Neon"
  4647. orb.Size = Vector3.new(1, 1, 1)
  4648. orb.Transparency = 0
  4649. orb.TopSurface = 0
  4650. orb.BottomSurface = 0
  4651. local orbm = Instance.new("SpecialMesh", orb)
  4652. orbm.MeshType = "Sphere"
  4653. orbm.Name = "SizeMesh"
  4654. orbm.Scale = vt(2,2,2)
  4655. orb.CFrame = mouse.Hit
  4656. local bv = Instance.new("BodyVelocity")
  4657. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4658. bv.velocity = orb.CFrame.lookVector*100
  4659. bv.Parent = orb
  4660. local hitted = false
  4661. coroutine.resume(coroutine.create(function()
  4662. game:GetService("Debris"):AddItem(orb, 5)
  4663. orb.Transparency = 1
  4664. orb.Anchored = true
  4665. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4666. elocacenter.Anchored = true
  4667. elocacenter.CFrame = orb.CFrame
  4668. elocacenter.Orientation = vt(0,0,0)
  4669. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4670. eloca1.Anchored = true
  4671. eloca1.CFrame = elocacenter.CFrame
  4672. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4673. eloca2.Anchored = true
  4674. eloca2.CFrame = elocacenter.CFrame
  4675. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4676. eloca3.Anchored = true
  4677. eloca3.CFrame = elocacenter.CFrame
  4678. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4679. eloca4.Anchored = true
  4680. eloca4.CFrame = elocacenter.CFrame
  4681. local lookavec = 0
  4682. local speeds = 0
  4683. CameraEnshaking(1,1)
  4684. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4685. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4686. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4687. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4688. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4689. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4690. for i = 0, 24 do
  4691. swait()
  4692. lookavec = lookavec + 3.5
  4693. speeds = speeds + 1
  4694. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4695. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4696. 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)
  4697.  
  4698. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4699. 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)
  4700.  
  4701. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4702. 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)
  4703.  
  4704. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4705. 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)
  4706. end
  4707.  
  4708. local risen = 0
  4709. for i = 0, 49 do
  4710. swait()
  4711. risen = risen + 0.05
  4712. speeds = speeds + 0.1
  4713. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4714. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4715. 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)
  4716.  
  4717. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4718. 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)
  4719.  
  4720. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4721. 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)
  4722.  
  4723. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4724. 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)
  4725. end
  4726. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4727. if v:FindFirstChild('Head') then
  4728. dmg(v)
  4729. end
  4730. end
  4731. CameraEnshaking(4,10)
  4732. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4733. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4734. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4735. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4736. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4737. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4738. local eff = Instance.new("ParticleEmitter",elocacenter)
  4739. eff.Texture = "rbxassetid://2273224484"
  4740. eff.LightEmission = 1
  4741. eff.Color = ColorSequence.new(Color3.new(1,1,0))
  4742. eff.Rate = 1000000
  4743. eff.Lifetime = NumberRange.new(0.5,2)
  4744. 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)})
  4745. 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)})
  4746. eff.Speed = NumberRange.new(20,250)
  4747. eff.Drag = 5
  4748. eff.Rotation = NumberRange.new(-500,500)
  4749. eff.VelocitySpread = 5000000
  4750. eff.RotSpeed = NumberRange.new(-50,50)
  4751. coroutine.resume(coroutine.create(function()
  4752. wait(1)
  4753. eff.Enabled = false
  4754. end))
  4755. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4756. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4757. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4758. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4759. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4760. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4761. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4762. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4763. for i = 0, 24 do
  4764. 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)
  4765. 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)
  4766. 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)
  4767. 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)
  4768. end
  4769. coroutine.resume(coroutine.create(function()
  4770. wait(10)
  4771. elocacenter:Destroy()
  4772. eloca1:Destroy()
  4773. eloca2:Destroy()
  4774. eloca3:Destroy()
  4775. eloca4:Destroy()
  4776. end))
  4777. end))
  4778. attack = false
  4779. end
  4780.  
  4781. function UniversalCollapse()
  4782. attack = true
  4783. local speedearn = 0
  4784. hum.WalkSpeed = 0
  4785. local sbs = Instance.new("BodyPosition", root)
  4786. sbs.P = 3000
  4787. sbs.D = 1000
  4788. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4789. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4790. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4791. for i = 0, 85, 0.1 do
  4792. swait()
  4793. speedearn = speedearn + 0.1
  4794. 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)
  4795. 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)
  4796. 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)
  4797. 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)
  4798. 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)
  4799. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4800. 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)
  4801. 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)
  4802. 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)
  4803. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4804. 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)
  4805. 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)
  4806. end
  4807. bosschatfunc("Universary..",MAINRUINCOLOR.Color,1)
  4808. CFuncs["EchoSound"].Create("rbxassetid://1448032598", char, 5, 1,0,10,0.15,0.5,1)
  4809. CFuncs["EchoSound"].Create("rbxassetid://1448032598", root, 20, 1,0,10,0.15,0.5,1)
  4810. for i = 0, 25, 0.1 do
  4811. swait()
  4812. speedearn = speedearn + 0.1
  4813. 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)
  4814. 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)
  4815. 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)
  4816. 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)
  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. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4819. 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)
  4820. 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)
  4821. 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)
  4822. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4823. 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)
  4824. 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)
  4825. end
  4826. bosschatfunc("COLLAPSE!!!",MAINRUINCOLOR.Color,1)
  4827. CFuncs["EchoSound"].Create("rbxassetid://1436241883", char, 5, 1,0,10,0.15,0.5,1)
  4828. CFuncs["EchoSound"].Create("rbxassetid://1436241883", root, 20, 1,0,10,0.15,0.5,1)
  4829. CameraEnshaking(5,50)
  4830. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4831. for i = 0, 2 do
  4832. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4833. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4834. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4835. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4836. end
  4837. for i = 0, 49 do
  4838. 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)
  4839. 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)
  4840. 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)
  4841. 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)
  4842. end
  4843. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4844. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4845. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4846. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4847. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4848. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4849. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4850. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4851. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4852. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4853. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4854. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4855. for i = 0, 99 do
  4856. 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)
  4857. 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)
  4858. end
  4859. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4860. if v:FindFirstChild('Head') then
  4861. dmg(v)
  4862. end
  4863. end
  4864. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4865. sbs:Destroy()
  4866. hum.WalkSpeed = storehumanoidWS
  4867. attack = false
  4868. end
  4869.  
  4870.  
  4871. function ChaosEND()
  4872. attack = true
  4873. local speedearn = 0
  4874. bosschatfunc("THIS IS..",MAINRUINCOLOR.Color,0.8)
  4875. CFuncs["EchoSound"].Create("rbxassetid://1548599511", char, 4.5, 1,0,10,0.15,0.5,1)
  4876. CFuncs["EchoSound"].Create("rbxassetid://1548599511", root, 30, 1,0,10,0.15,0.5,1)
  4877. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4878. for i = 0, 15, 0.1 do
  4879. swait()
  4880. speedearn = speedearn + 0.25
  4881. 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)
  4882. 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)
  4883. 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)
  4884. 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)
  4885. 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)
  4886. 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)
  4887. 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)
  4888. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4889. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4890. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4891. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4892. end
  4893. CFuncs["Sound"].Create("rbxassetid://438666141", char, 3,1)
  4894. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 4, 1)
  4895. bosschatfunc("THE END!!!",MAINRUINCOLOR.Color,2)
  4896. CFuncs["EchoSound"].Create("rbxassetid://1548599962", char, 8, 1,0,10,0.15,0.5,1)
  4897. CFuncs["EchoSound"].Create("rbxassetid://1548599962", root, 40, 1,0,10,0.15,0.5,1)
  4898. CameraEnshaking(5,25)
  4899. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4900. if v:FindFirstChild('Head') then
  4901. dmg(v)
  4902. end
  4903. end
  4904. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4905. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4906. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4907. for i = 0, 3, 0.1 do
  4908. swait()
  4909. 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)
  4910. 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)
  4911. 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)
  4912. 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)
  4913. 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)
  4914. 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)
  4915. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4916. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4917. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4918. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4919. end
  4920. attack = false
  4921. end
  4922.  
  4923. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4924. local orb = Instance.new("Part", char)
  4925. orb.Anchored = true
  4926. orb.BrickColor = color
  4927. orb.CanCollide = false
  4928. orb.FormFactor = 3
  4929. orb.Name = "Ring"
  4930. orb.Material = "Neon"
  4931. orb.Size = Vector3.new(1, 1, 1)
  4932. orb.Transparency = 0
  4933. orb.TopSurface = 0
  4934. orb.BottomSurface = 0
  4935. local orbm = Instance.new("SpecialMesh", orb)
  4936. orbm.MeshType = "Sphere"
  4937. orb.CFrame = positted
  4938. orbm.Name = "SizeMesh"
  4939. orbm.Scale = vt(1,1,1)
  4940. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4941. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4942. --[[for i = 0, 2 do
  4943. 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)
  4944. end]]--
  4945. coroutine.resume(coroutine.create(function()
  4946. wait(timer)
  4947. CameraEnshaking(3,ShakePower)
  4948. orb.Transparency = 1
  4949. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4950. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4951. --[[for i = 0, 4 do
  4952. 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)
  4953. end]]--
  4954. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4955. wait(3)
  4956. orb:Destroy()
  4957. end))
  4958. end
  4959.  
  4960. function orb_spawn(positted,timer)
  4961. local randomcol = math.random(1,2)
  4962. local orb = Instance.new("Part", char)
  4963. orb.Anchored = true
  4964. if randomcol == 1 then
  4965. orb.BrickColor = BrickColor.new("White")
  4966. elseif randomcol == 2 then
  4967. orb.BrickColor = BrickColor.new("Really black")
  4968. end
  4969. orb.CanCollide = false
  4970. orb.FormFactor = 3
  4971. orb.Name = "Ring"
  4972. orb.Material = "Neon"
  4973. orb.Size = Vector3.new(1, 1, 1)
  4974. orb.Transparency = 0
  4975. orb.TopSurface = 0
  4976. orb.BottomSurface = 0
  4977. local orbm = Instance.new("SpecialMesh", orb)
  4978. orbm.MeshType = "Sphere"
  4979. orb.CFrame = positted
  4980. orbm.Name = "SizeMesh"
  4981. orbm.Scale = vt(1,1,1)
  4982. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 0.15, 1)
  4983. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4984. for i = 0, 2 do
  4985. 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)
  4986. end
  4987. coroutine.resume(coroutine.create(function()
  4988. wait(timer)
  4989. CameraEnshaking(3,2)
  4990. orb.Transparency = 1
  4991. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4992. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4993. for i = 0, 4 do
  4994. 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)
  4995. end
  4996. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 0.15, 0.7)
  4997. wait(3)
  4998. orb:Destroy()
  4999. end))
  5000. end
  5001.  
  5002. function scattercorrupt()
  5003. attack = true
  5004. hum.WalkSpeed = 0
  5005. for i = 0, 2, 0.1 do
  5006. swait()
  5007. 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)
  5008. 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)
  5009. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.2)
  5010. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5011. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(30)),.2)
  5012. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-30)),.2)
  5013. end
  5014. local rot = 0
  5015. local randomrotations = math.random(1,2)
  5016. local lookv = 2.5
  5017. local power = 7
  5018. local radm = math.random(1,3)
  5019. if radm == 1 then
  5020. bosschatfunc("HOW LONG CAN YOU TAKE THIS?",MAINRUINCOLOR.Color,1)
  5021. elseif radm == 2 then
  5022. bosschatfunc("SWAMP!!",MAINRUINCOLOR.Color,1)
  5023. elseif radm == 3 then
  5024. bosschatfunc("SCATTER!!",MAINRUINCOLOR.Color,1)
  5025. end
  5026. CFuncs["Sound"].Create("rbxassetid://183763506", RightLeg, 2, 1)
  5027. for i = 0, 1, 0.1 do
  5028. swait()
  5029. 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)
  5030. 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)
  5031. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(15),math.rad(0),math.rad(0)),.15)
  5032. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0)),.15)
  5033. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(40)),.15)
  5034. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(-40)),.15)
  5035. end
  5036. CFuncs["EchoSound"].Create("rbxassetid://1535994669", char, 5, 1,0,10,0.15,0.5,1)
  5037. CFuncs["EchoSound"].Create("rbxassetid://1535994669", root, 20, 1,0,10,0.15,0.5,1)
  5038. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  5039. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  5040. for i = 0, 9 do
  5041. 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)
  5042. end
  5043. local hite = Instance.new("Part", char)
  5044. hite.Anchored = true
  5045. hite.CanCollide = false
  5046. hite.FormFactor = 3
  5047. hite.Name = "Ring"
  5048. hite.Material = "Neon"
  5049. hite.Size = Vector3.new(1, 1, 1)
  5050. hite.Transparency = 1
  5051. hite.TopSurface = 0
  5052. hite.BottomSurface = 0
  5053. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  5054. local rem = Instance.new("Part", char)
  5055. rem.Anchored = true
  5056. rem.CanCollide = false
  5057. rem.FormFactor = 3
  5058. rem.Name = "Ring"
  5059. rem.Material = "Neon"
  5060. rem.Size = Vector3.new(1, 1, 1)
  5061. rem.Transparency = 1
  5062. rem.TopSurface = 0
  5063. rem.BottomSurface = 0
  5064. rem.CFrame = hite.CFrame
  5065. local rem2 = rem:Clone()
  5066. rem2.Parent = char
  5067. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5068. local rem3 = rem:Clone()
  5069. rem3.Parent = char
  5070. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5071. local rem4 = rem:Clone()
  5072. rem4.Parent = char
  5073. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5074. hite:Destroy()
  5075. coroutine.resume(coroutine.create(function()
  5076. for i = 0, 24 do
  5077. swait(1)
  5078. if randomrotations == 1 then
  5079. rot = rot + 1
  5080. elseif randomrotations == 2 then
  5081. rot = rot - 1
  5082. end
  5083. power = power + 0.5
  5084. lookv = lookv + 7.5
  5085. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5086. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  5087. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  5088. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  5089. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5090. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5091. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5092. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,1)
  5093. end
  5094. end))
  5095. wait(2)
  5096. hum.WalkSpeed = storehumanoidWS
  5097. attack = false
  5098. end
  5099. function yinyangi()
  5100. attack = true
  5101. for i = 0, 2, 0.1 do
  5102. swait()
  5103. 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)
  5104. 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)
  5105. 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)
  5106. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5107. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5108. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5109. end
  5110. local bv = Instance.new("BodyVelocity")
  5111. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5112. bv.velocity = root.CFrame.lookVector*175
  5113. bv.Parent = root
  5114. for Rotations = 0, 9 do
  5115. for i = 0, 1, 0.5 do
  5116. swait()
  5117. bv.velocity = root.CFrame.lookVector*175
  5118. 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)
  5119. 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)
  5120. 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)
  5121. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5122. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5123. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5124. end
  5125. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5126. for i = 0, 1, 0.5 do
  5127. swait()
  5128. bv.velocity = root.CFrame.lookVector*175
  5129. 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)
  5130. 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)
  5131. 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)
  5132. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5133. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5134. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5135. end
  5136. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5137. for i = 0, 1, 0.5 do
  5138. swait()
  5139. bv.velocity = root.CFrame.lookVector*175
  5140. 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)
  5141. 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)
  5142. 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)
  5143. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5144. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5145. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5146. end
  5147. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5148. for i = 0, 1, 0.5 do
  5149. swait()
  5150. bv.velocity = root.CFrame.lookVector*175
  5151. 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)
  5152. 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)
  5153. 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)
  5154. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5155. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5156. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5157. end
  5158. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5159. end
  5160. bv:Destroy()
  5161. attack = false
  5162. end
  5163.  
  5164. function createBGCircle(size,parent,color)
  5165. local bgui = Instance.new("BillboardGui",parent)
  5166. bgui.Size = UDim2.new(size, 0, size, 0)
  5167. local imgc = Instance.new("ImageLabel",bgui)
  5168. imgc.BackgroundTransparency = 1
  5169. imgc.ImageTransparency = 0
  5170. imgc.Size = UDim2.new(1,0,1,0)
  5171. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5172. imgc.ImageColor3 = color
  5173. return bgui,imgc
  5174. end
  5175.  
  5176. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5177. local bgui,imgc = createBGCircle(size,guipar,color)
  5178. bgui.AlwaysOnTop = true
  5179. imgc.Image = "rbxassetid://" ..img
  5180. local rrot = math.random(1,2)
  5181. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5182. coroutine.resume(coroutine.create(function()
  5183. for i = 0, 24*delay do
  5184. swait()
  5185. if rotationenabled == true then
  5186. if rrot == 1 then
  5187. imgc.Rotation = imgc.Rotation + rotsp
  5188. elseif rrot == 2 then
  5189. imgc.Rotation = imgc.Rotation - rotsp
  5190. end
  5191. end
  5192. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5193. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5194. end
  5195. bgui:Destroy()
  5196. end))
  5197. end
  5198. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5199. for i, v in pairs(mw2:GetChildren()) do
  5200. if v:IsA("Part") then
  5201. v.BrickColor = one
  5202. v.Material = "Neon"
  5203. end
  5204. end
  5205. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5206. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5207. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5208. tr1.Color = ColorSequence.new(one.Color)
  5209. tr2.Color = ColorSequence.new(one.Color)
  5210. tr3.Color = ColorSequence.new(one.Color)
  5211. for i, v in pairs(mw1:GetChildren()) do
  5212. if v:IsA("Part") then
  5213. if secondaryenabled == false then
  5214. v.Transparency = 1
  5215. elseif secondaryenabled == true then
  5216. v.Transparency = 0
  5217. end
  5218. v.BrickColor = two
  5219. v.Material = "Neon"
  5220. end
  5221. end
  5222. if secondaryenabled == false then
  5223. tl1.Enabled = false
  5224. tl2.Enabled = false
  5225. tl3.Enabled = false
  5226. elseif secondaryenabled == true then
  5227. tl1.Enabled = true
  5228. tl2.Enabled = true
  5229. tl3.Enabled = true
  5230. end
  5231. tl1.Color = ColorSequence.new(two.Color)
  5232. tl2.Color = ColorSequence.new(two.Color)
  5233. tl3.Color = ColorSequence.new(two.Color)
  5234. for i, v in pairs(m:GetChildren()) do
  5235. if v:IsA("Part") then
  5236. v.BrickColor = three
  5237. v.Material = "Ice"
  5238. end
  5239. end
  5240. for i, v in pairs(m2:GetChildren()) do
  5241. if v:IsA("Part") then
  5242. v.BrickColor = four
  5243. v.Material = "Ice"
  5244. end
  5245. end
  5246. for i, v in pairs(m3:GetChildren()) do
  5247. if v:IsA("Part") then
  5248. v.BrickColor = five
  5249. v.Material = "Neon"
  5250. end
  5251. end
  5252. for i, v in pairs(extrawingmod1:GetChildren()) do
  5253. if v:IsA("Part") then
  5254. v.Transparency = exonetran
  5255. v.BrickColor = exone
  5256. v.Material = "Neon"
  5257. end
  5258. end
  5259. for i, v in pairs(extrawingmod2:GetChildren()) do
  5260. if v:IsA("Part") then
  5261. v.Transparency = extwotran
  5262. v.BrickColor = extwo
  5263. v.Material = "Neon"
  5264. end
  5265. end
  5266. end
  5267.  
  5268.  
  5269. function normalmog()
  5270. attack = true
  5271. hum.WalkSpeed = 0
  5272. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1.25)
  5273. for i = 0,6,0.1 do
  5274. swait()
  5275. 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)
  5276. 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)
  5277. 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)
  5278. 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)
  5279. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.15)*angles(math.rad(30),math.rad(0),math.rad(0)),.2)
  5280. 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)
  5281. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5282. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5283. end
  5284. CFuncs["Sound"].Create("rbxassetid://206082327", root, 7.5,1)
  5285. CFuncs["Sound"].Create("rbxassetid://847061203", root, 10,1)
  5286. CFuncs["Sound"].Create("rbxassetid://239000203", root, 7.5,1)
  5287. CFuncs["Sound"].Create("rbxassetid://579687077", root, 7.5,0.75)
  5288. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 10,1)
  5289. CFuncs["Sound"].Create("rbxassetid://763718160", root, 7.5, 1.1)
  5290. CFuncs["Sound"].Create("rbxassetid://782353443", root, 7.5, 1)
  5291. rainbowmode = false
  5292. chaosmode = false
  5293. ModeOfGlitch = 1
  5294. storehumanoidWS = 16
  5295. newTheme("rbxassetid://367339030",48.6,1,1.25)
  5296. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  5297. CameraEnshaking(5,2.5)
  5298. MAINRUINCOLOR = BrickColor.new("Really red")
  5299. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5300. for i = 0, 49 do
  5301. 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)
  5302. end
  5303. for i = 0, 24 do
  5304. 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)
  5305. 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"))
  5306. end
  5307. for i = 0,3,0.1 do
  5308. 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)
  5309. end
  5310. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  5311. for i = 0,2,0.1 do
  5312. swait()
  5313. 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)
  5314. 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)
  5315. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.3,-0.15)*angles(math.rad(-30),math.rad(0),math.rad(0)),.5)
  5316. 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)
  5317. 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)
  5318. 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)
  5319. end
  5320. hum.WalkSpeed = storehumanoidWS
  5321. attack = false
  5322. end
  5323.  
  5324. function attackone()
  5325. attack = true
  5326. local keptcolor = MAINRUINCOLOR
  5327. for i = 0,1,0.1 do
  5328. swait()
  5329. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  5330. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  5331. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  5332. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5333. 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)
  5334. 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)
  5335. end
  5336. local distlook = 5
  5337. coroutine.resume(coroutine.create(function()
  5338. for i = 0, 4 do
  5339. swait(2)
  5340. CameraEnshaking(2,3)
  5341. local hite = Instance.new("Part", char)
  5342. hite.Anchored = true
  5343. hite.CanCollide = false
  5344. hite.FormFactor = 3
  5345. hite.Name = "Ring"
  5346. hite.Material = "Neon"
  5347. hite.Size = Vector3.new(1, 1, 1)
  5348. hite.Transparency = 1
  5349. hite.TopSurface = 0
  5350. hite.BottomSurface = 0
  5351. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  5352. 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)
  5353. 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)
  5354. 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)
  5355. 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)
  5356. MagniDamage(hite, 9, 10,25, 0, "Normal")
  5357. for i = 0, 14 do
  5358. local rsiz = math.random(5,20)
  5359. 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)
  5360. end
  5361. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  5362. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  5363. game:GetService("Debris"):AddItem(hite, 5)
  5364. distlook = distlook + 10
  5365. end
  5366. end))
  5367. for i = 0,1,0.1 do
  5368. swait()
  5369. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  5370. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  5371. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  5372. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  5373. 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)
  5374. 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)
  5375. end
  5376. attack = false
  5377. end
  5378.  
  5379. function attacktwo()
  5380. attack = true
  5381. hum.WalkSpeed = 2
  5382. local keptcolor = MAINRUINCOLOR
  5383. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5384. 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)
  5385. 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)
  5386. for i = 0, 14 do
  5387. 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)
  5388. end
  5389. for i = 0,1,0.1 do
  5390. swait()
  5391. 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)
  5392. 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)
  5393. 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)
  5394. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5395. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5396. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5397. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5398. end
  5399. for i = 0, 1 do
  5400. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5401. for i = 0,1,0.6 do
  5402. swait()
  5403. 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)
  5404. 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"))
  5405. 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)
  5406. 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)
  5407. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5408. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5409. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5410. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5411. end
  5412. for i = 0,1,0.6 do
  5413. swait()
  5414. 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)
  5415. 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"))
  5416. 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)
  5417. 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)
  5418. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5419. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5420. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5421. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5422. end
  5423. for i = 0,1,0.6 do
  5424. swait()
  5425. 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)
  5426. 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"))
  5427. 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)
  5428. 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)
  5429. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5430. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5431. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5432. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5433. end
  5434. for i = 0,1,0.6 do
  5435. swait()
  5436. 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)
  5437. 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"))
  5438. 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)
  5439. 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)
  5440. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5441. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5442. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5443. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5444. end
  5445. local rot = 0
  5446. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5447. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5448. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5449. CreateMesh(dis,"Sphere",10,1,10)
  5450. local at1 = Instance.new("Attachment",dis)
  5451. at1.Position = vt(-5,0,0)
  5452. local at2 = Instance.new("Attachment",dis)
  5453. at2.Position = vt(5,0,0)
  5454. local trl = Instance.new('Trail',wed)
  5455. trl.Attachment0 = at1
  5456. trl.Attachment1 = at2
  5457. trl.Texture = "rbxassetid://1049219073"
  5458. trl.LightEmission = 1
  5459. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5460. trl.Color = ColorSequence.new(dis.Color)
  5461. trl.Lifetime = 0.6
  5462. local a = Instance.new("Part",workspace)
  5463. a.Name = "Direction"
  5464. a.Anchored = true
  5465. a.BrickColor = bc("Bright red")
  5466. a.Material = "Neon"
  5467. a.Transparency = 1
  5468. a.CanCollide = false
  5469. local ray = Ray.new(
  5470. dis.CFrame.p, -- origin
  5471. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5472. )
  5473. local ignore = dis
  5474. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5475. a.BottomSurface = 10
  5476. a.TopSurface = 10
  5477. local distance = (dis.CFrame.p - position).magnitude
  5478. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5479. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5480. dis.CFrame = a.CFrame
  5481. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5482. a:Destroy()
  5483. local bv = Instance.new("BodyVelocity")
  5484. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5485. bv.velocity = dis.CFrame.lookVector*250
  5486. bv.Parent = dis
  5487. game:GetService("Debris"):AddItem(dis, 5)
  5488. local hitted = false
  5489. coroutine.resume(coroutine.create(function()
  5490. dis.Touched:connect(function(hit)
  5491. if hitted == false and hit.Parent ~= char then
  5492. hitted = true
  5493. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5494. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5495. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5496. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5497. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5498. coroutine.resume(coroutine.create(function()
  5499. for i = 0, 9 do
  5500. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5501. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5502. local at1 = Instance.new("Attachment",disr)
  5503. at1.Position = vt(-5,0,0)
  5504. local at2 = Instance.new("Attachment",disr)
  5505. at2.Position = vt(5,0,0)
  5506. local trl = Instance.new('Trail',disr)
  5507. trl.Attachment0 = at1
  5508. trl.FaceCamera = true
  5509. trl.Attachment1 = at2
  5510. trl.Texture = "rbxassetid://2342682798"
  5511. trl.LightEmission = 1
  5512. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5513. trl.Color = ColorSequence.new(keptcolor.Color)
  5514. trl.Lifetime = 0.5
  5515. local bv = Instance.new("BodyVelocity")
  5516. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5517. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5518. bv.Parent = disr
  5519. local val = 0
  5520. coroutine.resume(coroutine.create(function()
  5521. swait(30)
  5522. for i = 0, 9 do
  5523. swait()
  5524. val = val + 0.1
  5525. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5526. end
  5527. game:GetService("Debris"):AddItem(disr, 3)
  5528. end))
  5529. end
  5530. local eff = Instance.new("ParticleEmitter",dis)
  5531. eff.Texture = "rbxassetid://2273224484"
  5532. eff.LightEmission = 1
  5533. eff.Color = ColorSequence.new(keptcolor.Color)
  5534. eff.Rate = 500000
  5535. eff.Lifetime = NumberRange.new(0.5,2)
  5536. 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)})
  5537. 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)})
  5538. eff.Speed = NumberRange.new(20,250)
  5539. eff.Drag = 5
  5540. eff.Rotation = NumberRange.new(-500,500)
  5541. eff.VelocitySpread = 9000
  5542. eff.RotSpeed = NumberRange.new(-50,50)
  5543. wait(0.25)
  5544. eff.Enabled = false
  5545. end))
  5546. for i = 0, 9 do
  5547. 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"))
  5548. end
  5549. for i = 0, 19 do
  5550. 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)
  5551. end
  5552. coroutine.resume(coroutine.create(function()
  5553. for i = 0, 19 do
  5554. swait()
  5555. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5556. end
  5557. hum.CameraOffset = vt(0,0,0)
  5558. end))
  5559. dis.Anchored = true
  5560. dis.Transparency = 1
  5561. wait(8)
  5562. dis:Destroy()
  5563. end
  5564. end)
  5565. end))
  5566. rot = rot - 15
  5567. end
  5568. for i = 0,2,0.1 do
  5569. swait()
  5570. 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)
  5571. 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)
  5572. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5573. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5574. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5575. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5576. end
  5577. attack = false
  5578. hum.WalkSpeed = storehumanoidWS
  5579. end
  5580.  
  5581. function attackthree()
  5582. attack = true
  5583. local keptcolor = MAINRUINCOLOR
  5584. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5585. for i = 0,2,0.1 do
  5586. swait()
  5587. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5588. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5589. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5590. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5591. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5592. 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)
  5593. 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)
  5594. end
  5595. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5596. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5597. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5598. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5599. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5600. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5601. for i = 0, 24 do
  5602. 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"))
  5603. end
  5604. for i = 0,4,0.1 do
  5605. swait()
  5606. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5607. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5608. CreateMesh(dis,"Sphere",1,1,1)
  5609. dis.Anchored = true
  5610. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5611. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5612. coroutine.resume(coroutine.create(function()
  5613. swait(30)
  5614. dis.Transparency = 1
  5615. coroutine.resume(coroutine.create(function()
  5616. for i = 0, 19 do
  5617. swait()
  5618. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5619. end
  5620. hum.CameraOffset = vt(0,0,0)
  5621. end))
  5622. coroutine.resume(coroutine.create(function()
  5623. local eff = Instance.new("ParticleEmitter",dis)
  5624. eff.Texture = "rbxassetid://2273224484"
  5625. eff.LightEmission = 1
  5626. eff.Color = ColorSequence.new(dis.Color)
  5627. eff.Rate = 500000
  5628. eff.Lifetime = NumberRange.new(0.5,2)
  5629. 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)})
  5630. 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)})
  5631. eff.Speed = NumberRange.new(50,450)
  5632. eff.Drag = 5
  5633. eff.Rotation = NumberRange.new(-500,500)
  5634. eff.VelocitySpread = 9000
  5635. eff.RotSpeed = NumberRange.new(-50,50)
  5636. wait(0.125)
  5637. eff.Enabled = false
  5638. end))
  5639. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5640. for i = 0, 2 do
  5641. 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)
  5642. end
  5643. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5644. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5645. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5646. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5647. end))
  5648. game:GetService("Debris"):AddItem(dis, 5)
  5649. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5650. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5651. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5652. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5653. 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)
  5654. 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)
  5655. end
  5656. attack = false
  5657. end
  5658. ----------------------------------- Abilities
  5659.  
  5660. function ExtinctiveHeartbreak()
  5661. local targetted = nil
  5662. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5663. targetted = mouse.Target.Parent
  5664. end
  5665. if targetted ~= nil then
  5666. attack = true
  5667. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5668. for i = 0, 9 do
  5669. 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)
  5670. end
  5671. for i = 0, 24 do
  5672. 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)
  5673. end
  5674. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5675. local originalpos = root.CFrame
  5676. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5677. for i = 0, 9 do
  5678. 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)
  5679. end
  5680. for i = 0, 24 do
  5681. 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)
  5682. end
  5683. hum.WalkSpeed = 0
  5684. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5685. local radm = math.random(1,3)
  5686. if radm == 1 then
  5687. bosschatfunc("YOU WONT BE NECCESSARY.",MAINRUINCOLOR.Color,2)
  5688. elseif radm == 2 then
  5689. bosschatfunc("YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,2)
  5690. elseif radm == 3 then
  5691. bosschatfunc("DIE!",MAINRUINCOLOR.Color,2)
  5692. end
  5693. for i = 0,2,0.1 do
  5694. swait()
  5695. 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)
  5696. 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)
  5697. 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)
  5698. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5699. 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)
  5700. 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)
  5701. end
  5702. CFuncs["Sound"].Create("rbxassetid://153092227", root, 0.5,1)
  5703. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 2, 1,0,10,0.25,0.5,1)
  5704. for i = 0,2,0.1 do
  5705. swait()
  5706. coroutine.resume(coroutine.create(function()
  5707. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5708. for i,v in pairs(targetted:GetChildren()) do
  5709. if v:IsA("Part") or v:IsA("MeshPart") then
  5710. v.Velocity = vt(0,0,0)
  5711. end
  5712. end
  5713. end))
  5714. 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)
  5715. 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)
  5716. 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)
  5717. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5718. 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)
  5719. 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)
  5720. end
  5721. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 0.5, 1,0,10,0.25,0.5,1)
  5722. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 0.5, 0.9,0,10,0.25,0.5,1)
  5723. for i = 0, 1 do
  5724. CFuncs["EchoSound"].Create("rbxassetid://159882598", char, 2, 1,0.1,10,0.15,0.5,1)
  5725. end
  5726. CFuncs["EchoSound"].Create("rbxassetid://159882598", root, 15, 1,0.1,10,0.15,0.5,1)
  5727. --chatfunc("RRRRROOAGHH!",Color3.new(1,0,0),"Inverted","Antique",0.75)
  5728. for i = 0,4,0.1 do
  5729. swait()
  5730. coroutine.resume(coroutine.create(function()
  5731. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5732. 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)))
  5733. local at1 = Instance.new("Attachment",dis)
  5734. at1.Position = vt(-25000,0,0)
  5735. local at2 = Instance.new("Attachment",dis)
  5736. at2.Position = vt(25000,0,0)
  5737. local trl = Instance.new('Trail',dis)
  5738. trl.Attachment0 = at1
  5739. trl.FaceCamera = true
  5740. trl.Attachment1 = at2
  5741. trl.Texture = "rbxassetid://1049219073"
  5742. trl.LightEmission = 1
  5743. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5744. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5745. trl.Lifetime = 5
  5746. local bv = Instance.new("BodyVelocity")
  5747. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5748. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5749. bv.Parent = dis
  5750. game:GetService("Debris"):AddItem(dis, 5)
  5751. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5752. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5753. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5754. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5755. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5756. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5757. 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)
  5758. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5759. for i = 0, 2 do
  5760. 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"))
  5761. end
  5762. 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)
  5763. for i,v in pairs(targetted:GetChildren()) do
  5764. if v:IsA("Part") or v:IsA("MeshPart") then
  5765. v.Velocity = vt(0,0,0)
  5766. end
  5767. end
  5768. end))
  5769. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5770. 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)
  5771. 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)
  5772. 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)
  5773. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5774. 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)
  5775. 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)
  5776. end
  5777. hum.CameraOffset = vt(0,0,0)
  5778. for i = 0, 49 do
  5779. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5780. 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)))
  5781. local at1 = Instance.new("Attachment",dis)
  5782. at1.Position = vt(-50000,0,0)
  5783. local at2 = Instance.new("Attachment",dis)
  5784. at2.Position = vt(50000,0,0)
  5785. local trl = Instance.new('Trail',dis)
  5786. trl.Attachment0 = at1
  5787. trl.FaceCamera = true
  5788. trl.Attachment1 = at2
  5789. trl.Texture = "rbxassetid://1049219073"
  5790. trl.LightEmission = 1
  5791. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5792. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5793. trl.Lifetime = 5
  5794. local bv = Instance.new("BodyVelocity")
  5795. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5796. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5797. bv.Parent = dis
  5798. game:GetService("Debris"):AddItem(dis, 5)
  5799. end
  5800. for i = 0, 49 do
  5801. 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)
  5802. 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"))
  5803. end
  5804. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5805. for i = 0, 1 do
  5806. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5807. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5808. end
  5809. for i = 0, 4 do
  5810. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5811. end
  5812. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5813. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5814. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5815. dmg(targetted)
  5816. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5817. for i = 0, 9 do
  5818. 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)
  5819. end
  5820. for i = 0, 24 do
  5821. 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)
  5822. end
  5823. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5824. root.CFrame = originalpos
  5825. for i = 0, 9 do
  5826. 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)
  5827. end
  5828. for i = 0, 24 do
  5829. 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)
  5830. end
  5831. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5832. attack = false
  5833. hum.WalkSpeed = storehumanoidWS
  5834. end
  5835. end
  5836.  
  5837. function CorruptionEvent()
  5838. attack = true
  5839. hum.WalkSpeed = 0
  5840. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5841. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5842. local keptcolor = MAINRUINCOLOR
  5843. for i = 0,4,0.1 do
  5844. swait()
  5845. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5846. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5847. 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)
  5848. 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)
  5849. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5850. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5851. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5852. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5853. end
  5854. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5855. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5856. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5857. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5858. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5859. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5860. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5861. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5862. hum.CameraOffset = vt(0,0,0)
  5863. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5864. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5865. for i = 0, 24 do
  5866. 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"))
  5867. end
  5868. local rrot = 0
  5869. coroutine.resume(coroutine.create(function()
  5870. for i = 0, 4 do
  5871. rrot = rrot + 45
  5872. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5873. xa.Anchored = true
  5874. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5875. xb.Anchored = true
  5876. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5877. xc.Anchored = true
  5878. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5879. xd.Anchored = true
  5880. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5881. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5882. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5883. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5884. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5885. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5886. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5887. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5888. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5889. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5890. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5891. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5892. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5893. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5894. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5895. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5896. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5897. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5898. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5899. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5900. for i = 0, 9 do
  5901. 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"))
  5902. 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"))
  5903. 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"))
  5904. 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"))
  5905. end
  5906. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5907. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5908. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5909. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5910. 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)
  5911. 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)
  5912. 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)
  5913. 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)
  5914. 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))
  5915. 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))
  5916. 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))
  5917. 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))
  5918. game:GetService("Debris"):AddItem(xa, 5)
  5919. game:GetService("Debris"):AddItem(xb, 5)
  5920. game:GetService("Debris"):AddItem(xc, 5)
  5921. game:GetService("Debris"):AddItem(xd, 5)
  5922. coroutine.resume(coroutine.create(function()
  5923. for i = 0, 19 do
  5924. swait()
  5925. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5926. end
  5927. hum.CameraOffset = vt(0,0,0)
  5928. end))
  5929. swait(9)
  5930. end
  5931. end))
  5932. for i = 0,2,0.1 do
  5933. swait()
  5934. 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)
  5935. 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)
  5936. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5937. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5938. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5939. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5940. end
  5941. attack = false
  5942. hum.WalkSpeed = storehumanoidWS
  5943. end
  5944.  
  5945. function EndGROUND()
  5946. attack = true
  5947. hum.WalkSpeed = 0
  5948. bosschatfunc("THIS IS IT!",MAINRUINCOLOR.Color,1)
  5949. --CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5950. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5951. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5952. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5953. local keptcolor = MAINRUINCOLOR
  5954. for i = 0,4,0.1 do
  5955. swait()
  5956. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5957. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5958. 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"))
  5959. 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)
  5960. 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)
  5961. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5962. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5963. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5964. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5965. end
  5966. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5967. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5968. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5969. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5970. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5971. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5972. coroutine.resume(coroutine.create(function()
  5973. local shval = 10
  5974. for i = 0, 99 do
  5975. swait()
  5976. shval = shval - 0.1
  5977. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5978. end
  5979. hum.CameraOffset = vt(0,0,0)
  5980. end))
  5981. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5982. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5983. for i = 0, 24 do
  5984. 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"))
  5985. end
  5986. local rrot = 0
  5987. local xam = 1
  5988. coroutine.resume(coroutine.create(function()
  5989. for i = 0, 14 do
  5990. --swait()
  5991. rrot = rrot + 40*xam
  5992. xam = xam + 0.25
  5993. local bonus = xam
  5994. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5995. xa.Anchored = true
  5996. xa.Color = Color3.new(0,0,0)
  5997. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5998. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5999. local xc = 0
  6000. coroutine.resume(coroutine.create(function()
  6001. for i = 0, 99 do
  6002. swait()
  6003. xc = xc + 0.01
  6004. xa.Color = Color3.new(xc,0,0)
  6005. end
  6006. xa.Transparency = 1
  6007. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  6008. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  6009. for i = 0, 9 do
  6010. 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"))
  6011. end
  6012. 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)
  6013. 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)
  6014. 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))
  6015. game:GetService("Debris"):AddItem(xa, 5)
  6016. coroutine.resume(coroutine.create(function()
  6017. for i = 0, 19 do
  6018. swait()
  6019. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  6020. end
  6021. hum.CameraOffset = vt(0,0,0)
  6022. end))
  6023. end))
  6024. end
  6025. end))
  6026. for i = 0,2,0.1 do
  6027. swait()
  6028. 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)
  6029. 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)
  6030. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  6031. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  6032. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  6033. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  6034. end
  6035. attack = false
  6036. hum.WalkSpeed = storehumanoidWS
  6037. end
  6038.  
  6039. function HeavenlyDisk()
  6040. attack = true
  6041. hum.WalkSpeed = 2
  6042. local keptcolor = MAINRUINCOLOR
  6043. local radm = math.random(1,3)
  6044. if radm == 1 then
  6045. bosschatfunc("Dont make this too easy for you.",MAINRUINCOLOR.Color,1)
  6046. elseif radm == 2 then
  6047. bosschatfunc("Heavenly Disks!",MAINRUINCOLOR.Color,1)
  6048. elseif radm == 3 then
  6049. bosschatfunc("Take it!",MAINRUINCOLOR.Color,1)
  6050. end
  6051. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  6052. CFuncs["EchoSound"].Create("rbxassetid://1625448638", char, 4, 1,0,10,0.15,0.5,1)
  6053. 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)
  6054. 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)
  6055. for i = 0, 14 do
  6056. 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)
  6057. end
  6058. for i = 0,2,0.1 do
  6059. swait()
  6060. 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)
  6061. 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)
  6062. 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)
  6063. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  6064. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  6065. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6066. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  6067. end
  6068. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  6069. for i = 0,1,0.6 do
  6070. swait()
  6071. 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)
  6072. 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"))
  6073. 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)
  6074. 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)
  6075. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6076. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6077. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6078. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6079. end
  6080. for i = 0,1,0.6 do
  6081. swait()
  6082. 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)
  6083. 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"))
  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)),.6)
  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)),.6)
  6086. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6087. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6088. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6089. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6090. end
  6091. for i = 0,1,0.6 do
  6092. swait()
  6093. 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)
  6094. 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"))
  6095. 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)
  6096. 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)
  6097. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6098. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6099. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6100. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6101. end
  6102. for i = 0,1,0.6 do
  6103. swait()
  6104. 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)
  6105. 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"))
  6106. 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)
  6107. 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)
  6108. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6109. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6110. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6111. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6112. end
  6113. local rot = 15
  6114. for i = 0, 2 do
  6115. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6116. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6117. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6118. CreateMesh(dis,"Sphere",10,1,10)
  6119. local at1 = Instance.new("Attachment",dis)
  6120. at1.Position = vt(-5,0,0)
  6121. local at2 = Instance.new("Attachment",dis)
  6122. at2.Position = vt(5,0,0)
  6123. local trl = Instance.new('Trail',wed)
  6124. trl.Attachment0 = at1
  6125. trl.Attachment1 = at2
  6126. trl.Texture = "rbxassetid://1049219073"
  6127. trl.LightEmission = 1
  6128. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6129. trl.Color = ColorSequence.new(dis.Color)
  6130. trl.Lifetime = 0.6
  6131. local a = Instance.new("Part",workspace)
  6132. a.Name = "Direction"
  6133. a.Anchored = true
  6134. a.BrickColor = bc("Bright red")
  6135. a.Material = "Neon"
  6136. a.Transparency = 1
  6137. a.CanCollide = false
  6138. local ray = Ray.new(
  6139. dis.CFrame.p, -- origin
  6140. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6141. )
  6142. local ignore = dis
  6143. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6144. a.BottomSurface = 10
  6145. a.TopSurface = 10
  6146. local distance = (dis.CFrame.p - position).magnitude
  6147. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6148. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6149. dis.CFrame = a.CFrame
  6150. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6151. a:Destroy()
  6152. local bv = Instance.new("BodyVelocity")
  6153. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6154. bv.velocity = dis.CFrame.lookVector*250
  6155. bv.Parent = dis
  6156. game:GetService("Debris"):AddItem(dis, 5)
  6157. local hitted = false
  6158. coroutine.resume(coroutine.create(function()
  6159. dis.Touched:connect(function(hit)
  6160. if hitted == false and hit.Parent ~= char then
  6161. hitted = true
  6162. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6163. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6164. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6165. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6166. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6167. coroutine.resume(coroutine.create(function()
  6168. for i = 0, 9 do
  6169. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6170. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6171. local at1 = Instance.new("Attachment",disr)
  6172. at1.Position = vt(-2,0,0)
  6173. local at2 = Instance.new("Attachment",disr)
  6174. at2.Position = vt(2,0,0)
  6175. local trl = Instance.new('Trail',disr)
  6176. trl.Attachment0 = at1
  6177. trl.FaceCamera = true
  6178. trl.Attachment1 = at2
  6179. trl.Texture = "rbxassetid://2342682798"
  6180. trl.LightEmission = 1
  6181. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6182. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6183. trl.Lifetime = 0.5
  6184. local bv = Instance.new("BodyVelocity")
  6185. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6186. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6187. bv.Parent = disr
  6188. local val = 0
  6189. coroutine.resume(coroutine.create(function()
  6190. swait(30)
  6191. for i = 0, 9 do
  6192. swait()
  6193. val = val + 0.1
  6194. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6195. end
  6196. game:GetService("Debris"):AddItem(disr, 3)
  6197. end))
  6198. end
  6199. local eff = Instance.new("ParticleEmitter",dis)
  6200. eff.Texture = "rbxassetid://2273224484"
  6201. eff.LightEmission = 1
  6202. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6203. eff.Rate = 500000
  6204. eff.Lifetime = NumberRange.new(0.5,2)
  6205. 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)})
  6206. 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)})
  6207. eff.Speed = NumberRange.new(20,250)
  6208. eff.Drag = 5
  6209. eff.Rotation = NumberRange.new(-500,500)
  6210. eff.VelocitySpread = 9000
  6211. eff.RotSpeed = NumberRange.new(-50,50)
  6212. wait(0.25)
  6213. eff.Enabled = false
  6214. end))
  6215. for i = 0, 9 do
  6216. 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"))
  6217. end
  6218. for i = 0, 19 do
  6219. 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)
  6220. end
  6221. coroutine.resume(coroutine.create(function()
  6222. for i = 0, 19 do
  6223. swait()
  6224. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6225. end
  6226. hum.CameraOffset = vt(0,0,0)
  6227. end))
  6228. dis.Anchored = true
  6229. dis.Transparency = 1
  6230. wait(8)
  6231. dis:Destroy()
  6232. end
  6233. end)
  6234. end))
  6235. rot = rot - 15
  6236. end
  6237. for i = 0,2,0.1 do
  6238. swait()
  6239. 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)
  6240. 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)
  6241. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6242. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6243. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6244. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6245. end
  6246. attack = false
  6247. hum.WalkSpeed = storehumanoidWS
  6248. end
  6249.  
  6250.  
  6251. function RapidBurst()
  6252. attack = true
  6253. hum.WalkSpeed = 0
  6254. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6255. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6256. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6257. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.8)
  6258. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,1.9)
  6259. bosschatfunc("SHATTER, YOU PIECE OF TRASH!",MAINRUINCOLOR.Color,2)
  6260. local keptcolor = MAINRUINCOLOR
  6261. for i = 0,8,0.1 do
  6262. swait()
  6263. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6264. 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())
  6265. 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)
  6266. 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)
  6267. 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)
  6268. 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)
  6269. 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)
  6270. 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)
  6271. 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)
  6272. end
  6273. for i = 0, 99 do
  6274. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6275. 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)))
  6276. local at1 = Instance.new("Attachment",dis)
  6277. at1.Position = vt(-25000,0,0)
  6278. local at2 = Instance.new("Attachment",dis)
  6279. at2.Position = vt(25000,0,0)
  6280. local trl = Instance.new('Trail',dis)
  6281. trl.Attachment0 = at1
  6282. trl.FaceCamera = true
  6283. trl.Attachment1 = at2
  6284. trl.Texture = "rbxassetid://1049219073"
  6285. trl.LightEmission = 1
  6286. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6287. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6288. trl.Lifetime = 5
  6289. local bv = Instance.new("BodyVelocity")
  6290. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6291. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6292. bv.Parent = dis
  6293. game:GetService("Debris"):AddItem(dis, 5)
  6294. end
  6295. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6296. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6297. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6298. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6299. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6300. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6301. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6302. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6303. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6304. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6305. hum.CameraOffset = vt(0,0,0)
  6306. for i = 0, 24 do
  6307. 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())
  6308. end
  6309. local distam = 0
  6310. coroutine.resume(coroutine.create(function()
  6311. for i = 0, 99 do
  6312. wait()
  6313. distam = distam + 1
  6314. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6315. xa.Anchored = true
  6316. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6317. game:GetService("Debris"):AddItem(xa, 5)
  6318. for i = 0, 4 do
  6319. 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())
  6320. end
  6321. coroutine.resume(coroutine.create(function()
  6322. local eff = Instance.new("ParticleEmitter",xa)
  6323. eff.Texture = "rbxassetid://2273224484"
  6324. eff.LightEmission = 1
  6325. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6326. eff.Rate = 500000
  6327. eff.Lifetime = NumberRange.new(1,3)
  6328. 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)})
  6329. 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)})
  6330. eff.Speed = NumberRange.new(50,500)
  6331. eff.Drag = 5
  6332. eff.Rotation = NumberRange.new(-500,500)
  6333. eff.VelocitySpread = 9000
  6334. eff.RotSpeed = NumberRange.new(-50,50)
  6335. wait(0.25)
  6336. eff.Enabled = false
  6337. end))
  6338. coroutine.resume(coroutine.create(function()
  6339. for i = 0, 19 do
  6340. swait()
  6341. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6342. end
  6343. hum.CameraOffset = vt(0,0,0)
  6344. end))
  6345. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6346. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6347. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6348. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6349. end
  6350. end))
  6351. attack = false
  6352. hum.WalkSpeed = storehumanoidWS
  6353. end
  6354.  
  6355. function InsaneDrop()
  6356. attack = true
  6357. hum.WalkSpeed = 0
  6358. CFuncs["Sound"].Create("rbxassetid://907329669", char, 2.5, 0.5)
  6359. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 0.5)
  6360. CFuncs["EchoSound"].Create("rbxassetid://907329669", char, 4, 1,0,10,0.15,0.5,1)
  6361. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.8)
  6362. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,1.9)
  6363. bosschatfunc("LEAVE THE DEATH WHERE THEY FALL!",MAINRUINCOLOR.Color,2)
  6364. local keptcolor = MAINRUINCOLOR
  6365. for i = 0,8,0.1 do
  6366. swait()
  6367. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6368. 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())
  6369. 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)
  6370. 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)
  6371. 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)
  6372. 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)
  6373. 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)
  6374. 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)
  6375. 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)
  6376. end
  6377. for i = 0, 99 do
  6378. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6379. 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)))
  6380. local at1 = Instance.new("Attachment",dis)
  6381. at1.Position = vt(-25000,0,0)
  6382. local at2 = Instance.new("Attachment",dis)
  6383. at2.Position = vt(25000,0,0)
  6384. local trl = Instance.new('Trail',dis)
  6385. trl.Attachment0 = at1
  6386. trl.FaceCamera = true
  6387. trl.Attachment1 = at2
  6388. trl.Texture = "rbxassetid://1049219073"
  6389. trl.LightEmission = 1
  6390. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6391. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6392. trl.Lifetime = 5
  6393. local bv = Instance.new("BodyVelocity")
  6394. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6395. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6396. bv.Parent = dis
  6397. game:GetService("Debris"):AddItem(dis, 5)
  6398. end
  6399. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6400. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6401. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6402. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6403. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6404. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6405. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6406. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6407. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6408. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6409. hum.CameraOffset = vt(0,0,0)
  6410. for i = 0, 24 do
  6411. 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())
  6412. end
  6413. local distam = 0
  6414. coroutine.resume(coroutine.create(function()
  6415. for i = 0, 99 do
  6416. wait()
  6417. distam = distam + 1
  6418. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6419. xa.Anchored = true
  6420. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6421. game:GetService("Debris"):AddItem(xa, 5)
  6422. for i = 0, 4 do
  6423. 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())
  6424. end
  6425. coroutine.resume(coroutine.create(function()
  6426. local eff = Instance.new("ParticleEmitter",xa)
  6427. eff.Texture = "rbxassetid://2273224484"
  6428. eff.LightEmission = 1
  6429. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6430. eff.Rate = 500000
  6431. eff.Lifetime = NumberRange.new(1,3)
  6432. 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)})
  6433. 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)})
  6434. eff.Speed = NumberRange.new(50,500)
  6435. eff.Drag = 5
  6436. eff.Rotation = NumberRange.new(-500,500)
  6437. eff.VelocitySpread = 9000
  6438. eff.RotSpeed = NumberRange.new(-50,50)
  6439. wait(0.25)
  6440. eff.Enabled = false
  6441. end))
  6442. coroutine.resume(coroutine.create(function()
  6443. for i = 0, 19 do
  6444. swait()
  6445. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6446. end
  6447. hum.CameraOffset = vt(0,0,0)
  6448. end))
  6449. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6450. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6451. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6452. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6453. end
  6454. end))
  6455. attack = false
  6456. hum.WalkSpeed = storehumanoidWS
  6457. end
  6458.  
  6459. function FallenOrbs()
  6460. attack = true
  6461. hum.WalkSpeed = 2
  6462. local keptcolor = MAINRUINCOLOR
  6463. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  6464. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  6465. local radm = math.random(1,3)
  6466. if radm == 1 then
  6467. bosschatfunc("This wont be easy to you.",MAINRUINCOLOR.Color,1)
  6468. elseif radm == 2 then
  6469. bosschatfunc("How about this?",MAINRUINCOLOR.Color,1)
  6470. elseif radm == 3 then
  6471. bosschatfunc("Swarm!",MAINRUINCOLOR.Color,1)
  6472. end
  6473. coroutine.resume(coroutine.create(function()
  6474. for i = 0, 29 do
  6475. swait(2)
  6476. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6477. dis.Anchored = true
  6478. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6479. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6480. CreateMesh(dis,"Sphere",2,2,2)
  6481. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6482. 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"))
  6483. coroutine.resume(coroutine.create(function()
  6484. wait(0.5)
  6485. dis.Anchored = false
  6486. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 9, 1,0,2,0.15,0.1,1)
  6487. local at1 = Instance.new("Attachment",dis)
  6488. at1.Position = vt(-1,0,0)
  6489. local at2 = Instance.new("Attachment",dis)
  6490. at2.Position = vt(1,0,0)
  6491. local trl = Instance.new('Trail',dis)
  6492. trl.Attachment0 = at1
  6493. trl.FaceCamera = true
  6494. trl.Attachment1 = at2
  6495. trl.Texture = "rbxassetid://1049219073"
  6496. trl.LightEmission = 1
  6497. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6498. trl.Color = ColorSequence.new(dis.Color)
  6499. trl.Lifetime = 0.6
  6500. local a = Instance.new("Part",workspace)
  6501. a.Name = "Direction"
  6502. a.Anchored = true
  6503. a.BrickColor = bc("Bright red")
  6504. a.Material = "Neon"
  6505. a.Transparency = 1
  6506. a.CanCollide = false
  6507. local ray = Ray.new(
  6508. dis.CFrame.p, -- origin
  6509. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6510. )
  6511. local ignore = dis
  6512. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6513. a.BottomSurface = 10
  6514. a.TopSurface = 10
  6515. local distance = (dis.CFrame.p - position).magnitude
  6516. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6517. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6518. dis.CFrame = a.CFrame
  6519. a:Destroy()
  6520. local bv = Instance.new("BodyVelocity")
  6521. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6522. bv.velocity = dis.CFrame.lookVector*500
  6523. bv.Parent = dis
  6524. game:GetService("Debris"):AddItem(dis, 5)
  6525. local hitted = false
  6526. coroutine.resume(coroutine.create(function()
  6527. dis.Touched:connect(function(hit)
  6528. if hitted == false and hit.Parent ~= char then
  6529. hitted = true
  6530. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 5, 0.8,0,10,0.15,0.5,1)
  6531. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6532. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6533. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6534. coroutine.resume(coroutine.create(function()
  6535. for i = 0, 4 do
  6536. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6537. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6538. local at1 = Instance.new("Attachment",disr)
  6539. at1.Position = vt(-10,0,0)
  6540. local at2 = Instance.new("Attachment",disr)
  6541. at2.Position = vt(10,0,0)
  6542. local trl = Instance.new('Trail',disr)
  6543. trl.Attachment0 = at1
  6544. trl.FaceCamera = true
  6545. trl.Attachment1 = at2
  6546. trl.Texture = "rbxassetid://2342682798"
  6547. trl.LightEmission = 1
  6548. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6549. trl.Color = ColorSequence.new(disr.Color)
  6550. trl.Lifetime = 0.5
  6551. local bv = Instance.new("BodyVelocity")
  6552. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6553. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6554. bv.Parent = disr
  6555. local val = 0
  6556. coroutine.resume(coroutine.create(function()
  6557. swait(30)
  6558. for i = 0, 9 do
  6559. swait()
  6560. val = val + 0.1
  6561. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6562. end
  6563. game:GetService("Debris"):AddItem(disr, 3)
  6564. end))
  6565. end
  6566. local eff = Instance.new("ParticleEmitter",dis)
  6567. eff.Texture = "rbxassetid://1049219073"
  6568. eff.LightEmission = 1
  6569. eff.Color = ColorSequence.new(dis.Color)
  6570. eff.Rate = 500000
  6571. eff.Lifetime = NumberRange.new(0.5,2)
  6572. 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)})
  6573. 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)})
  6574. eff.Speed = NumberRange.new(20,250)
  6575. eff.Drag = 5
  6576. eff.Rotation = NumberRange.new(-500,500)
  6577. eff.VelocitySpread = 9000
  6578. eff.RotSpeed = NumberRange.new(-50,50)
  6579. wait(0.5)
  6580. eff.Enabled = false
  6581. end))
  6582. for i = 0, 4 do
  6583. 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"))
  6584. end
  6585. coroutine.resume(coroutine.create(function()
  6586. for i = 0, 19 do
  6587. swait()
  6588. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6589. end
  6590. hum.CameraOffset = vt(0,0,0)
  6591. end))
  6592. dis.Anchored = true
  6593. dis.Transparency = 1
  6594. wait(8)
  6595. dis:Destroy()
  6596. end
  6597. end)
  6598. end))
  6599. end))
  6600. end
  6601. end))
  6602. for i = 0,9,0.1 do
  6603. swait()
  6604. 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)
  6605. 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)
  6606. 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)
  6607. 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)
  6608. 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)
  6609. 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)
  6610. 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)
  6611. end
  6612. attack = false
  6613. hum.WalkSpeed = storehumanoidWS
  6614. end
  6615.  
  6616. function CyberSlash()
  6617. local posit = -2
  6618. attack = true
  6619. hum.WalkSpeed = 5
  6620. CFuncs["EchoSound"].Create("rbxassetid://1448033920", char, 5, 1,0,10,0.15,0.5,1)
  6621. local radm = math.random(1,3)
  6622. if radm == 1 then
  6623. bosschatfunc("FIBER!!!",MAINRUINCOLOR.Color,1)
  6624. elseif radm == 2 then
  6625. bosschatfunc("SLASHED!!",MAINRUINCOLOR.Color,1)
  6626. elseif radm == 3 then
  6627. bosschatfunc("TAKE MY CLAW!!",MAINRUINCOLOR.Color,1)
  6628. end
  6629. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  6630. for i = 0,2,0.1 do
  6631. swait()
  6632. 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)
  6633. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  6634. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  6635. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6636. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  6637. 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)
  6638. 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)
  6639. end
  6640. for i = 0, 2 do
  6641. CameraEnshaking(1,2)
  6642. local hite = Instance.new("Part", char)
  6643. hite.Anchored = true
  6644. hite.CanCollide = false
  6645. hite.FormFactor = 3
  6646. hite.Name = "Ring"
  6647. hite.Material = "Neon"
  6648. hite.Size = Vector3.new(1, 1, 1)
  6649. hite.Transparency = 1
  6650. hite.TopSurface = 0
  6651. hite.BottomSurface = 0
  6652. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  6653. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  6654. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  6655. coroutine.resume(coroutine.create(function()
  6656. for i = 0, 1 do
  6657. swait()
  6658. 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)
  6659. 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)
  6660. 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)
  6661. end
  6662. end))
  6663. 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)
  6664. MagniDamage(hite, 3, 30,40, 0, "Normal")
  6665. game:GetService("Debris"):AddItem(hite, 5)
  6666. posit = posit + 2
  6667. end
  6668. for i = 0,1,0.1 do
  6669. swait()
  6670. 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)
  6671. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  6672. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  6673. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  6674. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  6675. 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)
  6676. 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)
  6677. end
  6678. for i = 0,1,0.1 do
  6679. swait()
  6680. 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)
  6681. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,1)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  6682. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  6683. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  6684. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  6685. 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)
  6686. 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)
  6687. end
  6688. posit = -6
  6689. for i = 0, 6 do
  6690. CameraEnshaking(1,3)
  6691. local hite = Instance.new("Part", char)
  6692. hite.Anchored = true
  6693. hite.CanCollide = false
  6694. hite.FormFactor = 3
  6695. hite.Name = "Ring"
  6696. hite.Material = "Neon"
  6697. hite.Size = Vector3.new(1, 1, 1)
  6698. hite.Transparency = 1
  6699. hite.TopSurface = 0
  6700. hite.BottomSurface = 0
  6701. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  6702. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  6703. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  6704. 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)
  6705. coroutine.resume(coroutine.create(function()
  6706. for i = 0, 2 do
  6707. swait()
  6708. 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)
  6709. 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)
  6710. 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)
  6711. end
  6712. end))
  6713. MagniDamage(hite, 5, 40,70, 0, "Normal")
  6714. game:GetService("Debris"):AddItem(hite, 5)
  6715. posit = posit + 2
  6716. end
  6717. for i = 0,1,0.1 do
  6718. swait()
  6719. 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)
  6720. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  6721. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  6722. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  6723. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  6724. 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)
  6725. 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)
  6726. end
  6727. hum.WalkSpeed = storehumanoidWS
  6728. attack = false
  6729. end
  6730.  
  6731. function EquinoxOrbs()
  6732. hum.WalkSpeed = 0
  6733. attack = true
  6734. local radm = math.random(1,3)
  6735. if radm == 1 then
  6736. bosschatfunc("NOX-DASH!!!",MAINRUINCOLOR.Color,1)
  6737. elseif radm == 2 then
  6738. bosschatfunc("Beware from behind",MAINRUINCOLOR.Color,1)
  6739. elseif radm == 3 then
  6740. bosschatfunc("I'M COMING!!",MAINRUINCOLOR.Color,1)
  6741. end
  6742. for i = 0,1,0.1 do
  6743. swait()
  6744. 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)
  6745. 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)
  6746. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6747. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6748. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6749. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6750. end
  6751. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6752. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6753. for i = 0, 24 do
  6754. 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"))
  6755. end
  6756. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6757. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6758. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6759. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6760. for i = 0,4,0.1 do
  6761. swait()
  6762. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6763. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6764. CreateMesh(dis,"Sphere",1,1,1)
  6765. dis.Anchored = true
  6766. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6767. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6768. CreateMesh(dis2,"Sphere",1,1,1)
  6769. dis2.Anchored = true
  6770. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6771. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6772. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6773. coroutine.resume(coroutine.create(function()
  6774. swait(60)
  6775. dis.Transparency = 1
  6776. dis2.Transparency = 1
  6777. coroutine.resume(coroutine.create(function()
  6778. for i = 0, 19 do
  6779. swait()
  6780. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6781. end
  6782. hum.CameraOffset = vt(0,0,0)
  6783. end))
  6784. coroutine.resume(coroutine.create(function()
  6785. local eff = Instance.new("ParticleEmitter",dis)
  6786. eff.Texture = "rbxassetid://2273224484"
  6787. eff.LightEmission = 1
  6788. eff.Color = ColorSequence.new(dis.Color)
  6789. eff.Rate = 500000
  6790. eff.Lifetime = NumberRange.new(0.5,2)
  6791. 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)})
  6792. 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)})
  6793. eff.Speed = NumberRange.new(50,450)
  6794. eff.Drag = 5
  6795. eff.Rotation = NumberRange.new(-500,500)
  6796. eff.VelocitySpread = 9000
  6797. eff.RotSpeed = NumberRange.new(-50,50)
  6798. local eff2 = eff:Clone()
  6799. eff2.Parent = dis2
  6800. eff2.LightEmission = 0
  6801. eff2.Color = ColorSequence.new(dis2.Color)
  6802. wait(0.25)
  6803. eff.Enabled = false
  6804. eff2.Enabled = false
  6805. end))
  6806. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6807. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6808. for i = 0, 2 do
  6809. 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)
  6810. 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)
  6811. end
  6812. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6813. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6814. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6815. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6816. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6817. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6818. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6819. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6820. end))
  6821. game:GetService("Debris"):AddItem(dis, 5)
  6822. game:GetService("Debris"):AddItem(dis2, 5)
  6823. 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)
  6824. 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)
  6825. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6826. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6827. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6828. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6829. end
  6830. attack = false
  6831. hum.WalkSpeed = storehumanoidWS
  6832. end
  6833. function FallenDEMISE()
  6834. attack = true
  6835. hum.WalkSpeed = 0
  6836. local keptcolor = MAINRUINCOLOR
  6837. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE.",MAINRUINCOLOR.Color,3)
  6838. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6839. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6840. for i = 0, 15, 0.1 do
  6841. swait()
  6842. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6843. 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)))
  6844. local at1 = Instance.new("Attachment",dis)
  6845. at1.Position = vt(-25000,0,0)
  6846. local at2 = Instance.new("Attachment",dis)
  6847. at2.Position = vt(25000,0,0)
  6848. local trl = Instance.new('Trail',dis)
  6849. trl.Attachment0 = at1
  6850. trl.FaceCamera = true
  6851. trl.Attachment1 = at2
  6852. trl.Texture = "rbxassetid://1049219073"
  6853. trl.LightEmission = 1
  6854. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6855. trl.Color = ColorSequence.new(dis.Color)
  6856. trl.Lifetime = 5
  6857. local bv = Instance.new("BodyVelocity")
  6858. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6859. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6860. bv.Parent = dis
  6861. game:GetService("Debris"):AddItem(dis, 1)
  6862. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6863. 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"))
  6864. 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"))
  6865. 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)
  6866. 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)
  6867. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6868. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6869. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6870. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6871. end
  6872. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6873. for i = 0, 30, 0.1 do
  6874. swait()
  6875. coroutine.resume(coroutine.create(function()
  6876. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6877. if v:FindFirstChild('Head') then
  6878. dmg(v)
  6879. end
  6880. end
  6881. end))
  6882. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6883. 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)))
  6884. local at1 = Instance.new("Attachment",dis)
  6885. at1.Position = vt(-50000,0,0)
  6886. local at2 = Instance.new("Attachment",dis)
  6887. at2.Position = vt(50000,0,0)
  6888. local trl = Instance.new('Trail',dis)
  6889. trl.Attachment0 = at1
  6890. trl.FaceCamera = true
  6891. trl.Attachment1 = at2
  6892. trl.Texture = "rbxassetid://1049219073"
  6893. trl.LightEmission = 1
  6894. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6895. trl.Color = ColorSequence.new(dis.Color)
  6896. trl.Lifetime = 10
  6897. local bv = Instance.new("BodyVelocity")
  6898. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6899. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6900. bv.Parent = dis
  6901. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6902. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6903. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6904. 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"))
  6905. 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"))
  6906. 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"))
  6907. 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"))
  6908. for i = 0, 2 do
  6909. 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)
  6910. end
  6911. 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)
  6912. 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)
  6913. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6914. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6915. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6916. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6917. end
  6918. attack = false
  6919. hum.WalkSpeed = storehumanoidWS
  6920. end
  6921.  
  6922. function SpeedDrop()
  6923. attack = true
  6924. hum.WalkSpeed = 0
  6925. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  6926. local poste = 3
  6927. local rotation = 0
  6928. local rate = 0
  6929. bosschatfunc("AUFHHIGYBIBYHHIHIGHGI",MAINRUINCOLOR.Color,2)
  6930. for i = 0, 124 do
  6931. swait()
  6932. rotation = rotation + rate
  6933. poste = poste + 0.1
  6934. rate = rate + 0.1
  6935. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  6936. 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)
  6937. 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)
  6938. 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)
  6939. 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)
  6940. 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)
  6941. 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)
  6942. 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)
  6943. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  6944. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  6945. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  6946. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  6947. end
  6948. CameraEnshaking(3,7)
  6949. bosschatfunc("AN ERROR HAS OCCURED",MAINRUINCOLOR.Color,2)
  6950. local loc = Instance.new("Part", char)
  6951. loc.BrickColor = MAINRUINCOLOR
  6952. loc.CanCollide = false
  6953. loc.FormFactor = 3
  6954. loc.Name = "Ring"
  6955. loc.Material = "Neon"
  6956. loc.Size = Vector3.new(1, 1, 1)
  6957. loc.Transparency = 1
  6958. loc.TopSurface = 0
  6959. loc.BottomSurface = 0
  6960. loc.Anchored = true
  6961. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  6962. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  6963. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  6964. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  6965. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  6966. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6967. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6968. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  6969. coroutine.resume(coroutine.create(function()
  6970. local eff = Instance.new("ParticleEmitter",loc)
  6971. eff.Texture = "rbxassetid://363275192"
  6972. eff.LightEmission = 0.95
  6973. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6974. eff.Rate = 10000
  6975. eff.Lifetime = NumberRange.new(1)
  6976. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  6977. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  6978. eff.Speed = NumberRange.new(100,500)
  6979. eff.Drag = 5
  6980. eff.Rotation = NumberRange.new(-500,500)
  6981. eff.VelocitySpread = 9000
  6982. eff.RotSpeed = NumberRange.new(-50,50)
  6983. wait(0.5)
  6984. eff.Enabled = false
  6985. end))
  6986. for i = 0, 49 do
  6987. 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)
  6988. end
  6989. for i = 0, 9 do
  6990. 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)
  6991. end
  6992. game:GetService("Debris"):AddItem(loc, 5)
  6993. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  6994. hum.WalkSpeed = storehumanoidWS
  6995. attack = false
  6996. end
  6997.  
  6998. function cutesigh()
  6999. attack = true
  7000. hum.WalkSpeed = 0
  7001. bosschatfunc("sigh~~",MAINRUINCOLOR.Color,2)
  7002. local blush = Instance.new("Decal",hed)
  7003. blush.Texture = "rbxassetid://898404027"
  7004. blush.Face = "Front"
  7005. CFuncs["Sound"].Create("rbxassetid://294861193", char, 9,1)
  7006. for i = 0, 9, 0.1 do
  7007. swait()
  7008. 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)
  7009. 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)
  7010. 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)
  7011. 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)
  7012. 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)
  7013. 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)
  7014. end
  7015. coroutine.resume(coroutine.create(function()
  7016. for i = 0, 49 do
  7017. swait()
  7018. blush.Transparency = blush.Transparency + 0.02
  7019. end
  7020. blush:Destroy()
  7021. end))
  7022. hum.WalkSpeed = storehumanoidWS
  7023. attack = false
  7024. end
  7025.  
  7026. function smiter()
  7027. local targetted = nil
  7028. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  7029. targetted = mouse.Target.Parent
  7030. end
  7031. if targetted ~= nil then
  7032. RootPart.CFrame = FaceMouse()[1]
  7033. attack = true
  7034. local radm = math.random(1,3)
  7035. if radm == 1 then
  7036. bosschatfunc("SMITED!!",MAINRUINCOLOR.Color,1)
  7037. elseif radm == 2 then
  7038. bosschatfunc("FROM ABOVE!!",MAINRUINCOLOR.Color,1)
  7039. elseif radm == 3 then
  7040. bosschatfunc("LOOK UP!!",MAINRUINCOLOR.Color,1)
  7041. end
  7042. hum.WalkSpeed = 0
  7043. coroutine.resume(coroutine.create(function()
  7044. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  7045. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  7046. local vel = Instance.new("BodyPosition", targetted.Head)
  7047. vel.P = 12500
  7048. vel.D = 1000
  7049. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  7050. vel.position = targetted.Head.CFrame.p
  7051. end))
  7052. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  7053. CFuncs["EchoSound"].Create("rbxassetid://1436242685", char, 4, 1,0,10,0.15,0.5,1)
  7054. CFuncs["EchoSound"].Create("rbxassetid://1436242685", root, 60, 1,0,10,0.15,0.5,1)
  7055. for i = 0,4,0.1 do
  7056. swait()
  7057. 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)
  7058. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  7059. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  7060. 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)
  7061. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7062. 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)
  7063. 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)
  7064. end
  7065. coroutine.resume(coroutine.create(function()
  7066. CameraEnshaking(6,5)
  7067. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  7068. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  7069. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  7070. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  7071. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7072. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  7073. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7074. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  7075. coroutine.resume(coroutine.create(function()
  7076. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7077. eff.Texture = "rbxassetid://2273224484"
  7078. eff.LightEmission = 1
  7079. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  7080. eff.Rate = 500000
  7081. eff.Lifetime = NumberRange.new(0.5,2)
  7082. 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)})
  7083. 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)})
  7084. eff.Speed = NumberRange.new(20,250)
  7085. eff.Drag = 5
  7086. eff.Rotation = NumberRange.new(-500,500)
  7087. eff.VelocitySpread = 9000
  7088. eff.RotSpeed = NumberRange.new(-50,50)
  7089. wait(0.25)
  7090. eff.Enabled = false
  7091. local eff = Instance.new("ParticleEmitter",targetted.Head)
  7092. eff.Texture = "rbxassetid://363275192"
  7093. eff.LightEmission = 0.95
  7094. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7095. eff.Rate = 10000
  7096. eff.Lifetime = NumberRange.new(1.5)
  7097. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  7098. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7099. eff.Speed = NumberRange.new(25,150)
  7100. eff.Drag = 5
  7101. eff.Rotation = NumberRange.new(-500,500)
  7102. eff.VelocitySpread = 9000
  7103. eff.RotSpeed = NumberRange.new(-50,50)
  7104. local eff2 = eff:Clone()
  7105. eff2.Parent = targetted.Head
  7106. eff2.Texture = "rbxassetid://284205403"
  7107. eff2.Rate = 10000
  7108. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7109. eff2.Drag = 5
  7110. eff2.Rotation = NumberRange.new(-500,500)
  7111. eff2.VelocitySpread = 9000
  7112. wait(0.5)
  7113. eff2.Enabled = false
  7114. eff.Enabled = false
  7115. end))
  7116. for i = 0, 9 do
  7117. 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)
  7118. end
  7119. for i = 0, 49 do
  7120. local rsiz = math.random(10,50)
  7121. 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)
  7122. end
  7123. game:GetService("Debris"):AddItem(vel,1)
  7124. dmg(targetted)
  7125. end))
  7126. for i = 0,1,0.1 do
  7127. swait()
  7128. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,1)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  7129. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  7130. 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)
  7131. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  7132. 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)
  7133. 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)
  7134. end
  7135. attack = false
  7136. hum.WalkSpeed = storehumanoidWS
  7137. end
  7138. end
  7139.  
  7140. function shytaunty()
  7141. attack = true
  7142. hum.WalkSpeed = 0
  7143. CFuncs["Sound"].Create("rbxassetid://543623779", char, 1, 1)
  7144. local blush = Instance.new("Decal",hed)
  7145. blush.Texture = "rbxassetid://898404027"
  7146. blush.Face = "Front"
  7147. for i = 0, 13, 0.1 do
  7148. swait()
  7149. 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)
  7150. 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)
  7151. 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)
  7152. 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)
  7153. 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)
  7154. 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)
  7155. end
  7156. coroutine.resume(coroutine.create(function()
  7157. for i = 0, 49 do
  7158. swait()
  7159. blush.Transparency = blush.Transparency + 0.02
  7160. end
  7161. blush:Destroy()
  7162. end))
  7163. hum.WalkSpeed = storehumanoidWS
  7164. attack = false
  7165. end
  7166.  
  7167. function PureBomb()
  7168. attack = true
  7169. CFuncs["EchoSound"].Create("rbxassetid://1436241485", char, 5, 1,0,10,0.15,0.5,1)
  7170. CFuncs["EchoSound"].Create("rbxassetid://1436241485", root, 60, 1,0,10,0.15,0.5,1)
  7171. bosschatfunc("Purified..",MAINRUINCOLOR.Color,2)
  7172. local orb = Instance.new("Part", char)
  7173. orb.Anchored = true
  7174. orb.BrickColor = BrickColor.new("Toothpaste")
  7175. orb.CanCollide = false
  7176. orb.FormFactor = 3
  7177. orb.Name = "Ring"
  7178. orb.Material = "Neon"
  7179. orb.Size = Vector3.new(1, 1, 1)
  7180. orb.Transparency = 0
  7181. orb.TopSurface = 0
  7182. orb.BottomSurface = 0
  7183. local orbm = Instance.new("SpecialMesh", orb)
  7184. orbm.MeshType = "Sphere"
  7185. orbm.Name = "SizeMesh"
  7186. orbm.Scale = vt(0,0,0)
  7187. local scaled = 0.1
  7188. local posid = 0
  7189. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 30,1)
  7190. for i = 0, 5, 0.1 do
  7191. swait()
  7192. scaled = scaled - 0.001
  7193. posid = posid - scaled
  7194. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7195. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  7196. 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)
  7197. 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)
  7198. 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)
  7199. 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)
  7200. 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)
  7201. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  7202. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  7203. 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)
  7204. end
  7205. for i = 0, 2, 0.1 do
  7206. swait()
  7207. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  7208. 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)
  7209. 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)
  7210. 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)
  7211. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  7212. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  7213. 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)
  7214. end
  7215. CFuncs["EchoSound"].Create("rbxassetid://1436240026", char, 4, 1,0,10,0.15,0.5,1)
  7216. CFuncs["EchoSound"].Create("rbxassetid://1436240026", root, 60, 1,0,10,0.15,0.5,1)
  7217. bosschatfunc("BOMB!!",MAINRUINCOLOR.Color,2)
  7218. coroutine.resume(coroutine.create(function()
  7219. orb.Anchored = false
  7220. CFuncs["Sound"].Create("rbxassetid://260433768", root, 555,1)
  7221. local a = Instance.new("Part",workspace)
  7222. a.Name = "Direction"
  7223. a.Anchored = true
  7224. a.BrickColor = bc("Bright red")
  7225. a.Material = "Neon"
  7226. a.Transparency = 1
  7227. a.CanCollide = false
  7228. local ray = Ray.new(
  7229. orb.CFrame.p, -- origin
  7230. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7231. )
  7232. local ignore = orb
  7233. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7234. a.BottomSurface = 10
  7235. a.TopSurface = 10
  7236. local distance = (orb.CFrame.p - position).magnitude
  7237. a.Size = Vector3.new(0.1, 0.1, 0.1)
  7238. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  7239. orb.CFrame = a.CFrame
  7240. a:Destroy()
  7241. local bv = Instance.new("BodyVelocity")
  7242. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  7243. bv.velocity = orb.CFrame.lookVector*125
  7244. bv.Parent = orb
  7245. local hitted = false
  7246. game:GetService("Debris"):AddItem(orb, 15)
  7247. wait()
  7248. local hit =orb.Touched:connect(function(hit)
  7249. if hitted == false then
  7250. hitted = true
  7251. CameraEnshaking(10,2.5)
  7252. MagniDamage(orb, 65, 65,90, 0, "Normal")
  7253. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  7254. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  7255. for i = 0, 49 do
  7256. 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)
  7257. end
  7258. local eff = Instance.new("ParticleEmitter",orb)
  7259. eff.Texture = "rbxassetid://2273224484"
  7260. eff.LightEmission = 1
  7261. eff.Color = ColorSequence.new(Color3.new(4/255,175/255,236/255))
  7262. eff.Rate = 500000
  7263. eff.Lifetime = NumberRange.new(0.5,2)
  7264. 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)})
  7265. 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)})
  7266. eff.Speed = NumberRange.new(20,250)
  7267. eff.Drag = 5
  7268. eff.Rotation = NumberRange.new(-500,500)
  7269. eff.VelocitySpread = 9000
  7270. eff.RotSpeed = NumberRange.new(-50,50)
  7271. coroutine.resume(coroutine.create(function()
  7272. wait(0.25)
  7273. eff.Enabled = false
  7274. end))
  7275. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7276. for i = 0, 9 do
  7277. 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)
  7278. 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)
  7279. end
  7280. orb.Anchored = true
  7281. orb.Transparency = 1
  7282. local eff = Instance.new("ParticleEmitter",orb)
  7283. eff.Texture = "rbxassetid://2273224484"
  7284. eff.LightEmission = 1
  7285. eff.Color = ColorSequence.new(Color3.new(M))
  7286. eff.Rate = 500000
  7287. eff.Lifetime = NumberRange.new(0.5,2)
  7288. 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)})
  7289. 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)})
  7290. eff.Speed = NumberRange.new(20,250)
  7291. eff.Drag = 5
  7292. eff.Rotation = NumberRange.new(-500,500)
  7293. eff.VelocitySpread = 9000
  7294. eff.RotSpeed = NumberRange.new(-50,50)
  7295. coroutine.resume(coroutine.create(function()
  7296. wait(1)
  7297. eff.Enabled = false
  7298. end))
  7299. wait(8)
  7300. orb:Destroy()
  7301. end
  7302. end)
  7303. end))
  7304. for i = 0, 1, 0.1 do
  7305. swait()
  7306. 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)
  7307. 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)
  7308. 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)
  7309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  7310. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  7311. 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)
  7312. end
  7313. attack = false
  7314. end
  7315.  
  7316.  
  7317. function BeamOfDeath()
  7318. coroutine.resume(coroutine.create(function()
  7319. attack = true
  7320. hum.WalkSpeed = 0
  7321. for i = 0, 11, 0.1 do
  7322. swait()
  7323. 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)
  7324. 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)
  7325. 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)
  7326. 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)
  7327. 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)
  7328. 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)
  7329. end
  7330. for i = 0, 1, 0.1 do
  7331. swait()
  7332. 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)
  7333. 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)
  7334. 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)
  7335. 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)
  7336. 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)
  7337. 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)
  7338. end
  7339. hum.WalkSpeed = storehumanoidWS
  7340. attack = false
  7341. end))
  7342. CFuncs["Sound"].Create("rbxassetid://430315987", char, 5, 1,0,10,0.10,0.25,1)
  7343. local radm = math.random(1,3)
  7344. if radm == 1 then
  7345. bosschatfunc("YAHHHH!!!",MAINRUINCOLOR.Color,1)
  7346. elseif radm == 2 then
  7347. bosschatfunc("TAKE THAT!!",MAINRUINCOLOR.Color,1)
  7348. elseif radm == 3 then
  7349. bosschatfunc("CONSUMED!!!",MAINRUINCOLOR.Color,1)
  7350. end
  7351. local keptcolor = MAINRUINCOLOR
  7352. local orb = Instance.new("Part", char)
  7353. orb.BrickColor = keptcolor
  7354. orb.CanCollide = false
  7355. orb.FormFactor = 3
  7356. orb.Name = "Ring"
  7357. orb.Material = "Neon"
  7358. orb.Size = Vector3.new(1, 1, 1)
  7359. orb.Transparency = 1
  7360. orb.TopSurface = 0
  7361. orb.BottomSurface = 0
  7362. local orbm = Instance.new("SpecialMesh", orb)
  7363. orbm.MeshType = "Sphere"
  7364. orbm.Name = "SizeMesh"
  7365. orbm.Scale = vt(22.5,10000,22.5)
  7366. orb.CFrame = mouse.Hit
  7367. orb.Anchored = true
  7368. orb.Orientation = vt(0,0,0)
  7369. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  7370. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 0.5, 1.2)
  7371. coroutine.resume(coroutine.create(function()
  7372. coroutine.resume(coroutine.create(function()
  7373. for i = 0, 175 do
  7374. swait()
  7375. orbm.Scale = orbm.Scale - vt(0.1,0,0.1)
  7376. orb.Transparency = orb.Transparency - 0.005
  7377. end
  7378. end))
  7379. wait(2)
  7380. coroutine.resume(coroutine.create(function()
  7381. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  7382. if hfr ~= nil then
  7383. for i = 0, 24.5 do
  7384. local deb = Instance.new("Part", char)
  7385. deb.Anchored = true
  7386. deb.CanCollide = false
  7387. deb.FormFactor = 3
  7388. deb.Name = "Ring"
  7389. deb.Material = hitfloor.Material
  7390. deb.Color = hitfloor.Color
  7391. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  7392. deb.Transparency = 0
  7393. deb.TopSurface = 0
  7394. deb.BottomSurface = 0
  7395. 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)))
  7396. local deb2 = Instance.new("Part", char)
  7397. deb2.CanCollide = false
  7398. deb2.FormFactor = 3
  7399. deb2.Name = "Ring"
  7400. deb2.Material = hitfloor.Material
  7401. deb2.Color = hitfloor.Color
  7402. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  7403. deb2.Transparency = 0
  7404. deb2.TopSurface = 0
  7405. deb2.BottomSurface = 0
  7406. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  7407. 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)))
  7408. local eff = Instance.new("ParticleEmitter",deb)
  7409. eff.Texture = "rbxassetid://363275192"
  7410. eff.LightEmission = 0.95
  7411. eff.Color = ColorSequence.new(keptcolor.Color)
  7412. eff.Rate = 100
  7413. eff.Lifetime = NumberRange.new(1)
  7414. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  7415. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7416. eff.Speed = NumberRange.new(0,5)
  7417. eff.Rotation = NumberRange.new(-500,500)
  7418. eff.VelocitySpread = 9000
  7419. eff.RotSpeed = NumberRange.new(-10,10)
  7420. local at1 = Instance.new('Attachment',deb2)
  7421. at1.Position = vt(0,15,0)
  7422. local at2 = Instance.new('Attachment',deb2)
  7423. at2.Position = vt(0,-15,0)
  7424. local tl = Instance.new('Trail',deb2)
  7425. tl.Attachment0 = at1
  7426. tl.Attachment1 = at2
  7427. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  7428. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  7429. tl.Lifetime = 1
  7430. game:GetService("Debris"):AddItem(deb,30)
  7431. game:GetService("Debris"):AddItem(deb2,30)
  7432. coroutine.resume(coroutine.create(function()
  7433. wait(15)
  7434. eff.Enabled = false
  7435. for i = 0, 49 do
  7436. swait()
  7437. deb.Transparency = deb.Transparency + 0.02
  7438. end
  7439. wait(1)
  7440. deb:Destroy()
  7441. end))
  7442. end
  7443. end
  7444. end))
  7445. for i = 0, 199 do
  7446. swait(1.5)
  7447. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  7448. if v:FindFirstChild('Head') then
  7449. dmg(v)
  7450. end
  7451. end
  7452. CFuncs["Sound"].Create("rbxassetid://1666361078", orb, 30,1)
  7453. 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)
  7454. 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)
  7455. 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)
  7456. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  7457. end
  7458. orb:Destroy()
  7459. end))
  7460. end
  7461.  
  7462. function Beams()
  7463. attack = true
  7464. hum.WalkSpeed = 0
  7465. CFuncs["EchoSound"].Create("rbxassetid://1436242274", char, 8, 1,0,10,0.15,0.5,1)
  7466. CFuncs["EchoSound"].Create("rbxassetid://1436242274", root, 60, 1,0,10,0.15,0.5,1)
  7467. bosschatfunc("You'll gone..",MAINRUINCOLOR.Color,2)
  7468. local keptcolor = MAINRUINCOLOR
  7469. coroutine.resume(coroutine.create(function()
  7470. for i = 0, 96 do
  7471. swait(5)
  7472. local orb = Instance.new("Part", char)
  7473. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  7474. orb.BrickColor = keptcolor
  7475. orb.CanCollide = false
  7476. orb.FormFactor = 3
  7477. orb.Name = "Ring"
  7478. orb.Material = "Neon"
  7479. orb.Size = Vector3.new(1, 1, 1)
  7480. orb.Transparency = 0
  7481. orb.TopSurface = 0
  7482. orb.BottomSurface = 0
  7483. orb.Anchored = true
  7484. local orbm = Instance.new("SpecialMesh", orb)
  7485. orbm.MeshType = "Sphere"
  7486. orbm.Name = "SizeMesh"
  7487. orbm.Scale = vt(1.25,1.25,1.25)
  7488. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  7489. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7490. coroutine.resume(coroutine.create(function()
  7491. wait(0.5)
  7492. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  7493. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7494. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  7495. orb.Transparency = 1
  7496. local a = Instance.new("Part",char)
  7497. a.Name = "Direction"
  7498. a.Anchored = true
  7499. a.BrickColor = keptcolor
  7500. a.Material = "Neon"
  7501. a.Transparency = 0.25
  7502. a.Shape = "Cylinder"
  7503. local ht = Instance.new("Part",char)
  7504. ht.Name = "DirectionHit"
  7505. ht.Anchored = true
  7506. ht.BrickColor = keptcolor
  7507. ht.CanCollide = false
  7508. ht.Transparency = 1
  7509. ht.Size = vt(0.1,0.1,0.1)
  7510. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.6)
  7511. a.CanCollide = false
  7512. local ray = Ray.new(
  7513. orb.CFrame.p, -- origin
  7514. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  7515. )
  7516. local ignore = char
  7517. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  7518. a.BottomSurface = 10
  7519. a.TopSurface = 10
  7520. local distance = (orb.CFrame.p - position).magnitude
  7521. a.Size = Vector3.new(distance,1,1)
  7522. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  7523. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  7524. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7525. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  7526. MagniDamage(ht, 9, 30,60, 0, "Normal")
  7527. coroutine.resume(coroutine.create(function()
  7528. local eff = Instance.new("ParticleEmitter",ht)
  7529. eff.Texture = "rbxassetid://284205403"
  7530. eff.LightEmission = 0.95
  7531. eff.Color = ColorSequence.new(keptcolor.Color)
  7532. eff.Rate = 500
  7533. eff.Lifetime = NumberRange.new(0.5)
  7534. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  7535. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  7536. eff.Speed = NumberRange.new(10,50)
  7537. eff.Drag = 5
  7538. eff.Rotation = NumberRange.new(-500,500)
  7539. eff.VelocitySpread = 9000
  7540. eff.RotSpeed = NumberRange.new(-500,500)
  7541. wait(0.25)
  7542. eff.Enabled = false
  7543. end))
  7544. for i = 0, 4 do
  7545. 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)
  7546. 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)
  7547. local rsiz = math.random(10,30)
  7548. 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)
  7549. end
  7550. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  7551. local msh = Instance.new("SpecialMesh",a)
  7552. msh.MeshType = "Cylinder"
  7553. msh.Scale = vt(1,1,1)
  7554. for i = 0, 49 do
  7555. swait()
  7556. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  7557. a.Transparency = a.Transparency + 0.02
  7558. end
  7559. orb:Destroy()
  7560. a:Destroy()
  7561. ht:Destroy()
  7562. end))
  7563. game:GetService("Debris"):AddItem(orb, 10)
  7564. end
  7565. end))
  7566. for i = 0,6,0.1 do
  7567. swait()
  7568. 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)
  7569. 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)
  7570. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  7571. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  7572. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  7573. 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)
  7574. 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)
  7575. end
  7576. hum.WalkSpeed = storehumanoidWS
  7577. attack = false
  7578. end
  7579.  
  7580. function CalamityTrans()
  7581. attack = true
  7582. rainbowmode = false
  7583. chaosmode = false
  7584. ModeOfGlitch = 8889
  7585. hum.WalkSpeed = 0
  7586. newThemeCust("rbxassetid://723652641",0,1,1.25)
  7587. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7588. elocacenter.Anchored = true
  7589. elocacenter.CFrame = root.CFrame
  7590. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7591. eloca1.Anchored = true
  7592. eloca1.CFrame = elocacenter.CFrame
  7593. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7594. eloca2.Anchored = true
  7595. eloca2.CFrame = elocacenter.CFrame
  7596. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7597. eloca3.Anchored = true
  7598. eloca3.CFrame = elocacenter.CFrame
  7599. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7600. eloca4.Anchored = true
  7601. eloca4.CFrame = elocacenter.CFrame
  7602. local lookavec = 0
  7603. local speeds = 0
  7604. CameraEnshaking(3,2.5)
  7605. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7606. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7607. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7608. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7609. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7610. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7611. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7612. for i = 0, 5, 0.1 do
  7613. swait()
  7614. ---
  7615. lookavec = lookavec + 1
  7616. speeds = speeds + 10
  7617. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7618. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7619. 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)
  7620. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7621. 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)
  7622. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7623. 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)
  7624. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7625. 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)
  7626. ---
  7627. 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)
  7628. 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)
  7629. 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)
  7630. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7631. 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)
  7632. 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)
  7633. end
  7634. for i = 0, 5, 0.1 do
  7635. swait()
  7636. ---
  7637. speeds = speeds + 10
  7638. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7639. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7640. 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)
  7641. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7642. 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)
  7643. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7644. 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)
  7645. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7646. 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)
  7647. ---
  7648. 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)
  7649. 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)
  7650. 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)
  7651. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7652. 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)
  7653. 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)
  7654. end
  7655. MAINRUINCOLOR = BrickColor.new("Bright violet")
  7656. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7657. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7658. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7659. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7660. CameraEnshaking(1,3)
  7661. for i = 0, 24 do
  7662. 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)
  7663. 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)
  7664. 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)
  7665. 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)
  7666. end
  7667. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7668. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7669. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7670. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7671. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7672. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7673. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7674. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7675. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7676. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7677. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7678. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7679. for i = 0, 5, 0.1 do
  7680. swait()
  7681. ---
  7682. lookavec = lookavec - 1
  7683. speeds = speeds + 10
  7684. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7685. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7686. 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)
  7687. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7688. 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)
  7689. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7690. 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)
  7691. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7692. 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)
  7693. ---
  7694. 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)
  7695. 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)
  7696. 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)
  7697. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7698. 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)
  7699. 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)
  7700. end
  7701. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7702. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7703. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7704. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7705. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7706. for i = 0, 49 do
  7707. 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)
  7708. 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)
  7709. end
  7710. CameraEnshaking(5,6)
  7711. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7712. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7713. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7714. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7715. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7716. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7717. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7718. storehumanoidWS = 100
  7719. hum.WalkSpeed = 100
  7720. rainbowmode = false
  7721. chaosmode = false
  7722. tl1.Enabled = true
  7723. tl2.Enabled = true
  7724. tl3.Enabled = true
  7725. RecolorTextAndRename("Galactical Guest",Color3.new(10,1,1),Color3.new(0.5,0,1),"Code")
  7726. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7727. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7728. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7729. for i, v in pairs(mw2:GetChildren()) do
  7730. if v:IsA("Part") then
  7731. v.BrickColor = MAINRUINCOLOR
  7732. v.Material = "Neon"
  7733. end
  7734. end
  7735. for i, v in pairs(mw1:GetChildren()) do
  7736. if v:IsA("Part") then
  7737. v.Transparency = 0
  7738. v.BrickColor = MAINRUINCOLOR
  7739. v.Material = "Neon"
  7740. end
  7741. end
  7742. for i, v in pairs(m:GetChildren()) do
  7743. if v:IsA("Part") then
  7744. v.Color = Color3.new(0.5,0,1)
  7745. v.Material = "Neon"
  7746. end
  7747. end
  7748. for i, v in pairs(m2:GetChildren()) do
  7749. if v:IsA("Part") then
  7750. v.Color = Color3.new(0.25,0,1)
  7751. v.Material = "Neon"
  7752. end
  7753. end
  7754. for i, v in pairs(m3:GetChildren()) do
  7755. if v:IsA("Part") then
  7756. v.Color = Color3.new(0.45,0,1)
  7757. v.Material = "Neon"
  7758. end
  7759. end
  7760. for i, v in pairs(extrawingmod1:GetChildren()) do
  7761. if v:IsA("Part") then
  7762. v.Transparency = 0.75
  7763. v.Color = Color3.new(0.25,0,1)
  7764. v.Material = "Neon"
  7765. end
  7766. end
  7767. for i, v in pairs(extrawingmod2:GetChildren()) do
  7768. if v:IsA("Part") then
  7769. v.Transparency = 0.75
  7770. v.Color = Color3.new(0.5,0,1)
  7771. v.Material = "Neon"
  7772. end
  7773. end
  7774. attack = false
  7775. end
  7776.  
  7777. function InsaneTrans()
  7778. attack = true
  7779. rainbowmode = false
  7780. chaosmode = false
  7781. ModeOfGlitch = 8889
  7782. hum.WalkSpeed = 0
  7783. newThemeCust("rbxassetid://183142252",1,1,10)
  7784. local elocacenter = CreateParta(root,1,1,"SmoothPlastic",BrickColor.random())
  7785. elocacenter.Anchored = true
  7786. elocacenter.CFrame = root.CFrame
  7787. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7788. eloca1.Anchored = true
  7789. eloca1.CFrame = elocacenter.CFrame
  7790. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7791. eloca2.Anchored = true
  7792. eloca2.CFrame = elocacenter.CFrame
  7793. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7794. eloca3.Anchored = true
  7795. eloca3.CFrame = elocacenter.CFrame
  7796. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  7797. eloca4.Anchored = true
  7798. eloca4.CFrame = elocacenter.CFrame
  7799. local lookavec = 0
  7800. local speeds = 0
  7801. CameraEnshaking(3,2.5)
  7802. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7803. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7804. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7805. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7806. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  7807. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7808. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 10, 1)
  7809. for i = 0, 5, 0.1 do
  7810. swait()
  7811. ---
  7812. lookavec = lookavec + 1
  7813. speeds = speeds + 10
  7814. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7815. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7816. 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)
  7817. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7818. 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)
  7819. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7820. 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)
  7821. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7822. 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)
  7823. ---
  7824. 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)
  7825. 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)
  7826. 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)
  7827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7828. 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)
  7829. 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)
  7830. end
  7831. for i = 0, 5, 0.1 do
  7832. swait()
  7833. ---
  7834. speeds = speeds + 10
  7835. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7836. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7837. 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)
  7838. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7839. 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)
  7840. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7841. 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)
  7842. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7843. 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)
  7844. ---
  7845. 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)
  7846. 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)
  7847. 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)
  7848. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7849. 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)
  7850. 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)
  7851. end
  7852. MAINRUINCOLOR = BrickColor.new("Really black")
  7853. CFuncs["Sound"].Create("rbxassetid://468991944", eloca1, 5, 1)
  7854. CFuncs["Sound"].Create("rbxassetid://468991944", eloca2, 5, 1)
  7855. CFuncs["Sound"].Create("rbxassetid://468991944", eloca3, 5, 1)
  7856. CFuncs["Sound"].Create("rbxassetid://468991944", eloca4, 5, 1)
  7857. CameraEnshaking(1,3)
  7858. for i = 0, 24 do
  7859. 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)
  7860. 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)
  7861. 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)
  7862. 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)
  7863. end
  7864. sphere(1,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7865. sphere(2,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7866. sphere(3,"Add",eloca1.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7867. sphere(1,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7868. sphere(2,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7869. sphere(3,"Add",eloca2.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7870. sphere(1,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7871. sphere(2,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7872. sphere(3,"Add",eloca3.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7873. sphere(1,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7874. sphere(2,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7875. sphere(3,"Add",eloca4.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  7876. for i = 0, 5, 0.1 do
  7877. swait()
  7878. ---
  7879. lookavec = lookavec - 1
  7880. speeds = speeds + 10
  7881. elocacenter.CFrame = root.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  7882. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  7883. 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)
  7884. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  7885. 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)
  7886. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  7887. 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)
  7888. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  7889. 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)
  7890. ---
  7891. 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)
  7892. 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)
  7893. 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)
  7894. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  7895. 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)
  7896. 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)
  7897. end
  7898. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7899. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7900. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7901. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7902. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  7903. for i = 0, 49 do
  7904. 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)
  7905. 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)
  7906. end
  7907. CameraEnshaking(5,6)
  7908. CFuncs["Sound"].Create("rbxassetid://419447292", root, 10,1)
  7909. CFuncs["Sound"].Create("rbxassetid://151304356", root, 5,1)
  7910. CFuncs["Sound"].Create("rbxassetid://741272936", root, 5, 1)
  7911. CFuncs["Sound"].Create("rbxassetid://164881112", root, 5, 1)
  7912. CFuncs["Sound"].Create("rbxassetid://1192402877", root, 5, 1)
  7913. CFuncs["Sound"].Create("rbxassetid://429123896", root, 5, 0.85)
  7914. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 5, 1)
  7915. storehumanoidWS = 100
  7916. hum.WalkSpeed = 100
  7917. rainbowmode = false
  7918. chaosmode = false
  7919. tl1.Enabled = true
  7920. tl2.Enabled = true
  7921. tl3.Enabled = true
  7922. RecolorTextAndRename("The Insane Guest",Color3.new(170,0,0),Color3.new(0,0,0),"Antique")
  7923. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7924. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7925. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  7926. for i, v in pairs(mw2:GetChildren()) do
  7927. if v:IsA("Part") then
  7928. v.BrickColor = MAINRUINCOLOR
  7929. v.Material = "Neon"
  7930. end
  7931. end
  7932. for i, v in pairs(mw1:GetChildren()) do
  7933. if v:IsA("Part") then
  7934. v.Transparency = 0
  7935. v.BrickColor = MAINRUINCOLOR
  7936. v.Material = "Neon"
  7937. end
  7938. end
  7939. for i, v in pairs(m:GetChildren()) do
  7940. if v:IsA("Part") then
  7941. v.Color = Color3.new(170,0,0)
  7942. v.Material = "Neon"
  7943. end
  7944. end
  7945. for i, v in pairs(m2:GetChildren()) do
  7946. if v:IsA("Part") then
  7947. v.Color = Color3.new(0,0,0)
  7948. v.Material = "Neon"
  7949. end
  7950. end
  7951. for i, v in pairs(m3:GetChildren()) do
  7952. if v:IsA("Part") then
  7953. v.Color = Color3.new(0,0,0)
  7954. v.Material = "Neon"
  7955. end
  7956. end
  7957. for i, v in pairs(extrawingmod1:GetChildren()) do
  7958. if v:IsA("Part") then
  7959. v.Transparency = 0.75
  7960. v.Color = Color3.new(0,0,0)
  7961. v.Material = "Neon"
  7962. end
  7963. end
  7964. for i, v in pairs(extrawingmod2:GetChildren()) do
  7965. if v:IsA("Part") then
  7966. v.Transparency = 0.75
  7967. v.Color = Color3.new(0,0,0)
  7968. v.Material = "Neon"
  7969. end
  7970. end
  7971. attack = false
  7972. end
  7973.  
  7974. function GleamingBeam()
  7975. attack = true
  7976. bosschatfunc("IT ENDS NOW!!!",MAINRUINCOLOR.Color,3)
  7977. CFuncs["EchoSound"].Create("rbxassetid://1535995570", char, 8, 1,0,10,0.15,0.5,1)
  7978. CFuncs["EchoSound"].Create("rbxassetid://1535995570", root, 60, 1,0,10,0.15,0.5,1)
  7979. local rsiz = math.random(1,15)
  7980. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  7981. hb.Anchored = true
  7982. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7983. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  7984. for i = 0, 16, 0.1 do
  7985. swait()
  7986. rsiz = math.random(5,15)
  7987. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  7988. 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)
  7989. 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)
  7990. 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)
  7991. 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)
  7992. 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)
  7993. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-40)),.1)
  7994. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  7995. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.1)
  7996. end
  7997. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  7998. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  7999. for i = 0, 2 do
  8000. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8001. end
  8002. 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)
  8003. 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)
  8004. 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)
  8005. for i = 0, 49 do
  8006. local rsiza = math.random(1,15)
  8007. 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)
  8008. end
  8009. local a = Instance.new("Part",Character)
  8010. a.Name = "Direction"
  8011. a.Anchored = true
  8012. a.BrickColor = MAINRUINCOLOR
  8013. a.Material = "Neon"
  8014. a.Transparency = 0
  8015. a.Shape = "Cylinder"
  8016. a.CanCollide = false
  8017. local ba = Instance.new("Part",Character)
  8018. ba.Name = "HitDirect"
  8019. ba.Anchored = true
  8020. ba.BrickColor = bc("Cool yellow")
  8021. ba.Material = "Neon"
  8022. ba.Transparency = 1
  8023. ba.CanCollide = false
  8024. local ray = Ray.new(
  8025. hb.CFrame.p, -- origin
  8026. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8027. )
  8028. local ignore = Character
  8029. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8030. a.BottomSurface = 10
  8031. a.TopSurface = 10
  8032. local distance = (hb.CFrame.p - position).magnitude
  8033. a.Size = Vector3.new(distance, 1, 1)
  8034. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8035. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8036. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8037. local msh = Instance.new("SpecialMesh",a)
  8038. msh.MeshType = "Cylinder"
  8039. msh.Scale = vt(1,4,4)
  8040. game:GetService("Debris"):AddItem(a, 30)
  8041. game:GetService("Debris"):AddItem(ba, 30)
  8042. for i = 0, 25, 0.1 do
  8043. swait()
  8044. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8045. ray = Ray.new(
  8046. hb.CFrame.p, -- origin
  8047. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8048. )
  8049. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8050. distance = (hb.CFrame.p - position).magnitude
  8051. a.Size = Vector3.new(distance, 1, 1)
  8052. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8053. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8054. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8055. rsiz = math.random(5,25)
  8056. MagniDamage(ba, 12, 40000,900000, 0, "Normal")
  8057. 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)
  8058. for c = 0, 2 do
  8059. 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)
  8060. end
  8061. 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)
  8062. 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)
  8063. 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)
  8064. 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)
  8065. 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)
  8066. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(-80)),.6)
  8067. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(80)),.6)
  8068. LW.C0=clerp(LW.C0,cf(-1.25,0.5,0.5)*angles(math.rad(-20),math.rad(0),math.rad(20)),.6)
  8069. end
  8070. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8071. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8072. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8073. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8074. MagniDamage(ba, 30, 400000,9000000, 0, "Normal")
  8075. 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)
  8076. 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)
  8077. 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)
  8078. 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)
  8079. 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)
  8080. 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)
  8081. for i = 0, 49 do
  8082. local rsiza = math.random(1,15)
  8083. 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)
  8084. end
  8085. for i = 0, 49 do
  8086. rsiz = math.random(1,8)
  8087. 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)
  8088. end
  8089. coroutine.resume(coroutine.create(function()
  8090. for i = 0, 99 do
  8091. swait()
  8092. a.Transparency = a.Transparency + 0.01
  8093. end
  8094. a:Destroy()
  8095. ba:Destroy()
  8096. end))
  8097. hb:Destroy()
  8098. attack = false
  8099. end
  8100.  
  8101. function DualGleamingBeam()
  8102. attack = true
  8103. hum.WalkSpeed = 0
  8104. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 5, 1,0,10,0.15,0.5,1)
  8105. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 60, 1,0,10,0.15,0.5,1)
  8106. local radm = math.random(1,3)
  8107. if radm == 1 then
  8108. bosschatfunc("YOU CAN'T ESCAPE THIS!!",MAINRUINCOLOR.Color,1)
  8109. elseif radm == 2 then
  8110. bosschatfunc("HOW DO YOU LIKE THIS?!",MAINRUINCOLOR.Color,1)
  8111. elseif radm == 3 then
  8112. bosschatfunc("You make the choice..",MAINRUINCOLOR.Color,1)
  8113. end
  8114. local rsiz = math.random(1,15)
  8115. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8116. hb.Anchored = true
  8117. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8118. local hb2 = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8119. hb2.Anchored = true
  8120. hb2.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8121. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb, 8,0.25)
  8122. for i = 0, 14, 0.1 do
  8123. swait()
  8124. rsiz = math.random(5,15)
  8125. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8126. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8127. 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)
  8128. 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)
  8129. 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)
  8130. 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"))
  8131. 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)
  8132. 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)
  8133. 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)
  8134. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.1)
  8135. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(120)),.1)
  8136. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-120)),.1)
  8137. end
  8138. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 10,0.6)
  8139. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 10,0.5)
  8140. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb2, 10,0.6)
  8141. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb2, 10,0.5)
  8142. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb, 10,1)
  8143. CFuncs["Sound"].Create("rbxassetid://1042696115", sorb2, 10,1)
  8144. 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)
  8145. 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)
  8146. 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)
  8147. 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"))
  8148. 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"))
  8149. 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"))
  8150. for i = 0, 49 do
  8151. local rsiza = math.random(1,15)
  8152. 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)
  8153. 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)
  8154. end
  8155. local a = Instance.new("Part",Character)
  8156. a.Name = "Direction"
  8157. a.Anchored = true
  8158. a.BrickColor = MAINRUINCOLOR
  8159. a.Material = "Neon"
  8160. a.Transparency = 0
  8161. a.Shape = "Cylinder"
  8162. a.CanCollide = false
  8163. local a2 = Instance.new("Part",Character)
  8164. a2.Name = "Direction"
  8165. a2.Anchored = true
  8166. a2.BrickColor = MAINRUINCOLOR
  8167. a2.Material = "Neon"
  8168. a2.Transparency = 0
  8169. a2.Shape = "Cylinder"
  8170. a2.CanCollide = false
  8171. local ba = Instance.new("Part",Character)
  8172. ba.Name = "HitDirect"
  8173. ba.Anchored = true
  8174. ba.BrickColor = MAINRUINCOLOR
  8175. ba.Material = "Neon"
  8176. ba.Transparency = 1
  8177. ba.CanCollide = false
  8178. local ba2 = Instance.new("Part",Character)
  8179. ba2.Name = "HitDirect"
  8180. ba2.Anchored = true
  8181. ba2.BrickColor = MAINRUINCOLOR
  8182. ba2.Material = "Neon"
  8183. ba2.Transparency = 1
  8184. ba2.CanCollide = false
  8185. local ray = Ray.new(
  8186. hb.CFrame.p, -- origin
  8187. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8188. )
  8189. local ignore = Character
  8190. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8191. local ray2 = Ray.new(
  8192. hb2.CFrame.p, -- origin
  8193. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8194. )
  8195. local hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8196. local distance2 = (hb2.CFrame.p - position).magnitude
  8197.  
  8198. a.BottomSurface = 10
  8199. a.TopSurface = 10
  8200. local distance = (hb.CFrame.p - position).magnitude
  8201. a.Size = Vector3.new(distance, 1, 1)
  8202. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8203. a2.BottomSurface = 10
  8204. a2.TopSurface = 10
  8205. a2.Size = Vector3.new(distance2, 1, 1)
  8206. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8207. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8208. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8209. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8210. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8211. local msh = Instance.new("SpecialMesh",a)
  8212. msh.MeshType = "Cylinder"
  8213. msh.Scale = vt(1,4,4)
  8214. local msh2 = Instance.new("SpecialMesh",a2)
  8215. msh2.MeshType = "Cylinder"
  8216. msh2.Scale = vt(1,4,4)
  8217. game:GetService("Debris"):AddItem(a, 30)
  8218. game:GetService("Debris"):AddItem(a2, 30)
  8219. game:GetService("Debris"):AddItem(ba, 30)
  8220. game:GetService("Debris"):AddItem(ba2, 30)
  8221. for i = 0, 20, 0.1 do
  8222. swait()
  8223. hb.CFrame = sorb.CFrame*CFrame.new(0,-3,0)
  8224. hb2.CFrame = sorb2.CFrame*CFrame.new(0,-3,0)
  8225. ray = Ray.new(
  8226. hb.CFrame.p, -- origin
  8227. (mouse.Hit.p - hb.CFrame.p).unit * 1000 -- direction
  8228. )
  8229. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  8230. distance = (hb.CFrame.p - position).magnitude
  8231. ray2 = Ray.new(
  8232. hb2.CFrame.p, -- origin
  8233. (mouse.Hit.p - hb2.CFrame.p).unit * 1000 -- direction
  8234. )
  8235. hit2, position2, normal2 = workspace:FindPartOnRay(ray2, ignore)
  8236. distance2 = (hb2.CFrame.p - position).magnitude
  8237. a.Size = Vector3.new(distance, 1, 1)
  8238. a.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  8239. a2.Size = Vector3.new(distance2, 1, 1)
  8240. a2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2/2)
  8241. ba.CFrame = CFrame.new(hb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  8242. ba2.CFrame = CFrame.new(hb2.CFrame.p, position) * CFrame.new(0, 0, -distance2)
  8243. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  8244. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  8245. rsiz = math.random(5,25)
  8246. MagniDamage(ba, 12, 800,18000, 0, "Normal")
  8247. MagniDamage(ba2, 12, 800,18000, 0, "Normal")
  8248. for i, v in pairs(FindNearestHead(ba.CFrame.p, 4)) do
  8249. if v:FindFirstChild('Head') then
  8250. dmg(v)
  8251. end
  8252. end
  8253. coroutine.resume(coroutine.create(function()
  8254. local bx = Instance.new("Part",Character)
  8255. bx.Name = "Location"
  8256. bx.Anchored = true
  8257. bx.BrickColor = MAINRUINCOLOR
  8258. bx.Material = "Neon"
  8259. bx.Transparency = 1
  8260. bx.CanCollide = false
  8261. bx.Position = ba.Position
  8262. sphere2(2,"Add",bx.CFrame,vt(20,0.5,20),0.001,0,0.001,MAINRUINCOLOR)
  8263. wait(math.random(1,2))
  8264. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.1,0,0.1,bc("Lime green"))
  8265. sphere2(4,"Add",bx.CFrame,vt(5,10000,5),0.25,0,0.25,MAINRUINCOLOR)
  8266. sphere2(6,"Add",bx.CFrame,vt(10,10,10),0.5,0.5,0.5,bc("Lime green"))
  8267. CFuncs["Sound"].Create("rbxassetid://1042693018", bx, 5,0.7)
  8268. CFuncs["Sound"].Create("rbxassetid://1042695469", bx, 5,0.8)
  8269. MagniDamage(bx, 20, 80000,900000, 0, "Normal")
  8270. for i, v in pairs(FindNearestHead(bx.CFrame.p, 15)) do
  8271. if v:FindFirstChild('Head') then
  8272. dmg(v)
  8273. end
  8274. end
  8275. wait(5)
  8276. bx:Destroy()
  8277. end))
  8278. 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)
  8279. 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)
  8280. for c = 0, 2 do
  8281. 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)
  8282. end
  8283. 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)
  8284. 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)
  8285. 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)
  8286. 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)
  8287. 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)
  8288. 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)
  8289. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(10)),.05)
  8290. RW.C0=clerp(RW.C0,cf(1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-15)),.05)
  8291. LW.C0=clerp(LW.C0,cf(-1.25,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(15)),.05)
  8292. end
  8293. for i = 0, 1 do
  8294. CFuncs["Sound"].Create("rbxassetid://1042693018", sorb, 5,0.8)
  8295. CFuncs["Sound"].Create("rbxassetid://1042695469", sorb, 5,0.9)
  8296. CFuncs["Sound"].Create("rbxassetid://1042693018", ba, 10,0.8)
  8297. CFuncs["Sound"].Create("rbxassetid://1042695469", ba, 10,0.9)
  8298. end
  8299. MagniDamage(ba, 30, 8000,180000, 0, "Normal")
  8300. MagniDamage(ba2, 30, 8000,180000, 0, "Normal")
  8301. for i, v in pairs(FindNearestHead(ba.CFrame.p, 10)) do
  8302. if v:FindFirstChild('Head') then
  8303. dmg(v)
  8304. end
  8305. end
  8306. 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)
  8307. 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)
  8308. 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)
  8309. 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)
  8310. 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)
  8311. 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)
  8312. 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"))
  8313. 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"))
  8314. 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"))
  8315. for i = 0, 49 do
  8316. local rsiza = math.random(1,15)
  8317. 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)
  8318. 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)
  8319. end
  8320. for i = 0, 49 do
  8321. rsiz = math.random(1,8)
  8322. 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)
  8323. end
  8324. coroutine.resume(coroutine.create(function()
  8325. for i = 0, 99 do
  8326. swait()
  8327. a.Transparency = a.Transparency + 0.01
  8328. a2.Transparency = a2.Transparency + 0.01
  8329. end
  8330. a:Destroy()
  8331. ba:Destroy()
  8332. a2:Destroy()
  8333. ba2:Destroy()
  8334. end))
  8335. hum.WalkSpeed = storehumanoidWS
  8336. hb:Destroy()
  8337. hb2:Destroy()
  8338. attack = false
  8339. end
  8340.  
  8341. function dragin()
  8342. local targetted = nil
  8343. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  8344. targetted = mouse.Target.Parent
  8345. end
  8346. if targetted ~= nil then
  8347. RootPart.CFrame = FaceMouse()[1]
  8348. attack = true
  8349. hum.WalkSpeed = 0
  8350. for x = 0, 1 do
  8351. for i = 0,1,0.5 do
  8352. swait()
  8353. 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)
  8354. 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)
  8355. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(90)),.3)
  8356. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8357. 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)
  8358. 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)
  8359. end
  8360. for i = 0,1,0.5 do
  8361. swait()
  8362. 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)
  8363. 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)
  8364. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(180)),.3)
  8365. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8366. 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)
  8367. 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)
  8368. end
  8369. for i = 0,1,0.5 do
  8370. swait()
  8371. 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)
  8372. 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)
  8373. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(270)),.3)
  8374. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8375. 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)
  8376. 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)
  8377. end
  8378. for i = 0,1,0.5 do
  8379. swait()
  8380. 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)
  8381. 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)
  8382. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(0)),.3)
  8383. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(0)),.3)
  8384. 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)
  8385. 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)
  8386. end
  8387. end
  8388. coroutine.resume(coroutine.create(function()
  8389. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 50
  8390. CFuncs["Sound"].Create("rbxassetid://884155627", targetted.Head, 1,1)
  8391. CFuncs["Sound"].Create("rbxassetid://153092213", targetted.Head, 2.5,1)
  8392. end))
  8393. local A1 = Instance.new("Attachment",targetted.Head)
  8394. local A2 = Instance.new("Attachment",sorb)
  8395. local Beem = Instance.new("Beam",tors)
  8396. Beem.Attachment0 = A1
  8397. Beem.Attachment1 = A2
  8398. Beem.Texture = "rbxassetid://897585362"
  8399. Beem.LightEmission = 0.75
  8400. Beem.FaceCamera = true
  8401. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 0)})
  8402. Beem.Width0 = 1
  8403. Beem.Width1 = 1
  8404. Beem.TextureMode = "Wrap"
  8405. Beem.TextureLength = 1
  8406. Beem.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8407. 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)
  8408. 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)
  8409. for x = 0, 24 do
  8410. local rsiz = math.random(5,15)
  8411. 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)
  8412. end
  8413.  
  8414. CFuncs["EchoSound"].Create("rbxassetid://1448032965", char, 7, 1,0,10,0.15,0.5,1)
  8415. CFuncs["EchoSound"].Create("rbxassetid://1448032965", root, 60, 1,0,10,0.15,0.5,1)
  8416. local radm = math.random(1,2)
  8417. if radm == 1 then
  8418. bosschatfunc("GOTCHA!!",MAINRUINCOLOR.Color,1)
  8419. elseif radm == 2 then
  8420. bosschatfunc("COM'ERE!!",MAINRUINCOLOR.Color,1)
  8421. end
  8422. for i = 0,3,0.1 do
  8423. swait()
  8424. coroutine.resume(coroutine.create(function()
  8425. local rsiz = math.random(5,15)
  8426. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8427. 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)
  8428. end))
  8429. 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)
  8430. 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)
  8431. 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)
  8432. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(50)),.6)
  8433. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(-50)),.6)
  8434. 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)
  8435. 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)
  8436. end
  8437. CFuncs["Sound"].Create("rbxassetid://231917750", sorb, 1.25,0.9)
  8438. CFuncs["Sound"].Create("rbxassetid://1042716828", sorb, 1.5,1)
  8439. local vel = Instance.new("BodyPosition", targetted.Head)
  8440. vel.P = 12500
  8441. vel.D = 1000
  8442. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  8443. vel.position = hed.CFrame.p + root.CFrame.lookVector*2.75
  8444. for i = 0,4,0.1 do
  8445. swait()
  8446. coroutine.resume(coroutine.create(function()
  8447. local rsiz = math.random(5,15)
  8448. targetted:FindFirstChildOfClass("Humanoid").Health = targetted:FindFirstChildOfClass("Humanoid").Health + 10
  8449. 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)
  8450. end))
  8451. 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)
  8452. 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)
  8453. 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)
  8454. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1)*angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  8455. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*cf(0,0,0)*angles(math.rad(10),math.rad(15),math.rad(40)),.2)
  8456. 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)
  8457. 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)
  8458. end
  8459. local visibility = 0
  8460. coroutine.resume(coroutine.create(function()
  8461. for i = 0, 49 do
  8462. swait()
  8463. visibility = visibility + 0.02
  8464. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, visibility),NumberSequenceKeypoint.new(1, visibility)})
  8465. end
  8466. Beem:Destroy()
  8467. A1:Destroy()
  8468. A2:Destroy()
  8469. end))
  8470. game:GetService("Debris"):AddItem(vel,0.75)
  8471. attack = false
  8472. hum.WalkSpeed = storehumanoidWS
  8473.  
  8474. end
  8475. end
  8476.  
  8477. function hugg()
  8478. attack = true
  8479. hum.WalkSpeed = 5
  8480. local rsiz = math.random(5,15)
  8481. for i = 0, 2, 0.1 do
  8482. swait()
  8483. 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)
  8484. 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)
  8485. 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)
  8486. 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)
  8487. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(40)),.3)
  8488. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(110),math.rad(0),math.rad(-40)),.3)
  8489. end
  8490. CFuncs["Sound"].Create("rbxassetid://444895479", root, 0.5,1)
  8491. local hb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  8492. hb.Anchored = true
  8493. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8494. local huggedperson = nil
  8495. local act = false
  8496. local alreadydid = false
  8497. for i = 0, 3, 0.1 do
  8498. swait()
  8499. if act == false then
  8500. for i, v in pairs(FindNearestHead(hb.CFrame.p, 1.25)) do
  8501. if v:FindFirstChild('Head') then
  8502. if alreadydid == false then
  8503. huggedperson = v
  8504. hum.WalkSpeed = 0
  8505. CFuncs["Sound"].Create("rbxassetid://294861193", root, 1,1)
  8506. CFuncs["Sound"].Create("rbxassetid://200632821", root, 1,1.15)
  8507. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 1.5,1)
  8508. CFuncs["Sound"].Create("rbxassetid://884155627", root, 2,1)
  8509. local radm = math.random(1,3)
  8510. if radm == 1 then
  8511. bosschatfunc("I'm sorry.. if I hurt you..",MAINRUINCOLOR.Color,1)
  8512. elseif radm == 2 then
  8513. bosschatfunc("I..I'm interested in you",MAINRUINCOLOR.Color,1)
  8514. elseif radm == 3 then
  8515. bosschatfunc("Don't worry.. I'm with you",MAINRUINCOLOR.Color,1)
  8516. end
  8517. root.Anchored = true
  8518. coroutine.resume(coroutine.create(function()
  8519. huggedperson.Humanoid.WalkSpeed = 0
  8520. huggedperson:WaitForChild("HumanoidRootPart").Anchored = true
  8521. end))
  8522. --chatfunc(string.lower(huggedperson.Name).. "~~",BrickColor.new("Pink").Color,"Normal","SourceSansBold",1)
  8523. alreadydid = true
  8524. act = true
  8525. print(huggedperson.Name)
  8526. end
  8527. end
  8528. end
  8529. hb.CFrame = root.CFrame*CFrame.new(0,1,0) + root.CFrame.lookVector*2
  8530. 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)
  8531. elseif act == true then
  8532. coroutine.resume(coroutine.create(function()
  8533. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8534. end))
  8535. rsiz = math.random(5,15)
  8536. 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)
  8537. 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)
  8538. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8539. end
  8540. 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)
  8541. 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)
  8542. 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)
  8543. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8544. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8545. end
  8546. hb:Destroy()
  8547. if act == true then
  8548. for x = 0, 2 do
  8549. for i = 0, 2, 0.1 do
  8550. swait()
  8551. coroutine.resume(coroutine.create(function()
  8552. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8553. end))
  8554. rsiz = math.random(5,15)
  8555. 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)
  8556. 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)
  8557. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8558. 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)
  8559. 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)
  8560. 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)
  8561. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8562. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8563. end
  8564. for i = 0, 2, 0.1 do
  8565. swait()
  8566. coroutine.resume(coroutine.create(function()
  8567. huggedperson:FindFirstChildOfClass("Humanoid").Health = huggedperson:FindFirstChildOfClass("Humanoid").Health + 0.2
  8568. end))
  8569. rsiz = math.random(5,15)
  8570. 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)
  8571. 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)
  8572. huggedperson.Head.CFrame = root.CFrame*CFrame.new(0,2.25,-1.25)*CFrame.Angles(0,math.rad(180),0)
  8573. 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)
  8574. 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)
  8575. 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)
  8576. RW.C0=clerp(RW.C0,cf(1,0.7,-1)*angles(math.rad(120),math.rad(0),math.rad(-50)),.3)
  8577. LW.C0=clerp(LW.C0,cf(-1,0.7,-1)*angles(math.rad(100),math.rad(0),math.rad(50)),.3)
  8578. end
  8579. end
  8580. end
  8581. hum.WalkSpeed = storehumanoidWS
  8582. root.Anchored = false
  8583. if act == true then
  8584. coroutine.resume(coroutine.create(function()
  8585. huggedperson.Humanoid.WalkSpeed = 16
  8586. huggedperson:WaitForChild("HumanoidRootPart").Anchored = false
  8587. end))
  8588. end
  8589. hum.WalkSpeed = storehumanoidWS
  8590. attack = false
  8591. end
  8592.  
  8593. function Counter()
  8594. hum.WalkSpeed = 0
  8595. CFuncs["EchoSound"].Create("rbxassetid://2370794297", char, 5, 1,0,10,0.15,0.5,1)
  8596. CFuncs["EchoSound"].Create("rbxassetid://2370794297", root, 60, 1,0,10,0.15,0.5,1)
  8597. bosschatfunc("COUNTER!!",MAINRUINCOLOR.Color,1)
  8598. attack = true
  8599. for i = 0,1,0.1 do
  8600. swait()
  8601. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8602. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8603. 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)
  8604. 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)
  8605. 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)
  8606. 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)
  8607. end
  8608. CameraEnshaking(3,4)
  8609. MagniDamageWithEffect(root, 24, 0,0, 75, "Normal")
  8610. 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)
  8611. 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)
  8612. 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)
  8613. coroutine.resume(coroutine.create(function()
  8614. local eff = Instance.new("ParticleEmitter",root)
  8615. eff.Texture = "rbxassetid://363275192"
  8616. eff.LightEmission = 0.95
  8617. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  8618. eff.Rate = 10000
  8619. eff.Lifetime = NumberRange.new(1)
  8620. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  8621. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8622. eff.Speed = NumberRange.new(10,125)
  8623. eff.Drag = 5
  8624. eff.Rotation = NumberRange.new(-500,500)
  8625. eff.VelocitySpread = 9000
  8626. eff.RotSpeed = NumberRange.new(-50,50)
  8627. local eff2 = eff:Clone()
  8628. eff2.Parent = root
  8629. eff2.Texture = "rbxassetid://284205403"
  8630. eff2.Rate = 10000
  8631. 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)})
  8632. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  8633. eff2.Drag = 5
  8634. eff2.Speed = NumberRange.new(10,50)
  8635. eff2.Rotation = NumberRange.new(-500,500)
  8636. eff2.VelocitySpread = 9000
  8637. wait(0.25)
  8638. eff2.Enabled = false
  8639. eff.Enabled = false
  8640. wait(3)
  8641. eff2:Destroy()
  8642. eff:Destroy()
  8643. end))
  8644. for i = 0, 9 do
  8645. 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)
  8646. end
  8647. for i = 0, 24 do
  8648. local rsiz = math.random(5,20)
  8649. 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)
  8650. end
  8651. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  8652. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  8653. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  8654. for i = 0,2,0.1 do
  8655. swait()
  8656. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8657. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8658. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8659. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8660. 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)
  8661. 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)
  8662. end
  8663. hum.WalkSpeed = storehumanoidWS
  8664. attack = false
  8665. end
  8666.  
  8667. function superjump()
  8668. attack = true
  8669. hum.WalkSpeed = 0
  8670. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,BrickColor.new("Royal purple"),BrickColor.new("Royal purple").Color)
  8671. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.new("Cyan"),BrickColor.new("Cyan").Color)
  8672. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 7.5, 1)
  8673. for i = 0, 2, 0.1 do
  8674. swait()
  8675. root.Velocity = vt(0,0,0)
  8676. 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"))
  8677. 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)
  8678. 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)
  8679. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,-1)*angles(math.rad(20),math.rad(0),math.rad(0)),.4)
  8680. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(4),math.rad(0),math.rad(0)),.4)
  8681. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(40)),.4)
  8682. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(10),math.rad(0),math.rad(-40)),.4)
  8683. end
  8684. MagniDamage(root, 28, 25,50, 25, "Normal")
  8685. CFuncs["Sound"].Create("rbxassetid://477843807", char, 17, 1.05)
  8686. hum.Jump = true
  8687. swait()
  8688. root.Velocity = vt(0,250,0) + root.CFrame.lookVector*250
  8689. 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)
  8690. 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)
  8691. CFuncs["Sound"].Create("rbxassetid://1295446488", root, 10, 1)
  8692. for i = 0, 3, 0.1 do
  8693. swait()
  8694. 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)
  8695. 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)
  8696. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.75,0)*angles(math.rad(40),math.rad(0),math.rad(0)),.4)
  8697. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.4)
  8698. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(20)),.4)
  8699. LW.C0=clerp(LW.C0,cf(-1.45,0.5,0.1)*angles(math.rad(-30),math.rad(0),math.rad(-20)),.4)
  8700. end
  8701. attack = false
  8702. if equipped == false then
  8703. hum.WalkSpeed = 16
  8704. else
  8705. hum.WalkSpeed = 24
  8706. end
  8707. end
  8708.  
  8709.  
  8710. -------------------------------------
  8711.  
  8712.  
  8713.  
  8714. Humanoid.Animator.Parent = nil
  8715.  
  8716.  
  8717.  
  8718. -------------------------------------
  8719.  
  8720. local attacktype = 1
  8721. mouse.Button1Down:connect(function()
  8722. if attack == false and attacktype == 1 then
  8723. attacktype = 2
  8724. attackone()
  8725. elseif attack == false and attacktype == 2 then
  8726. attacktype = 3
  8727. attacktwo()
  8728. elseif attack == false and attacktype == 3 then
  8729. attacktype = 1
  8730. attackthree()
  8731. elseif attack == false and attacktype == 4 then
  8732. attacktype = 1
  8733. --attackfour()
  8734. end
  8735. end)
  8736. mouse.KeyDown:connect(function(k)
  8737. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  8738. --normalmog()
  8739. ModeOfGlitch = 1
  8740. storehumanoidWS = 16
  8741. hum.WalkSpeed = 16
  8742. rainbowmode = false
  8743. chaosmode = false
  8744. newTheme("rbxassetid://367339030",48.6,1,0.85)
  8745. RecolorTextAndRename("Hopeless Guest",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  8746. MAINRUINCOLOR = BrickColor.new("Really red")
  8747. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  8748. end
  8749. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  8750. ModeOfGlitch = 2
  8751. storehumanoidWS = 16
  8752. hum.WalkSpeed = 16
  8753. rainbowmode = false
  8754. chaosmode = false
  8755. RecolorTextAndRename("Serene Guest",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  8756. newTheme("rbxassetid://1539245059",0,1,0.85)
  8757. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  8758. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8759. end
  8760. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  8761. ModeOfGlitch = 3
  8762. storehumanoidWS = 14
  8763. hum.WalkSpeed = 14
  8764. rainbowmode = false
  8765. chaosmode = false
  8766. RecolorTextAndRename("Stable Guest",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  8767. newTheme("rbxassetid://367339030",58.15,0.98,1)
  8768. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8769. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8770. end
  8771. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  8772. ModeOfGlitch = 4
  8773. storehumanoidWS = 14
  8774. hum.WalkSpeed = 14
  8775. rainbowmode = false
  8776. chaosmode = true
  8777. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),Color3.new(1,1,1),"Antique")
  8778. newTheme("rbxassetid://2203914587",10,1.01,0.85)
  8779. MAINRUINCOLOR = BrickColor.new("Crimson")
  8780. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8781. end
  8782. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  8783. ModeOfGlitch = 5
  8784. storehumanoidWS = 14
  8785. hum.WalkSpeed = 14
  8786. rainbowmode = false
  8787. chaosmode = false
  8788. RecolorTextAndRename("Divine Guest",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  8789. newTheme("rbxassetid://661079869",0,1.02,0.85)
  8790. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  8791. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8792. end
  8793. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  8794. ModeOfGlitch = 6
  8795. storehumanoidWS = 65
  8796. hum.WalkSpeed = 65
  8797. rainbowmode = false
  8798. chaosmode = false
  8799. RecolorTextAndRename("Justice Guest",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  8800. newTheme("rbxassetid://1347011178",0,1.01,0.85)
  8801. MAINRUINCOLOR = BrickColor.new("White")
  8802. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8803. end
  8804. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  8805. ModeOfGlitch = 8
  8806. storehumanoidWS = 100
  8807. hum.WalkSpeed = 100
  8808. rainbowmode = false
  8809. chaosmode = false
  8810. RecolorTextAndRename("Destinal Guest",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  8811. newTheme("rbxassetid://919231299",0,1.01,0.85)
  8812. MAINRUINCOLOR = BrickColor.new("Alder")
  8813. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8814. end
  8815. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  8816. ModeOfGlitch = 9
  8817. storehumanoidWS = 85
  8818. hum.WalkSpeed = 85
  8819. rainbowmode = false
  8820. chaosmode = false
  8821. RecolorTextAndRename("Infected Guest",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  8822. newTheme("rbxassetid://879189331",0,1.01,0.85)
  8823. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  8824. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8825. end
  8826. if k == "h" and attack == false and ModeOfGlitch ~= 5555 then
  8827. ModeOfGlitch = 5555
  8828. storehumanoidWS = 30
  8829. hum.WalkSpeed = 30
  8830. rainbowmode = false
  8831. chaosmode = false
  8832. RecolorTextAndRename("Love Guest",Color3.new(1,1,1),BrickColor.new("Hot pink").Color,"Arcade")
  8833. newTheme("rbxassetid://736003449",0,1,1.25)
  8834. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8835. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8836. end
  8837. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  8838. CalamityTrans()
  8839. end
  8840. if k == "b" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 8889 then
  8841. InsaneTrans()
  8842. end
  8843. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  8844. ModeOfGlitch = 55469696922
  8845. storehumanoidWS = 95
  8846. hum.WalkSpeed = 95
  8847. rainbowmode = false
  8848. chaosmode = false
  8849. RecolorTextAndRename("Nanodeath Guest",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  8850. newTheme("rbxassetid://919231299",0,1.005,0.9)
  8851. MAINRUINCOLOR = BrickColor.new("Hot pink")
  8852. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8853. end
  8854. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  8855. ModeOfGlitch = 4367677813
  8856. storehumanoidWS = 75
  8857. hum.WalkSpeed = 75
  8858. rainbowmode = false
  8859. chaosmode = false
  8860. RecolorTextAndRename("Mysterious Guest",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  8861. newTheme("rbxassetid://919231299",0,1.01,0.95)
  8862. MAINRUINCOLOR = BrickColor.new("Baby blue")
  8863. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8864. end
  8865. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  8866. ModeOfGlitch = 9999999921111
  8867. storehumanoidWS = 145
  8868. hum.WalkSpeed = 145
  8869. rainbowmode = false
  8870. chaosmode = false
  8871. RecolorTextAndRename("Omega Guest",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  8872. newTheme("rbxassetid://643309199",0,1.01,1)
  8873. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  8874. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8875. end
  8876. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  8877. ModeOfGlitch = 999999999556
  8878. storehumanoidWS = 115
  8879. hum.WalkSpeed = 115
  8880. rainbowmode = false
  8881. chaosmode = false
  8882. RecolorTextAndRename("Crazy Game",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  8883. newTheme("rbxassetid://719008519",0,1.02,0.85)
  8884. MAINRUINCOLOR = BrickColor.new("Navy blue")
  8885. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8886. end
  8887. if k == "m" and attack == false and ModeOfGlitch == 3 and ModeOfGlitch ~= 12 then
  8888. ModeOfGlitch = 12
  8889. storehumanoidWS = 19
  8890. hum.WalkSpeed = 19
  8891. rainbowmode = false
  8892. chaosmode = false
  8893. print'Mode was meant for Vengeful Program or those other fans out there'
  8894. RecolorTextAndRename("Neptunia Guest",BrickColor.new("Royal purple").Color,BrickColor.new("Bright blue").Color,"SciFi")
  8895. newTheme("rbxassetid://1873219898",0,1,1.7)
  8896. MAINRUINCOLOR = BrickColor.new("Royal purple")
  8897. RecolorThing(MAINRUINCOLOR,BrickColor.new("Bright blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8898. end
  8899.  
  8900. if k == "m" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 50 then
  8901. sphere(0.9,"Add",root.CFrame,vt(0,100000,0),1,BrickColor.new("Institutional white"))
  8902. for i = 0, 49 do
  8903. 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)
  8904. end
  8905. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8906. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8907. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8908. hum.WalkSpeed = storehumanoidWS
  8909. attack = false
  8910. ModeOfGlitch = 50
  8911. storehumanoidWS = 18
  8912. hum.WalkSpeed = 18
  8913. rainbowmode = false
  8914. chaosmode = false
  8915. RecolorTextAndRename("EnBelived",BrickColor.new("Institutional white").Color,BrickColor.new("Institutional white").Color,"Arcade")
  8916. newTheme("rbxassetid://435773595",0,1.01,1.5)
  8917. MAINRUINCOLOR = BrickColor.new("Institutional white")
  8918. RecolorThing(MAINRUINCOLOR,BrickColor.new("Institutional white"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8919. end
  8920.  
  8921. if k == "m" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 66 then
  8922. hum.WalkSpeed = 0
  8923. attack = true
  8924. for i = 0,1,0.1 do
  8925. swait()
  8926. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8927. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8928. 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)
  8929. 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)
  8930. 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)
  8931. 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)
  8932. end
  8933. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8934. for i = 0, 148 do
  8935. 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)
  8936. end
  8937. for i = 0,3,0.1 do
  8938. 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)
  8939. end
  8940. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8941. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8942. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8943. hum.WalkSpeed = storehumanoidWS
  8944. attack = false
  8945. ModeOfGlitch = 66
  8946. storehumanoidWS = 16
  8947. hum.WalkSpeed = 16
  8948. rainbowmode = false
  8949. chaosmode = false
  8950. newTheme("rbxassetid://"..ast[Mrandom(1,2)],0,1,1.35)
  8951. MAINRUINCOLOR = BrickColor.new("Really black")
  8952. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8953. for i = 0,2,0.1 do
  8954. swait()
  8955. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  8956. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  8957. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  8958. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  8959. 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)
  8960. 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)
  8961. end
  8962. end
  8963.  
  8964. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 13 then
  8965. hum.WalkSpeed = 0
  8966. attack = true
  8967. for i = 0,1,0.1 do
  8968. swait()
  8969. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,1)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  8970. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  8971. 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)
  8972. 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)
  8973. 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)
  8974. 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)
  8975. end
  8976. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  8977. for i = 0, 49 do
  8978. 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)
  8979. end
  8980. for i = 0,3,0.1 do
  8981. 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)
  8982. end
  8983. CFuncs["Sound"].Create("rbxassetid://239000203", root, 4, 1)
  8984. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 1)
  8985. CFuncs["Sound"].Create("rbxassetid://847061203", root, 3, 1)
  8986. hum.WalkSpeed = storehumanoidWS
  8987. attack = false
  8988. ModeOfGlitch = 13
  8989. storehumanoidWS = 45
  8990. hum.WalkSpeed = 45
  8991. rainbowmode = false
  8992. chaosmode = false
  8993. RecolorTextAndRename("Judicial Guest",BrickColor.new("Dark stone grey").Color,BrickColor.new("Light blue").Color,"Bodoni")
  8994. newTheme("rbxassetid://190845741",0,1,1.35)
  8995. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  8996. RecolorThing(MAINRUINCOLOR,BrickColor.new("Light blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  8997. for i = 0,2,0.1 do
  8998. swait()
  8999. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,1)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  9000. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  9001. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  9002. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  9003. 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)
  9004. 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)
  9005. end
  9006. end
  9007. if k == "j" and attack == false and ModeOfGlitch ~= 1002 then
  9008. ModeOfGlitch = 1002
  9009. storehumanoidWS = 45
  9010. hum.WalkSpeed = 45
  9011. rainbowmode = false
  9012. chaosmode = false
  9013. RecolorTextAndRename("Pixeled Guest",BrickColor.new("Really black").Color,BrickColor.new("Dark blue").Color,"Code")
  9014. newTheme("rbxassetid://2027652726",0,1,0.85)
  9015. MAINRUINCOLOR = BrickColor.new("Dark blue")
  9016. RecolorThing(MAINRUINCOLOR,BrickColor.new("Dark blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9017. end
  9018. if k == "k" and attack == false and ModeOfGlitch ~= 1003 then
  9019. ModeOfGlitch = 1003
  9020. storehumanoidWS = 90
  9021. hum.WalkSpeed = 90
  9022. rainbowmode = false
  9023. chaosmode = false
  9024. RecolorTextAndRename("A.s.c.e.n.d.e.d G.u.e.s.t",BrickColor.new("White").Color,BrickColor.new("Bright yellow").Color,"Code")
  9025. newTheme("rbxassetid://257453119",0,1,0.85)
  9026. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  9027. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9028. end
  9029. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  9030. ModeOfGlitch = 1264532489
  9031. storehumanoidWS = 175
  9032. hum.WalkSpeed = 175
  9033. rainbowmode = false
  9034. chaosmode = false
  9035. RecolorTextAndRename("Fallenx Guest",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  9036. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  9037. MAINRUINCOLOR = BrickColor.new("Pastel green")
  9038. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  9039. end
  9040. if k == "l" and mutedtog == false then
  9041. mutedtog = true
  9042. kan.Volume = 0.85
  9043. elseif k == "l" and mutedtog == true then
  9044. mutedtog = false
  9045. kan.Volume = 0.85
  9046. end
  9047. if k == "p" and toggleTag == false then
  9048. toggleTag = true
  9049. modet.TextTransparency = 0
  9050. modet.TextStrokeTransparency = 0
  9051. elseif k == "p" and toggleTag == true then
  9052. toggleTag = false
  9053. modet.TextTransparency = 1
  9054. modet.TextStrokeTransparency = 1
  9055. end
  9056. if k == "z" and attack == false and ModeOfGlitch == 1 then
  9057. ExtinctiveHeartbreak()
  9058. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  9059. HeavenlyDisk()
  9060. elseif k == "z" and attack == false and ModeOfGlitch == 9 then
  9061. DualGleamingBeam()
  9062. elseif k == "c" and attack == false and ModeOfGlitch == 9 then
  9063. BanishingOrb()
  9064. elseif k == "z" and attack == false and ModeOfGlitch == 5555 then
  9065. hugg()
  9066. elseif k == "b" and attack == false and ModeOfGlitch == 55469696922 then
  9067. cutesigh()
  9068. elseif k == "v" and attack == false and ModeOfGlitch == 55469696922 then
  9069. Counter()
  9070. elseif k == "v" and attack == false and ModeOfGlitch == 12 then
  9071. superjump()
  9072. elseif k == "v" and attack == false and ModeOfGlitch == 9999999921111 then
  9073. dragin()
  9074. elseif k == "x" and attack == false and ModeOfGlitch == 8889 then
  9075. UniversalCollapse()
  9076. elseif k == "c" and attack == false and ModeOfGlitch == 2 then
  9077. PureBomb()
  9078. elseif k == "z" and attack == false and ModeOfGlitch == 999999999556 then
  9079. Beams()
  9080. elseif k == "x" and attack == false and ModeOfGlitch == 55469696922 then
  9081. BeamOfDeath()
  9082. elseif k == "v" and attack == false and ModeOfGlitch == 8 then
  9083. THE_TRUE_POWER_OF_VIOLENCE()
  9084. elseif k == "z" and attack == false and ModeOfGlitch == 8 then
  9085. GleamingBeam()
  9086. elseif k == "x" and attack == false and ModeOfGlitch == 5 then
  9087. ViolentRing()
  9088. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  9089. CorruptionEvent()
  9090. elseif k == "v" and attack == false and ModeOfGlitch == 3 then
  9091. CorruptBlink()
  9092. elseif k == "c" and attack == false and ModeOfGlitch == 3 then
  9093. scattercorrupt()
  9094. elseif k == "b" and attack == false and ModeOfGlitch == 5555 then
  9095. shytaunty()
  9096. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  9097. RapidBurst()
  9098. elseif k == "z" and attack == false and ModeOfGlitch == 8889 then
  9099. InsaneDrop()
  9100. wait(2)
  9101. ChaosEND()
  9102. elseif k == "x" and attack == false and ModeOfGlitch == 4 then
  9103. ChaosEND()
  9104. elseif k == "c" and attack == false and ModeOfGlitch == 9999999921111 then
  9105. CyberSlash()
  9106. elseif k == "z" and attack == false and ModeOfGlitch == 4367677813 then
  9107. smiter()
  9108. elseif k == "z" and attack == false and ModeOfGlitch == 1002 then
  9109. SpeedDrop()
  9110. elseif k == "v" and attack == false and ModeOfGlitch == 5 then
  9111. --DivineLights()
  9112. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  9113. DivineBlast()
  9114. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  9115. EquinoxOrbs()
  9116. elseif k == "v" and attack == false and ModeOfGlitch == 6 then
  9117. yinyangi()
  9118. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  9119. FallenOrbs()
  9120. elseif k == "z" and attack == false and ModeOfGlitch == 1003 then
  9121. StarfallEX()
  9122. end
  9123. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  9124. FallenDEMISE()
  9125. end
  9126. if k == "x" and attack == false and ModeOfGlitch == 1 then
  9127. EndGROUND()
  9128. end
  9129. end)
  9130.  
  9131. coroutine.resume(coroutine.create(function()
  9132. while true do
  9133. swait()
  9134. 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
  9135. 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)
  9136. end
  9137. if ModeOfGlitch == 5555 then
  9138. 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)
  9139. end
  9140. end
  9141. end))
  9142. --[[coroutine.resume(coroutine.create(function()
  9143. while true do
  9144. swait(2)
  9145. if chaosmode == true then
  9146. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9147. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9148. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9149. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9150. for i, v in pairs(mw1:GetChildren()) do
  9151. if v:IsA("Part") then
  9152. v.Transparency = 0.75
  9153. v.BrickColor = BrickColor.random()
  9154. v.Material = "Neon"
  9155. end
  9156. end
  9157. for i, v in pairs(m2:GetChildren()) do
  9158. if v:IsA("Part") then
  9159. v.BrickColor = BrickColor.random()
  9160. v.Material = "Neon"
  9161. end
  9162. end
  9163. end
  9164. end
  9165. end))]]
  9166.  
  9167.  
  9168.  
  9169. ff = Instance.new("ForceField",char)
  9170. ff.Visible = false
  9171. hum.Name = "Base"
  9172. hum.MaxHealth = 1.0E298
  9173. hum.Health = 1.0E298
  9174. game:GetService("RunService"):BindToRenderStep("Bbae", 0, function()
  9175. if hum.Health > 0.1 and hum.Health < 1.0E298 then
  9176. hum.MaxHealth = 1.0E298
  9177. hum.Health = 1.0E298
  9178. end
  9179. end)
  9180.  
  9181. local Hair = Instance.new("Part", char)
  9182. Hair.Name = "Hair"
  9183. Hair.CanCollide = false
  9184. Hair.BrickColor = BrickColor.new("Institutional white")
  9185. Hair.Transparency = 0
  9186. Hair.Material = "Plastic"
  9187. Hair.Size = Vector3.new(1, 1, 2)
  9188. Hair.TopSurface = Enum.SurfaceType.Smooth
  9189. Hair.BottomSurface = Enum.SurfaceType.Smooth
  9190.  
  9191.  
  9192. local bguis = Instance.new("BillboardGui",tors)
  9193. bguis.Size = UDim2.new(25, 0, 25, 0)
  9194. local imgca = Instance.new("ImageLabel",bguis)
  9195. imgca.BackgroundTransparency = 1
  9196. imgca.ImageTransparency = 1
  9197. imgca.Size = UDim2.new(1,0,1,0)
  9198. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  9199. imgca.ImageColor3 = Color3.new(0,0,0)
  9200.  
  9201.  
  9202. local bguis2 = Instance.new("BillboardGui",tors)
  9203. bguis2.Size = UDim2.new(25, 0, 25, 0)
  9204. local imgca2 = Instance.new("ImageLabel",bguis)
  9205. imgca2.BackgroundTransparency = 1
  9206. imgca2.ImageTransparency = 1
  9207. imgca2.Size = UDim2.new(1,0,1,0)
  9208. imgca2.Image = "rbxassetid://2406462507" --997291547,521073910,2312119891
  9209. imgca2.ImageColor3 = Color3.new(0,0,0)
  9210.  
  9211.  
  9212.  
  9213. idleanim=.4
  9214. while true do
  9215. if mutedtog == false then
  9216. kan.Volume = currentVol
  9217. elseif mutedtog == true then
  9218. kan.Volume = 0
  9219. end
  9220. kan.PlaybackSpeed = currentPitch
  9221. kan.Pitch = currentPitch
  9222. kan.SoundId = currentThemePlaying
  9223. kan.Looped = true
  9224. kan.Parent = char
  9225. kan:Resume()
  9226. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 13 then
  9227. imgca.ImageTransparency = 1
  9228. imgca2.ImageTransparency = 1
  9229. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  9230. imgca.ImageColor3 = MAINRUINCOLOR.Color
  9231. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9232. elseif ModeOfGlitch == 13 then
  9233. imgca2.ImageColor3 = MAINRUINCOLOR.Color
  9234. imgca2.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  9235. end
  9236. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  9237. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9238. imgca2.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/60
  9239. bguis2.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  9240. coroutine.resume(coroutine.create(function()
  9241. if chaosmode == true then
  9242. for i, v in pairs(mw1:GetChildren()) do
  9243. if v:IsA("Part") then
  9244. v.Transparency = 0
  9245. v.BrickColor = BrickColor.random()
  9246. v.Material = "Neon"
  9247. end
  9248. end
  9249. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9250. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9251. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9252. RecolorTextAndRename("F.a.l.l.e.n G.u.e.s.t",Color3.new(0,0,0),BrickColor.random().Color,"Antique")
  9253. end
  9254. end))
  9255. coroutine.resume(coroutine.create(function()
  9256. if ModeOfGlitch == 66 then
  9257. for i, v in pairs(m:GetChildren()) do
  9258. if v:IsA("Part") then
  9259. v.Transparency = 0
  9260. v.BrickColor = BrickColor.random()
  9261. v.Material = "Neon"
  9262. end
  9263. end
  9264. for i, v in pairs(m2:GetChildren()) do
  9265. if v:IsA("Part") then
  9266. v.Transparency = 0
  9267. v.BrickColor = BrickColor.random()
  9268. v.Material = "Neon"
  9269. end
  9270. end
  9271. for i, v in pairs(mw1:GetChildren()) do
  9272. if v:IsA("Part") then
  9273. v.Transparency = 0
  9274. v.BrickColor = BrickColor.random()
  9275. v.Material = "Neon"
  9276. end
  9277. end
  9278. for i, v in pairs(extrawingmod1:GetChildren()) do
  9279. if v:IsA("Part") then
  9280. v.Transparency = 0.5
  9281. v.BrickColor = BrickColor.random()
  9282. v.Material = "Neon"
  9283. end
  9284. end
  9285. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  9286. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  9287. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  9288. gane.Color = ColorSequence.new(BrickColor.random().Color)
  9289. gan.Color = ColorSequence.new(BrickColor.random().Color)
  9290. end
  9291. end))
  9292.  
  9293. coroutine.resume(coroutine.create(function()
  9294. if ModeOfGlitch == 66 then
  9295. RecolorTextAndRename("S N A P P E D G U E S T",BrickColor.random().Color,Color3.new(0,0,0),"Garamond")
  9296. end
  9297. end))
  9298.  
  9299. if chaosmode == false then
  9300. modet.Position = UDim2.new(0,0,0,0)
  9301. modet.Rotation = -5 * math.cos(sine / 32)
  9302. techc.Rotation = techc.Rotation + 1
  9303. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/200 - 1
  9304. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/175 + 1
  9305. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/175 + 1
  9306. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/150 - 1
  9307. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  9308. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  9309. else
  9310. techc.Rotation = techc.Rotation + 1
  9311. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  9312. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  9313. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  9314. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  9315. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  9316. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  9317. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  9318. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  9319. end
  9320. CameraManager()
  9321. swait()
  9322. 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)
  9323. 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)
  9324. 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)
  9325. 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)
  9326. 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)
  9327. 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)
  9328. 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)
  9329. 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)
  9330. 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)
  9331. 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)
  9332. 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)
  9333. 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)
  9334. sine = sine + change
  9335. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  9336. local velderp=RootPart.Velocity.y
  9337. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  9338. coroutine.resume(coroutine.create(function()
  9339. 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
  9340. if hitfloor ~= nil then
  9341. 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"))
  9342. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 13 then
  9343. 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)
  9344. end
  9345. end
  9346. end
  9347. end))
  9348. if equipped==true or equipped==false then
  9349. if attack==false then
  9350. idle=idle+1
  9351. else
  9352. idle=0
  9353. end
  9354. if idle>=500 then
  9355. if attack==false then
  9356. --Sheath()
  9357. end
  9358. end
  9359. if RootPart.Velocity.y > 1 and hitfloor==nil then
  9360. Anim="Jump"
  9361. if attack==false then
  9362. 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)
  9363. 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)
  9364. 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)
  9365. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  9366. 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)
  9367. 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)
  9368. end
  9369. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  9370. Anim="Fall"
  9371. if attack==false then
  9372. 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)
  9373. 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)
  9374. 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)
  9375. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  9376. 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)
  9377. 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)
  9378. end
  9379. elseif torvel<1 and hitfloor~=nil then
  9380. Anim="Idle"
  9381. if attack==false then
  9382. if ModeOfGlitch == 1 then
  9383. local snap = math.random(1,10)
  9384. if snap == 1 then
  9385. 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)
  9386. end
  9387. 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)
  9388. 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)
  9389. 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)
  9390. 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)
  9391. 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)
  9392. 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)
  9393. elseif ModeOfGlitch == 2 then
  9394. 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)
  9395. 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)
  9396. 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)
  9397. 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)
  9398. 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)
  9399. 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)
  9400. elseif ModeOfGlitch == 2 then
  9401. 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)
  9402. 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)
  9403. 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)
  9404. 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)
  9405. 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)
  9406. 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)
  9407. elseif ModeOfGlitch == 50 then
  9408. 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)
  9409. 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)
  9410. 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)
  9411. 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)
  9412. 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)
  9413. 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)
  9414. elseif ModeOfGlitch == 5555 then --5555
  9415. 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)
  9416. 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)
  9417. 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)
  9418. 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)
  9419. 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)
  9420. 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)
  9421. elseif ModeOfGlitch == 1002 then
  9422. 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)
  9423. 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)
  9424. 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)
  9425. 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)
  9426. 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)
  9427. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(20),math.rad(-20)),.1)
  9428. elseif ModeOfGlitch == 12 then
  9429. 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)
  9430. 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)
  9431. 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)
  9432. 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)
  9433. 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)
  9434. 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)
  9435. elseif ModeOfGlitch == 3 then
  9436. local snap = math.random(1,32)
  9437. if snap == 1 then
  9438. 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)
  9439. end
  9440. 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)
  9441. 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)
  9442. 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)
  9443. 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)
  9444. 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)
  9445. 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)
  9446. elseif ModeOfGlitch == 4 then
  9447. local snap = math.random(1,5)
  9448. if snap == 1 then
  9449. 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)
  9450. 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)
  9451. 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)
  9452. end
  9453. 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)
  9454. 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)
  9455. 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)
  9456. 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)
  9457. 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)
  9458. 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)
  9459. elseif ModeOfGlitch == 66 then
  9460. local snap = math.random(1,2)
  9461. if snap == 1 then
  9462. 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)
  9463. 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)
  9464. 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)
  9465. end
  9466. 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)
  9467. 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)
  9468. 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)
  9469. 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)
  9470. 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)
  9471. 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)
  9472. elseif ModeOfGlitch == 5 then
  9473. 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)
  9474. 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)
  9475. 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)
  9476. 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)
  9477. 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)
  9478. 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)
  9479. elseif ModeOfGlitch == 6 then
  9480. 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)
  9481. 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)
  9482. 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)
  9483. 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)
  9484. 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)
  9485. 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)
  9486. elseif ModeOfGlitch == 13 then
  9487. 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)
  9488. 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)
  9489. 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)
  9490. 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)
  9491. 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)
  9492. 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)
  9493. elseif ModeOfGlitch == 8 then
  9494. 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)
  9495. 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)
  9496. 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)
  9497. 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)
  9498. 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)
  9499. 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)
  9500. elseif ModeOfGlitch == 9 then
  9501. 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)
  9502. 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))
  9503. 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)
  9504. 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)
  9505. 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)
  9506. 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)
  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(18 - 3 * math.cos(sine / 53)),math.rad(17 + 3 * math.cos(sine / 45))),.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(-11 - 1 * math.cos(sine / 55)),math.rad(-14 - 3 * math.cos(sine / 45))),.1)
  9509. elseif ModeOfGlitch == 1003 then
  9510. 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)
  9511. 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)
  9512. 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)
  9513. 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)
  9514. 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)
  9515. 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)
  9516.  
  9517. elseif ModeOfGlitch == 8889 then
  9518. 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)
  9519. 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)
  9520. 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)
  9521. 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)
  9522. 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)
  9523. 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)
  9524. elseif ModeOfGlitch == 1264532489 then
  9525. 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)
  9526. 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)
  9527. 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)
  9528. 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)
  9529. 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)
  9530. 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)
  9531. 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)
  9532. elseif ModeOfGlitch == 9999999921111 then --9999999921111
  9533. 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)
  9534. 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)
  9535. 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)
  9536. 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)
  9537. 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)
  9538. 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)
  9539. elseif ModeOfGlitch == 4367677813 then
  9540. 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)
  9541. 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)
  9542. 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)
  9543. 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)
  9544. 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)
  9545. 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)
  9546. elseif ModeOfGlitch == 55469696922 then --5555
  9547. 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)
  9548. 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)
  9549. 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)
  9550. 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)
  9551. 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)
  9552. 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)
  9553. elseif ModeOfGlitch == 999999999556 then
  9554. 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)
  9555. 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)
  9556. 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)
  9557. 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)
  9558. 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)
  9559. 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)
  9560. end
  9561. end
  9562. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  9563. Anim="Walk"
  9564. if attack==false and ModeOfGlitch ~= 66 then
  9565. 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)
  9566. 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)
  9567. 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)
  9568. 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)
  9569. 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)
  9570. 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)
  9571. elseif attack==false and ModeOfGlitch == 66 then
  9572. 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)
  9573. 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)
  9574. 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)
  9575. 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)
  9576. 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)
  9577. 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)
  9578. end
  9579. elseif torvel>=22 and hitfloor~=nil then
  9580. Anim="Run"
  9581. if attack==false then
  9582. 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
  9583. 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)
  9584. 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)
  9585. 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)
  9586. 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)
  9587. 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)
  9588. 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)
  9589. if ModeOfGlitch == 12 then
  9590. 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)
  9591. 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)
  9592. 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)
  9593. 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)
  9594. 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)
  9595. 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)
  9596. end
  9597. if ModeOfGlitch == 9 then
  9598. 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)
  9599. 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))
  9600. 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)
  9601. end
  9602. 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
  9603. 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)
  9604. 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)
  9605. 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)
  9606. 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)
  9607. 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)
  9608. 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)
  9609. elseif ModeOfGlitch == 13 then
  9610. 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)
  9611. 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)
  9612. 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)
  9613. 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)
  9614. 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)
  9615. 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)
  9616. end
  9617. end
  9618. end
  9619. end
  9620. enddx0/ l6o9 ;/4Ne`2mmrftd.7
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement