Advertisement
DarkScriptZEditors

Xd

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