Advertisement
DarkScriptZEditors

HOLY I AM Leaker?

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