Advertisement
Sad_Boi

Untitled

Jan 16th, 2019
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 350.96 KB | None | 0 0
  1. wait(1)
  2. local Player = game:GetService("Players").Davidgrativol
  3. local Mouse,mouse,UserInputService,ContextActionService
  4. do
  5. script.Parent = Player.Character
  6. local CAS = {Actions={}}
  7. local Event = Instance.new("RemoteEvent")
  8. Event.Name = "UserInput_Event"
  9. Event.Parent = Player.Character
  10. local fakeEvent = function()
  11. local t = {_fakeEvent=true}
  12. t.Connect = function(self,f)self.Function=f end
  13. t.connect = t.Connect
  14. return t
  15. end
  16. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  17. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  18. function CAS:BindAction(name,fun,touch,...)
  19. CAS.Actions[name] = {Name=name,Function=fun,Keys={...}}
  20. end
  21. function CAS:UnbindAction(name)
  22. CAS.Actions[name] = nil
  23. end
  24. local function te(self,ev,...)
  25. local t = m[ev]
  26. if t and t._fakeEvent and t.Function then
  27. t.Function(...)
  28. end
  29. end
  30. m.TrigEvent = te
  31. UIS.TrigEvent = te
  32. Event.OnServerEvent:Connect(function(plr,io)
  33. if plr~=Player then return end
  34. if io.isMouse then
  35. m.Target = io.Target
  36. m.Hit = io.Hit
  37. elseif io.UserInputType == Enum.UserInputType.MouseButton1 then
  38. if io.UserInputState == Enum.UserInputState.Begin then
  39. m:TrigEvent("Button1Down")
  40. else
  41. m:TrigEvent("Button1Up")
  42. end
  43. else
  44. for n,t in pairs(CAS.Actions) do
  45. for _,k in pairs(t.Keys) do
  46. if k==io.KeyCode then
  47. t.Function(t.Name,io.UserInputState,io)
  48. end
  49. end
  50. end
  51. if io.UserInputState == Enum.UserInputState.Begin then
  52. m:TrigEvent("KeyDown",io.KeyCode.Name:lower())
  53. UIS:TrigEvent("InputBegan",io,false)
  54. else
  55. m:TrigEvent("KeyUp",io.KeyCode.Name:lower())
  56. UIS:TrigEvent("InputEnded",io,false)
  57. end
  58. end
  59. end)
  60. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  61. end
  62.  
  63. wait(0.5)
  64.  
  65. --- its obs smooth af do not touch
  66. ---- Sources and functions might be taken from others
  67. plr = game:GetService("Players").Davidgrativol
  68. char = plr.Character
  69. hum = char.Humanoid
  70. local cam = game.Workspace.CurrentCamera
  71. Camera = cam
  72. local CamInterrupt = false
  73. local TwoD = false
  74. local TargetInfo = {nil, nil}
  75. cam.CameraType = "Custom"
  76. t = char.Torso
  77. h = char.Head
  78. ra = char["Right Arm"]
  79. la = char["Left Arm"]
  80. rl = char["Right Leg"]
  81. ll = char["Left Leg"]
  82. tors = char.Torso
  83. lleg = char["Left Leg"]
  84. root = char.HumanoidRootPart
  85. hed = char.Head
  86. rleg = char["Right Leg"]
  87. rarm = char["Right Arm"]
  88. larm = char["Left Arm"]
  89. radian = math.rad
  90. random = math.random
  91. Vec3 = Vector3.new
  92. Inst = Instance.new
  93. cFrame = CFrame.new
  94. Euler = CFrame.fromEulerAnglesXYZ
  95. vt = Vector3.new
  96. bc = BrickColor.new
  97. br = BrickColor.random
  98. it = Instance.new
  99. cf = CFrame.new
  100.  
  101. local Booleans = {
  102. CamFollow = true,
  103. GyroUse = true
  104. }
  105.  
  106. function lerp(object, newCFrame, alpha)
  107. return object:lerp(newCFrame, alpha)
  108. end
  109.  
  110. local Directer = Inst("BodyGyro", root)
  111. Directer.MaxTorque = Vec3(0, 0, 0)
  112. Directer.P = 600000
  113. local CPart = Inst("Part")
  114. CPart.Anchored = true
  115. CPart.CanCollide = false
  116. CPart.Locked = true
  117. CPart.Transparency = 1
  118.  
  119. local rainbowmode = false
  120. local chaosmode = false
  121.  
  122. local kan = Instance.new("Sound",char)
  123. kan.Volume = 1.25
  124. kan.TimePosition = 0
  125. kan.PlaybackSpeed = 1
  126. kan.Pitch = 1
  127. kan.SoundId = "rbxassetid://614032233"
  128. kan.Name = "wrecked"
  129. kan.Looped = true
  130. kan:Play()
  131.  
  132. local currentThemePlaying = kan.SoundId
  133. local currentPitch = kan.Pitch
  134. local currentVol = kan.Volume
  135. function newTheme(ID,timepos,pitch,vol)
  136. local kanz = kan
  137. --kanz:Stop()
  138. kanz.Volume = vol
  139. --kanz.TimePosition = timepos
  140. kanz.PlaybackSpeed = pitch
  141. kanz.Pitch = pitch
  142. kanz.SoundId = ID
  143. kanz.Name = "wrecked"
  144. kanz.Looped = true
  145. currentThemePlaying = kanz.SoundId
  146. currentVol = kanz.Volume
  147. currentPitch = kanz.Pitch
  148. --kanz:Play()
  149. --coroutine.resume(coroutine.create(function()
  150. --wait(0.05)
  151. --end))
  152. end
  153.  
  154.  
  155. function newThemeCust(ID,timepos,pitch,vol)
  156. local kanz = kan
  157. kanz:Stop()
  158. kanz.Volume = vol
  159. kanz.TimePosition = timepos
  160. kanz.PlaybackSpeed = pitch
  161. kanz.Pitch = pitch
  162. kanz.SoundId = ID
  163. kanz.Name = "wrecked"
  164. kanz.Looped = true
  165. currentThemePlaying = kanz.SoundId
  166. currentVol = kanz.Volume
  167. currentPitch = kanz.Pitch
  168. kanz:Play()
  169. coroutine.resume(coroutine.create(function()
  170. wait(0.05)
  171. end))
  172. end
  173.  
  174. local mutedtog = false
  175.  
  176. function CameraEnshaking(Length,Intensity)
  177. coroutine.resume(coroutine.create(function()
  178. local intensity = 1*Intensity
  179. local rotM = 0.01*Intensity
  180. for i = 0, Length, 0.1 do
  181. swait()
  182. intensity = intensity - 0.05*Intensity/Length
  183. rotM = rotM - 0.0005*Intensity/Length
  184. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  185. 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)
  186. end
  187. Humanoid.CameraOffset = Vec3(0, 0, 0)
  188. end))
  189. end
  190. CamShake=function(Part,Distan,Power,Times)
  191. local de=Part.Position
  192. for i,v in pairs(workspace:children()) do
  193. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  194. for _,c in pairs(v:children()) do
  195. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  196. local Noob=v.Humanoid
  197. if Noob~=nil then
  198. coroutine.resume(coroutine.create(function()
  199. FV = Instance.new("BoolValue", Noob)
  200. FV.Name = "CameraShake"
  201. for ShakeNum=1,Times do
  202. swait()
  203. local ef=Power
  204. if ef>=1 then
  205. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  206. else
  207. ef=Power*10
  208. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  209. end
  210. end
  211. Humanoid.CameraOffset = Vector3.new(0,0,0)
  212. FV:Destroy()
  213. end))
  214. CameraShake(Times, Power, Noob)
  215. end
  216. end
  217. end
  218. end
  219. end
  220. end
  221.  
  222. local toggleTag = true
  223. local bilguit = Instance.new("BillboardGui", hed)
  224. bilguit.Adornee = nil
  225. bilguit.Name = "ModeName"
  226. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  227. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  228. local modet = Instance.new("TextLabel", bilguit)
  229. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  230. modet.FontSize = "Size8"
  231. modet.TextScaled = true
  232. modet.TextTransparency = 0
  233. modet.BackgroundTransparency = 1
  234. modet.TextTransparency = 0
  235. modet.TextStrokeTransparency = 0
  236. modet.Font = "Antique"
  237. modet.TextStrokeColor3 = Color3.new(1,0,0)
  238. modet.TextColor3 = Color3.new(0.25,0,0)
  239. modet.Text = "CL-Happy!"
  240.  
  241.  
  242. function chatfunc(text,color,typet,font,timeex)
  243. local chat = coroutine.wrap(function()
  244. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  245. Character:FindFirstChild("TalkingBillBoard"):destroy()
  246. end
  247. local naeeym2 = Instance.new("BillboardGui",Character)
  248. naeeym2.Size = UDim2.new(0,100,0,40)
  249. naeeym2.StudsOffset = Vector3.new(0,3,0)
  250. naeeym2.Adornee = Character.Head
  251. naeeym2.Name = "TalkingBillBoard"
  252. local tecks2 = Instance.new("TextLabel",naeeym2)
  253. tecks2.BackgroundTransparency = 1
  254. tecks2.BorderSizePixel = 0
  255. tecks2.Text = ""
  256. tecks2.Font = font
  257. tecks2.TextSize = 30
  258. tecks2.TextStrokeTransparency = 0
  259. tecks2.TextColor3 = color
  260. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  261. tecks2.Size = UDim2.new(1,0,0.5,0)
  262. local tecks3 = Instance.new("TextLabel",naeeym2)
  263. tecks3.BackgroundTransparency = 1
  264. tecks3.BorderSizePixel = 0
  265. tecks3.Text = ""
  266. tecks3.Font = font
  267. tecks3.TextSize = 30
  268. tecks3.TextStrokeTransparency = 0
  269. if typet == "Inverted" then
  270. tecks3.TextColor3 = Color3.new(0,0,0)
  271. tecks3.TextStrokeColor3 = color
  272. elseif typet == "Normal" then
  273. tecks3.TextColor3 = color
  274. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  275. end
  276. tecks3.Size = UDim2.new(1,0,0.5,0)
  277. coroutine.resume(coroutine.create(function()
  278. while true do
  279. swait(1)
  280. if chaosmode == true then
  281. tecks2.TextColor3 = BrickColor.random().Color
  282. tecks3.TextStrokeColor3 = BrickColor.random().Color
  283. end
  284. end
  285. end))
  286. modet.TextTransparency = modet.TextTransparency + 1
  287. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  288. for i = 0, 74*timeex do
  289. swait()
  290. modet.TextTransparency = 1
  291. modet.TextStrokeTransparency = 1
  292. tecks2.Text = text
  293. tecks3.Text = text
  294. end
  295. local randomrot = math.random(1,2)
  296. if randomrot == 1 then
  297. for i = 1, 50 do
  298. swait()
  299. tecks2.Text = text
  300. tecks3.Text = text
  301. modet.TextTransparency = modet.TextTransparency - .02
  302. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  303. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  304. tecks2.TextTransparency = tecks2.TextTransparency + .04
  305. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  306. tecks3.TextTransparency = tecks2.TextTransparency + .04
  307. end
  308. elseif randomrot == 2 then
  309. for i = 1, 50 do
  310. swait()
  311. tecks2.Text = text
  312. tecks3.Text = text
  313. modet.TextTransparency = modet.TextTransparency - .02
  314. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  315. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  316. tecks2.TextTransparency = tecks2.TextTransparency + .04
  317. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  318. tecks3.TextTransparency = tecks2.TextTransparency + .04
  319. end
  320. end
  321. modet.TextTransparency = 0
  322. modet.TextStrokeTransparency = 0
  323. if toggleTag == false then
  324. modet.TextTransparency = 1
  325. modet.TextStrokeTransparency = 1
  326. end
  327. naeeym2:Destroy()
  328. end)
  329. chat()
  330. end
  331.  
  332. function bosschatfunc(text,color,watval)
  333. for i,v in pairs(game:GetService("Players"):GetPlayers()) do
  334. coroutine.resume(coroutine.create(function()
  335. if v.PlayerGui:FindFirstChild("Dialog")~= nil then
  336. v.PlayerGui:FindFirstChild("Dialog"):destroy()
  337. end
  338. local scrg = Instance.new("ScreenGui",v.PlayerGui)
  339. CFuncs["EchoSound"].Create("rbxassetid://525200869", scrg, 0.5, 1,0,10,0.1,0.25,1)
  340. scrg.Name = "Dialog"
  341. local txtlb = Instance.new("TextLabel",scrg)
  342. txtlb.Text = ""
  343. txtlb.Font = "Bodoni"
  344. txtlb.TextColor3 = Color3.new(0,0,0)
  345. txtlb.TextStrokeTransparency = 0
  346. txtlb.BackgroundTransparency = 0.75
  347. txtlb.BackgroundColor3 = Color3.new(0,0,0)
  348. txtlb.TextStrokeColor3 = color
  349. txtlb.TextScaled = true
  350. txtlb.Size = UDim2.new(1,0,0.25,0)
  351. txtlb.TextXAlignment = "Left"
  352. txtlb.Position = UDim2.new(0,0,0.75 + 1,0)
  353. local txtlb2 = Instance.new("TextLabel",scrg)
  354. txtlb2.Text = "???:"
  355. txtlb2.Font = "Arcade"
  356. txtlb2.TextColor3 = Color3.new(0,0,0)
  357. txtlb2.TextStrokeTransparency = 0
  358. txtlb2.BackgroundTransparency = 1
  359. txtlb2.TextStrokeColor3 = color
  360. txtlb2.TextSize = 40
  361. txtlb2.Size = UDim2.new(1,0,0.25,0)
  362. txtlb2.TextXAlignment = "Left"
  363. txtlb2.Position = UDim2.new(0,0,1,0)
  364. local fvalen = 0.55
  365. local fval = -0.49
  366. coroutine.resume(coroutine.create(function()
  367. while true do
  368. swait()
  369. if chaosmode == true then
  370. txtlb.Rotation = math.random(-1,1)
  371. txtlb2.Rotation = math.random(-1,1)
  372. txtlb.Position = txtlb.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  373. txtlb2.Position = txtlb2.Position + UDim2.new(0,math.random(-1,1)/5,0,math.random(-1,1)/5)
  374. txtlb.TextStrokeColor3 = BrickColor.random().Color
  375. txtlb2.TextStrokeColor3 = BrickColor.random().Color
  376. end
  377. end
  378. end))
  379. coroutine.resume(coroutine.create(function()
  380. while true do
  381. swait()
  382. if scrg.Parent ~= nil then
  383. fvalen = fvalen - 0.0001
  384. elseif scrg.Parent == nil then
  385. break
  386. end
  387. end
  388. end))
  389. local flol = 1.75
  390. local flil = 1.6
  391. coroutine.resume(coroutine.create(function()
  392. for i = 0, 9 do
  393. swait()
  394. fval = fval + 0.05
  395. flol = flol - 0.1
  396. flil = flil - 0.1
  397. txtlb.Text = ""
  398. txtlb.Position = UDim2.new(0,0,flol,0)
  399. txtlb2.Position = UDim2.new(0,0,flil,0)
  400. end
  401. txtlb.Text = text
  402. wait(watval)
  403. local valinc = 0
  404. for i = 0, 99 do
  405. swait()
  406. valinc = valinc + 0.0001
  407. flol = flol + valinc
  408. flil = flil + valinc
  409. txtlb.Rotation = txtlb.Rotation + valinc*20
  410. txtlb2.Rotation = txtlb2.Rotation - valinc*50
  411. txtlb.Position = UDim2.new(0,0,flol,0)
  412. txtlb2.Position = UDim2.new(0,0,flil,0)
  413. txtlb.TextStrokeTransparency = txtlb.TextStrokeTransparency + 0.01
  414. txtlb.TextTransparency = txtlb.TextTransparency + 0.01
  415. txtlb2.TextStrokeTransparency = txtlb2.TextStrokeTransparency + 0.01
  416. txtlb2.TextTransparency = txtlb2.TextTransparency + 0.01
  417. txtlb.BackgroundTransparency = txtlb.BackgroundTransparency + 0.0025
  418. end
  419. scrg:Destroy()
  420. end))
  421. end))
  422. end
  423. end
  424.  
  425.  
  426. local Create = LoadLibrary("RbxUtility").Create
  427.  
  428. CFuncs = {
  429. ["Part"] = {
  430. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  431. local Part = Create("Part"){
  432. Parent = Parent,
  433. Reflectance = Reflectance,
  434. Transparency = Transparency,
  435. CanCollide = false,
  436. Locked = true,
  437. BrickColor = BrickColor.new(tostring(BColor)),
  438. Name = Name,
  439. Size = Size,
  440. Material = Material,
  441. }
  442. RemoveOutlines(Part)
  443. return Part
  444. end;
  445. };
  446.  
  447. ["Mesh"] = {
  448. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  449. local Msh = Create(Mesh){
  450. Parent = Part,
  451. Offset = OffSet,
  452. Scale = Scale,
  453. }
  454. if Mesh == "SpecialMesh" then
  455. Msh.MeshType = MeshType
  456. Msh.MeshId = MeshId
  457. end
  458. return Msh
  459. end;
  460. };
  461.  
  462. ["Mesh"] = {
  463. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  464. local Msh = Create(Mesh){
  465. Parent = Part,
  466. Offset = OffSet,
  467. Scale = Scale,
  468. }
  469. if Mesh == "SpecialMesh" then
  470. Msh.MeshType = MeshType
  471. Msh.MeshId = MeshId
  472. end
  473. return Msh
  474. end;
  475. };
  476.  
  477. ["Weld"] = {
  478. Create = function(Parent, Part0, Part1, C0, C1)
  479. local Weld = Create("Weld"){
  480. Parent = Parent,
  481. Part0 = Part0,
  482. Part1 = Part1,
  483. C0 = C0,
  484. C1 = C1,
  485. }
  486. return Weld
  487. end;
  488. };
  489.  
  490. ["Sound"] = {
  491. Create = function(id, par, vol, pit)
  492. coroutine.resume(coroutine.create(function()
  493. local S = Create("Sound"){
  494. Volume = vol,
  495. Name = "EffectSoundo",
  496. Pitch = pit or 1,
  497. SoundId = id,
  498. Parent = par or workspace,
  499. }
  500. wait()
  501. S:play()
  502. game:GetService("Debris"):AddItem(S, 10)
  503. end))
  504. end;
  505. };
  506.  
  507. ["TimeSound"] = {
  508. Create = function(id, par, vol, pit, timepos)
  509. coroutine.resume(coroutine.create(function()
  510. local S = Create("Sound"){
  511. Volume = vol,
  512. Name = "EffectSoundo",
  513. Pitch = pit or 1,
  514. SoundId = id,
  515. TimePosition = timepos,
  516. Parent = par or workspace,
  517. }
  518. wait()
  519. S:play()
  520. game:GetService("Debris"):AddItem(S, 10)
  521. end))
  522. end;
  523. };
  524. ["EchoSound"] = {
  525. Create = function(id, par, vol, pit, timepos,delays,echodelay,fedb,dryl)
  526. coroutine.resume(coroutine.create(function()
  527. local Sas = Create("Sound"){
  528. Volume = vol,
  529. Name = "EffectSoundo",
  530. Pitch = pit or 1,
  531. SoundId = id,
  532. TimePosition = timepos,
  533. Parent = par or workspace,
  534. }
  535. local E = Create("EchoSoundEffect"){
  536. Delay = echodelay,
  537. Name = "Echo",
  538. Feedback = fedb,
  539. DryLevel = dryl,
  540. Parent = Sas,
  541. }
  542. wait()
  543. Sas:play()
  544. game:GetService("Debris"):AddItem(Sas, delays)
  545. end))
  546. end;
  547. };
  548.  
  549. ["LongSound"] = {
  550. Create = function(id, par, vol, pit)
  551. coroutine.resume(coroutine.create(function()
  552. local S = Create("Sound"){
  553. Volume = vol,
  554. Pitch = pit or 1,
  555. SoundId = id,
  556. Parent = par or workspace,
  557. }
  558. wait()
  559. S:play()
  560. game:GetService("Debris"):AddItem(S, 60)
  561. end))
  562. end;
  563. };
  564.  
  565. ["ParticleEmitter"] = {
  566. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  567. local fp = Create("ParticleEmitter"){
  568. Parent = Parent,
  569. Color = ColorSequence.new(Color1, Color2),
  570. LightEmission = LightEmission,
  571. Size = Size,
  572. Texture = Texture,
  573. Transparency = Transparency,
  574. ZOffset = ZOffset,
  575. Acceleration = Accel,
  576. Drag = Drag,
  577. LockedToPart = LockedToPart,
  578. VelocityInheritance = VelocityInheritance,
  579. EmissionDirection = EmissionDirection,
  580. Enabled = Enabled,
  581. Lifetime = LifeTime,
  582. Rate = Rate,
  583. Rotation = Rotation,
  584. RotSpeed = RotSpeed,
  585. Speed = Speed,
  586. VelocitySpread = VelocitySpread,
  587. }
  588. return fp
  589. end;
  590. };
  591.  
  592. CreateTemplate = {
  593.  
  594. };
  595. }
  596.  
  597.  
  598.  
  599. New = function(Object, Parent, Name, Data)
  600. local Object = Instance.new(Object)
  601. for Index, Value in pairs(Data or {}) do
  602. Object[Index] = Value
  603. end
  604. Object.Parent = Parent
  605. Object.Name = Name
  606. return Object
  607. end
  608. local halocolor = BrickColor.new("Pastel light blue")
  609. local halocolor2 = BrickColor.new("Cool yellow")
  610. local starcolor = BrickColor.new("Bright yellow")
  611. local lunacolor = BrickColor.new("Navy blue")
  612. local lunacolor2 = BrickColor.new("Bright blue")
  613. local wepcolor = BrickColor.new("Really black")
  614. local maincolor = BrickColor.new("Really black")
  615. local m = Instance.new("Model",char)
  616. local m2 = Instance.new("Model",char)
  617. local m3 = Instance.new("Model",char)
  618. local mw1 = Instance.new("Model",char)
  619. local mw2 = Instance.new("Model",char)
  620.  
  621.  
  622. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  623. local gui = it(GuiType)
  624. gui.Parent = parent
  625. gui.Text = text
  626. gui.BackgroundTransparency = backtrans
  627. gui.BackgroundColor3 = backcol
  628. gui.SizeConstraint = "RelativeXY"
  629. gui.TextXAlignment = "Center"
  630. gui.TextYAlignment = "Center"
  631. gui.Position = pos
  632. gui.Size = size
  633. gui.Font = "SourceSans"
  634. gui.FontSize = "Size14"
  635. gui.TextWrapped = false
  636. gui.TextStrokeTransparency = 0
  637. gui.TextColor = BrickColor.new("White")
  638. return gui
  639. end
  640. --------------------------- GUI STUFF
  641. local basgui = it("GuiMain")
  642. basgui.Parent = plr.PlayerGui
  643. basgui.Name = "VISgui"
  644. local fullscreenz = it("Frame")
  645. fullscreenz.Parent = basgui
  646. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  647. fullscreenz.BackgroundTransparency = 1
  648. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  649. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  650. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  651. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  652. imgl2.BackgroundTransparency = 1
  653. imgl2.BorderSizePixel = 0
  654. imgl2.ImageTransparency = 0.5
  655. imgl2.ImageColor3 = Color3.new(1,0,0)
  656. imgl2.Position = UDim2.new(0.75,-200,0.55,-200)
  657. imgl2.Size = UDim2.new(0,1000,0,1000)
  658. imgl2.Image = "rbxassetid://2325939897"
  659. local techc = imgl2:Clone()
  660. techc.Parent = fullscreenz
  661. techc.ImageTransparency = 0
  662. techc.Size = UDim2.new(0,900,0,900)
  663. techc.Position = UDim2.new(0.75,-150,0.55,-150)
  664. techc.ImageColor3 = Color3.new(1,0,0)
  665. techc.Image = "rbxassetid://2273224484"
  666. local circl = imgl2:Clone()
  667. circl.Parent = fullscreenz
  668. circl.ImageTransparency = 0
  669. circl.Size = UDim2.new(0,550,0,550)
  670. circl.Position = UDim2.new(0.75,25,0.55,25)
  671. circl.ImageColor3 = Color3.new(0,0,0)
  672. circl.Image = "rbxassetid://2312119891"
  673. local circl2 = imgl2:Clone()
  674. circl2.Parent = fullscreenz
  675. circl2.ImageTransparency = 0
  676. circl2.Size = UDim2.new(0,700,0,700)
  677. circl2.Position = UDim2.new(0.75,-50,0.55,-50)
  678. circl2.ImageColor3 = Color3.new(1,0,0)
  679. circl2.Image = "rbxassetid://2312119891"
  680. local imgl2b = imgl2:Clone()
  681. imgl2b.Parent = fullscreenz
  682. imgl2b.ImageTransparency = 0
  683. imgl2b.Size = UDim2.new(0,800,0,800)
  684. imgl2b.Position = UDim2.new(0.75,-100,0.55,-100)
  685. imgl2b.ImageColor3 = Color3.new(0,0,0)
  686. local ned = Instance.new("TextLabel",fullscreenz)
  687. ned.ZIndex = 2
  688. ned.Font = "Arcade"
  689. ned.BackgroundTransparency = 1
  690. ned.BorderSizePixel = 0.65
  691. ned.Size = UDim2.new(0.3,0,0.2,0)
  692. ned.Position = UDim2.new(0.7,0,0.8,0)
  693. ned.TextColor3 = BrickColor.new("Really red").Color
  694. ned.TextStrokeColor3 = BrickColor.new("Really black").Color
  695. ned.TextScaled = true
  696. ned.TextStrokeTransparency = 0
  697. ned.Text = "CL-Happy!"
  698. ned.TextSize = 24
  699. ned.Rotation = 1
  700. ned.TextXAlignment = "Right"
  701. ned.TextYAlignment = "Bottom"
  702.  
  703. local extrawingmod1 = Instance.new("Model",char)
  704. local extrawingmod2 = Instance.new("Model",char)
  705.  
  706. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  707. local p = Instance.new("Part")
  708. p.TopSurface = 0
  709. p.BottomSurface = 0
  710. p.Parent = parent
  711. p.Size = Vector3.new(0.1,0.1,0.1)
  712. p.Transparency = transparency
  713. p.Reflectance = reflectance
  714. p.CanCollide = false
  715. p.Locked = true
  716. p.BrickColor = brickcolor
  717. p.Material = material
  718. return p
  719. end
  720.  
  721. function CreateMesh(parent,meshtype,x1,y1,z1)
  722. local mesh = Instance.new("SpecialMesh",parent)
  723. mesh.MeshType = meshtype
  724. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  725. return mesh
  726. end
  727.  
  728. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  729. local mesh = Instance.new("SpecialMesh",parent)
  730. mesh.MeshType = "FileMesh"
  731. mesh.MeshId = meshid
  732. mesh.Scale = Vector3.new(x1,y1,z1)
  733. return mesh
  734. end
  735.  
  736.  
  737. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  738. local mesh = Instance.new("SpecialMesh",parent)
  739. mesh.MeshType = "FileMesh"
  740. mesh.MeshId = meshid
  741. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  742. mesh.Scale = Vector3.new(x1,y1,z1)
  743. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  744. return mesh
  745. end
  746.  
  747. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  748. local weld = Instance.new("Weld")
  749. weld.Parent = parent
  750. weld.Part0 = part0
  751. weld.Part1 = part1
  752. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  753. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  754. return weld
  755. end
  756.  
  757.  
  758. --------------
  759. --------------
  760. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  761. 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))
  762. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  763. 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))
  764.  
  765. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  766. CreateMesh(handle,"Brick",0,0,0)
  767. 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))
  768.  
  769. local refec = Instance.new("ParticleEmitter",handlex)
  770. refec.Texture = "rbxassetid://284205403"
  771. refec.LightEmission = 0.3
  772. refec.Color = ColorSequence.new(BrickColor.new("Really red").Color)
  773. refec.Rate = 50
  774. refec.Lifetime = NumberRange.new(0.5)
  775. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  776. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  777. refec.Speed = NumberRange.new(0,2)
  778. refec.Drag = 5
  779. refec.LockedToPart = true
  780. refec.Rotation = NumberRange.new(-500,500)
  781. refec.VelocitySpread = 9000
  782. refec.RotSpeed = NumberRange.new(-500,500)
  783. local refec2 = refec:Clone()
  784. refec2.LightEmission = 0.4
  785. refec2.Texture = "rbxassetid://254287058"
  786. refec2.Parent = handlex
  787. refec2.Rate = 25
  788. refec2.Lifetime = NumberRange.new(0.75)
  789. refec2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1.5,0),NumberSequenceKeypoint.new(0.15,1,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  790. refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  791. refec2.Speed = NumberRange.new(0)
  792.  
  793.  
  794.  
  795. local valuaring = 10
  796. local cframeextensionpartition = 0.3
  797. local halo1colors = {}
  798. local halo2colors = {}
  799. for i = 0, 49 do
  800. valuaring = valuaring + 1
  801. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  802. rn.Name = "Halo"
  803. table.insert(halo1colors,rn)
  804. CreateMesh(rn,"Brick",0.25,0.4,0.1)
  805. CreateWeld(rn,handlex,rn,0,1.4,0 + -cframeextensionpartition,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  806. end
  807. valuaring = valuaring + 40
  808. for i = 0, 49 do
  809. valuaring = valuaring + 1
  810. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  811. rn.Name = "Halo"
  812. table.insert(halo2colors,rn)
  813. CreateMesh(rn,"Brick",0.25,0.4,0.1)
  814. CreateWeld(rn,handlex,rn,0,1.4,0 + -cframeextensionpartition,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  815. end
  816. valuaring = valuaring + 40
  817. for i = 0, 49 do
  818. valuaring = valuaring + 1
  819. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  820. rn.Name = "Halo"
  821. table.insert(halo1colors,rn)
  822. CreateMesh(rn,"Brick",0.25,0.4,0.1)
  823. CreateWeld(rn,handlex,rn,0,1.4,0 + -cframeextensionpartition,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  824. end
  825. valuaring = valuaring + 40
  826. for i = 0, 49 do
  827. valuaring = valuaring + 1
  828. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  829. table.insert(halo2colors,rn)
  830. rn.Name = "Halo"
  831. CreateMesh(rn,"Brick",0.25,0.4,0.1)
  832. CreateWeld(rn,handlex,rn,0,1.4,0 + -cframeextensionpartition,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  833. end
  834.  
  835. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  836. CreateMesh(handle,"Brick",0,0,0)
  837. local seondhandleweld = 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))
  838. local valuaring = 10
  839. for i = 0, 24.5 do
  840. valuaring = valuaring + 1
  841. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  842. table.insert(halo1colors,rn)
  843. CreateMesh(rn,"Brick",0.5,0.4,0.2)
  844. 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))
  845. end
  846. valuaring = valuaring + 20
  847. for i = 0, 24.5 do
  848. valuaring = valuaring + 1
  849. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  850. table.insert(halo2colors,rn)
  851. CreateMesh(rn,"Brick",0.5,0.4,0.2)
  852. 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))
  853. end
  854. valuaring = valuaring + 20
  855. for i = 0, 24.5 do
  856. valuaring = valuaring + 1
  857. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  858. table.insert(halo1colors,rn)
  859. CreateMesh(rn,"Brick",0.5,0.4,0.2)
  860. 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))
  861. end
  862. valuaring = valuaring + 20
  863. for i = 0, 24.5 do
  864. valuaring = valuaring + 1
  865. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  866. table.insert(halo2colors,rn)
  867. CreateMesh(rn,"Brick",0.5,0.4,0.2)
  868. 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))
  869. end
  870. valuaring = valuaring + 20
  871. for i = 0, 24.5 do
  872. valuaring = valuaring + 1
  873. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  874. table.insert(halo1colors,rn)
  875. CreateMesh(rn,"Brick",0.5,0.4,0.2)
  876. 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))
  877. end
  878. valuaring = valuaring + 20
  879. for i = 0, 24.5 do
  880. valuaring = valuaring + 1
  881. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  882. table.insert(halo2colors,rn)
  883. CreateMesh(rn,"Brick",0.5,0.4,0.2)
  884. 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))
  885. end
  886. valuaring = valuaring + 20
  887. for i = 0, 24.5 do
  888. valuaring = valuaring + 1
  889. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  890. table.insert(halo1colors,rn)
  891. CreateMesh(rn,"Brick",0.5,0.4,0.2)
  892. 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))
  893. end
  894. valuaring = valuaring + 20
  895. for i = 0, 24.5 do
  896. valuaring = valuaring + 1
  897. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  898. table.insert(halo2colors,rn)
  899. CreateMesh(rn,"Brick",0.5,0.4,0.2)
  900. 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))
  901. end
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908. local handle = CreateParta(m,1,1,"Neon",maincolor)
  909. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  910. 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))
  911.  
  912. --- Left wing.
  913.  
  914. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  915. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  916. 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))
  917.  
  918. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  919. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  920. 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))
  921. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  922. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  923. 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))
  924. A0 = Instance.new('Attachment',wed)
  925. A0.Position = vt(0,0.25,0.25)
  926. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  927. CreateMesh(wed,"Wedge",0.05,0.5,3)
  928. 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))
  929. A1 = Instance.new('Attachment',wed)
  930. A1.Position = vt(0,-0.25,-2)
  931. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  932. CreateMesh(wed,"Wedge",0.05,3,0.5)
  933. 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))
  934.  
  935. tl1 = Instance.new('Trail',wed)
  936. tl1.Attachment0 = A1
  937. tl1.Attachment1 = A0
  938. tl1.Texture = "rbxassetid://2108945559"
  939. tl1.LightEmission = 1
  940. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  941. tl1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  942. tl1.Lifetime = 0.6
  943.  
  944.  
  945. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  946. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  947. 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))
  948.  
  949. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  950. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  951. 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))
  952. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  953. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  954. 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))
  955. A0 = Instance.new('Attachment',wed)
  956. A0.Position = vt(0,0.25,0.25)
  957. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  958. CreateMesh(wed,"Wedge",0.05,0.5,3)
  959. 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))
  960. A1 = Instance.new('Attachment',wed)
  961. A1.Position = vt(0,-0.25,-2)
  962. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  963. CreateMesh(wed,"Wedge",0.05,3,0.5)
  964. 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))
  965.  
  966. tl2 = Instance.new('Trail',wed)
  967. tl2.Attachment0 = A1
  968. tl2.Attachment1 = A0
  969. tl2.Texture = "rbxassetid://2108945559"
  970. tl2.LightEmission = 1
  971. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  972. tl2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  973. tl2.Lifetime = 0.6
  974.  
  975. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  976. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  977. 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))
  978.  
  979. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  980. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  981. 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))
  982. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  983. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  984. 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))
  985. A0 = Instance.new('Attachment',wed)
  986. A0.Position = vt(0,0.25,0.25)
  987. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  988. CreateMesh(wed,"Wedge",0.05,0.5,3)
  989. 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))
  990. A1 = Instance.new('Attachment',wed)
  991. A1.Position = vt(0,-0.25,-2)
  992. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  993. CreateMesh(wed,"Wedge",0.05,3,0.5)
  994. 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))
  995.  
  996. tl3 = Instance.new('Trail',wed)
  997. tl3.Attachment0 = A1
  998. tl3.Attachment1 = A0
  999. tl3.Texture = "rbxassetid://2108945559"
  1000. tl3.LightEmission = 1
  1001. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1002. tl3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1003. tl3.Lifetime = 0.6
  1004.  
  1005. tl1.Enabled = false
  1006. tl2.Enabled = false
  1007. tl3.Enabled = false
  1008. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1009. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1010. 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))
  1011.  
  1012. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1013. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1014. 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))
  1015. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1016. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1017. 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))
  1018. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1019. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1020. 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))
  1021. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1022. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1023. 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))
  1024.  
  1025. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1026. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1027. 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))
  1028.  
  1029. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1030. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1031. 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))
  1032. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1033. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1034. 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))
  1035. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1036. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1037. 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))
  1038. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1039. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1040. 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))
  1041.  
  1042. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1043. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1044. 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))
  1045.  
  1046. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1048. 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))
  1049. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1050. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1051. 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))
  1052. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1053. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1054. 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))
  1055. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  1056. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1057. 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))
  1058.  
  1059. -- Right wing.
  1060.  
  1061. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  1062. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1063. 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))
  1064.  
  1065. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1066. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1067. 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))
  1068. A0 = Instance.new('Attachment',wed)
  1069. A0.Position = vt(0,0.25,0.25)
  1070. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1071. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1072. 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))
  1073. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1074. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1075. 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))
  1076. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1077. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1078. 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))
  1079. A1 = Instance.new('Attachment',wed)
  1080. A1.Position = vt(0,2,0.25)
  1081.  
  1082. tr1 = Instance.new('Trail',wed)
  1083. tr1.Attachment0 = A1
  1084. tr1.Attachment1 = A0
  1085. tr1.Texture = "rbxassetid://2108945559"
  1086. tr1.LightEmission = 1
  1087. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1088. tr1.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1089. tr1.Lifetime = 0.6
  1090.  
  1091. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  1092. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1093. 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))
  1094.  
  1095. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1096. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1097. 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))
  1098. A0 = Instance.new('Attachment',wed)
  1099. A0.Position = vt(0,0.25,0.25)
  1100. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1101. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1102. 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))
  1103. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1104. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1105. 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))
  1106. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1107. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1108. 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))
  1109. A1 = Instance.new('Attachment',wed)
  1110. A1.Position = vt(0,2,0.25)
  1111.  
  1112. tr2 = Instance.new('Trail',wed)
  1113. tr2.Attachment0 = A1
  1114. tr2.Attachment1 = A0
  1115. tr2.Texture = "rbxassetid://2108945559"
  1116. tr2.LightEmission = 1
  1117. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1118. tr2.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1119. tr2.Lifetime = 0.6
  1120.  
  1121. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  1122. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1123. 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))
  1124.  
  1125. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1126. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1127. 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))
  1128. A0 = Instance.new('Attachment',wed)
  1129. A0.Position = vt(0,0.25,0.25)
  1130. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1131. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1132. 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))
  1133. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1134. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1135. 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))
  1136. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1137. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1138. 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))
  1139. A1 = Instance.new('Attachment',wed)
  1140. A1.Position = vt(0,2,0.25)
  1141.  
  1142. tr3 = Instance.new('Trail',wed)
  1143. tr3.Attachment0 = A1
  1144. tr3.Attachment1 = A0
  1145. tr3.Texture = "rbxassetid://2108945559"
  1146. tr3.LightEmission = 1
  1147. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1148. tr3.Color = ColorSequence.new(BrickColor.new('Really red').Color)
  1149. tr3.Lifetime = 0.6
  1150.  
  1151.  
  1152. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1153. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1154. 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))
  1155.  
  1156. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1157. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1158. 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))
  1159. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1160. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1161. 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))
  1162. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1163. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1164. 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))
  1165. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1166. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1167. 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))
  1168.  
  1169. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1170. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1171. 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))
  1172.  
  1173. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1174. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1175. 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))
  1176. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1177. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1178. 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))
  1179. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1180. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1181. 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))
  1182. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1183. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1184. 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))
  1185.  
  1186. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1187. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1188. 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))
  1189.  
  1190. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1191. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1192. 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))
  1193. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1194. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1195. 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))
  1196. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1197. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1198. 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))
  1199. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1200. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1201. 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))
  1202.  
  1203. ---- HERES THE RING
  1204.  
  1205.  
  1206. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1207. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1208. 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))
  1209. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1210. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1211. 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))
  1212. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1213. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1214. 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))
  1215.  
  1216.  
  1217. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1218. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1219. 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))
  1220.  
  1221. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1222. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1223. 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))
  1224.  
  1225.  
  1226.  
  1227. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1228. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1229. 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))
  1230.  
  1231. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1232. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1233. 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))
  1234.  
  1235. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1236. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1237. 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))
  1238.  
  1239. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1240. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1241. CreateWeld(star,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))
  1242. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1243. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1244. CreateWeld(starl,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))
  1245.  
  1246. --- second ring
  1247.  
  1248. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1249. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1250. 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))
  1251. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1252. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1253. 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))
  1254. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1255. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1256. 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))
  1257.  
  1258. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1259. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1260. 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))
  1261.  
  1262. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1263. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1264. 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))
  1265.  
  1266.  
  1267.  
  1268. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1269. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1270. 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))
  1271.  
  1272. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1273. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1274. 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))
  1275.  
  1276. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1277. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1278. 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))
  1279.  
  1280. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1281. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1282. 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))
  1283. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1284. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1285. 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))]]--
  1286.  
  1287.  
  1288.  
  1289. for i, v in pairs(m:GetChildren()) do
  1290. if v:IsA("Part") then
  1291. v.BrickColor = BrickColor.new("Really black")
  1292. v.Material = "Glass"
  1293. end
  1294. end
  1295. for i, v in pairs(m2:GetChildren()) do
  1296. if v:IsA("Part") then
  1297. v.BrickColor = BrickColor.new("Crimson")
  1298. v.Material = "Granite"
  1299. end
  1300. end
  1301. for i, v in pairs(m3:GetChildren()) do
  1302. if v:IsA("Part") then
  1303. v.BrickColor = BrickColor.new("Really red")
  1304. v.Material = "Neon"
  1305. end
  1306. end
  1307. for i, v in pairs(mw2:GetChildren()) do
  1308. if v:IsA("Part") then
  1309. v.BrickColor = BrickColor.new("Really red")
  1310. v.Material = "Neon"
  1311. end
  1312. end
  1313. for i, v in pairs(mw1:GetChildren()) do
  1314. if v:IsA("Part") then
  1315. v.Transparency = 1
  1316. v.BrickColor = BrickColor.new("Really red")
  1317. v.Material = "Neon"
  1318. end
  1319. end
  1320. for i, v in pairs(extrawingmod1:GetChildren()) do
  1321. if v:IsA("Part") then
  1322. v.Transparency = 1
  1323. v.BrickColor = BrickColor.new("White")
  1324. v.Material = "Neon"
  1325. end
  1326. end
  1327. for i, v in pairs(extrawingmod2:GetChildren()) do
  1328. if v:IsA("Part") then
  1329. v.Transparency = 1
  1330. v.BrickColor = BrickColor.new("White")
  1331. v.Material = "Neon"
  1332. end
  1333. end
  1334. local MAINRUINCOLOR = BrickColor.new("Really red")
  1335. ------
  1336.  
  1337.  
  1338. function RemoveOutlines(part)
  1339. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1340. end
  1341. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1342. local Part = Create("Part")({
  1343. Parent = Parent,
  1344. Reflectance = Reflectance,
  1345. Transparency = Transparency,
  1346. CanCollide = false,
  1347. Locked = true,
  1348. BrickColor = BrickColor.new(tostring(BColor)),
  1349. Name = Name,
  1350. Size = Size,
  1351. Material = Material
  1352. })
  1353. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1354. RemoveOutlines(Part)
  1355. return Part
  1356. end
  1357. function CreateMesha(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1358. local Msh = Create(Mesh)({
  1359. Parent = Part,
  1360. Offset = OffSet,
  1361. Scale = Scale
  1362. })
  1363. if Mesh == "SpecialMesh" then
  1364. Msh.MeshType = MeshType
  1365. Msh.MeshId = MeshId
  1366. end
  1367. return Msh
  1368. end
  1369. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1370. local Weld = Create("Weld")({
  1371. Parent = Parent,
  1372. Part0 = Part0,
  1373. Part1 = Part1,
  1374. C0 = C0,
  1375. C1 = C1
  1376. })
  1377. return Weld
  1378. end
  1379.  
  1380. Character=Player.Character
  1381. PlayerGui=Player.PlayerGui
  1382. Backpack=Player.Backpack
  1383. Torso=Character.Torso
  1384. Head=Character.Head
  1385. Humanoid=Character.Humanoid
  1386. m=Instance.new('Model',Character)
  1387. LeftArm=Character["Left Arm"]
  1388. LeftLeg=Character["Left Leg"]
  1389. RightArm=Character["Right Arm"]
  1390. RightLeg=Character["Right Leg"]
  1391. LS=Torso["Left Shoulder"]
  1392. LH=Torso["Left Hip"]
  1393. RS=Torso["Right Shoulder"]
  1394. RH=Torso["Right Hip"]
  1395. Face = Head.face
  1396. Neck=Torso.Neck
  1397. it=Instance.new
  1398. attacktype=1
  1399. vt=Vector3.new
  1400. cf=CFrame.new
  1401. euler=CFrame.fromEulerAnglesXYZ
  1402. angles=CFrame.Angles
  1403. cloaked=false
  1404. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1405. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1406. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1407. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1408. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1409. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1410. RootPart=Character.HumanoidRootPart
  1411. RootJoint=RootPart.RootJoint
  1412. RootCF=euler(-1.57,0,3.14)
  1413. attack = false
  1414. attackdebounce = false
  1415. deb=false
  1416. equipped=true
  1417. hand=false
  1418. combo=0
  1419. mana=0
  1420. trispeed=.2
  1421. attackmode='none'
  1422. local idle=0
  1423. local Anim="Idle"
  1424. local Effects={}
  1425. local gun=false
  1426. local shoot=false
  1427. local sine = 0
  1428. local change = 1
  1429.  
  1430. function RecolorTextAndRename(name,col1,col2,font)
  1431. modet.TextStrokeColor3 = col2
  1432. modet.TextColor3 = col1
  1433. modet.Font = font
  1434. modet.Text = name
  1435. techc.ImageColor3 = col2
  1436. circl.ImageColor3 = col2
  1437. circl2.ImageColor3 = col1
  1438. imgl2.ImageColor3 = col1
  1439. imgl2b.ImageColor3 = col2
  1440. ned.Text = name
  1441. ned.TextColor3 = col1
  1442. ned.TextStrokeColor3 = col2
  1443. end
  1444. --save shoulders
  1445. RSH, LSH=nil, nil
  1446. --welds
  1447. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1448. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1449. LH=Torso["Left Hip"]
  1450. RH=Torso["Right Hip"]
  1451. TorsoColor=Torso.BrickColor
  1452. function NoOutline(Part)
  1453. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1454. end
  1455. ch=Character
  1456. RSH=ch.Torso["Right Shoulder"]
  1457. LSH=ch.Torso["Left Shoulder"]
  1458. --
  1459. RSH.Parent=nil
  1460. LSH.Parent=nil
  1461. --
  1462. RW.Name="Right Shoulder"
  1463. RW.Part0=ch.Torso
  1464. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1465. RW.C1=cf(0, 0.5, 0)
  1466. RW.Part1=ch["Right Arm"]
  1467. RW.Parent=ch.Torso
  1468. --
  1469. LW.Name="Left Shoulder"
  1470. LW.Part0=ch.Torso
  1471. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1472. LW.C1=cf(0, 0.5, 0)
  1473. LW.Part1=ch["Left Arm"]
  1474. LW.Parent=ch.Torso
  1475.  
  1476. local Stats=Instance.new("BoolValue")
  1477. Stats.Name="Stats"
  1478. Stats.Parent=Character
  1479. local Atk=Instance.new("NumberValue")
  1480. Atk.Name="Damage"
  1481. Atk.Parent=Stats
  1482. Atk.Value=1
  1483. local Def=Instance.new("NumberValue")
  1484. Def.Name="Defense"
  1485. Def.Parent=Stats
  1486. Def.Value=1
  1487. local Speed=Instance.new("NumberValue")
  1488. Speed.Name="Speed"
  1489. Speed.Parent=Stats
  1490. Speed.Value=1
  1491. local Mvmt=Instance.new("NumberValue")
  1492. Mvmt.Name="Movement"
  1493. Mvmt.Parent=Stats
  1494. Mvmt.Value=1
  1495.  
  1496. local donum=0
  1497.  
  1498.  
  1499. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1500. local fp=it("Part")
  1501. fp.formFactor=formfactor
  1502. fp.Parent=parent
  1503. fp.Reflectance=reflectance
  1504. fp.Transparency=transparency
  1505. fp.CanCollide=false
  1506. fp.Locked=true
  1507. fp.BrickColor=brickcolor
  1508. fp.Name=name
  1509. fp.Size=size
  1510. fp.Position=Torso.Position
  1511. NoOutline(fp)
  1512. fp.Material="SmoothPlastic"
  1513. fp:BreakJoints()
  1514. return fp
  1515. end
  1516.  
  1517. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1518. local mesh=it(Mesh)
  1519. mesh.Parent=part
  1520. if Mesh=="SpecialMesh" then
  1521. mesh.MeshType=meshtype
  1522. if meshid~="nil" then
  1523. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1524. end
  1525. end
  1526. mesh.Offset=offset
  1527. mesh.Scale=scale
  1528. return mesh
  1529. end
  1530.  
  1531. function weld(parent,part0,part1,c0)
  1532. local weld=it("Weld")
  1533. weld.Parent=parent
  1534. weld.Part0=part0
  1535. weld.Part1=part1
  1536. weld.C0=c0
  1537. return weld
  1538. end
  1539.  
  1540. local Color1=Torso.BrickColor
  1541.  
  1542. local bodvel=Instance.new("BodyVelocity")
  1543. local bg=Instance.new("BodyGyro")
  1544.  
  1545. --------- SazEreno's Artificial HB --------------
  1546. ArtificialHB = Instance.new("BindableEvent", script)
  1547. ArtificialHB.Name = "ArtificialHB"
  1548.  
  1549. script:WaitForChild("ArtificialHB")
  1550. Frame_Speed = 1 / 60
  1551. frame = Frame_Speed
  1552. tf = 0
  1553. allowframeloss = false
  1554. tossremainder = false
  1555. lastframe = tick()
  1556. script.ArtificialHB:Fire()
  1557.  
  1558. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1559. tf = tf + s
  1560. if tf >= frame then
  1561. if allowframeloss then
  1562. script.ArtificialHB:Fire()
  1563. lastframe = tick()
  1564. else
  1565. for i = 1, math.floor(tf / frame) do
  1566. script.ArtificialHB:Fire()
  1567. end
  1568. lastframe = tick()
  1569. end
  1570. if tossremainder then
  1571. tf = 0
  1572. else
  1573. tf = tf - frame * math.floor(tf / frame)
  1574. end
  1575. end
  1576. end)
  1577.  
  1578. ------------------
  1579. function swait(num)
  1580. if num == 0 or num == nil then
  1581. ArtificialHB.Event:wait()
  1582. else
  1583. for i = 1, num do
  1584. ArtificialHB.Event:wait()
  1585. end
  1586. end
  1587. end
  1588. -------- RAINBOW LEAVE IT TO ME
  1589. local r = 255
  1590. local g = 0
  1591. local b = 0
  1592. coroutine.resume(coroutine.create(function()
  1593. while wait() do
  1594. for i = 0, 254/5 do
  1595. swait()
  1596. g = g + 5
  1597. end
  1598. for i = 0, 254/5 do
  1599. swait()
  1600. r = r - 5
  1601. end
  1602. for i = 0, 254/5 do
  1603. swait()
  1604. b = b + 5
  1605. end
  1606. for i = 0, 254/5 do
  1607. swait()
  1608. g = g - 5
  1609. end
  1610. for i = 0, 254/5 do
  1611. swait()
  1612. r = r + 5
  1613. end
  1614. for i = 0, 254/5 do
  1615. swait()
  1616. b = b - 5
  1617. end
  1618. end
  1619. end))
  1620.  
  1621.  
  1622. so = function(id,par,vol,pit)
  1623. coroutine.resume(coroutine.create(function()
  1624. local sou = Instance.new("Sound",par or workspace)
  1625. sou.Volume=vol
  1626. sou.Pitch=pit or 1
  1627. sou.SoundId=id
  1628. swait()
  1629. sou:play()
  1630. game:GetService("Debris"):AddItem(sou,6)
  1631. end))
  1632. end
  1633.  
  1634. function clerp(a,b,t)
  1635. local qa = {QuaternionFromCFrame(a)}
  1636. local qb = {QuaternionFromCFrame(b)}
  1637. local ax, ay, az = a.x, a.y, a.z
  1638. local bx, by, bz = b.x, b.y, b.z
  1639. local _t = 1-t
  1640. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1641. end
  1642.  
  1643. function QuaternionFromCFrame(cf)
  1644. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1645. local trace = m00 + m11 + m22
  1646. if trace > 0 then
  1647. local s = math.sqrt(1 + trace)
  1648. local recip = 0.5/s
  1649. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1650. else
  1651. local i = 0
  1652. if m11 > m00 then
  1653. i = 1
  1654. end
  1655. if m22 > (i == 0 and m00 or m11) then
  1656. i = 2
  1657. end
  1658. if i == 0 then
  1659. local s = math.sqrt(m00-m11-m22+1)
  1660. local recip = 0.5/s
  1661. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1662. elseif i == 1 then
  1663. local s = math.sqrt(m11-m22-m00+1)
  1664. local recip = 0.5/s
  1665. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1666. elseif i == 2 then
  1667. local s = math.sqrt(m22-m00-m11+1)
  1668. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1669. end
  1670. end
  1671. end
  1672.  
  1673. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1674. local xs, ys, zs = x + x, y + y, z + z
  1675. local wx, wy, wz = w*xs, w*ys, w*zs
  1676. local xx = x*xs
  1677. local xy = x*ys
  1678. local xz = x*zs
  1679. local yy = y*ys
  1680. local yz = y*zs
  1681. local zz = z*zs
  1682. 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))
  1683. end
  1684.  
  1685. function QuaternionSlerp(a, b, t)
  1686. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1687. local startInterp, finishInterp;
  1688. if cosTheta >= 0.0001 then
  1689. if (1 - cosTheta) > 0.0001 then
  1690. local theta = math.acos(cosTheta)
  1691. local invSinTheta = 1/math.sin(theta)
  1692. startInterp = math.sin((1-t)*theta)*invSinTheta
  1693. finishInterp = math.sin(t*theta)*invSinTheta
  1694. else
  1695. startInterp = 1-t
  1696. finishInterp = t
  1697. end
  1698. else
  1699. if (1+cosTheta) > 0.0001 then
  1700. local theta = math.acos(-cosTheta)
  1701. local invSinTheta = 1/math.sin(theta)
  1702. startInterp = math.sin((t-1)*theta)*invSinTheta
  1703. finishInterp = math.sin(t*theta)*invSinTheta
  1704. else
  1705. startInterp = t-1
  1706. finishInterp = t
  1707. end
  1708. end
  1709. 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
  1710. end
  1711.  
  1712. local function CFrameFromTopBack(at, top, back)
  1713. local right = top:Cross(back)
  1714. return CFrame.new(at.x, at.y, at.z,
  1715. right.x, top.x, back.x,
  1716. right.y, top.y, back.y,
  1717. right.z, top.z, back.z)
  1718. end
  1719.  
  1720. function Triangle(a, b, c)
  1721. local edg1 = (c-a):Dot((b-a).unit)
  1722. local edg2 = (a-b):Dot((c-b).unit)
  1723. local edg3 = (b-c):Dot((a-c).unit)
  1724. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1725. a, b, c = a, b, c
  1726. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1727. a, b, c = b, c, a
  1728. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1729. a, b, c = c, a, b
  1730. else
  1731. assert(false, "unreachable")
  1732. end
  1733.  
  1734. local len1 = (c-a):Dot((b-a).unit)
  1735. local len2 = (b-a).magnitude - len1
  1736. local width = (a + (b-a).unit*len1 - c).magnitude
  1737.  
  1738. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1739.  
  1740. local list = {}
  1741.  
  1742. if len1 > 0.01 then
  1743. local w1 = Instance.new('WedgePart', m)
  1744. game:GetService("Debris"):AddItem(w1,5)
  1745. w1.Material = "SmoothPlastic"
  1746. w1.FormFactor = 'Custom'
  1747. w1.BrickColor = BrickColor.new("Really red")
  1748. w1.Transparency = 0
  1749. w1.Reflectance = 0
  1750. w1.Material = "SmoothPlastic"
  1751. w1.CanCollide = false
  1752. local l1 = Instance.new("PointLight",w1)
  1753. l1.Color = Color3.new(170,0,0)
  1754. NoOutline(w1)
  1755. local sz = Vector3.new(0.2, width, len1)
  1756. w1.Size = sz
  1757. local sp = Instance.new("SpecialMesh",w1)
  1758. sp.MeshType = "Wedge"
  1759. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1760. w1:BreakJoints()
  1761. w1.Anchored = true
  1762. w1.Parent = workspace
  1763. w1.Transparency = 0.7
  1764. table.insert(Effects,{w1,"Disappear",.01})
  1765. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1766. table.insert(list,w1)
  1767. end
  1768.  
  1769. if len2 > 0.01 then
  1770. local w2 = Instance.new('WedgePart', m)
  1771. game:GetService("Debris"):AddItem(w2,5)
  1772. w2.Material = "SmoothPlastic"
  1773. w2.FormFactor = 'Custom'
  1774. w2.BrickColor = BrickColor.new("Really red")
  1775. w2.Transparency = 0
  1776. w2.Reflectance = 0
  1777. w2.Material = "SmoothPlastic"
  1778. w2.CanCollide = false
  1779. local l2 = Instance.new("PointLight",w2)
  1780. l2.Color = Color3.new(170,0,0)
  1781. NoOutline(w2)
  1782. local sz = Vector3.new(0.2, width, len2)
  1783. w2.Size = sz
  1784. local sp = Instance.new("SpecialMesh",w2)
  1785. sp.MeshType = "Wedge"
  1786. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1787. w2:BreakJoints()
  1788. w2.Anchored = true
  1789. w2.Parent = workspace
  1790. w2.Transparency = 0.7
  1791. table.insert(Effects,{w2,"Disappear",.01})
  1792. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1793. table.insert(list,w2)
  1794. end
  1795. return unpack(list)
  1796. end
  1797.  
  1798.  
  1799. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1800. if hit.Parent == nil then
  1801. return
  1802. end
  1803. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1804. for _, v in pairs(hit.Parent:children()) do
  1805. if v:IsA("Humanoid") then
  1806. h = v
  1807. end
  1808. end
  1809. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1810. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1811. return
  1812. end
  1813. local c = Create("ObjectValue")({
  1814. Name = "creator",
  1815. Value = game:GetService("Players").Davidgrativol,
  1816. Parent = h
  1817. })
  1818. game:GetService("Debris"):AddItem(c, 0.5)
  1819. if HitSound ~= nil and HitPitch ~= nil then
  1820. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1821. end
  1822. local Damage = math.random(minim, maxim)
  1823. local blocked = false
  1824. local block = hit.Parent:findFirstChild("Block")
  1825. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1826. blocked = true
  1827. block.Value = block.Value - 1
  1828. print(block.Value)
  1829. end
  1830. if blocked == false then
  1831. HitHealth = h.Health
  1832. h.MaxHealth = 100
  1833. h.Health = h.Health - Damage
  1834. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1835. print("gained kill")
  1836. dmg(h.Parent)
  1837. end
  1838. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1839. else
  1840. h.Health = h.Health - Damage / 2
  1841. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1842. end
  1843. if Type == "Knockdown" then
  1844. local hum = hit.Parent.Humanoid
  1845. hum.PlatformStand = true
  1846. coroutine.resume(coroutine.create(function(HHumanoid)
  1847. swait(1)
  1848. HHumanoid.PlatformStand = false
  1849. end), hum)
  1850. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1851. local bodvol = Create("BodyVelocity")({
  1852. velocity = angle * knockback,
  1853. P = 5000,
  1854. maxForce = Vector3.new(8000, 8000, 8000),
  1855. Parent = hit
  1856. })
  1857. local rl = Create("BodyAngularVelocity")({
  1858. P = 3000,
  1859. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1860. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1861. Parent = hit
  1862. })
  1863. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1864. game:GetService("Debris"):AddItem(rl, 0.5)
  1865. elseif Type == "Normal" then
  1866. local vp = Create("BodyVelocity")({
  1867. P = 500,
  1868. maxForce = Vector3.new(math.huge, 0, math.huge),
  1869. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1870. })
  1871. if knockback > 0 then
  1872. vp.Parent = hit.Parent.Head
  1873. end
  1874. game:GetService("Debris"):AddItem(vp, 0.5)
  1875. elseif Type == "Up" then
  1876. local bodyVelocity = Create("BodyVelocity")({
  1877. velocity = Vector3.new(0, 20, 0),
  1878. P = 5000,
  1879. maxForce = Vector3.new(8000, 8000, 8000),
  1880. Parent = hit
  1881. })
  1882. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1883. local bodyVelocity = Create("BodyVelocity")({
  1884. velocity = Vector3.new(0, 20, 0),
  1885. P = 5000,
  1886. maxForce = Vector3.new(8000, 8000, 8000),
  1887. Parent = hit
  1888. })
  1889. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1890. elseif Type == "Leech" then
  1891. local hum = hit.Parent.Humanoid
  1892. if hum ~= nil then
  1893. for i = 0, 2 do
  1894. 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)
  1895. end
  1896. Humanoid.Health = Humanoid.Health + 10
  1897. end
  1898. elseif Type == "UpKnock" then
  1899. local hum = hit.Parent.Humanoid
  1900. hum.PlatformStand = true
  1901. if hum ~= nil then
  1902. hitr = true
  1903. end
  1904. coroutine.resume(coroutine.create(function(HHumanoid)
  1905. swait(5)
  1906. HHumanoid.PlatformStand = false
  1907. hitr = false
  1908. end), hum)
  1909. local bodyVelocity = Create("BodyVelocity")({
  1910. velocity = Vector3.new(0, 20, 0),
  1911. P = 5000,
  1912. maxForce = Vector3.new(8000, 8000, 8000),
  1913. Parent = hit
  1914. })
  1915. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1916. local bodyVelocity = Create("BodyVelocity")({
  1917. velocity = Vector3.new(0, 20, 0),
  1918. P = 5000,
  1919. maxForce = Vector3.new(8000, 8000, 8000),
  1920. Parent = hit
  1921. })
  1922. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1923. elseif Type == "Snare" then
  1924. local bp = Create("BodyPosition")({
  1925. P = 2000,
  1926. D = 100,
  1927. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1928. position = hit.Parent.Torso.Position,
  1929. Parent = hit.Parent.Torso
  1930. })
  1931. game:GetService("Debris"):AddItem(bp, 1)
  1932. elseif Type == "Slashnare" then
  1933. 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)
  1934. for i = 1, math.random(4, 5) do
  1935. 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)
  1936. end
  1937. local bp = Create("BodyPosition")({
  1938. P = 2000,
  1939. D = 100,
  1940. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1941. position = hit.Parent.Torso.Position,
  1942. Parent = hit.Parent.Torso
  1943. })
  1944. game:GetService("Debris"):AddItem(bp, 1)
  1945. elseif Type == "Spike" then
  1946. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1947. local bp = Create("BodyPosition")({
  1948. P = 2000,
  1949. D = 100,
  1950. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1951. position = hit.Parent.Torso.Position,
  1952. Parent = hit.Parent.Torso
  1953. })
  1954. game:GetService("Debris"):AddItem(bp, 1)
  1955. elseif Type == "Freeze" then
  1956. local BodPos = Create("BodyPosition")({
  1957. P = 50000,
  1958. D = 1000,
  1959. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1960. position = hit.Parent.Torso.Position,
  1961. Parent = hit.Parent.Torso
  1962. })
  1963. local BodGy = Create("BodyGyro")({
  1964. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1965. P = 20000,
  1966. Parent = hit.Parent.Torso,
  1967. cframe = hit.Parent.Torso.CFrame
  1968. })
  1969. hit.Parent.Torso.Anchored = true
  1970. coroutine.resume(coroutine.create(function(Part)
  1971. swait(1.5)
  1972. Part.Anchored = false
  1973. end), hit.Parent.Torso)
  1974. game:GetService("Debris"):AddItem(BodPos, 3)
  1975. game:GetService("Debris"):AddItem(BodGy, 3)
  1976. end
  1977. local debounce = Create("BoolValue")({
  1978. Name = "DebounceHit",
  1979. Parent = hit.Parent,
  1980. Value = true
  1981. })
  1982. game:GetService("Debris"):AddItem(debounce, Delay)
  1983. c = Instance.new("ObjectValue")
  1984. c.Name = "creator"
  1985. c.Value = Player
  1986. c.Parent = h
  1987. game:GetService("Debris"):AddItem(c, 0.5)
  1988. end
  1989. end
  1990. function ShowDamage(Pos, Text, Time, Color)
  1991. local Rate = 0.03333333333333333
  1992. local Pos = Pos or Vector3.new(0, 0, 0)
  1993. local Text = Text or ""
  1994. local Time = Time or 2
  1995. local Color = Color or Color3.new(1, 0, 1)
  1996. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1997. EffectPart.Anchored = true
  1998. local BillboardGui = Create("BillboardGui")({
  1999. Size = UDim2.new(3, 0, 3, 0),
  2000. Adornee = EffectPart,
  2001. Parent = EffectPart
  2002. })
  2003. local TextLabel = Create("TextLabel")({
  2004. BackgroundTransparency = 1,
  2005. Size = UDim2.new(1, 0, 1, 0),
  2006. Text = Text,
  2007. TextColor3 = Color,
  2008. TextScaled = true,
  2009. Font = Enum.Font.ArialBold,
  2010. Parent = BillboardGui
  2011. })
  2012. game.Debris:AddItem(EffectPart, Time + 0.1)
  2013. EffectPart.Parent = game:GetService("Workspace")
  2014. delay(0, function()
  2015. local Frames = Time / Rate
  2016. for Frame = 1, Frames do
  2017. wait(Rate)
  2018. local Percent = Frame / Frames
  2019. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  2020. TextLabel.TextTransparency = Percent
  2021. end
  2022. if EffectPart and EffectPart.Parent then
  2023. EffectPart:Destroy()
  2024. end
  2025. end)
  2026. end
  2027. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  2028. for _, c in pairs(workspace:children()) do
  2029. local hum = c:findFirstChildOfClass("Humanoid")
  2030. if hum ~= nil then
  2031. local head = c:findFirstChild("Head")
  2032. if head ~= nil then
  2033. local targ = head.Position - Part.Position
  2034. local mag = targ.magnitude
  2035. if magni >= mag and c.Name ~= Player.Name then
  2036. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2037. end
  2038. end
  2039. end
  2040. end
  2041. end
  2042.  
  2043. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  2044. for _, c in pairs(workspace:children()) do
  2045. local hum = c:findFirstChild("Humanoid")
  2046. if hum ~= nil then
  2047. local head = c:findFirstChild("Torso")
  2048. if head ~= nil then
  2049. local targ = head.Position - Part.Position
  2050. local mag = targ.magnitude
  2051. if magni >= mag and c.Name ~= Player.Name then
  2052. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2053. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2054. end
  2055. end
  2056. end
  2057. end
  2058. end
  2059.  
  2060. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2061. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2062. end
  2063.  
  2064. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2065. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2066. prt.Anchored=true
  2067. prt.CFrame=cframe
  2068. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2069. --http://www.roblox.com/asset/?id=4770560
  2070. game:GetService("Debris"):AddItem(prt,2)
  2071. CF=prt.CFrame
  2072. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2073. for i=0,1,0.2 do
  2074. wait()
  2075. Part.CFrame=CF*cf(0,0,-0.4)
  2076. end
  2077. for i=0,1,delay do
  2078. wait()
  2079. --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)
  2080. Mesh.Scale=Mesh.Scale
  2081. end
  2082. for i=0,1,0.1 do
  2083. wait()
  2084. Part.Transparency=i
  2085. end
  2086. Part.Parent=nil
  2087. end),prt,msh,CF)
  2088. end
  2089.  
  2090. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2091. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2092. prt.Anchored=true
  2093. prt.Material = "Neon"
  2094. prt.CFrame=cframe
  2095. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2096. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2097. game:GetService("Debris"):AddItem(prt,5)
  2098. coroutine.resume(coroutine.create(function(Part,Mesh)
  2099. for i=0,1,delay do
  2100. swait()
  2101. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2102. Part.Transparency=i
  2103. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2104. end
  2105. Part.Parent=nil
  2106. end),prt,msh)
  2107. end
  2108.  
  2109. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  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. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2115. game:GetService("Debris"):AddItem(prt,5)
  2116. coroutine.resume(coroutine.create(function(Part,Mesh)
  2117. local rtype = rottype
  2118. for i=0,1,delay do
  2119. swait()
  2120. if rtype == 1 then
  2121. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2122. elseif rtype == 2 then
  2123. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2124. end
  2125. Part.Transparency=i
  2126. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2127. end
  2128. Part.Parent=nil
  2129. end),prt,msh)
  2130. end
  2131.  
  2132. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2133. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2134. prt.Anchored=true
  2135. prt.CFrame=cframe
  2136. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2137. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2138. game:GetService("Debris"):AddItem(prt,5)
  2139. coroutine.resume(coroutine.create(function(Part,Mesh)
  2140. for i=0,1,delay do
  2141. wait()
  2142. Part.Transparency=i
  2143. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2144. end
  2145. Part.Parent=nil
  2146. end),prt,msh)
  2147. end
  2148.  
  2149. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2150. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2151. prt.Anchored=true
  2152. prt.Material = "Neon"
  2153. prt.CFrame=cframe
  2154. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2155. game:GetService("Debris"):AddItem(prt,5)
  2156. coroutine.resume(coroutine.create(function(Part,Mesh)
  2157. local rtype = rottype
  2158. for i=0,1,delay do
  2159. swait()
  2160. if rtype == 1 then
  2161. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2162. elseif rtype == 2 then
  2163. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2164. end
  2165. Part.Transparency=i
  2166. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2167. end
  2168. Part.Parent=nil
  2169. end),prt,msh)
  2170. end
  2171.  
  2172. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2173. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2174. prt.Anchored=true
  2175. prt.Material = "Neon"
  2176. prt.CFrame=cframe
  2177. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2178. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2179. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2180. game:GetService("Debris"):AddItem(prt,5)
  2181. coroutine.resume(coroutine.create(function(Part,Mesh)
  2182. local rtype = rottype
  2183. for i=0,1,delay do
  2184. swait()
  2185. if rtype == 1 then
  2186. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2187. elseif rtype == 2 then
  2188. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2189. end
  2190. dec.Transparency=i
  2191. dec2.Transparency=i
  2192. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2193. end
  2194. Part.Parent=nil
  2195. end),prt,msh)
  2196. end
  2197.  
  2198. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2199. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2200. prt.Anchored=true
  2201. prt.Material = "Neon"
  2202. prt.CFrame=cframe
  2203. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2204. game:GetService("Debris"):AddItem(prt,5)
  2205. coroutine.resume(coroutine.create(function(Part,Mesh)
  2206. local rtype = rottype
  2207. for i=0,1,delay do
  2208. swait()
  2209. if rtype == 1 then
  2210. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2211. elseif rtype == 2 then
  2212. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2213. end
  2214. prt.Transparency=i
  2215. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2216. end
  2217. Part.Parent=nil
  2218. end),prt,msh)
  2219. end
  2220.  
  2221. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2222. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2223. prt.Anchored=true
  2224. prt.Material = "Neon"
  2225. prt.CFrame=cframe
  2226. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2227. game:GetService("Debris"):AddItem(prt,5)
  2228. coroutine.resume(coroutine.create(function(Part,Mesh)
  2229. local rtype = rottype
  2230. for i=0,1,delay do
  2231. swait()
  2232. if rtype == 1 then
  2233. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2234. elseif rtype == 2 then
  2235. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2236. end
  2237. prt.Transparency=i
  2238. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2239. end
  2240. Part.Parent=nil
  2241. end),prt,msh)
  2242. end
  2243.  
  2244. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2245. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2246. prt.Anchored=true
  2247. prt.Material = "Neon"
  2248. prt.CFrame=cframe
  2249. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2250. game:GetService("Debris"):AddItem(prt,5)
  2251. coroutine.resume(coroutine.create(function(Part,Mesh)
  2252. local rtype = rottype
  2253. for i=0,1,delay do
  2254. swait()
  2255. if rtype == 1 then
  2256. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2257. elseif rtype == 2 then
  2258. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2259. end
  2260. prt.Transparency=i
  2261. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2262. end
  2263. Part.Parent=nil
  2264. end),prt,msh)
  2265. end
  2266.  
  2267. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2268. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2269. prt.Anchored=true
  2270. prt.Material = "Neon"
  2271. prt.CFrame=cframe
  2272. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2273. game:GetService("Debris"):AddItem(prt,5)
  2274. coroutine.resume(coroutine.create(function(Part,Mesh)
  2275. local rtype = rottype
  2276. for i=0,1,delay do
  2277. swait()
  2278. if rtype == 1 then
  2279. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2280. elseif rtype == 2 then
  2281. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2282. end
  2283. prt.Transparency=i
  2284. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2285. end
  2286. Part.Parent=nil
  2287. end),prt,msh)
  2288. end
  2289.  
  2290. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2291. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2292. prt.Anchored=false
  2293. prt.CFrame=cframe
  2294. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2295. local wld=weld(prt,prt,Parent,cframe)
  2296. game:GetService("Debris"):AddItem(prt,5)
  2297. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2298. for i=0,1,delay do
  2299. wait()
  2300. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2301. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2302. Part.Transparency=i
  2303. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2304. end
  2305. Part.Parent=nil
  2306. end),prt,msh,wld)
  2307. end
  2308.  
  2309. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2310. local prt=part(3,workspace,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,euler(0,0,0)*cf(0,0,0))
  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(i*20,0,0)
  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 MagicCircle2(brickcolor,cframe,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=true
  2331. prt.CFrame=cframe
  2332. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2333. game:GetService("Debris"):AddItem(prt,2)
  2334. coroutine.resume(coroutine.create(function(Part,Mesh)
  2335. for i=0,1,delay do
  2336. wait()
  2337. Part.CFrame=Part.CFrame
  2338. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2339. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2340. prt2.Anchored=true
  2341. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2342. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2343. game:GetService("Debris"):AddItem(prt2,2)
  2344. coroutine.resume(coroutine.create(function(Part,Mesh)
  2345. for i=0,1,0.1 do
  2346. wait()
  2347. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2348. end
  2349. Part.Parent=nil
  2350. end),prt2,msh2)
  2351. end
  2352. for i=0,1,delay*2 do
  2353. wait()
  2354. Part.CFrame=Part.CFrame
  2355. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2356. end
  2357. Part.Parent=nil
  2358. end),prt,msh)
  2359. end
  2360.  
  2361. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2362. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2363. prt.Anchored=true
  2364. prt.CFrame=cframe
  2365. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2366. game:GetService("Debris"):AddItem(prt,2)
  2367. coroutine.resume(coroutine.create(function(Part,Mesh)
  2368. for i=0,1,delay do
  2369. wait()
  2370. Part.CFrame=Part.CFrame
  2371. Part.Transparency=i
  2372. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2373. end
  2374. Part.Parent=nil
  2375. end),prt,msh)
  2376. end
  2377.  
  2378. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2379. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2380. prt.Anchored=true
  2381. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2382. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2383. game:GetService("Debris"):AddItem(prt,2)
  2384. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2385. CF=Part.CFrame
  2386. Numbb=0
  2387. randnumb=math.random()/10
  2388. rand1=math.random()/10
  2389. for i=0,1,rand1 do
  2390. wait()
  2391. CF=CF*cf(0,math.random()/2,0)
  2392. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2393. Part.CFrame=CF*euler(Numbb,0,0)
  2394. Part.Transparency=i
  2395. Numbb=Numbb+randnumb
  2396. end
  2397. Part.Parent=nil
  2398. end),prt,CF,Numbb,randnumb)
  2399. end
  2400.  
  2401. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2402. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2403. prt.Anchored=true
  2404. prt.CFrame=cframe
  2405. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2406. game:GetService("Debris"):AddItem(prt,5)
  2407. coroutine.resume(coroutine.create(function(Part,Mesh)
  2408. for i=0,1,delay do
  2409. wait()
  2410. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2411. Part.Transparency=i
  2412. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2413. end
  2414. Part.Parent=nil
  2415. end),prt,msh)
  2416. end
  2417.  
  2418. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2419. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2420. prt.Anchored=true
  2421. prt.CFrame=cframe
  2422. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2423. game:GetService("Debris"):AddItem(prt,2)
  2424. coroutine.resume(coroutine.create(function(Part,Mesh)
  2425. for i=0,1,delay do
  2426. wait()
  2427. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2428. Part.Transparency=i
  2429. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2430. end
  2431. Part.Parent=nil
  2432. end),prt,msh)
  2433. end
  2434.  
  2435. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2436. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2437. prt.Anchored=true
  2438. prt.CFrame=cframe*cf(x,y,z)
  2439. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2440. game:GetService("Debris"):AddItem(prt,5)
  2441. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2442. local num=math.random()
  2443. local num2=math.random(-3,2)+math.random()
  2444. local numm=0
  2445. for i=0,1,delay*2 do
  2446. swait()
  2447. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2448. Part.Transparency=i
  2449. numm=numm+0.01
  2450. end
  2451. Part.Parent=nil
  2452. Mesh.Parent=nil
  2453. end),prt,msh,x,y,z)
  2454. end
  2455.  
  2456. function dmgstart(dmg,what)
  2457. hitcon = what.Touched:connect(function(hit)
  2458. local hum = hit.Parent:FindFirstChild("Humanoid")
  2459. if hum and not hum:IsDescendantOf(Character) then
  2460. hum:TakeDamage(dmg)
  2461. end
  2462. end)
  2463. end
  2464.  
  2465. function dmgstop()
  2466. hitcon:disconnect()
  2467. end
  2468.  
  2469. function Cloak()
  2470. Face.Parent=nil
  2471. cloaked=true
  2472. for _,v in pairs(Torso.Parent:children()) do
  2473. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2474. coroutine.resume(coroutine.create(function()
  2475. for i=0,1,0.2 do
  2476. wait()
  2477. v.Transparency=i
  2478. end
  2479. v.Transparency=1
  2480. end))
  2481. end
  2482. if v.className=="Hat" then
  2483. hatp=v.Handle
  2484. coroutine.resume(coroutine.create(function(derp)
  2485. for i=0,1,0.2 do
  2486. wait()
  2487. derp.Transparency=i
  2488. end
  2489. derp.Transparency=1
  2490. end),hatp)
  2491. end
  2492. end
  2493. for _,v in pairs(m:children()) do
  2494. if v.className=="Part" then
  2495. coroutine.resume(coroutine.create(function()
  2496. for i=0,1,0.2 do
  2497. wait()
  2498. v.Transparency=i
  2499. end
  2500. v.Transparency=1
  2501. end))
  2502. end
  2503. end
  2504. end
  2505.  
  2506. function UnCloak()
  2507. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2508. Face.Parent=Head
  2509. cloaked=false
  2510. for _,v in pairs(Torso.Parent:children()) do
  2511. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2512. coroutine.resume(coroutine.create(function()
  2513. for i=0,1,0.1 do
  2514. wait()
  2515. v.Transparency=v.Transparency-0.1
  2516. end
  2517. v.Transparency=0
  2518. end))
  2519. end
  2520. if v.className=="Hat" then
  2521. hatp=v.Handle
  2522. coroutine.resume(coroutine.create(function(derp)
  2523. for i=0,1,0.1 do
  2524. wait()
  2525. derp.Transparency=derp.Transparency-0.1
  2526. end
  2527. derp.Transparency=0
  2528. end),hatp)
  2529. end
  2530. end
  2531. for _,v in pairs(m:children()) do
  2532. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2533. coroutine.resume(coroutine.create(function()
  2534. for i=0,1,0.1 do
  2535. wait()
  2536. v.Transparency=v.Transparency-0.1
  2537. end
  2538. v.Transparency=0
  2539. end))
  2540. v.Transparency=0
  2541. end
  2542. end
  2543. end
  2544.  
  2545. local origcolor = BrickColor.new("Pastel light blue")
  2546. ---- This section of explosions.
  2547.  
  2548. ----
  2549.  
  2550.  
  2551. function ring(type,pos,scale,value)
  2552. local type = type
  2553. local rng = Instance.new("Part", char)
  2554. rng.Anchored = true
  2555. rng.BrickColor = origcolor
  2556. rng.CanCollide = false
  2557. rng.FormFactor = 3
  2558. rng.Name = "Ring"
  2559. rng.Size = Vector3.new(1, 1, 1)
  2560. rng.Transparency = 0
  2561. rng.TopSurface = 0
  2562. rng.BottomSurface = 0
  2563. rng.CFrame = pos
  2564. local rngm = Instance.new("SpecialMesh", rng)
  2565. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2566. rngm.Scale = scale
  2567. local scaler2 = 1
  2568. if type == "Add" then
  2569. scaler2 = 1*value
  2570. elseif type == "Divide" then
  2571. scaler2 = 1/value
  2572. end
  2573. coroutine.resume(coroutine.create(function()
  2574. for i = 0,10,0.1 do
  2575. swait()
  2576. if type == "Add" then
  2577. scaler2 = scaler2 - 0.01*value
  2578. elseif type == "Divide" then
  2579. scaler2 = scaler2 - 0.01/value
  2580. end
  2581. rng.Transparency = rng.Transparency + 0.01
  2582. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2583. end
  2584. rng:Destroy()
  2585. end))
  2586. end
  2587.  
  2588.  
  2589. function wave(type,pos,scale,value)
  2590. local type = type
  2591. local rng = Instance.new("Part", char)
  2592. rng.Anchored = true
  2593. rng.BrickColor = origcolor
  2594. rng.CanCollide = false
  2595. rng.FormFactor = 3
  2596. rng.Name = "Ring"
  2597. rng.Size = Vector3.new(1, 1, 1)
  2598. rng.Transparency = 0
  2599. rng.TopSurface = 0
  2600. rng.BottomSurface = 0
  2601. rng.CFrame = pos
  2602. local rngm = Instance.new("SpecialMesh", rng)
  2603. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2604. rngm.Scale = scale
  2605. local scaler2 = 1
  2606. if type == "Add" then
  2607. scaler2 = 1*value
  2608. elseif type == "Divide" then
  2609. scaler2 = 1/value
  2610. end
  2611. coroutine.resume(coroutine.create(function()
  2612. for i = 0,10,0.1 do
  2613. swait()
  2614. if type == "Add" then
  2615. scaler2 = scaler2 - 0.01*value
  2616. elseif type == "Divide" then
  2617. scaler2 = scaler2 - 0.01/value
  2618. end
  2619. rng.Transparency = rng.Transparency + 0.01
  2620. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2621. end
  2622. rng:Destroy()
  2623. end))
  2624. end
  2625.  
  2626. function wind(type,pos,scale,value,speed)
  2627. local type = type
  2628. local rng = Instance.new("Part", char)
  2629. rng.Anchored = true
  2630. rng.BrickColor = origcolor
  2631. rng.CanCollide = false
  2632. rng.FormFactor = 3
  2633. rng.Name = "Ring"
  2634. rng.Size = Vector3.new(1, 1, 1)
  2635. rng.Transparency = 0
  2636. rng.TopSurface = 0
  2637. rng.BottomSurface = 0
  2638. rng.CFrame = pos
  2639. local rngm = Instance.new("SpecialMesh", rng)
  2640. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2641. rngm.Scale = scale
  2642. local scaler2 = 1
  2643. if type == "Add" then
  2644. scaler2 = 1*value
  2645. elseif type == "Divide" then
  2646. scaler2 = 1/value
  2647. end
  2648. coroutine.resume(coroutine.create(function()
  2649. for i = 0,10,0.1 do
  2650. swait()
  2651. if type == "Add" then
  2652. scaler2 = scaler2 - 0.01*value
  2653. elseif type == "Divide" then
  2654. scaler2 = scaler2 - 0.01/value
  2655. end
  2656. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2657. rng.Transparency = rng.Transparency + 0.01
  2658. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2659. end
  2660. rng:Destroy()
  2661. end))
  2662. end
  2663.  
  2664. function groundwind(type,pos,scale,value,speed)
  2665. local type = type
  2666. local rng = Instance.new("Part", char)
  2667. rng.Anchored = true
  2668. rng.BrickColor = origcolor
  2669. rng.CanCollide = false
  2670. rng.FormFactor = 3
  2671. rng.Name = "Ring"
  2672. rng.Size = Vector3.new(1, 1, 1)
  2673. rng.Transparency = 0
  2674. rng.TopSurface = 0
  2675. rng.BottomSurface = 0
  2676. rng.CFrame = pos
  2677. local rngm = Instance.new("SpecialMesh", rng)
  2678. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2679. rngm.Scale = scale
  2680. local scaler2 = 1
  2681. if type == "Add" then
  2682. scaler2 = 1*value
  2683. elseif type == "Divide" then
  2684. scaler2 = 1/value
  2685. end
  2686. coroutine.resume(coroutine.create(function()
  2687. for i = 0,10,0.1 do
  2688. swait()
  2689. if type == "Add" then
  2690. scaler2 = scaler2 - 0.01*value
  2691. elseif type == "Divide" then
  2692. scaler2 = scaler2 - 0.01/value
  2693. end
  2694. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2695. rng.Transparency = rng.Transparency + 0.01
  2696. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2697. end
  2698. rng:Destroy()
  2699. end))
  2700. end
  2701.  
  2702. function CameraManager()
  2703. if TwoD and not CamInterrupt then
  2704. if Humanoid.Health > 0 then
  2705. Camera.CameraSubject = Humanoid
  2706. Camera.CameraType = "Scriptable"
  2707. Humanoid.AutoRotate = false
  2708. if Booleans.GyroUse then
  2709. Directer.MaxTorque = Vec3(0, huge, 0)
  2710. else
  2711. Directer.MaxTorque = Vec3(0, 0, 0)
  2712. end
  2713. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2714. if Booleans.CamFollow then
  2715. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2716. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2717. else
  2718. CPart.Position = RootPart.Position
  2719. end
  2720. else
  2721. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2722. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2723. end
  2724. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2725. else
  2726. Camera.CameraSubject = Humanoid
  2727. Camera.CameraType = "Custom"
  2728. Controller.Disabled = false
  2729. end
  2730. end
  2731. end
  2732.  
  2733. function ring(type,pos,scale,value)
  2734. local type = type
  2735. local rng = Instance.new("Part", char)
  2736. rng.Anchored = true
  2737. rng.BrickColor = origcolor
  2738. rng.CanCollide = false
  2739. rng.FormFactor = 3
  2740. rng.Name = "Ring"
  2741. rng.Size = Vector3.new(1, 1, 1)
  2742. rng.Transparency = 0
  2743. rng.TopSurface = 0
  2744. rng.BottomSurface = 0
  2745. rng.CFrame = pos
  2746. local rngm = Instance.new("SpecialMesh", rng)
  2747. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2748. rngm.Scale = scale
  2749. local scaler2 = 1
  2750. if type == "Add" then
  2751. scaler2 = 1*value
  2752. elseif type == "Divide" then
  2753. scaler2 = 1/value
  2754. end
  2755. coroutine.resume(coroutine.create(function()
  2756. for i = 0,10,0.1 do
  2757. swait()
  2758. if type == "Add" then
  2759. scaler2 = scaler2 - 0.01*value
  2760. elseif type == "Divide" then
  2761. scaler2 = scaler2 - 0.01/value
  2762. end
  2763. rng.Transparency = rng.Transparency + 0.01
  2764. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2765. end
  2766. rng:Destroy()
  2767. end))
  2768. end
  2769.  
  2770.  
  2771. function wave(type,pos,scale,value)
  2772. local type = type
  2773. local rng = Instance.new("Part", char)
  2774. rng.Anchored = true
  2775. rng.BrickColor = origcolor
  2776. rng.CanCollide = false
  2777. rng.FormFactor = 3
  2778. rng.Name = "Ring"
  2779. rng.Size = Vector3.new(1, 1, 1)
  2780. rng.Transparency = 0
  2781. rng.TopSurface = 0
  2782. rng.BottomSurface = 0
  2783. rng.CFrame = pos
  2784. local rngm = Instance.new("SpecialMesh", rng)
  2785. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2786. rngm.Scale = scale
  2787. local scaler2 = 1
  2788. if type == "Add" then
  2789. scaler2 = 1*value
  2790. elseif type == "Divide" then
  2791. scaler2 = 1/value
  2792. end
  2793. coroutine.resume(coroutine.create(function()
  2794. for i = 0,10,0.1 do
  2795. swait()
  2796. if type == "Add" then
  2797. scaler2 = scaler2 - 0.01*value
  2798. elseif type == "Divide" then
  2799. scaler2 = scaler2 - 0.01/value
  2800. end
  2801. rng.Transparency = rng.Transparency + 0.01
  2802. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2803. end
  2804. rng:Destroy()
  2805. end))
  2806. end
  2807.  
  2808. function sphere(bonuspeed,type,pos,scale,value,color)
  2809. local type = type
  2810. local rng = Instance.new("Part", char)
  2811. rng.Anchored = true
  2812. if ModeOfGlitch ~= 9 then
  2813. rng.BrickColor = color
  2814. elseif ModeOfGlitch == 9 then
  2815. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2816. end
  2817. rng.CanCollide = false
  2818. rng.FormFactor = 3
  2819. rng.Name = "Ring"
  2820. rng.Material = "Neon"
  2821. rng.Size = Vector3.new(1, 1, 1)
  2822. rng.Transparency = 0
  2823. rng.TopSurface = 0
  2824. rng.BottomSurface = 0
  2825. rng.CFrame = pos
  2826. local rngm = Instance.new("SpecialMesh", rng)
  2827. rngm.MeshType = "Sphere"
  2828. rngm.Scale = scale
  2829. if rainbowmode == true then
  2830. rng.Color = Color3.new(r/255,g/255,b/255)
  2831. end
  2832. if ModeOfGlitch == 9 then
  2833. coroutine.resume(coroutine.create(function()
  2834. while true do
  2835. swait()
  2836. if rng.Parent ~= nil then
  2837. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2838. else
  2839. break
  2840. end
  2841. end
  2842. end))
  2843. end
  2844. local scaler2 = 1
  2845. if type == "Add" then
  2846. scaler2 = 1*value
  2847. elseif type == "Divide" then
  2848. scaler2 = 1/value
  2849. end
  2850. coroutine.resume(coroutine.create(function()
  2851. for i = 0,10/bonuspeed,0.1 do
  2852. swait()
  2853. if rainbowmode == true then
  2854. rng.Color = Color3.new(r/255,g/255,b/255)
  2855. end
  2856. if type == "Add" then
  2857. scaler2 = scaler2 - 0.01*value/bonuspeed
  2858. elseif type == "Divide" then
  2859. scaler2 = scaler2 - 0.01/value*bonuspeed
  2860. end
  2861. if chaosmode == true then
  2862. rng.BrickColor = BrickColor.random()
  2863. end
  2864. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2865. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2866. end
  2867. rng:Destroy()
  2868. end))
  2869. end
  2870.  
  2871. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2872. local type = type
  2873. local rng = Instance.new("Part", char)
  2874. rng.Anchored = true
  2875. if ModeOfGlitch ~= 9 then
  2876. rng.BrickColor = color
  2877. elseif ModeOfGlitch == 9 then
  2878. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2879. end
  2880. rng.CanCollide = false
  2881. rng.FormFactor = 3
  2882. rng.Name = "Ring"
  2883. rng.Material = "Neon"
  2884. rng.Size = Vector3.new(1, 1, 1)
  2885. rng.Transparency = 0
  2886. rng.TopSurface = 0
  2887. rng.BottomSurface = 0
  2888. rng.CFrame = pos
  2889. local rngm = Instance.new("SpecialMesh", rng)
  2890. rngm.MeshType = "Sphere"
  2891. rngm.Scale = scale
  2892. local scaler2 = 1
  2893. local scaler2b = 1
  2894. local scaler2c = 1
  2895. if type == "Add" then
  2896. scaler2 = 1*value
  2897. scaler2b = 1*value2
  2898. scaler2c = 1*value3
  2899. elseif type == "Divide" then
  2900. scaler2 = 1/value
  2901. scaler2b = 1/value2
  2902. scaler2c = 1/value3
  2903. end
  2904. if ModeOfGlitch == 9 then
  2905. coroutine.resume(coroutine.create(function()
  2906. while true do
  2907. swait()
  2908. if rng.Parent ~= nil then
  2909. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2910. else
  2911. break
  2912. end
  2913. end
  2914. end))
  2915. end
  2916. coroutine.resume(coroutine.create(function()
  2917. for i = 0,10/bonuspeed,0.1 do
  2918. swait()
  2919. if type == "Add" then
  2920. scaler2 = scaler2 - 0.01*value/bonuspeed
  2921. scaler2b = scaler2b - 0.01*value/bonuspeed
  2922. scaler2c = scaler2c - 0.01*value/bonuspeed
  2923. elseif type == "Divide" then
  2924. scaler2 = scaler2 - 0.01/value*bonuspeed
  2925. scaler2b = scaler2b - 0.01/value*bonuspeed
  2926. scaler2c = scaler2c - 0.01/value*bonuspeed
  2927. end
  2928. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2929. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2930. end
  2931. rng:Destroy()
  2932. end))
  2933. end
  2934.  
  2935. function slash(bonuspeed,rotspeed,rotatingop,typeofshape,type,typeoftrans,pos,scale,value,color)
  2936. local type = type
  2937. local rotenable = rotatingop
  2938. local rng = Instance.new("Part", char)
  2939. rng.Anchored = true
  2940. rng.BrickColor = color
  2941. rng.CanCollide = false
  2942. rng.FormFactor = 3
  2943. rng.Name = "Ring"
  2944. rng.Material = "Neon"
  2945. rng.Size = Vector3.new(1, 1, 1)
  2946. rng.Transparency = 0
  2947. if typeoftrans == "In" then
  2948. rng.Transparency = 1
  2949. end
  2950. rng.TopSurface = 0
  2951. rng.BottomSurface = 0
  2952. rng.CFrame = pos
  2953. local rngm = Instance.new("SpecialMesh", rng)
  2954. rngm.MeshType = "FileMesh"
  2955. if typeofshape == "Normal" then
  2956. rngm.MeshId = "rbxassetid://662586858"
  2957. elseif typeofshape == "Round" then
  2958. rngm.MeshId = "rbxassetid://662585058"
  2959. end
  2960. rngm.Scale = scale
  2961. local scaler2 = 1/10
  2962. if type == "Add" then
  2963. scaler2 = 1*value/10
  2964. elseif type == "Divide" then
  2965. scaler2 = 1/value/10
  2966. end
  2967. local randomrot = math.random(1,2)
  2968. coroutine.resume(coroutine.create(function()
  2969. for i = 0,10/bonuspeed,0.1 do
  2970. swait()
  2971. if type == "Add" then
  2972. scaler2 = scaler2 - 0.01*value/bonuspeed/10
  2973. elseif type == "Divide" then
  2974. scaler2 = scaler2 - 0.01/value*bonuspeed/10
  2975. end
  2976. if rotenable == true then
  2977. if randomrot == 1 then
  2978. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(rotspeed*bonuspeed/2),0)
  2979. elseif randomrot == 2 then
  2980. rng.CFrame = rng.CFrame*CFrame.Angles(0,math.rad(-rotspeed*bonuspeed/2),0)
  2981. end
  2982. end
  2983. if typeoftrans == "Out" then
  2984. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2985. elseif typeoftrans == "In" then
  2986. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2987. end
  2988. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed/10, 0, scaler2*bonuspeed/10)
  2989. end
  2990. rng:Destroy()
  2991. end))
  2992. end
  2993.  
  2994. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2995. local type = type
  2996. local rng = Instance.new("Part", char)
  2997. rng.Anchored = true
  2998. rng.BrickColor = color
  2999. rng.CanCollide = false
  3000. rng.FormFactor = 3
  3001. rng.Name = "Ring"
  3002. rng.Material = "Neon"
  3003. rng.Size = Vector3.new(1, 1, 1)
  3004. rng.Transparency = 0
  3005. rng.TopSurface = 0
  3006. rng.BottomSurface = 0
  3007. rng.CFrame = pos
  3008. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3009. local rngm = Instance.new("SpecialMesh", rng)
  3010. rngm.MeshType = "Brick"
  3011. rngm.Scale = vt(x1,y1,z1)
  3012. if rainbowmode == true then
  3013. rng.Color = Color3.new(r/255,g/255,b/255)
  3014. end
  3015. local scaler2 = 1
  3016. local speeder = FastSpeed/10
  3017. if type == "Add" then
  3018. scaler2 = 1*value
  3019. elseif type == "Divide" then
  3020. scaler2 = 1/value
  3021. end
  3022. coroutine.resume(coroutine.create(function()
  3023. for i = 0,10/bonuspeed,0.1 do
  3024. swait()
  3025. if rainbowmode == true then
  3026. rng.Color = Color3.new(r/255,g/255,b/255)
  3027. end
  3028. if type == "Add" then
  3029. scaler2 = scaler2 - 0.01*value/bonuspeed
  3030. elseif type == "Divide" then
  3031. scaler2 = scaler2 - 0.01/value*bonuspeed
  3032. end
  3033. if chaosmode == true then
  3034. rng.BrickColor = BrickColor.random()
  3035. end
  3036. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3037. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3038. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3039. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3040. end
  3041. rng:Destroy()
  3042. end))
  3043. end
  3044.  
  3045. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3046. local type = type
  3047. local rng = Instance.new("Part", char)
  3048. rng.Anchored = true
  3049. rng.BrickColor = color
  3050. rng.CanCollide = false
  3051. rng.FormFactor = 3
  3052. rng.Name = "Ring"
  3053. rng.Material = "Neon"
  3054. rng.Size = Vector3.new(1, 1, 1)
  3055. rng.Transparency = 0
  3056. rng.TopSurface = 0
  3057. rng.BottomSurface = 0
  3058. rng.CFrame = pos
  3059. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3060. local rngm = Instance.new("SpecialMesh", rng)
  3061. rngm.MeshType = "Brick"
  3062. rngm.Scale = vt(x1,y1,z1)
  3063. if rainbowmode == true then
  3064. rng.Color = Color3.new(r/255,g/255,b/255)
  3065. end
  3066. local scaler2 = 1
  3067. local speeder = FastSpeed/10
  3068. if type == "Add" then
  3069. scaler2 = 1*value
  3070. elseif type == "Divide" then
  3071. scaler2 = 1/value
  3072. end
  3073. coroutine.resume(coroutine.create(function()
  3074. for i = 0,10/bonuspeed,0.1 do
  3075. swait()
  3076. if rainbowmode == true then
  3077. rng.Color = Color3.new(r/255,g/255,b/255)
  3078. end
  3079. if type == "Add" then
  3080. scaler2 = scaler2 - 0.01*value/bonuspeed
  3081. elseif type == "Divide" then
  3082. scaler2 = scaler2 - 0.01/value*bonuspeed
  3083. end
  3084. if chaosmode == true then
  3085. rng.BrickColor = BrickColor.random()
  3086. end
  3087. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3088. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3089. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3090. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3091. end
  3092. rng:Destroy()
  3093. end))
  3094. end
  3095.  
  3096. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3097. local type = type
  3098. local rng = Instance.new("Part", char)
  3099. rng.Anchored = true
  3100. rng.BrickColor = color
  3101. rng.CanCollide = false
  3102. rng.FormFactor = 3
  3103. rng.Name = "Ring"
  3104. rng.Material = "Neon"
  3105. rng.Size = Vector3.new(1, 1, 1)
  3106. rng.Transparency = 0
  3107. rng.TopSurface = 0
  3108. rng.BottomSurface = 0
  3109. rng.CFrame = pos
  3110. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3111. local rngm = Instance.new("SpecialMesh", rng)
  3112. rngm.MeshType = "Brick"
  3113. rngm.Scale = vt(x1,y1,z1)
  3114. if rainbowmode == true then
  3115. rng.Color = Color3.new(r/255,g/255,b/255)
  3116. end
  3117. local scaler2 = 0
  3118. local speeder = FastSpeed/10
  3119. if type == "Add" then
  3120. scaler2 = 1*value
  3121. elseif type == "Divide" then
  3122. scaler2 = 1/value
  3123. end
  3124. coroutine.resume(coroutine.create(function()
  3125. for i = 0,10/bonuspeed,0.1 do
  3126. swait()
  3127. if rainbowmode == true then
  3128. rng.Color = Color3.new(r/255,g/255,b/255)
  3129. end
  3130. if type == "Add" then
  3131. scaler2 = scaler2 - 0.01*value/bonuspeed
  3132. elseif type == "Divide" then
  3133. scaler2 = scaler2 - 0.01/value*bonuspeed
  3134. end
  3135. if chaosmode == true then
  3136. rng.BrickColor = BrickColor.random()
  3137. end
  3138. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3139. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3140. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3141. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3142. end
  3143. rng:Destroy()
  3144. end))
  3145. end
  3146.  
  3147. function block(bonuspeed,type,pos,scale,value,value2,value3,color,color3)
  3148. local type = type
  3149. local rng = Instance.new("Part", char)
  3150. rng.Anchored = true
  3151. rng.BrickColor = color
  3152. rng.Color = color3
  3153. rng.CanCollide = false
  3154. rng.FormFactor = 3
  3155. rng.Name = "Ring"
  3156. rng.Material = "Neon"
  3157. rng.Size = Vector3.new(1, 1, 1)
  3158. rng.Transparency = 0
  3159. rng.TopSurface = 0
  3160. rng.BottomSurface = 0
  3161. rng.CFrame = pos
  3162. local rngm = Instance.new("SpecialMesh", rng)
  3163. rngm.MeshType = "Brick"
  3164. rngm.Scale = scale
  3165. local scaler2 = 1
  3166. local scaler2b = 1
  3167. local scaler2c = 1
  3168. if type == "Add" then
  3169. scaler2 = 1*value
  3170. scaler2b = 1*value2
  3171. scaler2c = 1*value3
  3172. elseif type == "Divide" then
  3173. scaler2 = 1/value
  3174. scaler2b = 1/value2
  3175. scaler2c = 1/value3
  3176. end
  3177. coroutine.resume(coroutine.create(function()
  3178. for i = 0,10/bonuspeed,0.1 do
  3179. swait()
  3180. if type == "Add" then
  3181. scaler2 = scaler2 - 0.01*value/bonuspeed
  3182. scaler2b = scaler2b - 0.01*value/bonuspeed
  3183. scaler2c = scaler2c - 0.01*value/bonuspeed
  3184. elseif type == "Divide" then
  3185. scaler2 = scaler2 - 0.01/value*bonuspeed
  3186. scaler2b = scaler2b - 0.01/value*bonuspeed
  3187. scaler2c = scaler2c - 0.01/value*bonuspeed
  3188. end
  3189. rng.CFrame = rng.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3190. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3191. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  3192. end
  3193. rng:Destroy()
  3194. end))
  3195. end
  3196.  
  3197. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3198. local type = type
  3199. local rng = Instance.new("Part", char)
  3200. rng.Anchored = true
  3201. if ModeOfGlitch ~= 9 then
  3202. rng.BrickColor = color
  3203. elseif ModeOfGlitch == 9 then
  3204. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3205. end
  3206. rng.CanCollide = false
  3207. rng.FormFactor = 3
  3208. rng.Name = "Ring"
  3209. rng.Material = "Neon"
  3210. rng.Size = Vector3.new(1, 1, 1)
  3211. rng.Transparency = 0
  3212. rng.TopSurface = 0
  3213. rng.BottomSurface = 0
  3214. rng.CFrame = pos
  3215. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3216. local rngm = Instance.new("SpecialMesh", rng)
  3217. rngm.MeshType = "Sphere"
  3218. rngm.Scale = vt(x1,y1,z1)
  3219. if rainbowmode == true then
  3220. rng.Color = Color3.new(r/255,g/255,b/255)
  3221. end
  3222. if ModeOfGlitch == 9 then
  3223. coroutine.resume(coroutine.create(function()
  3224. while true do
  3225. swait()
  3226. if rng.Parent ~= nil then
  3227. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3228. else
  3229. break
  3230. end
  3231. end
  3232. end))
  3233. end
  3234. local scaler2 = 1
  3235. local speeder = FastSpeed
  3236. if type == "Add" then
  3237. scaler2 = 1*value
  3238. elseif type == "Divide" then
  3239. scaler2 = 1/value
  3240. end
  3241. coroutine.resume(coroutine.create(function()
  3242. for i = 0,10/bonuspeed,0.1 do
  3243. swait()
  3244. if rainbowmode == true then
  3245. rng.Color = Color3.new(r/255,g/255,b/255)
  3246. end
  3247. if type == "Add" then
  3248. scaler2 = scaler2 - 0.01*value/bonuspeed
  3249. elseif type == "Divide" then
  3250. scaler2 = scaler2 - 0.01/value*bonuspeed
  3251. end
  3252. if chaosmode == true then
  3253. rng.BrickColor = BrickColor.random()
  3254. end
  3255. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3256. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3257. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3258. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3259. end
  3260. rng:Destroy()
  3261. end))
  3262. end
  3263.  
  3264.  
  3265. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3266. local type = type
  3267. local rng = Instance.new("Part", char)
  3268. rng.Anchored = true
  3269. if ModeOfGlitch ~= 9 then
  3270. rng.BrickColor = color
  3271. elseif ModeOfGlitch == 9 then
  3272. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3273. end
  3274. rng.CanCollide = false
  3275. rng.FormFactor = 3
  3276. rng.Name = "Ring"
  3277. rng.Material = "Neon"
  3278. rng.Size = Vector3.new(1, 1, 1)
  3279. rng.Transparency = 1
  3280. rng.TopSurface = 0
  3281. rng.BottomSurface = 0
  3282. rng.CFrame = pos
  3283. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3284. local rngm = Instance.new("SpecialMesh", rng)
  3285. rngm.MeshType = "Sphere"
  3286. rngm.Scale = vt(x1,y1,z1)
  3287. if rainbowmode == true then
  3288. rng.Color = Color3.new(r/255,g/255,b/255)
  3289. end
  3290. if ModeOfGlitch == 9 then
  3291. coroutine.resume(coroutine.create(function()
  3292. while true do
  3293. swait()
  3294. if rng.Parent ~= nil then
  3295. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  3296. else
  3297. break
  3298. end
  3299. end
  3300. end))
  3301. end
  3302. local scaler2 = 1
  3303. local speeder = FastSpeed
  3304. if type == "Add" then
  3305. scaler2 = 1*value
  3306. elseif type == "Divide" then
  3307. scaler2 = 1/value
  3308. end
  3309. coroutine.resume(coroutine.create(function()
  3310. for i = 0,10/bonuspeed,0.1 do
  3311. swait()
  3312. if rainbowmode == true then
  3313. rng.Color = Color3.new(r/255,g/255,b/255)
  3314. end
  3315. if type == "Add" then
  3316. scaler2 = scaler2 - 0.01*value/bonuspeed
  3317. elseif type == "Divide" then
  3318. scaler2 = scaler2 - 0.01/value*bonuspeed
  3319. end
  3320. if chaosmode == true then
  3321. rng.BrickColor = BrickColor.random()
  3322. end
  3323. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3324. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3325. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3326. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3327. end
  3328. rng:Destroy()
  3329. end))
  3330. end
  3331.  
  3332. function dmg(dude)
  3333. if dude.Name ~= Character then
  3334. local keptcolor = MAINRUINCOLOR
  3335. local bgf = Instance.new("BodyGyro",dude.Head)
  3336. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3337. --[[local val = Instance.new("BoolValue",dude)
  3338. val.Name = "IsHit"]]--
  3339. local ds = coroutine.wrap(function()
  3340. dude:WaitForChild("Head"):BreakJoints()
  3341. for i, v in pairs(dude:GetChildren()) do
  3342. if v:IsA("Part") or v:IsA("MeshPart") then
  3343. v.Name = "DEMINISHED"
  3344. end
  3345. end
  3346. wait(0.5)
  3347. targetted = nil
  3348. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  3349. coroutine.resume(coroutine.create(function()
  3350. for i, v in pairs(dude:GetChildren()) do
  3351. if v:IsA("Accessory") then
  3352. v:Destroy()
  3353. end
  3354. if v:IsA("Humanoid") then
  3355. v:Destroy()
  3356. end
  3357. if v:IsA("CharacterMesh") then
  3358. v:Destroy()
  3359. end
  3360. if v:IsA("Model") then
  3361. v:Destroy()
  3362. end
  3363. if v:IsA("Part") or v:IsA("MeshPart") then
  3364. for x, o in pairs(v:GetChildren()) do
  3365. if o:IsA("Decal") then
  3366. o:Destroy()
  3367. end
  3368. end
  3369. coroutine.resume(coroutine.create(function()
  3370. v.Material = "Neon"
  3371. v.CanCollide = false
  3372. v.Anchored = false
  3373. local bld = Instance.new("ParticleEmitter",v)
  3374. bld.LightEmission = 0.75
  3375. bld.Texture = "rbxassetid://363275192" ---284205403
  3376. bld.Color = ColorSequence.new(keptcolor.Color)
  3377. bld.Rate = 500
  3378. bld.Lifetime = NumberRange.new(1)
  3379. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  3380. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  3381. bld.Speed = NumberRange.new(2,5)
  3382. bld.VelocitySpread = 50000
  3383. bld.Rotation = NumberRange.new(-500,500)
  3384. bld.RotSpeed = NumberRange.new(-500,500)
  3385. local sbs = Instance.new("BodyPosition", v)
  3386. sbs.P = 3000
  3387. sbs.D = 1000
  3388. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3389. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  3390. v.Color = keptcolor.Color
  3391. coroutine.resume(coroutine.create(function()
  3392. for i = 0, 49 do
  3393. swait(1)
  3394. v:BreakJoints()
  3395. v.Transparency = v.Transparency + 0.02
  3396. end
  3397. v:BreakJoints()
  3398. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  3399. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  3400. bld.Speed = NumberRange.new(10,25)
  3401. bld.Drag = 5
  3402. bld.Acceleration = vt(0,2,0)
  3403. wait(0.5)
  3404. bld.Enabled = false
  3405. wait(8)
  3406. v:Destroy()
  3407. dude:Destroy()
  3408. end))
  3409. end))
  3410. end
  3411. end
  3412. end))
  3413. end)
  3414. ds()
  3415. end
  3416. end
  3417.  
  3418.  
  3419. function FindNearestHead(Position, Distance, SinglePlayer)
  3420. if SinglePlayer then
  3421. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3422. end
  3423. local List = {}
  3424. for i, v in pairs(workspace:GetChildren()) do
  3425. if v:IsA("Model") then
  3426. if v:findFirstChild("Head") then
  3427. if v ~= Character then
  3428. if (v.Head.Position - Position).magnitude <= Distance then
  3429. table.insert(List, v)
  3430. end
  3431. end
  3432. end
  3433. end
  3434. end
  3435. return List
  3436. end
  3437.  
  3438. function FaceMouse()
  3439. Cam = workspace.CurrentCamera
  3440. return {
  3441. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3442. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3443. }
  3444. end
  3445.  
  3446. function FaceMouse2()
  3447. Cam = workspace.CurrentCamera
  3448. return {
  3449. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3450. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3451. }
  3452. end
  3453.  
  3454. local ModeOfGlitch = 1
  3455. -- Functions are ready.
  3456. local storehumanoidWS = 16
  3457.  
  3458. function CorruptBlink()
  3459. for i = 0, 14 do
  3460. 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)
  3461. end
  3462. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3463. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3464. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3465. CameraEnshaking(2,10)
  3466. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3467. if v:FindFirstChild('Head') then
  3468. dmg(v)
  3469. end
  3470. end
  3471. for i = 0, 14 do
  3472. 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)
  3473. end
  3474. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3475. end
  3476. function PureBomb()
  3477. attack = true
  3478. hum.WalkSpeed = 0
  3479. local orb = Instance.new("Part", char)
  3480. orb.Anchored = true
  3481. orb.BrickColor = BrickColor.new("Toothpaste")
  3482. orb.CanCollide = false
  3483. orb.FormFactor = 3
  3484. orb.Name = "Ring"
  3485. orb.Material = "Neon"
  3486. orb.Size = Vector3.new(1, 1, 1)
  3487. orb.Transparency = 0
  3488. orb.TopSurface = 0
  3489. orb.BottomSurface = 0
  3490. local orbm = Instance.new("SpecialMesh", orb)
  3491. orbm.MeshType = "Sphere"
  3492. orbm.Name = "SizeMesh"
  3493. orbm.Scale = vt(0,0,0)
  3494. local scaled = 0.1
  3495. local posid = 0
  3496. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3497. for i = 0, 5, 0.1 do
  3498. swait()
  3499. scaled = scaled - 0.001
  3500. posid = posid - scaled
  3501. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3502. local scaled = 0.1
  3503. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3504. 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)
  3505. 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)
  3506. 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)
  3507. 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)
  3508. 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)
  3509. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3510. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3511. 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)
  3512. end
  3513. for i = 0, 2, 0.1 do
  3514. swait()
  3515. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3516. 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)
  3517. 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)
  3518. 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)
  3519. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3520. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3521. 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)
  3522. end
  3523. coroutine.resume(coroutine.create(function()
  3524. orb.Anchored = false
  3525. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3526. local a = Instance.new("Part",workspace)
  3527. a.Name = "Direction"
  3528. a.Anchored = true
  3529. a.BrickColor = bc("Bright red")
  3530. a.Material = "Neon"
  3531. a.Transparency = 1
  3532. a.CanCollide = false
  3533. local ray = Ray.new(
  3534. orb.CFrame.p, -- origin
  3535. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3536. )
  3537. local ignore = orb
  3538. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3539. a.BottomSurface = 10
  3540. a.TopSurface = 10
  3541. local distance = (orb.CFrame.p - position).magnitude
  3542. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3543. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3544. orb.CFrame = a.CFrame
  3545. a:Destroy()
  3546. local bv = Instance.new("BodyVelocity")
  3547. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3548. bv.velocity = orb.CFrame.lookVector*125
  3549. bv.Parent = orb
  3550. local hitted = false
  3551. game:GetService("Debris"):AddItem(orb, 15)
  3552. wait()
  3553. local hit =orb.Touched:connect(function(hit)
  3554. if hitted == false then
  3555. hitted = true
  3556. CameraEnshaking(10,2.5)
  3557. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3558. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3559. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3560. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3561. for i = 0, 49 do
  3562. 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)
  3563. end
  3564. for i = 0, 9 do
  3565. 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)
  3566. 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)
  3567. end
  3568. orb.Anchored = true
  3569. orb.Transparency = 1
  3570. wait(8)
  3571. orb:Destroy()
  3572. end
  3573. end)
  3574. end))
  3575. for i = 0, 1, 0.1 do
  3576. swait()
  3577. 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)
  3578. 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)
  3579. 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)
  3580. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3581. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3582. 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)
  3583. end
  3584. hum.WalkSpeed = storehumanoidWS
  3585. attack = false
  3586. end
  3587.  
  3588. function BanishingOrb()
  3589. attack = true
  3590. hum.WalkSpeed = 0
  3591. local orb = Instance.new("Part", char)
  3592. orb.Anchored = true
  3593. orb.BrickColor = BrickColor.new("Black")
  3594. orb.CanCollide = false
  3595. orb.FormFactor = 3
  3596. orb.Name = "Ring"
  3597. orb.Material = "Neon"
  3598. orb.Size = Vector3.new(1, 1, 1)
  3599. orb.Transparency = 0
  3600. orb.TopSurface = 0
  3601. orb.BottomSurface = 0
  3602. local orbm = Instance.new("SpecialMesh", orb)
  3603. orbm.MeshType = "Sphere"
  3604. orbm.Name = "SizeMesh"
  3605. orbm.Scale = vt(0,0,0)
  3606. local scaled = 0.1
  3607. local posid = 0
  3608. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5,0.9)
  3609. for i = 0, 5, 0.1 do
  3610. swait()
  3611. scaled = scaled - 0.001
  3612. posid = posid - scaled
  3613. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3614. local scaled = 0.1
  3615. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3616. 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)
  3617. 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)
  3618. 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)
  3619. 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)
  3620. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3621. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3622. 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)
  3623. end
  3624. for i = 0, 2, 0.1 do
  3625. swait()
  3626. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3627. 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)
  3628. 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)
  3629. 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)
  3630. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3631. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3632. 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)
  3633. end
  3634. coroutine.resume(coroutine.create(function()
  3635. orb.Anchored = false
  3636. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,0.75)
  3637. local a = Instance.new("Part",workspace)
  3638. a.Name = "Direction"
  3639. a.Anchored = true
  3640. a.BrickColor = bc("Bright red")
  3641. a.Material = "Neon"
  3642. a.Transparency = 1
  3643. a.CanCollide = false
  3644. local ray = Ray.new(
  3645. orb.CFrame.p, -- origin
  3646. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3647. )
  3648. local ignore = orb
  3649. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3650. a.BottomSurface = 10
  3651. a.TopSurface = 10
  3652. local distance = (orb.CFrame.p - position).magnitude
  3653. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3654. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3655. orb.CFrame = a.CFrame
  3656. a:Destroy()
  3657. local bv = Instance.new("BodyVelocity")
  3658. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3659. bv.velocity = orb.CFrame.lookVector*0
  3660. bv.Parent = orb
  3661. local hitted = false
  3662. local rate = 0
  3663. coroutine.resume(coroutine.create(function()
  3664. for i = 0, 24 do
  3665. wait(0.1)
  3666. rate = rate + 0.25
  3667. bv.velocity = bv.velocity + orb.CFrame.lookVector*rate
  3668. for i, v in pairs(FindNearestHead(orb.CFrame.p, 15)) do
  3669. if v:FindFirstChild('Head') then
  3670. dmg(v)
  3671. end
  3672. end
  3673. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 2.5,0.9)
  3674. sphere(2,"Add",orb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3675. sphere(3,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3676. end
  3677. orb.Anchored = true
  3678. orb.Transparency = 1
  3679. for i, v in pairs(FindNearestHead(orb.CFrame.p, 32)) do
  3680. if v:FindFirstChild('Head') then
  3681. dmg(v)
  3682. end
  3683. end
  3684. local eff = Instance.new("ParticleEmitter",orb)
  3685. eff.Texture = "rbxassetid://296874871"
  3686. eff.LightEmission = 0.95
  3687. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3688. eff.Rate = 1000000000
  3689. eff.Lifetime = NumberRange.new(3)
  3690. 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)})
  3691. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3692. eff.Speed = NumberRange.new(30)
  3693. eff.Acceleration = vt(0,-15,0)
  3694. eff.Rotation = NumberRange.new(-500,500)
  3695. eff.VelocitySpread = 100000
  3696. eff.RotSpeed = NumberRange.new(-500,500)
  3697. coroutine.resume(coroutine.create(function()
  3698. wait(0.6)
  3699. eff.Enabled = false
  3700. end))
  3701. CFuncs["Sound"].Create("rbxassetid://1177785010", orb, 8,0.6)
  3702. CFuncs["Sound"].Create("rbxassetid://438666141", orb, 7.5,0.9)
  3703. sphere(1,"Add",orb.CFrame,vt(0,0,0),0.75,MAINRUINCOLOR)
  3704. sphere(1.5,"Add",orb.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3705. sphere(2,"Add",orb.CFrame,vt(0,0,0),1.25,MAINRUINCOLOR)
  3706. game:GetService("Debris"):AddItem(orb, 15)
  3707. end))
  3708. end))
  3709. for i = 0, 1, 0.1 do
  3710. swait()
  3711. 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)
  3712. 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)
  3713. 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)
  3714. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3715. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3716. 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)
  3717. end
  3718. hum.WalkSpeed = storehumanoidWS
  3719. attack = false
  3720. end
  3721.  
  3722.  
  3723. function ChaosGroundStrike()
  3724. attack = true
  3725. for i = 0, 2, 0.1 do
  3726. swait()
  3727. 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)
  3728. 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)
  3729. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3730. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3731. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3732. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3733. end
  3734. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3735. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3736. CameraEnshaking(4,12)
  3737. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3738. if v:FindFirstChild('Head') then
  3739. dmg(v)
  3740. end
  3741. end
  3742. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3743. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3744. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3745. for i = 0, 2, 0.1 do
  3746. swait()
  3747. 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)
  3748. 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)
  3749. 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)
  3750. 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)
  3751. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3752. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3753. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3754. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3755. end
  3756. attack = false
  3757. end
  3758.  
  3759.  
  3760.  
  3761. function Starfall()
  3762. attack = true
  3763. hum.WalkSpeed = 0
  3764. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3765. for i = 0, 5, 0.1 do
  3766. swait()
  3767. 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)
  3768. 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)
  3769. 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)
  3770. 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)
  3771. 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)
  3772. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3773. 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)
  3774. 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)
  3775. end
  3776. local Overed = false
  3777. CameraEnshaking(2,20)
  3778. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3779. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3780. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3781. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3782. local orb = Instance.new("Part", char)
  3783. orb.Anchored = true
  3784. orb.BrickColor = BrickColor.new("Toothpaste")
  3785. orb.CanCollide = false
  3786. orb.FormFactor = 3
  3787. orb.Name = "Remenant"
  3788. orb.Material = "Neon"
  3789. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3790. orb.Size = Vector3.new(1, 1, 1)
  3791. orb.Transparency = 1
  3792. orb.TopSurface = 0
  3793. orb.BottomSurface = 0
  3794. hum.WalkSpeed = storehumanoidWS
  3795. coroutine.resume(coroutine.create(function()
  3796. for i = 0, 9 do
  3797. swait(10)
  3798. local lb = Instance.new("Part")
  3799. lb.Color = MAINRUINCOLOR.Color
  3800. lb.CanCollide = false
  3801. lb.Material = "Neon"
  3802. lb.Anchored = true
  3803. lb.TopSurface = 0
  3804. lb.BottomSurface = 0
  3805. lb.Transparency = 0
  3806. lb.Size = vt(1,1,1)
  3807. 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)))
  3808. lb.Anchored = false
  3809. lb.Parent = char
  3810. local thingery = Instance.new("SpecialMesh",lb)
  3811. thingery.MeshType = "Sphere"
  3812. thingery.Scale = vt(20,20,20)
  3813. game:GetService("Debris"):AddItem(lb, 10)
  3814. local bv = Instance.new("BodyVelocity")
  3815. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3816. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3817. bv.Parent = lb
  3818. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3819. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3820. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3821. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3822. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3823. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3824. local hitted = false
  3825. coroutine.resume(coroutine.create(function()
  3826. while true do
  3827. swait(1)
  3828. if lb.Parent ~= nil and hitted == false then
  3829. 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)
  3830. elseif lb.Parent == nil then
  3831. break
  3832. end
  3833. end
  3834. end))
  3835.  
  3836. game:GetService("Debris"):AddItem(a, 0.1)
  3837.  
  3838. coroutine.resume(coroutine.create(function()
  3839. swait(1)
  3840. lb.Touched:connect(function(hit)
  3841. if hitted == false then
  3842. hitted = true
  3843. lb.Transparency = 1
  3844. lb.Anchored = true
  3845. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3846. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3847. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3848. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3849. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3850. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3851. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3852. CameraEnshaking(1,5)
  3853. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3854. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3855. for i = 0, 9 do
  3856. 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)
  3857. end
  3858. for i = 0, 49 do
  3859. swait()
  3860. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3861. 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)
  3862. end
  3863. end
  3864. end)
  3865. end))
  3866. end
  3867. Overed = true
  3868. orb:Destroy()
  3869. end))
  3870.  
  3871. attack = false
  3872. end
  3873.  
  3874. function StarfallEX()
  3875. attack = true
  3876. hum.WalkSpeed = 0
  3877. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 0.7)
  3878. for i = 0, 10, 0.1 do
  3879. swait()
  3880. 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)
  3881. 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)
  3882. 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)
  3883. 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)
  3884. 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)
  3885. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3886. 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)
  3887. 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)
  3888. end
  3889. local Overed = false
  3890. CameraEnshaking(2,20)
  3891. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3892. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3893. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  3894. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 0.9)
  3895. local orb = Instance.new("Part", char)
  3896. orb.Anchored = true
  3897. orb.BrickColor = BrickColor.new("Toothpaste")
  3898. orb.CanCollide = false
  3899. orb.FormFactor = 3
  3900. orb.Name = "Remenant"
  3901. orb.Material = "Neon"
  3902. orb.CFrame = root.CFrame*CFrame.new(0,250,0)
  3903. orb.Size = Vector3.new(1, 1, 1)
  3904. orb.Transparency = 1
  3905. orb.TopSurface = 0
  3906. orb.BottomSurface = 0
  3907. hum.WalkSpeed = storehumanoidWS
  3908. coroutine.resume(coroutine.create(function()
  3909. for i = 0, 4 do
  3910. swait(15)
  3911. local lb = Instance.new("Part")
  3912. lb.Color = MAINRUINCOLOR.Color
  3913. lb.CanCollide = false
  3914. lb.Material = "Neon"
  3915. lb.Anchored = true
  3916. lb.TopSurface = 0
  3917. lb.BottomSurface = 0
  3918. lb.Transparency = 0
  3919. lb.Size = vt(1,1,1)
  3920. 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)))
  3921. lb.Anchored = false
  3922. lb.Parent = char
  3923. local thingery = Instance.new("SpecialMesh",lb)
  3924. thingery.MeshType = "Sphere"
  3925. thingery.Scale = vt(50,50,50)
  3926. game:GetService("Debris"):AddItem(lb, 10)
  3927. local bv = Instance.new("BodyVelocity")
  3928. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3929. bv.velocity = lb.CFrame.lookVector*math.random(50,420)
  3930. bv.Parent = lb
  3931. sphere(2.5,"Add",lb.CFrame,vt(100,100,0),0.25,MAINRUINCOLOR)
  3932. sphere(5,"Add",lb.CFrame,vt(100,100,0),0.5,MAINRUINCOLOR)
  3933. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 0.9)
  3934. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 0.9)
  3935. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 0.9)
  3936. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 0.9)
  3937. local hitted = false
  3938. coroutine.resume(coroutine.create(function()
  3939. while true do
  3940. swait(1)
  3941. if lb.Parent ~= nil and hitted == false then
  3942. 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)
  3943. elseif lb.Parent == nil then
  3944. break
  3945. end
  3946. end
  3947. end))
  3948.  
  3949. game:GetService("Debris"):AddItem(a, 0.1)
  3950.  
  3951. coroutine.resume(coroutine.create(function()
  3952. swait(1)
  3953. lb.Touched:connect(function(hit)
  3954. if hitted == false then
  3955. hitted = true
  3956. lb.Transparency = 1
  3957. lb.Anchored = true
  3958. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 0.9)
  3959. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.6)
  3960. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.65)
  3961. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.65)
  3962. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 0.9)
  3963. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.75)
  3964. MagniDamage(lb, 50, 60,99, 0, "Normal")
  3965. CameraEnshaking(1,5)
  3966. sphere(4,"Add",lb.CFrame,vt(50,50,50),2,MAINRUINCOLOR)
  3967. sphere(8,"Add",lb.CFrame,vt(50,50,50),4,MAINRUINCOLOR)
  3968. for i = 0, 9 do
  3969. 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)
  3970. end
  3971. for i = 0, 99 do
  3972. swait()
  3973. MagniDamage(lb, 30, 6,18, 0, "Normal")
  3974. 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)
  3975. end
  3976. end
  3977. end)
  3978. end))
  3979. end
  3980. Overed = true
  3981. orb:Destroy()
  3982. end))
  3983.  
  3984. attack = false
  3985. end
  3986.  
  3987. function DivineBlast()
  3988. attack = true
  3989. hum.WalkSpeed = 0
  3990. local elocacenter = CreateParta(sorb,1,1,"SmoothPlastic",BrickColor.random())
  3991. elocacenter.Anchored = true
  3992. elocacenter.CFrame = sorb.CFrame
  3993. local eloca1 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3994. eloca1.Anchored = true
  3995. eloca1.CFrame = elocacenter.CFrame
  3996. local eloca2 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  3997. eloca2.Anchored = true
  3998. eloca2.CFrame = elocacenter.CFrame
  3999. local eloca3 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4000. eloca3.Anchored = true
  4001. eloca3.CFrame = elocacenter.CFrame
  4002. local eloca4 = CreateParta(elocacenter,1,1,"SmoothPlastic",BrickColor.random())
  4003. eloca4.Anchored = true
  4004. eloca4.CFrame = elocacenter.CFrame
  4005. local lookavec = 0
  4006. local speeds = 0
  4007. CFuncs["Sound"].Create("rbxassetid://1192402877", sorb, 1.5, 1)
  4008. for i = 0, 3, 0.1 do
  4009. swait()
  4010. ---
  4011. lookavec = lookavec + 0.1
  4012. speeds = speeds + 10
  4013. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4014. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4015. 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)
  4016.  
  4017. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4018. 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)
  4019.  
  4020. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4021. 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)
  4022.  
  4023. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4024. 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)
  4025. ---
  4026. root.CFrame = FaceMouse()[1]
  4027. 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)
  4028. 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)
  4029. 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)
  4030. 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)
  4031. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4032. 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)
  4033. end
  4034. for i = 0, 3, 0.1 do
  4035. swait()
  4036. ---
  4037. speeds = speeds + 10
  4038. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4039. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4040. 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)
  4041.  
  4042. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4043. 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)
  4044.  
  4045. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4046. 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)
  4047.  
  4048. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4049. 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)
  4050. ---
  4051. root.CFrame = FaceMouse()[1]
  4052. 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)
  4053. 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)
  4054. 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)
  4055. 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)
  4056. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.1)
  4057. 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)
  4058. end
  4059. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 1,1)
  4060. for i = 0, 3, 0.1 do
  4061. swait()
  4062. ---
  4063. speeds = speeds + 10
  4064. elocacenter.CFrame = sorb.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4065. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4066. 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)
  4067.  
  4068. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4069. 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)
  4070.  
  4071. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4072. 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)
  4073.  
  4074. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4075. 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)
  4076. ---
  4077. root.CFrame = FaceMouse()[1]
  4078. 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)
  4079. 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)
  4080. 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)
  4081. 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)
  4082. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(40)),.1)
  4083. 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)
  4084. end
  4085. coroutine.resume(coroutine.create(function()
  4086. local a = Instance.new("Part",Character)
  4087. a.Name = "Direction"
  4088. a.Anchored = true
  4089. a.BrickColor = bc("White")
  4090. a.Material = "Neon"
  4091. a.Transparency = 0
  4092. a.Shape = "Cylinder"
  4093. a.CanCollide = false
  4094. local a2 = Instance.new("Part",Character)
  4095. a2.Name = "Direction"
  4096. a2.Anchored = true
  4097. a2.BrickColor = bc("Bright yellow")
  4098. a2.Material = "Neon"
  4099. a2.Transparency = 0
  4100. a2.Shape = "Cylinder"
  4101. a2.CanCollide = false
  4102. local b = Instance.new("Part",Character)
  4103. b.Name = "HitDirect"
  4104. b.Anchored = true
  4105. b.BrickColor = bc("Cool yellow")
  4106. b.Material = "Neon"
  4107. b.Transparency = 1
  4108. b.CanCollide = false
  4109. local ray = Ray.new(
  4110. elocacenter.CFrame.p, -- origin
  4111. (mouse.Hit.p - elocacenter.CFrame.p).unit * 1000 -- direction
  4112. )
  4113. local ignore = Character
  4114. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4115. a.BottomSurface = 10
  4116. a.TopSurface = 10
  4117. a2.BottomSurface = 10
  4118. a2.TopSurface = 10
  4119. local distance = (elocacenter.CFrame.p - position).magnitude
  4120. a.Size = Vector3.new(distance, 1, 1)
  4121. a.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4122. a2.Size = Vector3.new(distance, 1, 1)
  4123. a2.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4124. b.CFrame = CFrame.new(elocacenter.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4125. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4126. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4127. game:GetService("Debris"):AddItem(a, 10)
  4128. game:GetService("Debris"):AddItem(a2, 10)
  4129. game:GetService("Debris"):AddItem(b, 10)
  4130. local msh = Instance.new("SpecialMesh",a)
  4131. msh.MeshType = "Cylinder"
  4132. msh.Scale = vt(1,2,2)
  4133. local msh2 = Instance.new("SpecialMesh",a2)
  4134. msh2.MeshType = "Cylinder"
  4135. msh2.Scale = vt(1,2.5,2.5)
  4136. CFuncs["Sound"].Create("rbxassetid://376970418", sorb, 2, 0.75)
  4137. coroutine.resume(coroutine.create(function()
  4138. for i = 0,10,0.1 do
  4139. swait()
  4140. msh.Scale = msh.Scale + vt(0,0.05,0.05)
  4141. a.Transparency = a.Transparency + 0.025
  4142. msh2.Scale = msh2.Scale + vt(0,0.25,0.25)
  4143. a2.Transparency = a2.Transparency + 0.05
  4144. end
  4145. a:Destroy()
  4146. a2:Destroy()
  4147. end))
  4148. CFuncs["Sound"].Create("rbxassetid://1177785010", b, 3, 1)
  4149. CFuncs["Sound"].Create("rbxassetid://192410089", b, 3, 0.7)
  4150. CFuncs["Sound"].Create("rbxassetid://579687077", b, 0.5, 0.75)
  4151. CFuncs["Sound"].Create("rbxassetid://1060191237", b, 1, 0.75)
  4152. CFuncs["Sound"].Create("rbxassetid://164881112", b, 3, 1)
  4153. CFuncs["Sound"].Create("rbxassetid://429123896", b, 1.5, 0.85)
  4154. MagniDamage(b, 25, 40,65, 0, "Normal")
  4155. for i = 0, 49 do
  4156. 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)
  4157. 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)
  4158. end
  4159. sphere(1,"Add",b.CFrame,vt(4,4,4),0.1,BrickColor.new("White"))
  4160. sphere(1,"Add",b.CFrame,vt(5,5,5),0.25,BrickColor.new("Bright yellow"))
  4161. sphere(1,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4162. sphere(2,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4163. sphere(3,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4164. sphere(4,"Add",b.CFrame,vt(5,5,5),0.5,BrickColor.new("Bright yellow"))
  4165. end))
  4166. game:GetService("Debris"):AddItem(elocacenter, 5)
  4167. hum.WalkSpeed = storehumanoidWS
  4168. attack = false
  4169. end
  4170.  
  4171. function StarDivision()
  4172. attack = true
  4173. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  4174. for i = 0, 2, 0.1 do
  4175. swait()
  4176. 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)
  4177. 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)
  4178. 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)
  4179. 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)
  4180. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  4181. 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)
  4182. end
  4183. local orb = Instance.new("Part", char)
  4184. orb.BrickColor = MAINRUINCOLOR
  4185. orb.CanCollide = false
  4186. orb.FormFactor = 3
  4187. orb.Name = "Ring"
  4188. orb.Material = "Neon"
  4189. orb.Size = Vector3.new(1, 1, 1)
  4190. orb.Transparency = 0
  4191. orb.TopSurface = 0
  4192. orb.BottomSurface = 0
  4193. local orbm = Instance.new("SpecialMesh", orb)
  4194. orbm.MeshType = "Sphere"
  4195. orbm.Name = "SizeMesh"
  4196. orbm.Scale = vt(2,2,2)
  4197. local a = Instance.new("Part",workspace)
  4198. a.Name = "Direction"
  4199. a.Anchored = true
  4200. a.BrickColor = bc("Bright red")
  4201. a.Material = "Neon"
  4202. a.Transparency = 1
  4203. a.CanCollide = false
  4204. local ray = Ray.new(
  4205. sorb.CFrame.p, -- origin
  4206. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  4207. )
  4208. local ignore = sorb
  4209. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4210. a.BottomSurface = 10
  4211. a.TopSurface = 10
  4212. local distance = (sorb.CFrame.p - position).magnitude
  4213. a.Size = Vector3.new(0.1, 0.1, 0.1)
  4214. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  4215. orb.CFrame = a.CFrame
  4216. a:Destroy()
  4217. local bv = Instance.new("BodyVelocity")
  4218. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4219. bv.velocity = orb.CFrame.lookVector*100
  4220. bv.Parent = orb
  4221. local hitted = false
  4222. game:GetService("Debris"):AddItem(orb, 10)
  4223. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  4224. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  4225. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  4226. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  4227. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  4228. coroutine.resume(coroutine.create(function()
  4229. while true do
  4230. swait(1)
  4231. if orb.Parent ~= nil and hitted == false then
  4232. 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)
  4233. elseif orb.Parent == nil then
  4234. break
  4235. end
  4236. end
  4237. end))
  4238. coroutine.resume(coroutine.create(function()
  4239. swait(1)
  4240. orb.Touched:connect(function(hit)
  4241. if hitted == false then
  4242. hitted = true
  4243. game:GetService("Debris"):AddItem(orb, 5)
  4244. orb.Transparency = 1
  4245. orb.Anchored = true
  4246. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4247. elocacenter.Anchored = true
  4248. elocacenter.CFrame = orb.CFrame
  4249. elocacenter.Orientation = vt(0,0,0)
  4250. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4251. eloca1.Anchored = true
  4252. eloca1.CFrame = elocacenter.CFrame
  4253. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4254. eloca2.Anchored = true
  4255. eloca2.CFrame = elocacenter.CFrame
  4256. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4257. eloca3.Anchored = true
  4258. eloca3.CFrame = elocacenter.CFrame
  4259. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4260. eloca4.Anchored = true
  4261. eloca4.CFrame = elocacenter.CFrame
  4262. local lookavec = 0
  4263. local speeds = 0
  4264. CameraEnshaking(1,1)
  4265. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4266. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4267. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4268. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4269. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4270. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4271. for i = 0, 99 do
  4272. swait()
  4273. lookavec = lookavec + 1
  4274. speeds = speeds + 0.1
  4275. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4276. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4277. 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)
  4278.  
  4279. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4280. 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)
  4281.  
  4282. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4283. 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)
  4284.  
  4285. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4286. 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)
  4287. end
  4288.  
  4289. for i = 0, 149 do
  4290. swait()
  4291. speeds = speeds + 0.1
  4292. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4293. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4294. 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)
  4295.  
  4296. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4297. 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)
  4298.  
  4299. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4300. 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)
  4301.  
  4302. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4303. 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)
  4304. end
  4305. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4306. if v:FindFirstChild('Head') then
  4307. dmg(v)
  4308. end
  4309. end
  4310. CameraEnshaking(7,30)
  4311. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4312. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4313. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4314. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4315. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4316. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4317. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4318. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4319. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4320. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4321. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4322. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4323. for i = 0, 24 do
  4324. 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)
  4325. 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)
  4326. 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)
  4327. 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)
  4328. end
  4329. coroutine.resume(coroutine.create(function()
  4330. for i = 0, 499 do
  4331. swait(1)
  4332. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4333. 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)
  4334. end
  4335. elocacenter:Destroy()
  4336. eloca1:Destroy()
  4337. eloca2:Destroy()
  4338. eloca3:Destroy()
  4339. eloca4:Destroy()
  4340. end))
  4341. end
  4342. end)
  4343. end))
  4344. attack = false
  4345. end
  4346.  
  4347.  
  4348. function THE_TRUE_POWER_OF_VIOLENCE()
  4349. attack = true
  4350. hum.WalkSpeed = 0
  4351. CFuncs["Sound"].Create("rbxassetid://136007472", sorb, 2.5,0.7)
  4352. for i = 0, 10, 0.1 do
  4353. swait()
  4354. 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)
  4355. 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)
  4356. 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)
  4357. 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)
  4358. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-40)),.4)
  4359. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4360. 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)
  4361. end
  4362. local orb = Instance.new("Part", char)
  4363. orb.BrickColor = MAINRUINCOLOR
  4364. orb.CanCollide = false
  4365. orb.FormFactor = 3
  4366. orb.Name = "Ring"
  4367. orb.Material = "Neon"
  4368. orb.Size = Vector3.new(1, 1, 1)
  4369. orb.Transparency = 0
  4370. orb.TopSurface = 0
  4371. orb.BottomSurface = 0
  4372. orb.CFrame = sorb.CFrame
  4373. local orbm = Instance.new("SpecialMesh", orb)
  4374. orbm.MeshType = "Sphere"
  4375. orbm.Name = "SizeMesh"
  4376. orbm.Scale = vt(0,0,0)
  4377. local sbs = Instance.new("BodyPosition", orb)
  4378. sbs.P = 3000
  4379. sbs.D = 1000
  4380. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4381. sbs.position = RootPart.CFrame.p + Vector3.new(0, 250, 0)
  4382. CFuncs["Sound"].Create("rbxassetid://419447292", rarm, 5,1)
  4383. sphere(1,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4384. sphere(2,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4385. sphere(3,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4386. sphere(4,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4387. sphere(5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  4388. for i = 0, 10, 0.1 do
  4389. swait()
  4390. 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)
  4391. 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)
  4392. 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)
  4393. 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)
  4394. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4395. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4396. 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)
  4397. end
  4398. orb.Anchored = true
  4399. local elocacenter = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4400. elocacenter.Anchored = true
  4401. elocacenter.CFrame = orb.CFrame
  4402. elocacenter.Orientation = vt(0,0,0)
  4403. local eloca1 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4404. eloca1.Anchored = true
  4405. eloca1.CFrame = elocacenter.CFrame
  4406. local eloca2 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4407. eloca2.Anchored = true
  4408. eloca2.CFrame = elocacenter.CFrame
  4409. local eloca3 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4410. eloca3.Anchored = true
  4411. eloca3.CFrame = elocacenter.CFrame
  4412. local eloca4 = CreateParta(orb,1,1,"SmoothPlastic",BrickColor.random())
  4413. eloca4.Anchored = true
  4414. eloca4.CFrame = elocacenter.CFrame
  4415. local lookavec = 0
  4416. local speeds = 0
  4417. CameraEnshaking(1,1)
  4418. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 3,1)
  4419. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1.5,1)
  4420. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2.5, 1)
  4421. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 1)
  4422. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4423. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4424. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4425. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4426. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4427. for i = 0, 99 do
  4428. swait()
  4429. lookavec = lookavec + 2.5
  4430. speeds = speeds + 0.25
  4431. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4432. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4433. 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)
  4434.  
  4435. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4436. 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)
  4437.  
  4438. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4439. 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)
  4440.  
  4441. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4442. 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)
  4443. end
  4444.  
  4445. for i = 0, 149 do
  4446. swait()
  4447. speeds = speeds + 0.25
  4448. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4449. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4450. 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)
  4451.  
  4452. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4453. 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)
  4454.  
  4455. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4456. 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)
  4457.  
  4458. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4459. 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)
  4460. end
  4461. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 5, 0.75)
  4462. for i = 0, 99 do
  4463. swait()
  4464. lookavec = lookavec - 2.5
  4465. speeds = speeds + 0.25
  4466. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4467. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4468. 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)
  4469.  
  4470. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4471. 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)
  4472.  
  4473. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4474. 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)
  4475.  
  4476. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4477. 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)
  4478. end
  4479. local scaled = 0.1*75
  4480. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,1)
  4481. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5,1)
  4482. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5,0.5)
  4483. CFuncs["Sound"].Create("rbxassetid://151304356", char, 1,0.5)
  4484. CFuncs["Sound"].Create("rbxassetid://164881112", char, 3.5, 0.75)
  4485. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  4486. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4487. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4488. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4489. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4490. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4491. for i = 0, 10, 0.1 do
  4492. swait()
  4493. scaled = scaled - 0.001*75
  4494. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4495. 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)
  4496. 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)
  4497. 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)
  4498. 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)
  4499. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-60)),.6)
  4500. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(0)),.4)
  4501. 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)
  4502. end
  4503. for x = 0, 4 do
  4504. for i = 0, 9 do
  4505. 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)
  4506. end
  4507. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,0.75)
  4508. CFuncs["Sound"].Create("rbxassetid://164881112", char, 2.5, 0.5)
  4509. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4510. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4511. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4512. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4513. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4514. for i = 0, 5, 0.1 do
  4515. swait()
  4516. 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)
  4517. 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)
  4518. 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)
  4519. 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)
  4520. 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)
  4521. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.1)
  4522. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.1)
  4523. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.1)
  4524. end
  4525. end
  4526. local speedearn = 0
  4527. CFuncs["Sound"].Create("rbxassetid://136007472", char, 5,0.2)
  4528. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.75)
  4529. CFuncs["Sound"].Create("rbxassetid://163619849", char, 2.5, 0.25)
  4530. for i = 0, 30, 0.1 do
  4531. swait()
  4532. scaled = scaled - 0.001*75/10
  4533. speedearn = speedearn + 0.5
  4534. for i = 0, 4 do
  4535. 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)
  4536. end
  4537. 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)
  4538. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  4539. 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)
  4540. 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)
  4541. 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)
  4542. 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)
  4543. 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)
  4544. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.6)
  4545. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(-10)),.4)
  4546. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(170),math.rad(0),math.rad(10)),.6)
  4547. end
  4548. orb.Transparency = 1
  4549. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125000000)) do
  4550. if v:FindFirstChild('Head') then
  4551. dmg(v)
  4552. end
  4553. end
  4554. CameraEnshaking(7,30)
  4555. MagniDamage(elocacenter, 9999999, 5000000,99999999, 0, "Normal")
  4556. CFuncs["Sound"].Create("rbxassetid://167115397", char, 5,1)
  4557. CFuncs["Sound"].Create("rbxassetid://289315275", char, 5,0.5)
  4558. CFuncs["Sound"].Create("rbxassetid://163619849", char, 3, 0.25)
  4559. CFuncs["Sound"].Create("rbxassetid://468991944", char, 10, 1)
  4560. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4561. CFuncs["Sound"].Create("rbxassetid://419447292", char, 6,1)
  4562. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4563. CFuncs["Sound"].Create("rbxassetid://741272936", char, 5, 1)
  4564. CFuncs["Sound"].Create("rbxassetid://164881112", char, 5, 1)
  4565. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 7.5, 0.5)
  4566. CFuncs["Sound"].Create("rbxassetid://429123896", char, 5, 0.85)
  4567. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 1)
  4568. CFuncs["Sound"].Create("rbxassetid://919941001", char, 5,1.05)
  4569. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4570. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4571. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4572. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4573. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  4574. for i = 0, 99 do
  4575. 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)
  4576. 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)
  4577. end
  4578. for i = 0, 24 do
  4579. 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)
  4580. 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)
  4581. 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)
  4582. 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)
  4583. 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)
  4584. end
  4585. game:GetService("Debris"):AddItem(orb, 10)
  4586. hum.WalkSpeed = storehumanoidWS
  4587. attack = false
  4588. end
  4589.  
  4590.  
  4591. function ViolentRing()
  4592. attack = true
  4593. CFuncs["Sound"].Create("rbxassetid://136007472", rarm, 1, 1)
  4594. for i = 0, 2, 0.1 do
  4595. swait()
  4596. local snap = math.random(1,10)
  4597. if snap == 1 then
  4598. 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)
  4599. end
  4600. 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)
  4601. 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)
  4602. 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)
  4603. 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)
  4604. 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)
  4605. 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)
  4606. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.6)
  4607. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(70),math.rad(20),math.rad(50)),.4)
  4608. 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)
  4609. RootPart.CFrame = FaceMouse()[1]
  4610. end
  4611. local orb = Instance.new("Part", char)
  4612. orb.BrickColor = MAINRUINCOLOR
  4613. orb.CanCollide = false
  4614. orb.FormFactor = 3
  4615. orb.Name = "Ring"
  4616. orb.Material = "Neon"
  4617. orb.Size = Vector3.new(1, 1, 1)
  4618. orb.Transparency = 0
  4619. orb.TopSurface = 0
  4620. orb.BottomSurface = 0
  4621. local orbm = Instance.new("SpecialMesh", orb)
  4622. orbm.MeshType = "Sphere"
  4623. orbm.Name = "SizeMesh"
  4624. orbm.Scale = vt(2,2,2)
  4625. orb.CFrame = mouse.Hit
  4626. local bv = Instance.new("BodyVelocity")
  4627. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4628. bv.velocity = orb.CFrame.lookVector*100
  4629. bv.Parent = orb
  4630. local hitted = false
  4631. coroutine.resume(coroutine.create(function()
  4632. game:GetService("Debris"):AddItem(orb, 5)
  4633. orb.Transparency = 1
  4634. orb.Anchored = true
  4635. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4636. elocacenter.Anchored = true
  4637. elocacenter.CFrame = orb.CFrame
  4638. elocacenter.Orientation = vt(0,0,0)
  4639. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4640. eloca1.Anchored = true
  4641. eloca1.CFrame = elocacenter.CFrame
  4642. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4643. eloca2.Anchored = true
  4644. eloca2.CFrame = elocacenter.CFrame
  4645. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4646. eloca3.Anchored = true
  4647. eloca3.CFrame = elocacenter.CFrame
  4648. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  4649. eloca4.Anchored = true
  4650. eloca4.CFrame = elocacenter.CFrame
  4651. local lookavec = 0
  4652. local speeds = 0
  4653. CameraEnshaking(1,1)
  4654. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  4655. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4656. sphere(6,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4657. sphere(7,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4658. sphere(8,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4659. sphere(9,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4660. for i = 0, 24 do
  4661. swait()
  4662. lookavec = lookavec + 3.5
  4663. speeds = speeds + 1
  4664. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4665. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4666. 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)
  4667.  
  4668. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4669. 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)
  4670.  
  4671. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4672. 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)
  4673.  
  4674. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4675. 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)
  4676. end
  4677.  
  4678. local risen = 0
  4679. for i = 0, 49 do
  4680. swait()
  4681. risen = risen + 0.05
  4682. speeds = speeds + 0.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+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)
  4686.  
  4687. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4688. 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)
  4689.  
  4690. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4691. 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)
  4692.  
  4693. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4694. 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)
  4695. end
  4696. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 100)) do
  4697. if v:FindFirstChild('Head') then
  4698. dmg(v)
  4699. end
  4700. end
  4701. CameraEnshaking(4,10)
  4702. MagniDamage(elocacenter, 150, 50,75, 0, "Normal")
  4703. CFuncs["Sound"].Create("rbxassetid://468991944", char, 2, 1)
  4704. CFuncs["Sound"].Create("rbxassetid://533636230", char, 2.5, 0.75)
  4705. CFuncs["Sound"].Create("rbxassetid://419447292", char, 0.25,1)
  4706. CFuncs["Sound"].Create("rbxassetid://421328847", char, 0.25,1)
  4707. CFuncs["Sound"].Create("rbxassetid://919941001", char, 1.5,1.05)
  4708. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),-0.25,MAINRUINCOLOR)
  4709. sphere(1,"Add",elocacenter.CFrame,vt(100,90000,100),0.5,MAINRUINCOLOR)
  4710. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4711. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4712. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4713. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4714. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4715. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),500,MAINRUINCOLOR)
  4716. for i = 0, 24 do
  4717. 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)
  4718. 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)
  4719. 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)
  4720. 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)
  4721. end
  4722. coroutine.resume(coroutine.create(function()
  4723. wait(10)
  4724. elocacenter:Destroy()
  4725. eloca1:Destroy()
  4726. eloca2:Destroy()
  4727. eloca3:Destroy()
  4728. eloca4:Destroy()
  4729. end))
  4730. end))
  4731. attack = false
  4732. end
  4733.  
  4734. function UniversalCollapse()
  4735. attack = true
  4736. local speedearn = 0
  4737. hum.WalkSpeed = 0
  4738. local sbs = Instance.new("BodyPosition", root)
  4739. sbs.P = 3000
  4740. sbs.D = 1000
  4741. sbs.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  4742. sbs.position = RootPart.CFrame.p + Vector3.new(0, 200, 0)
  4743. CFuncs["LongSound"].Create("rbxassetid://489657591", char, 10, 1)
  4744. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4745. for i = 0, 110, 0.1 do
  4746. swait()
  4747. speedearn = speedearn + 0.1
  4748. 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)
  4749. 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)
  4750. 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)
  4751. 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)
  4752. 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)
  4753. sphere(25,"Add",root.CFrame,vt(speedearn*2,speedearn*2,speedearn*2),0.01,MAINRUINCOLOR)
  4754. 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)
  4755. 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)
  4756. 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)
  4757. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4758. 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)
  4759. 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)
  4760. end
  4761. CameraEnshaking(5,50)
  4762. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4763. for i = 0, 2 do
  4764. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4765. CFuncs["Sound"].Create("rbxassetid://533636230", char, 10, 0.75)
  4766. CFuncs["Sound"].Create("rbxassetid://419447292", char, 5,1)
  4767. CFuncs["Sound"].Create("rbxassetid://421328847", char, 5,1)
  4768. end
  4769. for i = 0, 49 do
  4770. 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)
  4771. 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)
  4772. 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)
  4773. 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)
  4774. end
  4775. sphere(1,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4776. sphere(2,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4777. sphere(3,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4778. sphere(4,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4779. sphere(5,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4780. sphere(6,"Add",root.CFrame,vt(0,0,0),15,MAINRUINCOLOR)
  4781. sphere(1,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4782. sphere(2,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4783. sphere(3,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4784. sphere(4,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4785. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4786. sphere(6,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4787. for i = 0, 99 do
  4788. 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)
  4789. 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)
  4790. end
  4791. for i, v in pairs(FindNearestHead(root.CFrame.p, 9999999)) do
  4792. if v:FindFirstChild('Head') then
  4793. dmg(v)
  4794. end
  4795. end
  4796. MagniDamage(root, 9999999, 1000000,9999999, 0, "Normal")
  4797. sbs:Destroy()
  4798. hum.WalkSpeed = storehumanoidWS
  4799. attack = false
  4800. end
  4801.  
  4802.  
  4803. function ChaosEND()
  4804. attack = true
  4805. local speedearn = 0
  4806. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.5)
  4807. for i = 0, 15, 0.1 do
  4808. swait()
  4809. speedearn = speedearn + 0.25
  4810. 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)
  4811. 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)
  4812. 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)
  4813. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4814. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,10*speedearn,-0.25,BrickColor.random(),0)
  4815. 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)
  4816. 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)
  4817. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4818. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4819. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4820. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4821. end
  4822. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4823. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4824. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 0.75)
  4825. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 5, 0.5)
  4826. CameraEnshaking(5,25)
  4827. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4828. if v:FindFirstChild('Head') then
  4829. dmg(v)
  4830. end
  4831. end
  4832. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4833. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4834. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4835. for i = 0, 3, 0.1 do
  4836. swait()
  4837. 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)
  4838. 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)
  4839. 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)
  4840. 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)
  4841. 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)
  4842. 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)
  4843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4845. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4846. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4847. end
  4848. attack = false
  4849. end
  4850.  
  4851. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4852. local orb = Instance.new("Part", char)
  4853. orb.Anchored = true
  4854. orb.BrickColor = color
  4855. orb.CanCollide = false
  4856. orb.FormFactor = 3
  4857. orb.Name = "Ring"
  4858. orb.Material = "Neon"
  4859. orb.Size = Vector3.new(1, 1, 1)
  4860. orb.Transparency = 0
  4861. orb.TopSurface = 0
  4862. orb.BottomSurface = 0
  4863. local orbm = Instance.new("SpecialMesh", orb)
  4864. orbm.MeshType = "Sphere"
  4865. orb.CFrame = positted
  4866. orbm.Name = "SizeMesh"
  4867. orbm.Scale = vt(1,1,1)
  4868. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4869. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4870. --[[for i = 0, 2 do
  4871. 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)
  4872. end]]--
  4873. coroutine.resume(coroutine.create(function()
  4874. wait(timer)
  4875. CameraEnshaking(3,ShakePower)
  4876. orb.Transparency = 1
  4877. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4878. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4879. --[[for i = 0, 4 do
  4880. 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)
  4881. end]]--
  4882. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4883. wait(3)
  4884. orb:Destroy()
  4885. end))
  4886. end
  4887.  
  4888. function orb_spawn(positted,timer)
  4889. local randomcol = math.random(1,2)
  4890. local orb = Instance.new("Part", char)
  4891. orb.Anchored = true
  4892. if randomcol == 1 then
  4893. orb.BrickColor = BrickColor.new("White")
  4894. elseif randomcol == 2 then
  4895. orb.BrickColor = BrickColor.new("Really black")
  4896. end
  4897. orb.CanCollide = false
  4898. orb.FormFactor = 3
  4899. orb.Name = "Ring"
  4900. orb.Material = "Neon"
  4901. orb.Size = Vector3.new(1, 1, 1)
  4902. orb.Transparency = 0
  4903. orb.TopSurface = 0
  4904. orb.BottomSurface = 0
  4905. local orbm = Instance.new("SpecialMesh", orb)
  4906. orbm.MeshType = "Sphere"
  4907. orb.CFrame = positted
  4908. orbm.Name = "SizeMesh"
  4909. orbm.Scale = vt(1,1,1)
  4910. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4911. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4912. for i = 0, 2 do
  4913. 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)
  4914. end
  4915. coroutine.resume(coroutine.create(function()
  4916. wait(timer)
  4917. CameraEnshaking(3,2)
  4918. orb.Transparency = 1
  4919. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4920. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4921. for i = 0, 4 do
  4922. 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)
  4923. end
  4924. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4925. wait(3)
  4926. orb:Destroy()
  4927. end))
  4928. end
  4929.  
  4930. function scattercorrupt()
  4931. attack = true
  4932. local rot = 0
  4933. local randomrotations = math.random(1,2)
  4934. local lookv = 2.5
  4935. local power = 5
  4936. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4937. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4938. for i = 0, 9 do
  4939. 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)
  4940. end
  4941. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4942. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4943. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4944. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4945. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4946. local hite = Instance.new("Part", char)
  4947. hite.Anchored = true
  4948. hite.CanCollide = false
  4949. hite.FormFactor = 3
  4950. hite.Name = "Ring"
  4951. hite.Material = "Neon"
  4952. hite.Size = Vector3.new(1, 1, 1)
  4953. hite.Transparency = 1
  4954. hite.TopSurface = 0
  4955. hite.BottomSurface = 0
  4956. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4957. local rem = Instance.new("Part", char)
  4958. rem.Anchored = true
  4959. rem.CanCollide = false
  4960. rem.FormFactor = 3
  4961. rem.Name = "Ring"
  4962. rem.Material = "Neon"
  4963. rem.Size = Vector3.new(1, 1, 1)
  4964. rem.Transparency = 1
  4965. rem.TopSurface = 0
  4966. rem.BottomSurface = 0
  4967. rem.CFrame = hite.CFrame
  4968. local rem2 = rem:Clone()
  4969. rem2.Parent = char
  4970. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4971. local rem3 = rem:Clone()
  4972. rem3.Parent = char
  4973. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4974. local rem4 = rem:Clone()
  4975. rem4.Parent = char
  4976. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4977. hite:Destroy()
  4978. coroutine.resume(coroutine.create(function()
  4979. for i = 0, 24 do
  4980. swait(1)
  4981. if randomrotations == 1 then
  4982. rot = rot + 1
  4983. elseif randomrotations == 2 then
  4984. rot = rot - 1
  4985. end
  4986. power = power + 0.5
  4987. lookv = lookv + 7.5
  4988. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4989. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4990. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4991. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4992. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4993. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4994. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4995. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4996. end
  4997. end))
  4998. attack = false
  4999. end
  5000. function yinyangi()
  5001. attack = true
  5002. for i = 0, 2, 0.1 do
  5003. swait()
  5004. 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)
  5005. 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)
  5006. 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)
  5007. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5008. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  5009. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  5010. end
  5011. local bv = Instance.new("BodyVelocity")
  5012. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5013. bv.velocity = root.CFrame.lookVector*175
  5014. bv.Parent = root
  5015. for Rotations = 0, 9 do
  5016. for i = 0, 1, 0.5 do
  5017. swait()
  5018. bv.velocity = root.CFrame.lookVector*175
  5019. 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)
  5020. 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)
  5021. 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)
  5022. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5023. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5024. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5025. end
  5026. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5027. for i = 0, 1, 0.5 do
  5028. swait()
  5029. bv.velocity = root.CFrame.lookVector*175
  5030. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  5031. 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)
  5032. 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)
  5033. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5034. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5035. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5036. end
  5037. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5038. for i = 0, 1, 0.5 do
  5039. swait()
  5040. bv.velocity = root.CFrame.lookVector*175
  5041. 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)
  5042. 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)
  5043. 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)
  5044. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5045. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5046. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5047. end
  5048. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5049. for i = 0, 1, 0.5 do
  5050. swait()
  5051. bv.velocity = root.CFrame.lookVector*175
  5052. 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)
  5053. 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)
  5054. 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)
  5055. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  5056. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  5057. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  5058. end
  5059. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  5060. end
  5061. bv:Destroy()
  5062. attack = false
  5063. end
  5064.  
  5065. function createBGCircle(size,parent,color)
  5066. local bgui = Instance.new("BillboardGui",parent)
  5067. bgui.Size = UDim2.new(size, 0, size, 0)
  5068. local imgc = Instance.new("ImageLabel",bgui)
  5069. imgc.BackgroundTransparency = 1
  5070. imgc.ImageTransparency = 0
  5071. imgc.Size = UDim2.new(1,0,1,0)
  5072. imgc.Image = "rbxassetid://997291547" --997291547,521073910
  5073. imgc.ImageColor3 = color
  5074. return bgui,imgc
  5075. end
  5076.  
  5077. function symbolizeBlink(guipar,size,img,color,bonussize,vol,pit,soundid,spar,rotationenabled,rotsp,delay)
  5078. local bgui,imgc = createBGCircle(size,guipar,color)
  5079. bgui.AlwaysOnTop = true
  5080. imgc.Image = "rbxassetid://" ..img
  5081. local rrot = math.random(1,2)
  5082. CFuncs["Sound"].Create("rbxassetid://" ..soundid, spar, vol,pit)
  5083. coroutine.resume(coroutine.create(function()
  5084. for i = 0, 24*delay do
  5085. swait()
  5086. if rotationenabled == true then
  5087. if rrot == 1 then
  5088. imgc.Rotation = imgc.Rotation + rotsp
  5089. elseif rrot == 2 then
  5090. imgc.Rotation = imgc.Rotation - rotsp
  5091. end
  5092. end
  5093. bgui.Size = bgui.Size + UDim2.new(1*bonussize/delay,0,1*bonussize/delay,0)
  5094. imgc.ImageTransparency = imgc.ImageTransparency + 0.04/delay
  5095. end
  5096. bgui:Destroy()
  5097. end))
  5098. end
  5099. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo,secondaryenabled)
  5100. refec.Color = ColorSequence.new(one.Color)
  5101. refec2.Color = ColorSequence.new(two.Color)
  5102. for i,v in pairs(halo1colors)do
  5103. v.BrickColor = one
  5104. end
  5105. for i,v in pairs(halo2colors)do
  5106. v.BrickColor = two
  5107. end
  5108. for i, v in pairs(mw2:GetChildren()) do
  5109. if v:IsA("Part") then
  5110. if v.Name ~= "Halo" then
  5111. v.BrickColor = one
  5112. v.Material = "Neon"
  5113. end
  5114. end
  5115. end
  5116. CFuncs["EchoSound"].Create("rbxassetid://847061203", root, 1, 1,0,10,0.25,0.25,1)
  5117. symbolizeBlink(root,0,2092248396,one.Color,5,3,1,847061203,root,true,10,1)
  5118. symbolizeBlink(root,0,2092248396,one.Color,4,0,0,0,root,true,-5,1)
  5119. tr1.Color = ColorSequence.new(one.Color)
  5120. tr2.Color = ColorSequence.new(one.Color)
  5121. tr3.Color = ColorSequence.new(one.Color)
  5122. for i, v in pairs(mw1:GetChildren()) do
  5123. if v:IsA("Part") then
  5124. if secondaryenabled == false then
  5125. v.Transparency = 1
  5126. elseif secondaryenabled == true then
  5127. v.Transparency = 0
  5128. end
  5129. v.BrickColor = two
  5130. v.Material = "Neon"
  5131. end
  5132. end
  5133. if secondaryenabled == false then
  5134. tl1.Enabled = false
  5135. tl2.Enabled = false
  5136. tl3.Enabled = false
  5137. elseif secondaryenabled == true then
  5138. tl1.Enabled = true
  5139. tl2.Enabled = true
  5140. tl3.Enabled = true
  5141. end
  5142. tl1.Color = ColorSequence.new(two.Color)
  5143. tl2.Color = ColorSequence.new(two.Color)
  5144. tl3.Color = ColorSequence.new(two.Color)
  5145. for i, v in pairs(m:GetChildren()) do
  5146. if v:IsA("Part") then
  5147. v.BrickColor = three
  5148. v.Material = "Ice"
  5149. end
  5150. end
  5151. for i, v in pairs(m2:GetChildren()) do
  5152. if v:IsA("Part") then
  5153. v.BrickColor = four
  5154. v.Material = "Ice"
  5155. if ModeOfGlitch == 01010101000001 then
  5156. v.Transparency = 1
  5157. else
  5158. v.Transparency = 0
  5159. end
  5160. end
  5161. end
  5162. for i, v in pairs(m3:GetChildren()) do
  5163. if v:IsA("Part") then
  5164. v.BrickColor = five
  5165. v.Material = "Neon"
  5166. end
  5167. end
  5168. for i, v in pairs(extrawingmod1:GetChildren()) do
  5169. if v:IsA("Part") then
  5170. v.Transparency = exonetran
  5171. v.BrickColor = exone
  5172. v.Material = "Neon"
  5173. end
  5174. end
  5175. for i, v in pairs(extrawingmod2:GetChildren()) do
  5176. if v:IsA("Part") then
  5177. if ModeOfGlitch ~= 731289 then
  5178. v.Transparency = extwotran
  5179. else
  5180. v.Transparency = 0.4
  5181. end
  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("CL-Happy!",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. PixelBlock(1,math.random(1,3),"Add",rarm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,keptcolor,0)
  5308. end
  5309. for i = 0,1,0.1 do
  5310. swait()
  5311. 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)
  5312. 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)
  5313. 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)
  5314. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  5315. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.3)
  5316. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  5317. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5318. end
  5319. for i = 0, 1 do
  5320. CFuncs["Sound"].Create("rbxassetid://763755889", root, 3,1.1)
  5321. for i = 0,1,0.6 do
  5322. swait()
  5323. 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)
  5324. 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"))
  5325. 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)
  5326. 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)
  5327. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  5328. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5329. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5330. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5331. end
  5332. for i = 0,1,0.6 do
  5333. swait()
  5334. 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)
  5335. 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"))
  5336. 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)
  5337. 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)
  5338. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.6)
  5339. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5340. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5341. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5342. end
  5343. for i = 0,1,0.6 do
  5344. swait()
  5345. 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)
  5346. 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"))
  5347. 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)
  5348. 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)
  5349. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180)),.6)
  5350. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5351. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5352. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5353. end
  5354. for i = 0,1,0.6 do
  5355. swait()
  5356. 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)
  5357. 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"))
  5358. 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)
  5359. 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)
  5360. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-270)),.6)
  5361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.6)
  5362. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(-60)),.6)
  5363. LW.C0=clerp(LW.C0,cf(-1.15,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.6)
  5364. end
  5365. local rot = 0
  5366. local dis = CreateParta(char,0.5,1,"Neon",keptcolor)
  5367. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  5368. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  5369. CreateMesh(dis,"Sphere",10,1,10)
  5370. local at1 = Instance.new("Attachment",dis)
  5371. at1.Position = vt(-5,0,0)
  5372. local at2 = Instance.new("Attachment",dis)
  5373. at2.Position = vt(5,0,0)
  5374. local trl = Instance.new('Trail',wed)
  5375. trl.Attachment0 = at1
  5376. trl.Attachment1 = at2
  5377. trl.Texture = "rbxassetid://1049219073"
  5378. trl.LightEmission = 1
  5379. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5380. trl.Color = ColorSequence.new(dis.Color)
  5381. trl.Lifetime = 0.6
  5382. local a = Instance.new("Part",workspace)
  5383. a.Name = "Direction"
  5384. a.Anchored = true
  5385. a.BrickColor = bc("Bright red")
  5386. a.Material = "Neon"
  5387. a.Transparency = 1
  5388. a.CanCollide = false
  5389. local ray = Ray.new(
  5390. dis.CFrame.p, -- origin
  5391. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  5392. )
  5393. local ignore = dis
  5394. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  5395. a.BottomSurface = 10
  5396. a.TopSurface = 10
  5397. local distance = (dis.CFrame.p - position).magnitude
  5398. a.Size = Vector3.new(0.1, 0.1, 0.1)
  5399. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  5400. dis.CFrame = a.CFrame
  5401. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  5402. a:Destroy()
  5403. local bv = Instance.new("BodyVelocity")
  5404. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5405. bv.velocity = dis.CFrame.lookVector*250
  5406. bv.Parent = dis
  5407. game:GetService("Debris"):AddItem(dis, 5)
  5408. local hitted = false
  5409. coroutine.resume(coroutine.create(function()
  5410. dis.Touched:connect(function(hit)
  5411. if hitted == false and hit.Parent ~= char then
  5412. hitted = true
  5413. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  5414. MagniDamage(dis, 30, 33,56, 0, "Normal")
  5415. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  5416. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5417. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  5418. coroutine.resume(coroutine.create(function()
  5419. for i = 0, 9 do
  5420. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  5421. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  5422. local at1 = Instance.new("Attachment",disr)
  5423. at1.Position = vt(-5,0,0)
  5424. local at2 = Instance.new("Attachment",disr)
  5425. at2.Position = vt(5,0,0)
  5426. local trl = Instance.new('Trail',disr)
  5427. trl.Attachment0 = at1
  5428. trl.FaceCamera = true
  5429. trl.Attachment1 = at2
  5430. trl.Texture = "rbxassetid://2342682798"
  5431. trl.LightEmission = 1
  5432. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5433. trl.Color = ColorSequence.new(keptcolor.Color)
  5434. trl.Lifetime = 0.5
  5435. local bv = Instance.new("BodyVelocity")
  5436. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5437. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  5438. bv.Parent = disr
  5439. local val = 0
  5440. coroutine.resume(coroutine.create(function()
  5441. swait(30)
  5442. for i = 0, 9 do
  5443. swait()
  5444. val = val + 0.1
  5445. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  5446. end
  5447. game:GetService("Debris"):AddItem(disr, 3)
  5448. end))
  5449. end
  5450. local eff = Instance.new("ParticleEmitter",dis)
  5451. eff.Texture = "rbxassetid://2273224484"
  5452. eff.LightEmission = 1
  5453. eff.Color = ColorSequence.new(keptcolor.Color)
  5454. eff.Rate = 500000
  5455. eff.Lifetime = NumberRange.new(0.5,2)
  5456. 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)})
  5457. 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)})
  5458. eff.Speed = NumberRange.new(20,250)
  5459. eff.Drag = 5
  5460. eff.Rotation = NumberRange.new(-500,500)
  5461. eff.VelocitySpread = 9000
  5462. eff.RotSpeed = NumberRange.new(-50,50)
  5463. wait(0.25)
  5464. eff.Enabled = false
  5465. end))
  5466. for i = 0, 9 do
  5467. 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"))
  5468. end
  5469. for i = 0, 19 do
  5470. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,keptcolor,0)
  5471. end
  5472. coroutine.resume(coroutine.create(function()
  5473. for i = 0, 19 do
  5474. swait()
  5475. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  5476. end
  5477. hum.CameraOffset = vt(0,0,0)
  5478. end))
  5479. dis.Anchored = true
  5480. dis.Transparency = 1
  5481. wait(8)
  5482. dis:Destroy()
  5483. end
  5484. end)
  5485. end))
  5486. rot = rot - 15
  5487. end
  5488. for i = 0,2,0.1 do
  5489. swait()
  5490. 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)
  5491. 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)
  5492. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5493. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(50)),.3)
  5494. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5495. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(-10)),.3)
  5496. end
  5497. attack = false
  5498. hum.WalkSpeed = storehumanoidWS
  5499. end
  5500.  
  5501. function attackthree()
  5502. attack = true
  5503. local keptcolor = MAINRUINCOLOR
  5504. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  5505. for i = 0,2,0.1 do
  5506. swait()
  5507. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-1.5,0),vt(1,1,1),0.025,0.025,0.025,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5508. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(10),math.rad(0),math.rad(50)),0.3)
  5509. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-50)),.3)
  5510. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(80), math.rad(10), math.rad(60)), 0.3)
  5511. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-70)), 0.3)
  5512. 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)
  5513. 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)
  5514. end
  5515. CFuncs["Sound"].Create("rbxassetid://763716870", root, 3,1)
  5516. CFuncs["Sound"].Create("rbxassetid://782353443", root, 5,0.9)
  5517. CFuncs["Sound"].Create("rbxassetid://782225570", root, 4,0.5)
  5518. CFuncs["Sound"].Create("rbxassetid://763717569", root, 3,1)
  5519. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  5520. sphere2(5,"Add",root.CFrame,vt(1,1,1),0.5,0.5,0.5,MAINRUINCOLOR)
  5521. for i = 0, 24 do
  5522. slash(math.random(10,50)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.Angles(math.rad(90),math.rad(math.random(-360,360)),math.rad(0)),vt(0.01,0.01,0.01),math.random(50,200)/250,BrickColor.new("White"))
  5523. end
  5524. for i = 0,4,0.1 do
  5525. swait()
  5526. root.CFrame = root.CFrame + root.CFrame.lookVector*5
  5527. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  5528. CreateMesh(dis,"Sphere",1,1,1)
  5529. dis.Anchored = true
  5530. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  5531. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  5532. coroutine.resume(coroutine.create(function()
  5533. swait(30)
  5534. dis.Transparency = 1
  5535. coroutine.resume(coroutine.create(function()
  5536. for i = 0, 19 do
  5537. swait()
  5538. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  5539. end
  5540. hum.CameraOffset = vt(0,0,0)
  5541. end))
  5542. coroutine.resume(coroutine.create(function()
  5543. local eff = Instance.new("ParticleEmitter",dis)
  5544. eff.Texture = "rbxassetid://2273224484"
  5545. eff.LightEmission = 1
  5546. eff.Color = ColorSequence.new(dis.Color)
  5547. eff.Rate = 500000
  5548. eff.Lifetime = NumberRange.new(0.5,2)
  5549. 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)})
  5550. 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)})
  5551. eff.Speed = NumberRange.new(50,450)
  5552. eff.Drag = 5
  5553. eff.Rotation = NumberRange.new(-500,500)
  5554. eff.VelocitySpread = 9000
  5555. eff.RotSpeed = NumberRange.new(-50,50)
  5556. wait(0.125)
  5557. eff.Enabled = false
  5558. end))
  5559. MagniDamage(dis, 30, 45,50, 0, "Normal")
  5560. for i = 0, 2 do
  5561. 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)
  5562. end
  5563. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,1)
  5564. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.5)
  5565. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.65)
  5566. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.4,0.4,0.4,dis.BrickColor,dis.Color)
  5567. end))
  5568. game:GetService("Debris"):AddItem(dis, 5)
  5569. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(89),math.rad(-8),math.rad(-5)),0.5)
  5570. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-30),math.rad(0),math.rad(8)),.5)
  5571. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(-14), math.rad(1), math.rad(17)), 0.5)
  5572. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.85, 0) * angles(math.rad(180), math.rad(0), math.rad(-8)), 0.5)
  5573. 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)
  5574. 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)
  5575. end
  5576. attack = false
  5577. end
  5578. ----------------------------------- Abilities
  5579.  
  5580. function ExtinctiveHeartbreak()
  5581. local targetted = nil
  5582. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  5583. targetted = mouse.Target.Parent
  5584. end
  5585. if targetted ~= nil then
  5586. attack = true
  5587. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5588. for i = 0, 9 do
  5589. 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)
  5590. end
  5591. for i = 0, 24 do
  5592. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5593. end
  5594. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5595. local originalpos = root.CFrame
  5596. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  5597. for i = 0, 9 do
  5598. 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)
  5599. end
  5600. for i = 0, 24 do
  5601. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5602. end
  5603. hum.WalkSpeed = 0
  5604. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5605. local radm = math.random(1,3)
  5606. if radm == 1 then
  5607. bosschatfunc("YOU WONT BE NECCESSARY ON THIS WORLD.",MAINRUINCOLOR.Color,2)
  5608. elseif radm == 2 then
  5609. bosschatfunc("YOUR EXISTANCE WILL BE GONE OF THIS WORLD. AND YOU NEVER COME BACK!",MAINRUINCOLOR.Color,2)
  5610. elseif radm == 3 then
  5611. bosschatfunc("DIE BASTARD!!!!",MAINRUINCOLOR.Color,2)
  5612. elseif radm == 4 then
  5613. bosschatfunc("AAAAAAHHHHH!!!! DIE DIE DIE BASTARD!!!",MAINRUINCOLOR.Color,2)
  5614. end
  5615. for i = 0,2,0.1 do
  5616. swait()
  5617. 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)
  5618. 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)
  5619. 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)
  5620. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  5621. 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)
  5622. 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)
  5623. end
  5624. CFuncs["Sound"].Create("rbxassetid://153092227", root, 5,1)
  5625. CFuncs["EchoSound"].Create("rbxassetid://153092227", root, 10, 1,0,10,0.25,0.5,1)
  5626. for i = 0,2,0.1 do
  5627. swait()
  5628. coroutine.resume(coroutine.create(function()
  5629. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5630. for i,v in pairs(targetted:GetChildren()) do
  5631. if v:IsA("Part") or v:IsA("MeshPart") then
  5632. v.Velocity = vt(0,0,0)
  5633. end
  5634. end
  5635. end))
  5636. 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)
  5637. 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)
  5638. 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)
  5639. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  5640. 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)
  5641. 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)
  5642. end
  5643. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1,0,10,0.25,0.5,1)
  5644. CFuncs["EchoSound"].Create("rbxassetid://153092227", char, 1.5, 0.9,0,10,0.25,0.5,1)
  5645. for i = 0, 1 do
  5646. CFuncs["EchoSound"].Create("rbxassetid://1690476035", char, 1.5, 1,0.1,10,0.15,0.5,1)
  5647. end
  5648. CFuncs["EchoSound"].Create("rbxassetid://1690476035", root, 10, 1,0.1,10,0.15,0.5,1)
  5649.  
  5650. for i = 0,4,0.1 do
  5651. swait()
  5652. coroutine.resume(coroutine.create(function()
  5653. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5654. 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)))
  5655. local at1 = Instance.new("Attachment",dis)
  5656. at1.Position = vt(-25000,0,0)
  5657. local at2 = Instance.new("Attachment",dis)
  5658. at2.Position = vt(25000,0,0)
  5659. local trl = Instance.new('Trail',dis)
  5660. trl.Attachment0 = at1
  5661. trl.FaceCamera = true
  5662. trl.Attachment1 = at2
  5663. trl.Texture = "rbxassetid://1049219073"
  5664. trl.LightEmission = 1
  5665. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5666. trl.Color = ColorSequence.new(Color3.new(1,0,0))
  5667. trl.Lifetime = 5
  5668. local bv = Instance.new("BodyVelocity")
  5669. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5670. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5671. bv.Parent = dis
  5672. game:GetService("Debris"):AddItem(dis, 5)
  5673. targetted.Head.CFrame = larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(-90),0,0)
  5674. CFuncs["Sound"].Create("rbxassetid://782353443", targetted.Head, 4,1)
  5675. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 6, 1)
  5676. CFuncs["Sound"].Create("rbxassetid://153092227", targetted.Head,6,math.random(75,150)/150)
  5677. CFuncs["Sound"].Create("rbxassetid://163680447", targetted.Head, 3,math.random(75,150)/150)
  5678. CFuncs["Sound"].Create("rbxassetid://782354021", targetted.Head, 2.5,0.75)
  5679. 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)
  5680. targetted:FindFirstChildOfClass("Humanoid").CameraOffset = vt(math.random(-10,10)/5,math.random(-10,10)/5,math.random(-10,10)/5)
  5681. for i = 0, 2 do
  5682. 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"))
  5683. end
  5684. 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)
  5685. for i,v in pairs(targetted:GetChildren()) do
  5686. if v:IsA("Part") or v:IsA("MeshPart") then
  5687. v.Velocity = vt(0,0,0)
  5688. end
  5689. end
  5690. end))
  5691. hum.CameraOffset = vt(math.random(-10,10)/25,math.random(-10,10)/25,math.random(-10,10)/25)
  5692. 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)
  5693. 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)
  5694. 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)
  5695. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(80)),.8)
  5696. 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)
  5697. 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)
  5698. end
  5699. hum.CameraOffset = vt(0,0,0)
  5700. for i = 0, 49 do
  5701. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  5702. 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)))
  5703. local at1 = Instance.new("Attachment",dis)
  5704. at1.Position = vt(-50000,0,0)
  5705. local at2 = Instance.new("Attachment",dis)
  5706. at2.Position = vt(50000,0,0)
  5707. local trl = Instance.new('Trail',dis)
  5708. trl.Attachment0 = at1
  5709. trl.FaceCamera = true
  5710. trl.Attachment1 = at2
  5711. trl.Texture = "rbxassetid://1049219073"
  5712. trl.LightEmission = 1
  5713. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  5714. trl.Color = ColorSequence.new(Color3.new(1,0.1,0.1))
  5715. trl.Lifetime = 5
  5716. local bv = Instance.new("BodyVelocity")
  5717. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  5718. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  5719. bv.Parent = dis
  5720. game:GetService("Debris"):AddItem(dis, 5)
  5721. end
  5722. for i = 0, 49 do
  5723. 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)
  5724. 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"))
  5725. end
  5726. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 0.9,0,10,0.25,0.5,1)
  5727. for i = 0, 1 do
  5728. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 5,0.9)
  5729. CFuncs["Sound"].Create("rbxassetid://221920821", targetted.Head, 7.5,0.75)
  5730. end
  5731. for i = 0, 4 do
  5732. CFuncs["Sound"].Create("rbxassetid://824687369", targetted.Head, 10, 1)
  5733. end
  5734. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,1)
  5735. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,2)
  5736. symbolizeBlink(targetted.Head,0,2109052855,Color3.new(1,0,0),30,0,0,0,root,false,0,4)
  5737. dmg(targetted)
  5738. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5739. for i = 0, 9 do
  5740. 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)
  5741. end
  5742. for i = 0, 24 do
  5743. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5744. end
  5745. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5746. root.CFrame = originalpos
  5747. for i = 0, 9 do
  5748. 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)
  5749. end
  5750. for i = 0, 24 do
  5751. PixelBlock(1,math.random(4,8),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3,3,3,0.06,BrickColor.new("Really red"),0)
  5752. end
  5753. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really red"))
  5754. attack = false
  5755. hum.WalkSpeed = storehumanoidWS
  5756. end
  5757. end
  5758.  
  5759. function CorruptionEvent()
  5760. attack = true
  5761. hum.WalkSpeed = 0
  5762. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5763. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5764. local keptcolor = MAINRUINCOLOR
  5765. for i = 0,4,0.1 do
  5766. swait()
  5767. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5768. block(10,"Add",rleg.CFrame*CFrame.new(0,-1,0),vt(1,1,1),0.01,0.01,0.01,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5769. 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)
  5770. 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)
  5771. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(10)),.1)
  5772. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-10)),.1)
  5773. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-5),math.rad(-10),math.rad(20)),.1)
  5774. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5775. end
  5776. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5777. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1.5)
  5778. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,3)
  5779. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5780. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5781. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5782. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1.1,0,10,0.25,0.5,1)
  5783. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 1.5, 1.1,0,10,0.25,0.5,1)
  5784. hum.CameraOffset = vt(0,0,0)
  5785. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5786. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5787. for i = 0, 24 do
  5788. 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"))
  5789. end
  5790. local rrot = 0
  5791. coroutine.resume(coroutine.create(function()
  5792. for i = 0, 4 do
  5793. rrot = rrot + 45
  5794. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5795. xa.Anchored = true
  5796. local xb = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5797. xb.Anchored = true
  5798. local xc = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5799. xc.Anchored = true
  5800. local xd = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  5801. xd.Anchored = true
  5802. CFuncs["Sound"].Create("rbxassetid://824687369", xa, 1,0.75)
  5803. CFuncs["Sound"].Create("rbxassetid://822968467", xa, 2,0.95)
  5804. CFuncs["Sound"].Create("rbxassetid://822969951", xa, 3,1)
  5805. CFuncs["Sound"].Create("rbxassetid://824687369", xb, 1,0.75)
  5806. CFuncs["Sound"].Create("rbxassetid://822968467", xb, 2,0.95)
  5807. CFuncs["Sound"].Create("rbxassetid://822969951", xb, 3,1)
  5808. CFuncs["Sound"].Create("rbxassetid://824687369", xc, 1,0.75)
  5809. CFuncs["Sound"].Create("rbxassetid://822968467", xc, 2,0.95)
  5810. CFuncs["Sound"].Create("rbxassetid://822969951", xc, 3,1)
  5811. CFuncs["Sound"].Create("rbxassetid://824687369", xd, 1,0.75)
  5812. CFuncs["Sound"].Create("rbxassetid://822968467", xd, 2,0.95)
  5813. CFuncs["Sound"].Create("rbxassetid://822969951", xd, 3,1)
  5814. xa.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,-rrot/1.75)
  5815. xb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(0,-3,rrot/1.75)
  5816. xc.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(-rrot/1.75,-3,0)
  5817. xd.CFrame = root.CFrame*CFrame.Angles(0,math.rad(rrot),0)*CFrame.new(rrot/1.75,-3,0)
  5818. MagniDamage(xa, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5819. MagniDamage(xb, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5820. MagniDamage(xc, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5821. MagniDamage(xd, 30, 39*rrot/5,65*rrot/2.5, 0, "Normal")
  5822. for i = 0, 9 do
  5823. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xa.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5824. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xb.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5825. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xc.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5826. slash(math.random(15,50)/10,5,true,"Round","Add","Out",xd.CFrame*CFrame.new(0,-1.5,0)*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),vt(0.01,0.01,0.01),math.random(50,125)/250,BrickColor.new("Really black"))
  5827. end
  5828. block(1.5,"Add",xa.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5829. block(1.5,"Add",xb.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5830. block(1.5,"Add",xc.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5831. block(1.5,"Add",xd.CFrame*CFrame.new(0,-10,0),vt(30,30,30),0.3,0.3,0.3,keptcolor,keptcolor.Color)
  5832. 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)
  5833. 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)
  5834. 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)
  5835. 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)
  5836. 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))
  5837. 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))
  5838. 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))
  5839. 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))
  5840. game:GetService("Debris"):AddItem(xa, 5)
  5841. game:GetService("Debris"):AddItem(xb, 5)
  5842. game:GetService("Debris"):AddItem(xc, 5)
  5843. game:GetService("Debris"):AddItem(xd, 5)
  5844. coroutine.resume(coroutine.create(function()
  5845. for i = 0, 19 do
  5846. swait()
  5847. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5848. end
  5849. hum.CameraOffset = vt(0,0,0)
  5850. end))
  5851. swait(9)
  5852. end
  5853. end))
  5854. for i = 0,2,0.1 do
  5855. swait()
  5856. 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)
  5857. 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)
  5858. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.05)*angles(math.rad(10),math.rad(0),math.rad(0)),.8)
  5859. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(40),math.rad(0),math.rad(0)),.8)
  5860. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(-35),math.rad(-10),math.rad(60)),.8)
  5861. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5862. end
  5863. attack = false
  5864. hum.WalkSpeed = storehumanoidWS
  5865. end
  5866.  
  5867. function EndGROUND()
  5868. attack = true
  5869. hum.WalkSpeed = 0
  5870. bosschatfunc("THIS IS IT HUMAN!!! IM WILL MAKE YOU SOUL A DUST!!!",MAINRUINCOLOR.Color,1)
  5871. CFuncs["Sound"].Create("rbxassetid://838392947", root, 10, 1)
  5872. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 1)
  5873. CFuncs["EchoSound"].Create("rbxassetid://1690475123", char, 1.5, 1,0,10,0.15,0.5,1)
  5874. CFuncs["EchoSound"].Create("rbxassetid://1690475123", root, 10, 1,0,10,0.15,0.5,1)
  5875. local keptcolor = MAINRUINCOLOR
  5876. for i = 0,4,0.1 do
  5877. swait()
  5878. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  5879. block(10,"Add",rarm.CFrame*CFrame.new(0,-6,0),vt(4,4,4),0.05,0.05,0.05,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5880. 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"))
  5881. 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)
  5882. 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)
  5883. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.25,-0.05)*angles(math.rad(-20),math.rad(0),math.rad(30)),.1)
  5884. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-30)),.1)
  5885. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(170),math.rad(-5),math.rad(10)),.1)
  5886. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-5),math.rad(10),math.rad(-20)),.1)
  5887. end
  5888. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,25,0,0,0,root,false,0,1)
  5889. CFuncs["Sound"].Create("rbxassetid://1368637781", root, 3,1)
  5890. CFuncs["Sound"].Create("rbxassetid://763718160", root, 4, 1.1)
  5891. CFuncs["Sound"].Create("rbxassetid://782353443", root, 6, 1)
  5892. CFuncs["EchoSound"].Create("rbxassetid://824687369", root, 10, 1,0,10,0.25,0.5,1)
  5893. CFuncs["EchoSound"].Create("rbxassetid://824687369", char, 2, 1,0,10,0.25,0.5,1)
  5894. coroutine.resume(coroutine.create(function()
  5895. local shval = 10
  5896. for i = 0, 99 do
  5897. swait()
  5898. shval = shval - 0.1
  5899. hum.CameraOffset = vt(math.random(-shval,shval)/15,math.random(-shval,shval)/15,math.random(-shval,shval)/15)
  5900. end
  5901. hum.CameraOffset = vt(0,0,0)
  5902. end))
  5903. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),1,0.01,1,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5904. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(10,1,10),2,0.01,2,MAINRUINCOLOR,MAINRUINCOLOR.Color)
  5905. for i = 0, 24 do
  5906. 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"))
  5907. end
  5908. local rrot = 0
  5909. local xam = 1
  5910. coroutine.resume(coroutine.create(function()
  5911. for i = 0, 14 do
  5912. --swait()
  5913. rrot = rrot + 40*xam
  5914. xam = xam + 0.25
  5915. local bonus = xam
  5916. local xa = CreateParta(char,0.5,1,"Neon",BrickColor.random())
  5917. xa.Anchored = true
  5918. xa.Color = Color3.new(0,0,0)
  5919. xa.CFrame = root.CFrame*CFrame.new(0,-3,-rrot/1.75)
  5920. CreateMesh(xa,"Sphere",30*bonus,1,30*bonus)
  5921. local xc = 0
  5922. coroutine.resume(coroutine.create(function()
  5923. for i = 0, 99 do
  5924. swait()
  5925. xc = xc + 0.01
  5926. xa.Color = Color3.new(xc,0,0)
  5927. end
  5928. xa.Transparency = 1
  5929. CFuncs["Sound"].Create("rbxassetid://331666100", xa, 5,0.75)
  5930. MagniDamage(xa, 30*bonus, 78*bonus,99*bonus, 0, "Normal")
  5931. for i = 0, 9 do
  5932. 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"))
  5933. end
  5934. 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)
  5935. 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)
  5936. 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))
  5937. game:GetService("Debris"):AddItem(xa, 5)
  5938. coroutine.resume(coroutine.create(function()
  5939. for i = 0, 19 do
  5940. swait()
  5941. hum.CameraOffset = vt(math.random(-10,10)/50,math.random(-10,10)/50,math.random(-10,10)/50)
  5942. end
  5943. hum.CameraOffset = vt(0,0,0)
  5944. end))
  5945. end))
  5946. end
  5947. end))
  5948. for i = 0,2,0.1 do
  5949. swait()
  5950. 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)
  5951. 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)
  5952. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.25,-0.5)*angles(math.rad(30),math.rad(0),math.rad(50)),.8)
  5953. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.8)
  5954. RW.C0=clerp(RW.C0,cf(1.45,0.5,0.1)*angles(math.rad(35),math.rad(-10),math.rad(30)),.8)
  5955. LW.C0=clerp(LW.C0,cf(-1.4,0.5,0.1)*angles(math.rad(-35),math.rad(10),math.rad(-50)),.8)
  5956. end
  5957. attack = false
  5958. hum.WalkSpeed = storehumanoidWS
  5959. end
  5960.  
  5961.  
  5962.  
  5963.  
  5964.  
  5965. function HeavenlyDisk()
  5966. attack = true
  5967. hum.WalkSpeed = 2
  5968. local keptcolor = MAINRUINCOLOR
  5969. local radm = math.random(1,3)
  5970. if radm == 1 then
  5971. bosschatfunc("im will not make this too easy for you.",MAINRUINCOLOR.Color,1)
  5972. elseif radm == 2 then
  5973. bosschatfunc("Angel Disks!",MAINRUINCOLOR.Color,1)
  5974. elseif radm == 3 then
  5975. bosschatfunc("Take it Human! DIE!!",MAINRUINCOLOR.Color,1)
  5976. end
  5977. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2, 1)
  5978. CFuncs["EchoSound"].Create("rbxassetid://1625448638", root, 4, 1,0,10,0.15,0.5,1)
  5979. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  5980. sphere2(5,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90),0,0),vt(1,1,1),0.2,0.2,0.2,keptcolor,keptcolor.Color)
  5981. for i = 0, 14 do
  5982. PixelBlock(1,math.random(1,3),"Add",larm.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,BrickColor.new("Toothpaste"),0)
  5983. end
  5984. for i = 0,2,0.1 do
  5985. swait()
  5986. 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)
  5987. 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)
  5988. 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)
  5989. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(-60)),.3)
  5990. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.3)
  5991. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  5992. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.3)
  5993. end
  5994. CFuncs["Sound"].Create("rbxassetid://763755889", root, 2.5,1.1)
  5995. for i = 0,1,0.6 do
  5996. swait()
  5997. 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)
  5998. 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"))
  5999. 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)
  6000. 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)
  6001. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(0)),.6)
  6002. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6003. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6004. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6005. end
  6006. for i = 0,1,0.6 do
  6007. swait()
  6008. 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)
  6009. 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"))
  6010. 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)
  6011. 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)
  6012. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.6)
  6013. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6014. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6015. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6016. end
  6017. for i = 0,1,0.6 do
  6018. swait()
  6019. 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)
  6020. 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"))
  6021. 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)
  6022. 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)
  6023. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(180)),.6)
  6024. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6025. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6026. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6027. end
  6028. for i = 0,1,0.6 do
  6029. swait()
  6030. 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)
  6031. 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"))
  6032. 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)
  6033. 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)
  6034. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(270)),.6)
  6035. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(30)),.6)
  6036. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.6)
  6037. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(60)),.6)
  6038. end
  6039. local rot = 15
  6040. for i = 0, 2 do
  6041. local dis = CreateParta(char,0.5,1,"Neon",BrickColor.new("Toothpaste"))
  6042. CFuncs["EchoSound"].Create("rbxassetid://763718160", dis, 3, 1.1,0,10,0.15,0.5,1)
  6043. dis.CFrame = root.CFrame*CFrame.new(0,2,-3)
  6044. CreateMesh(dis,"Sphere",10,1,10)
  6045. local at1 = Instance.new("Attachment",dis)
  6046. at1.Position = vt(-5,0,0)
  6047. local at2 = Instance.new("Attachment",dis)
  6048. at2.Position = vt(5,0,0)
  6049. local trl = Instance.new('Trail',wed)
  6050. trl.Attachment0 = at1
  6051. trl.Attachment1 = at2
  6052. trl.Texture = "rbxassetid://1049219073"
  6053. trl.LightEmission = 1
  6054. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6055. trl.Color = ColorSequence.new(dis.Color)
  6056. trl.Lifetime = 0.6
  6057. local a = Instance.new("Part",workspace)
  6058. a.Name = "Direction"
  6059. a.Anchored = true
  6060. a.BrickColor = bc("Bright red")
  6061. a.Material = "Neon"
  6062. a.Transparency = 1
  6063. a.CanCollide = false
  6064. local ray = Ray.new(
  6065. dis.CFrame.p, -- origin
  6066. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6067. )
  6068. local ignore = dis
  6069. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6070. a.BottomSurface = 10
  6071. a.TopSurface = 10
  6072. local distance = (dis.CFrame.p - position).magnitude
  6073. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6074. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6075. dis.CFrame = a.CFrame
  6076. dis.CFrame = dis.CFrame*CFrame.Angles(0,math.rad(rot),0)
  6077. a:Destroy()
  6078. local bv = Instance.new("BodyVelocity")
  6079. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6080. bv.velocity = dis.CFrame.lookVector*250
  6081. bv.Parent = dis
  6082. game:GetService("Debris"):AddItem(dis, 5)
  6083. local hitted = false
  6084. coroutine.resume(coroutine.create(function()
  6085. dis.Touched:connect(function(hit)
  6086. if hitted == false and hit.Parent ~= char then
  6087. hitted = true
  6088. CFuncs["EchoSound"].Create("rbxassetid://782200047", dis, 7, 1.1,0,10,0.15,0.5,1)
  6089. MagniDamage(dis, 30, 82,34575, 0, "Normal")
  6090. sphere2(8,"Add",dis.CFrame,vt(10,1,10),1,0.1,1,keptcolor,keptcolor.Color)
  6091. sphere2(4,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,keptcolor,keptcolor.Color)
  6092. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.5,0.5,0.5,BrickColor.new("White"),Color3.new(1,1,1))
  6093. coroutine.resume(coroutine.create(function()
  6094. for i = 0, 9 do
  6095. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6096. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6097. local at1 = Instance.new("Attachment",disr)
  6098. at1.Position = vt(-2,0,0)
  6099. local at2 = Instance.new("Attachment",disr)
  6100. at2.Position = vt(2,0,0)
  6101. local trl = Instance.new('Trail',disr)
  6102. trl.Attachment0 = at1
  6103. trl.FaceCamera = true
  6104. trl.Attachment1 = at2
  6105. trl.Texture = "rbxassetid://2342682798"
  6106. trl.LightEmission = 1
  6107. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6108. trl.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6109. trl.Lifetime = 0.5
  6110. local bv = Instance.new("BodyVelocity")
  6111. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6112. bv.velocity = disr.CFrame.lookVector*math.random(50,200)
  6113. bv.Parent = disr
  6114. local val = 0
  6115. coroutine.resume(coroutine.create(function()
  6116. swait(30)
  6117. for i = 0, 9 do
  6118. swait()
  6119. val = val + 0.1
  6120. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6121. end
  6122. game:GetService("Debris"):AddItem(disr, 3)
  6123. end))
  6124. end
  6125. local eff = Instance.new("ParticleEmitter",dis)
  6126. eff.Texture = "rbxassetid://2273224484"
  6127. eff.LightEmission = 1
  6128. eff.Color = ColorSequence.new(Color3.new(0.3,1,1))
  6129. eff.Rate = 500000
  6130. eff.Lifetime = NumberRange.new(0.5,2)
  6131. 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)})
  6132. 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)})
  6133. eff.Speed = NumberRange.new(20,250)
  6134. eff.Drag = 5
  6135. eff.Rotation = NumberRange.new(-500,500)
  6136. eff.VelocitySpread = 9000
  6137. eff.RotSpeed = NumberRange.new(-50,50)
  6138. wait(0.25)
  6139. eff.Enabled = false
  6140. end))
  6141. for i = 0, 9 do
  6142. 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"))
  6143. end
  6144. for i = 0, 19 do
  6145. PixelBlock(1,math.random(5,20),"Add",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  6146. end
  6147. coroutine.resume(coroutine.create(function()
  6148. for i = 0, 19 do
  6149. swait()
  6150. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6151. end
  6152. hum.CameraOffset = vt(0,0,0)
  6153. end))
  6154. dis.Anchored = true
  6155. dis.Transparency = 1
  6156. wait(8)
  6157. dis:Destroy()
  6158. end
  6159. end)
  6160. end))
  6161. rot = rot - 15
  6162. end
  6163. for i = 0,2,0.1 do
  6164. swait()
  6165. 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)
  6166. 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)
  6167. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(0),math.rad(0),math.rad(60)),.3)
  6168. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-50)),.3)
  6169. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-20),math.rad(0),math.rad(10)),.3)
  6170. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),math.rad(0),math.rad(-60)),.3)
  6171. end
  6172. attack = false
  6173. hum.WalkSpeed = storehumanoidWS
  6174. end
  6175.  
  6176. function RapidBurst()
  6177. attack = true
  6178. hum.WalkSpeed = 0
  6179. CFuncs["Sound"].Create("rbxassetid://1368598393", char, 2.5, 0.5)
  6180. CFuncs["Sound"].Create("rbxassetid://1368598393", root, 10, 0.5)
  6181. CFuncs["EchoSound"].Create("rbxassetid://1718412034", char, 4, 1,0,10,0.15,0.5,1)
  6182. bosschatfunc("SHATTER ON THE ERRORS!!!",MAINRUINCOLOR.Color,2)
  6183. local keptcolor = MAINRUINCOLOR
  6184. for i = 0,8,0.1 do
  6185. swait()
  6186. hum.CameraOffset = vt(math.random(-10,10)/100,math.random(-10,10)/100,math.random(-10,10)/100)
  6187. 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())
  6188. 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)
  6189. 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)
  6190. 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)
  6191. 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)
  6192. 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)
  6193. 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)
  6194. 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)
  6195. end
  6196. for i = 0, 99 do
  6197. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6198. 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)))
  6199. local at1 = Instance.new("Attachment",dis)
  6200. at1.Position = vt(-25000,0,0)
  6201. local at2 = Instance.new("Attachment",dis)
  6202. at2.Position = vt(25000,0,0)
  6203. local trl = Instance.new('Trail',dis)
  6204. trl.Attachment0 = at1
  6205. trl.FaceCamera = true
  6206. trl.Attachment1 = at2
  6207. trl.Texture = "rbxassetid://1049219073"
  6208. trl.LightEmission = 1
  6209. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6210. trl.Color = ColorSequence.new(BrickColor.random().Color)
  6211. trl.Lifetime = 5
  6212. local bv = Instance.new("BodyVelocity")
  6213. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6214. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6215. bv.Parent = dis
  6216. game:GetService("Debris"):AddItem(dis, 5)
  6217. end
  6218. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1)
  6219. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,1.5)
  6220. symbolizeBlink(root,0,2109052855,MAINRUINCOLOR.Color,125,0,0,0,root,false,0,3)
  6221. sphere2(2,"Add",root.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6222. sphere2(2,"Add",root.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6223. sphere2(2,"Add",root.CFrame,vt(1,1,1),4,4,4,BrickColor.random(),BrickColor.random().Color)
  6224. sphere2(2,"Add",root.CFrame,vt(1,1,1),8,8,8,BrickColor.random(),BrickColor.random().Color)
  6225. CFuncs["Sound"].Create("rbxassetid://1841058541", root, 10,1)
  6226. CFuncs["Sound"].Create("rbxassetid://2095993595", char, 5,0.8)
  6227. CFuncs["Sound"].Create("rbxassetid://1841058541", char, 5,1)
  6228. hum.CameraOffset = vt(0,0,0)
  6229. for i = 0, 24 do
  6230. 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())
  6231. end
  6232. local distam = 0
  6233. coroutine.resume(coroutine.create(function()
  6234. for i = 0, 99 do
  6235. wait()
  6236. distam = distam + 1
  6237. local xa = CreateParta(char,1,1,"SmoothPlastic",BrickColor.random())
  6238. xa.Anchored = true
  6239. xa.CFrame = root.CFrame*CFrame.new(math.random(-distam,distam),math.random(-distam,distam),math.random(-distam,distam))
  6240. game:GetService("Debris"):AddItem(xa, 5)
  6241. for i = 0, 4 do
  6242. 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())
  6243. end
  6244. coroutine.resume(coroutine.create(function()
  6245. local eff = Instance.new("ParticleEmitter",xa)
  6246. eff.Texture = "rbxassetid://2273224484"
  6247. eff.LightEmission = 1
  6248. eff.Color = ColorSequence.new(BrickColor.random().Color)
  6249. eff.Rate = 500000
  6250. eff.Lifetime = NumberRange.new(1,3)
  6251. 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)})
  6252. 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)})
  6253. eff.Speed = NumberRange.new(50,500)
  6254. eff.Drag = 5
  6255. eff.Rotation = NumberRange.new(-500,500)
  6256. eff.VelocitySpread = 9000
  6257. eff.RotSpeed = NumberRange.new(-50,50)
  6258. wait(0.25)
  6259. eff.Enabled = false
  6260. end))
  6261. coroutine.resume(coroutine.create(function()
  6262. for i = 0, 19 do
  6263. swait()
  6264. hum.CameraOffset = vt(math.random(-10,10)/10,math.random(-10,10)/10,math.random(-10,10)/10)
  6265. end
  6266. hum.CameraOffset = vt(0,0,0)
  6267. end))
  6268. CFuncs["Sound"].Create("rbxassetid://675172759", xa, 7,math.random(100,200)/200)
  6269. sphere2(5,"Add",xa.CFrame,vt(1,1,1),1,1,1,BrickColor.random(),BrickColor.random().Color)
  6270. sphere2(5,"Add",xa.CFrame,vt(1,1,1),2,2,2,BrickColor.random(),BrickColor.random().Color)
  6271. MagniDamage(xa, 60, 9999,99999, 0, "Normal")
  6272. end
  6273. end))
  6274. attack = false
  6275. hum.WalkSpeed = storehumanoidWS
  6276. end
  6277.  
  6278.  
  6279. function FallenOrbs()
  6280. attack = true
  6281. hum.WalkSpeed = 2
  6282. local keptcolor = MAINRUINCOLOR
  6283. CFuncs["EchoSound"].Create("rbxassetid://1448033299", char, 1.5, 1,0,10,0.15,0.5,1)
  6284. CFuncs["EchoSound"].Create("rbxassetid://1448033299", root, 10, 1,0,10,0.15,0.5,1)
  6285. local radm = math.random(1,3)
  6286. if radm == 1 then
  6287. bosschatfunc("This will not wont be easy to you.",MAINRUINCOLOR.Color,1)
  6288. elseif radm == 2 then
  6289. bosschatfunc("How about this? Huh",MAINRUINCOLOR.Color,1)
  6290. elseif radm == 3 then
  6291. bosschatfunc("Swarm on The Deathness!!",MAINRUINCOLOR.Color,1)
  6292. end
  6293. coroutine.resume(coroutine.create(function()
  6294. for i = 0, 29 do
  6295. swait(2)
  6296. local dis = CreateParta(char,0.5,1,"Neon",MAINRUINCOLOR)
  6297. dis.Anchored = true
  6298. CFuncs["Sound"].Create("rbxassetid://137463716", dis, 2.5,1.5)
  6299. dis.CFrame = root.CFrame*CFrame.new(math.random(-35,35),math.random(5,35),math.random(-35,35))
  6300. CreateMesh(dis,"Sphere",2,2,2)
  6301. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,keptcolor,keptcolor.Color)
  6302. 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"))
  6303. coroutine.resume(coroutine.create(function()
  6304. wait(0.5)
  6305. dis.Anchored = false
  6306. CFuncs["EchoSound"].Create("rbxassetid://1602800656", dis, 5, 1,0,2,0.15,0.1,1)
  6307. local at1 = Instance.new("Attachment",dis)
  6308. at1.Position = vt(-1,0,0)
  6309. local at2 = Instance.new("Attachment",dis)
  6310. at2.Position = vt(1,0,0)
  6311. local trl = Instance.new('Trail',dis)
  6312. trl.Attachment0 = at1
  6313. trl.FaceCamera = true
  6314. trl.Attachment1 = at2
  6315. trl.Texture = "rbxassetid://1049219073"
  6316. trl.LightEmission = 1
  6317. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6318. trl.Color = ColorSequence.new(dis.Color)
  6319. trl.Lifetime = 0.6
  6320. local a = Instance.new("Part",workspace)
  6321. a.Name = "Direction"
  6322. a.Anchored = true
  6323. a.BrickColor = bc("Bright red")
  6324. a.Material = "Neon"
  6325. a.Transparency = 1
  6326. a.CanCollide = false
  6327. local ray = Ray.new(
  6328. dis.CFrame.p, -- origin
  6329. (mouse.Hit.p - dis.CFrame.p).unit * 500 -- direction
  6330. )
  6331. local ignore = dis
  6332. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  6333. a.BottomSurface = 10
  6334. a.TopSurface = 10
  6335. local distance = (dis.CFrame.p - position).magnitude
  6336. a.Size = Vector3.new(0.1, 0.1, 0.1)
  6337. a.CFrame = CFrame.new(dis.CFrame.p, position) * CFrame.new(0, 0, 0)
  6338. dis.CFrame = a.CFrame
  6339. a:Destroy()
  6340. local bv = Instance.new("BodyVelocity")
  6341. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6342. bv.velocity = dis.CFrame.lookVector*500
  6343. bv.Parent = dis
  6344. game:GetService("Debris"):AddItem(dis, 5)
  6345. local hitted = false
  6346. coroutine.resume(coroutine.create(function()
  6347. dis.Touched:connect(function(hit)
  6348. if hitted == false and hit.Parent ~= char then
  6349. hitted = true
  6350. CFuncs["EchoSound"].Create("rbxassetid://675172759", dis, 2.5, 0.8,0,10,0.15,0.5,1)
  6351. MagniDamage(dis, 60, 25456,124672, 0, "Normal")
  6352. sphere2(1,"Add",dis.CFrame,vt(1,1,1),1,1,1,keptcolor,keptcolor.Color)
  6353. sphere2(8,"Add",dis.CFrame,vt(1,1,1),1.25,1.25,1.25,BrickColor.new("White"),Color3.new(1,1,1))
  6354. coroutine.resume(coroutine.create(function()
  6355. for i = 0, 4 do
  6356. local disr = CreateParta(char,1,1,"Neon",keptcolor)
  6357. disr.CFrame = dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  6358. local at1 = Instance.new("Attachment",disr)
  6359. at1.Position = vt(-10,0,0)
  6360. local at2 = Instance.new("Attachment",disr)
  6361. at2.Position = vt(10,0,0)
  6362. local trl = Instance.new('Trail',disr)
  6363. trl.Attachment0 = at1
  6364. trl.FaceCamera = true
  6365. trl.Attachment1 = at2
  6366. trl.Texture = "rbxassetid://2342682798"
  6367. trl.LightEmission = 1
  6368. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6369. trl.Color = ColorSequence.new(disr.Color)
  6370. trl.Lifetime = 0.5
  6371. local bv = Instance.new("BodyVelocity")
  6372. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6373. bv.velocity = disr.CFrame.lookVector*math.random(125,250)
  6374. bv.Parent = disr
  6375. local val = 0
  6376. coroutine.resume(coroutine.create(function()
  6377. swait(30)
  6378. for i = 0, 9 do
  6379. swait()
  6380. val = val + 0.1
  6381. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, val),NumberSequenceKeypoint.new(1, 1)})
  6382. end
  6383. game:GetService("Debris"):AddItem(disr, 3)
  6384. end))
  6385. end
  6386. local eff = Instance.new("ParticleEmitter",dis)
  6387. eff.Texture = "rbxassetid://2273224484"
  6388. eff.LightEmission = 1
  6389. eff.Color = ColorSequence.new(dis.Color)
  6390. eff.Rate = 500000
  6391. eff.Lifetime = NumberRange.new(0.5,2)
  6392. 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)})
  6393. 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)})
  6394. eff.Speed = NumberRange.new(20,250)
  6395. eff.Drag = 5
  6396. eff.Rotation = NumberRange.new(-500,500)
  6397. eff.VelocitySpread = 9000
  6398. eff.RotSpeed = NumberRange.new(-50,50)
  6399. wait(0.5)
  6400. eff.Enabled = false
  6401. end))
  6402. for i = 0, 4 do
  6403. 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"))
  6404. end
  6405. coroutine.resume(coroutine.create(function()
  6406. for i = 0, 19 do
  6407. swait()
  6408. hum.CameraOffset = vt(math.random(-10,10)/70,math.random(-10,10)/70,math.random(-10,10)/70)
  6409. end
  6410. hum.CameraOffset = vt(0,0,0)
  6411. end))
  6412. dis.Anchored = true
  6413. dis.Transparency = 1
  6414. wait(8)
  6415. dis:Destroy()
  6416. end
  6417. end)
  6418. end))
  6419. end))
  6420. end
  6421. end))
  6422. for i = 0,9,0.1 do
  6423. swait()
  6424. 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)
  6425. 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)
  6426. 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)
  6427. 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)
  6428. 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)
  6429. 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)
  6430. 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)
  6431. end
  6432. attack = false
  6433. hum.WalkSpeed = storehumanoidWS
  6434. end
  6435.  
  6436. function EquinoxOrbs()
  6437. hum.WalkSpeed = 0
  6438. attack = true
  6439. for i = 0,1,0.1 do
  6440. swait()
  6441. 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)
  6442. 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)
  6443. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6444. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6445. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(5),math.rad(40)),.3)
  6446. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-40)),.3)
  6447. end
  6448. sphere2(5,"Add",root.CFrame,vt(1,1,1),1.5,1.5,1.5,MAINRUINCOLOR)
  6449. sphere2(5,"Add",root.CFrame,vt(1,1,1),1,1,1,MAINRUINCOLOR)
  6450. for i = 0, 24 do
  6451. 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"))
  6452. end
  6453. CFuncs["Sound"].Create("rbxassetid://763716870", root, 8,1)
  6454. CFuncs["Sound"].Create("rbxassetid://782353443", root, 10,0.8)
  6455. CFuncs["Sound"].Create("rbxassetid://782225570", root, 9,0.5)
  6456. CFuncs["Sound"].Create("rbxassetid://763717569", root, 8,0.9)
  6457. for i = 0,4,0.1 do
  6458. swait()
  6459. root.CFrame = root.CFrame + root.CFrame.lookVector*7.5
  6460. local dis = CreateParta(char,0.25,1,"Neon",MAINRUINCOLOR)
  6461. CreateMesh(dis,"Sphere",1,1,1)
  6462. dis.Anchored = true
  6463. dis.CFrame = larm.CFrame*CFrame.new(0,-3,0)
  6464. local dis2 = CreateParta(char,0.25,1,"Neon",BrickColor.new("Really black"))
  6465. CreateMesh(dis2,"Sphere",1,1,1)
  6466. dis2.Anchored = true
  6467. dis2.CFrame = rarm.CFrame*CFrame.new(0,-3,0)
  6468. sphere2(5,"Add",dis.CFrame,vt(1,1,1),0.1,0.1,0.1,dis.BrickColor,dis.Color)
  6469. sphere2(5,"Add",dis2.CFrame,vt(1,1,1),0.1,0.1,0.1,dis2.BrickColor,dis2.Color)
  6470. coroutine.resume(coroutine.create(function()
  6471. swait(60)
  6472. dis.Transparency = 1
  6473. dis2.Transparency = 1
  6474. coroutine.resume(coroutine.create(function()
  6475. for i = 0, 19 do
  6476. swait()
  6477. hum.CameraOffset = vt(math.random(-10,10)/40,math.random(-10,10)/40,math.random(-10,10)/40)
  6478. end
  6479. hum.CameraOffset = vt(0,0,0)
  6480. end))
  6481. coroutine.resume(coroutine.create(function()
  6482. local eff = Instance.new("ParticleEmitter",dis)
  6483. eff.Texture = "rbxassetid://2273224484"
  6484. eff.LightEmission = 1
  6485. eff.Color = ColorSequence.new(dis.Color)
  6486. eff.Rate = 500000
  6487. eff.Lifetime = NumberRange.new(0.5,2)
  6488. 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)})
  6489. 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)})
  6490. eff.Speed = NumberRange.new(50,450)
  6491. eff.Drag = 5
  6492. eff.Rotation = NumberRange.new(-500,500)
  6493. eff.VelocitySpread = 9000
  6494. eff.RotSpeed = NumberRange.new(-50,50)
  6495. local eff2 = eff:Clone()
  6496. eff2.Parent = dis2
  6497. eff2.LightEmission = 0
  6498. eff2.Color = ColorSequence.new(dis2.Color)
  6499. wait(0.25)
  6500. eff.Enabled = false
  6501. eff2.Enabled = false
  6502. end))
  6503. MagniDamage(dis, 55, 89,219788936, 0, "Normal")
  6504. MagniDamage(dis2, 55, 89,219788936, 0, "Normal")
  6505. for i = 0, 2 do
  6506. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis.BrickColor)
  6507. slash(math.random(10,80)/10,5,true,"Round","Add","Out",dis2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.01,0.01,0.01),math.random(100,300)/250,dis2.BrickColor)
  6508. end
  6509. CFuncs["Sound"].Create("rbxassetid://782353117", dis, 1,0.75)
  6510. CFuncs["Sound"].Create("rbxassetid://782353117", dis2, 1,0.75)
  6511. CFuncs["Sound"].Create("rbxassetid://1666361078", dis, 1,1.25)
  6512. CFuncs["Sound"].Create("rbxassetid://1666361078", dis2, 1,1.25)
  6513. CFuncs["Sound"].Create("rbxassetid://782353443", dis, 2,1.15)
  6514. CFuncs["Sound"].Create("rbxassetid://782353443", dis2, 2,1.15)
  6515. sphere2(3,"Add",dis.CFrame,vt(1,1,1),0.8,0.8,0.8,dis.BrickColor,dis.Color)
  6516. sphere2(3,"Add",dis2.CFrame,vt(1,1,1),0.8,0.8,0.8,dis2.BrickColor,dis2.Color)
  6517. end))
  6518. game:GetService("Debris"):AddItem(dis, 5)
  6519. game:GetService("Debris"):AddItem(dis2, 5)
  6520. 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)
  6521. 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)
  6522. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5)*angles(math.rad(90),math.rad(0),math.rad(0)),.2)
  6523. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-17),math.rad(0),math.rad(0)),.2)
  6524. RW.C0=clerp(RW.C0,cf(1.4,1.5,0)*angles(math.rad(0),math.rad(5),math.rad(210)),.1)
  6525. LW.C0=clerp(LW.C0,cf(-1.4,1.5,0)*angles(math.rad(0),math.rad(-5),math.rad(-210)),.1)
  6526. end
  6527. attack = false
  6528. hum.WalkSpeed = storehumanoidWS
  6529. end
  6530. function FallenDEMISE()
  6531. attack = true
  6532. hum.WalkSpeed = 0
  6533. local keptcolor = MAINRUINCOLOR
  6534. bosschatfunc("ALL OF YOUR EXISTANCE WILL BE GONE ON THIS WOLRD. AND YOU NEVER COME BACK!!",MAINRUINCOLOR.Color,3)
  6535. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5,0.75)
  6536. CFuncs["Sound"].Create("rbxassetid://136007472", char, 2,0.5)
  6537. for i = 0, 15, 0.1 do
  6538. swait()
  6539. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6540. 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)))
  6541. local at1 = Instance.new("Attachment",dis)
  6542. at1.Position = vt(-25000,0,0)
  6543. local at2 = Instance.new("Attachment",dis)
  6544. at2.Position = vt(25000,0,0)
  6545. local trl = Instance.new('Trail',dis)
  6546. trl.Attachment0 = at1
  6547. trl.FaceCamera = true
  6548. trl.Attachment1 = at2
  6549. trl.Texture = "rbxassetid://1049219073"
  6550. trl.LightEmission = 1
  6551. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6552. trl.Color = ColorSequence.new(dis.Color)
  6553. trl.Lifetime = 5
  6554. local bv = Instance.new("BodyVelocity")
  6555. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6556. bv.velocity = dis.CFrame.lookVector*math.random(500,2500)
  6557. bv.Parent = dis
  6558. game:GetService("Debris"):AddItem(dis, 1)
  6559. sphere2(15,"Add",root.CFrame,vt(8,8,8),2,2,2,MAINRUINCOLOR)
  6560. 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"))
  6561. 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"))
  6562. 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)
  6563. 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)
  6564. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6565. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6566. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6567. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6568. end
  6569. CFuncs["Sound"].Create("rbxassetid://294188875", char, 10,1)
  6570. for i = 0, 30, 0.1 do
  6571. swait()
  6572. coroutine.resume(coroutine.create(function()
  6573. for i, v in pairs(FindNearestHead(root.CFrame.p, 10000000)) do
  6574. if v:FindFirstChild('Head') then
  6575. dmg(v)
  6576. end
  6577. end
  6578. end))
  6579. local dis = CreateParta(char,1,1,"Neon",MAINRUINCOLOR)
  6580. 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)))
  6581. local at1 = Instance.new("Attachment",dis)
  6582. at1.Position = vt(-50000,0,0)
  6583. local at2 = Instance.new("Attachment",dis)
  6584. at2.Position = vt(50000,0,0)
  6585. local trl = Instance.new('Trail',dis)
  6586. trl.Attachment0 = at1
  6587. trl.FaceCamera = true
  6588. trl.Attachment1 = at2
  6589. trl.Texture = "rbxassetid://1049219073"
  6590. trl.LightEmission = 1
  6591. trl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  6592. trl.Color = ColorSequence.new(dis.Color)
  6593. trl.Lifetime = 10
  6594. local bv = Instance.new("BodyVelocity")
  6595. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  6596. bv.velocity = dis.CFrame.lookVector*math.random(1500,10000)
  6597. bv.Parent = dis
  6598. game:GetService("Debris"):AddItem(dis, math.random(1,4))
  6599. sphere2(15,"Add",root.CFrame,vt(8,80000,8),5,1,5,MAINRUINCOLOR)
  6600. sphere2(15,"Add",root.CFrame,vt(8,8,8),8,8,8,MAINRUINCOLOR)
  6601. 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"))
  6602. 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"))
  6603. 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"))
  6604. 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"))
  6605. for i = 0, 2 do
  6606. 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)
  6607. end
  6608. 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)
  6609. 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)
  6610. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(5),math.rad(0),math.rad(0)),.1)
  6611. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6612. RW.C0=clerp(RW.C0,cf(1.15,0.5,-0.5)*angles(math.rad(92),math.rad(0),math.rad(-67)),.1)
  6613. LW.C0=clerp(LW.C0,cf(-1.15,0.5,-0.5)*angles(math.rad(90),math.rad(0),math.rad(68)),.1)
  6614. end
  6615. attack = false
  6616. hum.WalkSpeed = storehumanoidWS
  6617. end
  6618. -------------------------------------
  6619.  
  6620. Humanoid.Animator.Parent = nil
  6621.  
  6622. -------------------------------------
  6623.  
  6624.  
  6625. local NewInstance = function(instance,parent,properties)
  6626. local inst = Instance.new(instance,parent)
  6627. if(properties)then
  6628. for i,v in next, properties do
  6629. pcall(function() inst[i] = v end)
  6630. end
  6631. end
  6632. return inst;
  6633. end
  6634.  
  6635.  
  6636.  
  6637.  
  6638.  
  6639.  
  6640. -- 1 - Soul
  6641. obj1 = Instance.new("Model")
  6642. obj1.Name = "Soul"
  6643. obj1.Parent = Character
  6644.  
  6645. -- 2 - Rarm
  6646. obj2 = Instance.new("Part")
  6647. obj2.CFrame = CFrame.new(Vector3.new(0, 5.00677776, 0.839999974)) * CFrame.Angles(-0, 0, -0)
  6648. obj2.Transparency = 0.10000000149012
  6649. obj2.TopSurface = Enum.SurfaceType.Smooth
  6650. obj2.BottomSurface = Enum.SurfaceType.Smooth
  6651. obj2.Material = Enum.Material.SmoothPlastic
  6652. obj2.Size = Vector3.new(1, 2, 1)
  6653. obj2.BrickColor = BrickColor.new("Really black")
  6654. obj2.Friction = 0.30000001192093
  6655. obj2.Shape = Enum.PartType.Block
  6656. obj2.Name = "Right Arm"
  6657. obj2.Parent = obj1
  6658.  
  6659. -- 3 - Lleg
  6660. obj3 = Instance.new("Part")
  6661. obj3.CFrame = CFrame.new(Vector3.new(-2.00157046, 3.0155406, 0.839999974)) * CFrame.Angles(-0, 0, -0)
  6662. obj3.Transparency = 0.10000000149012
  6663. obj3.TopSurface = Enum.SurfaceType.Smooth
  6664. obj3.BottomSurface = Enum.SurfaceType.Smooth
  6665. obj3.Material = Enum.Material.SmoothPlastic
  6666. obj3.Size = Vector3.new(1, 2, 1)
  6667. obj3.BrickColor = BrickColor.new("Really black")
  6668. obj3.Friction = 0.30000001192093
  6669. obj3.Shape = Enum.PartType.Block
  6670. obj3.Name = "Left Leg"
  6671. obj3.Parent = obj1
  6672.  
  6673. -- 4 - Rleg
  6674. obj4 = Instance.new("Part")
  6675. obj4.CFrame = CFrame.new(Vector3.new(-0.995244026, 3.0155406, 0.839999974)) * CFrame.Angles(-0, 0, -0)
  6676. obj4.Transparency = 0.10000000149012
  6677. obj4.TopSurface = Enum.SurfaceType.Smooth
  6678. obj4.BottomSurface = Enum.SurfaceType.Smooth
  6679. obj4.Material = Enum.Material.SmoothPlastic
  6680. obj4.Size = Vector3.new(1, 2, 1)
  6681. obj4.BrickColor = BrickColor.new("Really black")
  6682. obj4.Friction = 0.30000001192093
  6683. obj4.Shape = Enum.PartType.Block
  6684. obj4.Name = "Right Leg"
  6685. obj4.Parent = obj1
  6686.  
  6687. -- 5 - Torso
  6688. obj5 = Instance.new("Part")
  6689. obj5.CFrame = CFrame.new(Vector3.new(-1.48532581, 5.00677776, 0.839999974)) * CFrame.Angles(-0, 0, -0)
  6690. obj5.Transparency = 0.10000000149012
  6691. obj5.TopSurface = Enum.SurfaceType.Smooth
  6692. obj5.BottomSurface = Enum.SurfaceType.Smooth
  6693. obj5.Material = Enum.Material.SmoothPlastic
  6694. obj5.Size = Vector3.new(2, 2, 1)
  6695. obj5.BrickColor = BrickColor.new("Really black")
  6696. obj5.Friction = 0.30000001192093
  6697. obj5.Shape = Enum.PartType.Block
  6698. obj5.Name = "Torso"
  6699. obj5.Parent = obj1
  6700.  
  6701. -- 6 - Hed
  6702. obj6 = Instance.new("Part")
  6703. obj6.CFrame = CFrame.new(Vector3.new(-1.48500001, 6.61047459, 0.839999974)) * CFrame.Angles(-0, 0, -0)
  6704. obj6.Transparency = 0.10000000149012
  6705. obj6.TopSurface = Enum.SurfaceType.Smooth
  6706. obj6.BottomSurface = Enum.SurfaceType.Smooth
  6707. obj6.Material = Enum.Material.SmoothPlastic
  6708. obj6.Size = Vector3.new(1.17999983, 1.17999983, 1.17999983)
  6709. obj6.BrickColor = BrickColor.new("Really black")
  6710. obj6.Friction = 0.30000001192093
  6711. obj6.Shape = Enum.PartType.Block
  6712. obj6.Name = "Head"
  6713. obj6.Parent = obj1
  6714.  
  6715. -- 7 - Larm
  6716. obj7 = Instance.new("Part")
  6717. obj7.CFrame = CFrame.new(Vector3.new(-2.99371362, 5.00677776, 0.839999974)) * CFrame.Angles(-0, 0, -0)
  6718. obj7.Transparency = 0.10000000149012
  6719. obj7.TopSurface = Enum.SurfaceType.Smooth
  6720. obj7.BottomSurface = Enum.SurfaceType.Smooth
  6721. obj7.Material = Enum.Material.SmoothPlastic
  6722. obj7.Size = Vector3.new(1, 2, 1)
  6723. obj7.BrickColor = BrickColor.new("Really black")
  6724. obj7.Friction = 0.30000001192093
  6725. obj7.Shape = Enum.PartType.Block
  6726. obj7.Name = "Left Arm"
  6727. obj7.Parent = obj1
  6728.  
  6729. Model0 = Instance.new("Model")
  6730. Part1 = Instance.new("Part")
  6731. Part2 = Instance.new("Part")
  6732. Part3 = Instance.new("Part")
  6733. Part4 = Instance.new("Part")
  6734. Part5 = Instance.new("Part")
  6735. Part6 = Instance.new("Part")
  6736. Model0.Name = "Soul"
  6737. Model0.Parent = Character
  6738. Part1.Name = "Right Arm"
  6739. Part1.Parent = Model0
  6740. Part1.CFrame = CFrame.new(0, 5.00677776, 0.839999974, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6741. Part1.Position = Vector3.new(0, 5.00677776, 0.839999974)
  6742. Part1.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6743. Part1.Transparency = 0.10000000149012
  6744. Part1.Size = Vector3.new(1, 2, 1)
  6745. Part1.BottomSurface = Enum.SurfaceType.Smooth
  6746. Part1.BrickColor = BrickColor.new("Really black")
  6747. Part1.Material = Enum.Material.SmoothPlastic
  6748. Part1.TopSurface = Enum.SurfaceType.Smooth
  6749. Part1.brickColor = BrickColor.new("Really black")
  6750. Part2.Name = "Left Leg"
  6751. Part2.Parent = Model0
  6752. Part2.CFrame = CFrame.new(-2.00157046, 3.0155406, 0.839999974, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6753. Part2.Position = Vector3.new(-2.00157046, 3.0155406, 0.839999974)
  6754. Part2.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6755. Part2.Transparency = 0.10000000149012
  6756. Part2.Size = Vector3.new(1, 2, 1)
  6757. Part2.BottomSurface = Enum.SurfaceType.Smooth
  6758. Part2.BrickColor = BrickColor.new("Really black")
  6759. Part2.Material = Enum.Material.SmoothPlastic
  6760. Part2.TopSurface = Enum.SurfaceType.Smooth
  6761. Part2.brickColor = BrickColor.new("Really black")
  6762. Part3.Name = "Right Leg"
  6763. Part3.Parent = Model0
  6764. Part3.CFrame = CFrame.new(-0.995244026, 3.0155406, 0.839999974, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6765. Part3.Position = Vector3.new(-0.995244026, 3.0155406, 0.839999974)
  6766. Part3.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6767. Part3.Transparency = 0.10000000149012
  6768. Part3.Size = Vector3.new(1, 2, 1)
  6769. Part3.BottomSurface = Enum.SurfaceType.Smooth
  6770. Part3.BrickColor = BrickColor.new("Really black")
  6771. Part3.Material = Enum.Material.SmoothPlastic
  6772. Part3.TopSurface = Enum.SurfaceType.Smooth
  6773. Part3.brickColor = BrickColor.new("Really black")
  6774. Part4.Name = "Torso"
  6775. Part4.Parent = Model0
  6776. Part4.CFrame = CFrame.new(-1.48532581, 5.00677776, 0.839999974, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6777. Part4.Position = Vector3.new(-1.48532581, 5.00677776, 0.839999974)
  6778. Part4.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6779. Part4.Transparency = 0.10000000149012
  6780. Part4.Size = Vector3.new(2, 2, 1)
  6781. Part4.BottomSurface = Enum.SurfaceType.Smooth
  6782. Part4.BrickColor = BrickColor.new("Really black")
  6783. Part4.Material = Enum.Material.SmoothPlastic
  6784. Part4.TopSurface = Enum.SurfaceType.Smooth
  6785. Part4.brickColor = BrickColor.new("Really black")
  6786. Part5.Name = "Head"
  6787. Part5.Parent = Model0
  6788. Part5.CFrame = CFrame.new(-1.48500001, 6.61047459, 0.839999974, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6789. Part5.Position = Vector3.new(-1.48500001, 6.61047459, 0.839999974)
  6790. Part5.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6791. Part5.Transparency = 0.10000000149012
  6792. Part5.Size = Vector3.new(1.17999983, 1.17999983, 1.17999983)
  6793. Part5.BottomSurface = Enum.SurfaceType.Smooth
  6794. Part5.BrickColor = BrickColor.new("Really black")
  6795. Part5.Material = Enum.Material.SmoothPlastic
  6796. Part5.TopSurface = Enum.SurfaceType.Smooth
  6797. Part5.brickColor = BrickColor.new("Really black")
  6798. Part6.Name = "Left Arm"
  6799. Part6.Parent = Model0
  6800. Part6.CFrame = CFrame.new(-2.99371362, 5.00677776, 0.839999974, 1, 0, 0, 0, 1, 0, 0, 0, 1)
  6801. Part6.Position = Vector3.new(-2.99371362, 5.00677776, 0.839999974)
  6802. Part6.Color = Color3.new(0.0666667, 0.0666667, 0.0666667)
  6803. Part6.Transparency = 0.10000000149012
  6804. Part6.Size = Vector3.new(1, 2, 1)
  6805. Part6.BottomSurface = Enum.SurfaceType.Smooth
  6806. Part6.BrickColor = BrickColor.new("Really black")
  6807. Part6.Material = Enum.Material.SmoothPlastic
  6808. Part6.TopSurface = Enum.SurfaceType.Smooth
  6809. Part6.brickColor = BrickColor.new("Really black")
  6810. --local humanize = true
  6811.  
  6812.  
  6813. for i,v in pairs(obj1:GetChildren())do
  6814. v.Anchored = true
  6815. v.Transparency = 1
  6816. end
  6817. for i,v in pairs(Model0:GetChildren())do
  6818. v.Anchored = true
  6819. v.Transparency = 1
  6820. end
  6821. --[[
  6822. if humanize == true then
  6823. for i,v in pairs(obj1:GetChildren())do
  6824. v.Material = Enum.Material.Plastic
  6825. end
  6826. for i,v in pairs(Model0:GetChildren())do
  6827. v.Material = Enum.Material.Plastic
  6828. end
  6829. local humanoid1 = Instance.new("Humanoid",obj1)
  6830. local humanoid2 = Instance.new("Humanoid",Model0)
  6831. wait(0.2)
  6832. local bc1 = workspace:WaitForChild("Davidgrativol")["Body Colors"]:Clone()
  6833. bc1.Parent = obj1
  6834. local bc2 = workspace:WaitForChild("Davidgrativol")["Body Colors"]:Clone()
  6835. bc2.Parent = Model0
  6836. shirt = Instance.new("Shirt", obj1)
  6837. shirt.Name = "Shirt"
  6838. pants = Instance.new("Pants", obj1)
  6839. pants.Name = "Pants"
  6840. obj1.Shirt.ShirtTemplate = workspace:WaitForChild("Davidgrativol").Shirt.ShirtTemplate
  6841. obj1.Pants.PantsTemplate = workspace:WaitForChild("Davidgrativol").Pants.PantsTemplate
  6842. shirt1 = Instance.new("Shirt", Model0)
  6843. shirt1.Name = "Shirt1"
  6844. pants1 = Instance.new("Pants", Model0)
  6845. pants1.Name = "Pants1"
  6846. Model0.Shirt1.ShirtTemplate = workspace:WaitForChild("Davidgrativol").Shirt.ShirtTemplate
  6847. Model0.Pants1.PantsTemplate = workspace:WaitForChild("Davidgrativol").Pants.PantsTemplate
  6848. local mesh1 = workspace:WaitForChild("Davidgrativol").Head.Mesh:Clone()
  6849. mesh1.Parent = obj6
  6850. local mesh2 = workspace:WaitForChild("Davidgrativol").Head.Mesh:Clone()
  6851. mesh2.Parent = Part5
  6852. local faz1 = workspace:WaitForChild("Davidgrativol").Head.face:Clone()
  6853. faz1.Parent = obj6
  6854. local faz2 = workspace:WaitForChild("Davidgrativol").Head.face:Clone()
  6855. faz2.Parent = Part5
  6856. end
  6857. --]]
  6858.  
  6859. --[[
  6860.  
  6861. CFRAME TEMPLATE.
  6862.  
  6863. for i = 1,20 do
  6864. swait()
  6865. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(0* Player_Size, 0* Player_Size, -0.1) * angles(Rad(0 + 0.5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.1)
  6866. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(3 - 3 * Cos(sine / 16))), 0.1)
  6867. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  6868. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  6869. RW.C0 = clerp(RW.C0, CF(1.5, 0.5 , 0) * angles(Rad(-0), Rad(0 + 2 * Sin(sine/16)), Rad(0)), 0.1)
  6870. LW.C0 = clerp(LW.C0, CF(-1.5, 0.5, 0) * angles(Rad(-0), Rad(0 - 2* Sin(sine/16)), Rad(0)), 0.1)
  6871. end
  6872.  
  6873. --]]
  6874.  
  6875. coroutine.resume(coroutine.create(function()
  6876. while true do
  6877. swait()
  6878. for i,v in pairs(obj1:GetChildren())do
  6879. v.BrickColor = MAINRUINCOLOR
  6880. v.CanCollide = false
  6881. end
  6882. for i,v in pairs(Model0:GetChildren())do
  6883. v.BrickColor = MAINRUINCOLOR
  6884. v.CanCollide = false
  6885. end
  6886. obj5.CFrame = workspace:WaitForChild("Davidgrativol").Torso.CFrame + Vector3.new(5,0,0)
  6887. obj6.CFrame = workspace:WaitForChild("Davidgrativol").Head.CFrame + Vector3.new(5,0,0)
  6888. obj7.CFrame = workspace:WaitForChild("Davidgrativol")["Left Arm"].CFrame + Vector3.new(5,0,0)
  6889. obj2.CFrame = workspace:WaitForChild("Davidgrativol")["Right Arm"].CFrame + Vector3.new(5,0,0)
  6890. obj3.CFrame = workspace:WaitForChild("Davidgrativol")["Left Leg"].CFrame + Vector3.new(5,0,0)
  6891. obj4.CFrame = workspace:WaitForChild("Davidgrativol")["Right Leg"].CFrame + Vector3.new(5,0,0)
  6892. Part4.CFrame = workspace:WaitForChild("Davidgrativol").Torso.CFrame + Vector3.new(-5,0,0)
  6893. Part5.CFrame = workspace:WaitForChild("Davidgrativol").Head.CFrame + Vector3.new(-5,0,0)
  6894. Part6.CFrame = workspace:WaitForChild("Davidgrativol")["Left Arm"].CFrame + Vector3.new(-5,0,0)
  6895. Part1.CFrame = workspace:WaitForChild("Davidgrativol")["Right Arm"].CFrame + Vector3.new(-5,0,0)
  6896. Part2.CFrame = workspace:WaitForChild("Davidgrativol")["Left Leg"].CFrame + Vector3.new(-5,0,0)
  6897. Part3.CFrame = workspace:WaitForChild("Davidgrativol")["Right Leg"].CFrame + Vector3.new(-5,0,0)
  6898. end
  6899. end))
  6900.  
  6901. local CloneValue = false
  6902. function CloneAppearance()
  6903. if CloneValue == false then
  6904. CFuncs["Sound"].Create("rbxassetid://144957940", char, 3,1.4)
  6905. bosschatfunc("Realm's Collide Of Happyness!!!!",MAINRUINCOLOR.Color,1)
  6906. sphere2(4,"Add",obj5.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6907. sphere2(2,"Add",obj5.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6908. for i,v in pairs(obj1:GetChildren())do
  6909. v.Transparency = 0.1
  6910. v.Material = Enum.Material.Neon
  6911. end
  6912. sphere2(4,"Add",Part4.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6913. sphere2(2,"Add",Part4.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6914. for i,v in pairs(Model0:GetChildren())do
  6915. v.Transparency = 0.1
  6916. v.Material = Enum.Material.Neon
  6917. end
  6918. CloneValue = true
  6919. elseif CloneValue == true then
  6920. CFuncs["Sound"].Create("rbxassetid://144957940", char, 3,0.8)
  6921. bosschatfunc("Realm's Decentegrated of Deathness!!!!",MAINRUINCOLOR.Color,1)
  6922. for i,v in pairs(obj1:GetChildren())do
  6923. v.Transparency = 1
  6924. v.Material = Enum.Material.Neon
  6925. end
  6926. sphere2(4,"Add",obj5.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6927. sphere2(2,"Add",obj5.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6928. for i,v in pairs(Model0:GetChildren())do
  6929. v.Transparency = 1
  6930. v.Material = Enum.Material.Neon
  6931. end
  6932. sphere2(4,"Add",Part4.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6933. sphere2(2,"Add",Part4.CFrame,vt(5,5,5),0.1,0.1,0.1,MAINRUINCOLOR)
  6934. CloneValue = false
  6935. end
  6936.  
  6937. end
  6938.  
  6939. function Violinceisfunkids()
  6940. attack = true
  6941. newTheme("rbxassetid://142657040",0,1,1.01)
  6942.  
  6943. ModeOfGlitch = 666666666
  6944. storehumanoidWS = 150
  6945. hum.WalkSpeed = 150
  6946. rainbowmode = false
  6947. chaosmode = false
  6948. tl1.Enabled = true
  6949. tl2.Enabled = true
  6950. tl3.Enabled = true
  6951. RecolorTextAndRename("A N G R E D H A P P Y N E S S",Color3.new(0,0,0),Color3.new(1,0,0),"Antique")
  6952. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6953. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6954. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6955. symbolizeBlink(root,0,2092248396,MAINRUINCOLOR.Color,5,3,1,847061203,root,true,10,1)
  6956. symbolizeBlink(root,0,2092248396,Color3.new(0.15,0,0),4,0,0,0,root,true,-5,1)
  6957. for i, v in pairs(mw2:GetChildren()) do
  6958. if v:IsA("Part") then
  6959. v.BrickColor = MAINRUINCOLOR
  6960. v.Material = "Neon"
  6961. end
  6962. end
  6963. for i, v in pairs(mw1:GetChildren()) do
  6964. if v:IsA("Part") then
  6965. v.Transparency = 0
  6966. v.BrickColor = MAINRUINCOLOR
  6967. v.Material = "Neon"
  6968. end
  6969. end
  6970. for i, v in pairs(m:GetChildren()) do
  6971. if v:IsA("Part") then
  6972. v.Color = Color3.new(0.15,0,0)
  6973. v.Material = "Neon"
  6974. end
  6975. end
  6976. for i, v in pairs(m2:GetChildren()) do
  6977. if v:IsA("Part") then
  6978. v.Color = Color3.new(0.15,0,0)
  6979. v.Material = "Neon"
  6980. end
  6981. end
  6982. for i, v in pairs(m3:GetChildren()) do
  6983. if v:IsA("Part") then
  6984. v.Color = Color3.new(0.15,0,0)
  6985. v.Material = "Neon"
  6986. end
  6987. end
  6988. for i, v in pairs(extrawingmod1:GetChildren()) do
  6989. if v:IsA("Part") then
  6990. v.Transparency = 0
  6991. v.Color = Color3.new(0.15,0,0)
  6992. v.Material = "Neon"
  6993. end
  6994. end
  6995. for i, v in pairs(extrawingmod2:GetChildren()) do
  6996. if v:IsA("Part") then
  6997. v.Transparency = 0
  6998. v.Color = Color3.new(0.15,0,0)
  6999. v.Material = "Neon"
  7000. end
  7001. end
  7002.  
  7003. Torso.Anchored = false
  7004. attack = false
  7005. end
  7006.  
  7007.  
  7008.  
  7009. local attacktype = 1
  7010. mouse.Button1Down:connect(function()
  7011. if attack == false and attacktype == 1 then
  7012. attacktype = 2
  7013. attackone()
  7014. elseif attack == false and attacktype == 2 then
  7015. attacktype = 3
  7016. attacktwo()
  7017. elseif attack == false and attacktype == 3 then
  7018. attacktype = 1
  7019. attackthree()
  7020. elseif attack == false and attacktype == 4 then
  7021. attacktype = 1
  7022. end
  7023. end)
  7024. mouse.KeyDown:connect(function(k)
  7025. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  7026. --normalmog() ---Disabled due to crashing... only in VSB
  7027. ModeOfGlitch = 1
  7028. storehumanoidWS = 16
  7029. hum.WalkSpeed = 16
  7030. rainbowmode = false
  7031. chaosmode = false
  7032. newTheme("rbxassetid://614032233",48.6,1,1.25)
  7033. RecolorTextAndRename("CL-Happy!",Color3.new(0.25,0,0),Color3.new(1,0,0),"Antique")
  7034. MAINRUINCOLOR = BrickColor.new("Really red")
  7035. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,false)
  7036. end
  7037. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  7038. ModeOfGlitch = 2
  7039. storehumanoidWS = 16
  7040. hum.WalkSpeed = 16
  7041. rainbowmode = false
  7042. chaosmode = false
  7043. RecolorTextAndRename("Blue-Happy!",Color3.new(0,1,1),Color3.new(1,1,1),"Code")
  7044. newTheme("rbxassetid://2482117221",0,1,1.25)
  7045. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  7046. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7047. end
  7048. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  7049. ModeOfGlitch = 3
  7050. storehumanoidWS = 16
  7051. hum.WalkSpeed = 16
  7052. rainbowmode = false
  7053. chaosmode = false
  7054. RecolorTextAndRename("CORRUPTION HAPPYNESS",Color3.new(0,0,0),Color3.new(0.35,0,1),"Antique")
  7055. newTheme("rbxassetid://1283869370",58.15,0.98,1.25)
  7056. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7057. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7058. end
  7059. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  7060. ModeOfGlitch = 4
  7061. storehumanoidWS = 16
  7062. hum.WalkSpeed = 16
  7063. rainbowmode = false
  7064. chaosmode = true
  7065. RecolorTextAndRename("CHaOs HaPpynESs",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  7066. newTheme("rbxassetid://1369263130",0,1.01,1.25)
  7067. MAINRUINCOLOR = BrickColor.new("Black")
  7068. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7069. end
  7070. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  7071. ModeOfGlitch = 5
  7072. storehumanoidWS = 16
  7073. hum.WalkSpeed = 16
  7074. rainbowmode = false
  7075. chaosmode = false
  7076. RecolorTextAndRename("DIVINITY HAPPYNESS",Color3.new(1,1,1),Color3.new(1,1,0.5),"SciFi")
  7077. newTheme("rbxassetid://661079869",0,1.02,1.25)
  7078. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  7079. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7080. end
  7081. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  7082. ModeOfGlitch = 6
  7083. storehumanoidWS = 100
  7084. hum.WalkSpeed = 100
  7085. rainbowmode = false
  7086. chaosmode = false
  7087. RecolorTextAndRename("CHESSED-HAPPY",Color3.new(0,0,0),Color3.new(1,1,1),"Fantasy")
  7088. newTheme("rbxassetid://1347011178",0,1.01,1.25)
  7089. MAINRUINCOLOR = BrickColor.new("White")
  7090. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7091. end
  7092. if k == "f" and attack == false and ModeOfGlitch ~= 8 then
  7093. ModeOfGlitch = 8
  7094. storehumanoidWS = 140
  7095. hum.WalkSpeed = 140
  7096. rainbowmode = false
  7097. chaosmode = false
  7098. RecolorTextAndRename("ANGELIC/ANGEL HAPPYNESS",Color3.new(1,1,1),BrickColor.new("Alder").Color,"Code")
  7099. newTheme("rbxassetid://1495032271",0,1.01,1.25)
  7100. MAINRUINCOLOR = BrickColor.new("Alder")
  7101. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7102. end
  7103. if k == "g" and attack == false and ModeOfGlitch ~= 9 then
  7104. ModeOfGlitch = 9
  7105. storehumanoidWS = 150
  7106. hum.WalkSpeed = 150
  7107. rainbowmode = false
  7108. chaosmode = false
  7109. RecolorTextAndRename("TOXIC-HAPPYNESS....",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  7110. newTheme("rbxassetid://1296208488",0,1.01,1.25)
  7111. MAINRUINCOLOR = BrickColor.new("Br. yellowish green")
  7112. RecolorThing(MAINRUINCOLOR,BrickColor.new("Lime green"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7113. end
  7114. if k == "h" and attack == false and ModeOfGlitch ~= 112 then
  7115. ModeOfGlitch = 112
  7116. storehumanoidWS = 150
  7117. hum.WalkSpeed = 150
  7118. rainbowmode = false
  7119. chaosmode = false
  7120. RecolorTextAndRename("CONFLAGRATION-HAPPYNESS =)",BrickColor.new("Neon orange").Color,BrickColor.new("CGA brown").Color,"Bodoni")
  7121. newTheme("rbxassetid://1768540477",0,1.01,1.25)
  7122. MAINRUINCOLOR = BrickColor.new("Neon orange")
  7123. RecolorThing(MAINRUINCOLOR,BrickColor.new("CGA brown"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7124. end
  7125. if k == "j" and attack == false and ModeOfGlitch ~= 69030 then
  7126. ModeOfGlitch = 69030
  7127. storehumanoidWS = 24
  7128. hum.WalkSpeed = 24
  7129. rainbowmode = false
  7130. chaosmode = false
  7131. RecolorTextAndRename("?HYPERDIMENSIONAL HAPPY?",BrickColor.new("Royal purple").Color,BrickColor.new("Deep blue").Color,"Bodoni")
  7132. newTheme("rbxassetid://1323705824",0,1.01,1.25)
  7133. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7134. RecolorThing(MAINRUINCOLOR,BrickColor.new("Deep blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7135. end
  7136. --[[
  7137. if k == "k" and attack == false and ModeOfGlitch ~= 69030 then
  7138. ModeOfGlitch = 69030
  7139. storehumanoidWS = 24
  7140. hum.WalkSpeed = 24
  7141. rainbowmode = false
  7142. chaosmode = false
  7143. RecolorTextAndRename("?HYPERDIMENSIONAL HAPPY?",BrickColor.new("Royal purple").Color,BrickColor.new("Deep blue").Color,"Bodoni")
  7144. newTheme("rbxassetid://1323705824",0,1.01,1.25)
  7145. MAINRUINCOLOR = BrickColor.new("Royal purple")
  7146. RecolorThing(MAINRUINCOLOR,BrickColor.new("Deep blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7147. end
  7148. --]]
  7149. if k == "m" and attack == false and ModeOfGlitch == 1 then
  7150. Violinceisfunkids()
  7151. end
  7152. if k == "n" and attack == false and ModeOfGlitch == 9 and ModeOfGlitch ~= 01010101000001 then
  7153. ModeOfGlitch = 01010101000001
  7154. storehumanoidWS = 16
  7155. hum.WalkSpeed = 16
  7156. rainbowmode = false
  7157. chaosmode = false
  7158. RecolorTextAndRename("....Nuclear Happyness....?",Color3.new(0,1,0),Color3.new(0.8,1,0.5),"Bodoni")
  7159. newTheme("rbxassetid://798163149",0,1.01,1.25)
  7160. MAINRUINCOLOR = BrickColor.new("Forest green")
  7161. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7162. coroutine.resume(coroutine.create(function()
  7163. repeat
  7164. swait()
  7165. if ModeOfGlitch == 01010101000001 then
  7166. for i,v in pairs(mw1:GetChildren())do
  7167. v.Color = Color3.fromRGB(31 + math.random(-20,20), 128 + math.random(-20,20), 29 + math.random(-20,20))
  7168. end
  7169. end
  7170. swait()
  7171. if ModeOfGlitch == 01010101000001 then
  7172. for i,v in pairs(mw2:GetChildren())do
  7173. v.Color = Color3.fromRGB(31 + math.random(-20,20), 128 + math.random(-20,20), 29 + math.random(-20,20))
  7174. end
  7175. end
  7176. until ModeOfGlitch ~= 01010101000001
  7177. end))
  7178. end
  7179. if k == "m" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 8889 then
  7180. ModeOfGlitch = 8889
  7181. storehumanoidWS = 180
  7182. hum.WalkSpeed = 180
  7183. rainbowmode = false
  7184. chaosmode = false
  7185. RecolorTextAndRename("CALAMITY-HAPPYNESS",BrickColor.new("Alder").Color,BrickColor.new("Lilac").Color,"Antique")
  7186. newTheme("rbxassetid://1359036559",0,1.01,1.25)
  7187. MAINRUINCOLOR = BrickColor.new("Lilac")
  7188. RecolorThing(MAINRUINCOLOR,BrickColor.new("Alder"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7189. end
  7190. if k == "m" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 731289 then
  7191. ModeOfGlitch = 731289
  7192. storehumanoidWS = 180
  7193. hum.WalkSpeed = 180
  7194. rainbowmode = false
  7195. chaosmode = false
  7196. RecolorTextAndRename("ANCIENT",BrickColor.new("New Yeller").Color,BrickColor.new("Gold").Color,"Antique")
  7197. newTheme("rbxassetid://460944705",0,1.01,1.25)
  7198. MAINRUINCOLOR = BrickColor.new("New Yeller")
  7199. RecolorThing(MAINRUINCOLOR,BrickColor.new("Gold"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7200. end
  7201. if k == "n" and attack == false and ModeOfGlitch == 1 and ModeOfGlitch ~= 55469696922 then
  7202. ModeOfGlitch = 55469696922
  7203. storehumanoidWS = 275
  7204. hum.WalkSpeed = 275
  7205. rainbowmode = false
  7206. chaosmode = false
  7207. RecolorTextAndRename("LOVE-DEATH HAPPY <3",Color3.new(0.25,0,0.1),BrickColor.new("Hot pink").Color,"Antique")
  7208. newTheme("rbxassetid://582020393",0,1.005,1.25)
  7209. MAINRUINCOLOR = BrickColor.new("Hot pink")
  7210. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7211. end
  7212. if k == "n" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 4367677813 then
  7213. ModeOfGlitch = 4367677813
  7214. storehumanoidWS = 225
  7215. hum.WalkSpeed = 225
  7216. rainbowmode = false
  7217. chaosmode = false
  7218. RecolorTextAndRename("LIGHTS OF HAPPYNESS",Color3.new(0.75,0.9,1),BrickColor.new("Pink").Color,"Arcade")
  7219. newTheme("rbxassetid://2483763576",0,1.01,1.25)
  7220. MAINRUINCOLOR = BrickColor.new("Baby blue")
  7221. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7222. end
  7223. if k == "n" and attack == false and ModeOfGlitch == 8 and ModeOfGlitch ~= 9999999921111 then
  7224. ModeOfGlitch = 9999999921111
  7225. storehumanoidWS = 300
  7226. hum.WalkSpeed = 300
  7227. rainbowmode = false
  7228. chaosmode = false
  7229. RecolorTextAndRename("OMEGA",BrickColor.new("Really black").Color,BrickColor.new("Bright bluish green").Color,"SciFi")
  7230. newTheme("rbxassetid://643309199",0,1.01,1.25)
  7231. MAINRUINCOLOR = BrickColor.new("Bright bluish green")
  7232. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7233. end
  7234. if k == "n" and attack == false and ModeOfGlitch == 4 and ModeOfGlitch ~= 999999999556 then
  7235. ModeOfGlitch = 999999999556
  7236. storehumanoidWS = 500
  7237. hum.WalkSpeed = 500
  7238. rainbowmode = false
  7239. chaosmode = false
  7240. RecolorTextAndRename("CRAZED-HAPPYNESS HAHA!",BrickColor.new("Really black").Color,BrickColor.new("Navy blue").Color,"Code")
  7241. newTheme("rbxassetid://719008519",0,1.02,1.25)
  7242. MAINRUINCOLOR = BrickColor.new("Navy blue")
  7243. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7244. end
  7245. if k == "n" and attack == false and ModeOfGlitch == 5 and ModeOfGlitch ~= 1264532489 then
  7246. ModeOfGlitch = 1264532489
  7247. storehumanoidWS = 250
  7248. hum.WalkSpeed = 250
  7249. rainbowmode = false
  7250. chaosmode = false
  7251. RecolorTextAndRename("FALLENX-ED HAPPYNESS",Color3.new(0.5,1,1),BrickColor.new("Deep orange").Color,"Antique")
  7252. newTheme("rbxassetid://1505487022",0,1.01,1.25)
  7253. MAINRUINCOLOR = BrickColor.new("Pastel green")
  7254. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR,true)
  7255. end
  7256. if k == "l" and mutedtog == false then
  7257. mutedtog = true
  7258. kan.Volume = 0
  7259. elseif k == "l" and mutedtog == true then
  7260. mutedtog = false
  7261. kan.Volume = 1.25
  7262. end
  7263. if k == "p" and toggleTag == false then
  7264. toggleTag = true
  7265. modet.TextTransparency = 0
  7266. modet.TextStrokeTransparency = 0
  7267. elseif k == "p" and toggleTag == true then
  7268. toggleTag = false
  7269. modet.TextTransparency = 1
  7270. modet.TextStrokeTransparency = 1
  7271. end
  7272. if k == "z" and attack == false and ModeOfGlitch == 1 then
  7273. ExtinctiveHeartbreak()
  7274. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  7275. HeavenlyDisk()
  7276. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  7277. CorruptionEvent()
  7278. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  7279. RapidBurst()
  7280. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  7281. EquinoxOrbs()
  7282. elseif k == "z" and attack == false and ModeOfGlitch == 1264532489 then
  7283. FallenOrbs()
  7284. end
  7285. if k == "v" and attack == false and ModeOfGlitch == 1264532489 then
  7286. FallenDEMISE()
  7287. end
  7288. if k == "v" and attack == false and ModeOfGlitch == 666666666 then
  7289. THE_TRUE_POWER_OF_VIOLENCE()
  7290. end
  7291. if k == "x" and attack == false and ModeOfGlitch == 1 then
  7292. EndGROUND()
  7293. end
  7294. if k == "b" and attack == false then
  7295. CloneAppearance()
  7296. end
  7297. end
  7298. end)
  7299.  
  7300.  
  7301.  
  7302.  
  7303. coroutine.resume(coroutine.create(function()
  7304. while true do
  7305. swait()
  7306. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 9 or ModeOfGlitch == 8889 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  7307. sphereMK(7.5,math.random(15,50)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.75,0.75,10,-0.0075,MAINRUINCOLOR,0)
  7308. end
  7309. end
  7310. end))
  7311. --[[coroutine.resume(coroutine.create(function()
  7312. while true do
  7313. swait(2)
  7314. if chaosmode == true then
  7315. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  7316. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  7317. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  7318. RecolorTextAndRename("CHaOs HaPpynESs",Color3.new(0,0,0),BrickColor.random().Color,"Fantasy")
  7319. for i, v in pairs(mw1:GetChildren()) do
  7320. if v:IsA("Part") then
  7321. v.Transparency = 0.75
  7322. v.BrickColor = BrickColor.random()
  7323. v.Material = "Neon"
  7324. end
  7325. end
  7326. for i, v in pairs(m2:GetChildren()) do
  7327. if v:IsA("Part") then
  7328. v.BrickColor = BrickColor.random()
  7329. v.Material = "Neon"
  7330. end
  7331. end
  7332. end
  7333. end
  7334. end))]]--
  7335. Humanoid.Name = "TCGLITCHER"
  7336. Humanoid.MaxHealth = math.huge
  7337. Humanoid.Health = math.huge
  7338. Instance.new("ForceField",char).Visible = false
  7339.  
  7340. local bguis = Instance.new("BillboardGui",tors)
  7341. bguis.Size = UDim2.new(25, 0, 25, 0)
  7342. local imgca = Instance.new("ImageLabel",bguis)
  7343. imgca.BackgroundTransparency = 1
  7344. imgca.ImageTransparency = 1
  7345. imgca.Size = UDim2.new(1,0,1,0)
  7346. imgca.Image = "rbxassetid://2312119891" --997291547,521073910,2312119891
  7347. imgca.ImageColor3 = Color3.new(0,0,0)
  7348. local TimeValue = 0
  7349.  
  7350. idleanim=.4
  7351. while true do
  7352. if kan.Parent ~= char then
  7353. kan = Instance.new("Sound",char)
  7354. kan.PlaybackSpeed = currentPitch
  7355. kan.Pitch = currentPitch
  7356. kan.SoundId = currentThemePlaying
  7357. kan.Looped = true
  7358. kan.Name = "wrecked"
  7359. kan.TimePosition = TimeValue
  7360. kan:Resume()
  7361. end
  7362. if mutedtog == false then
  7363. kan.Volume = currentVol
  7364. elseif mutedtog == true then
  7365. kan.Volume = 0
  7366. end
  7367. kan.PlaybackSpeed = currentPitch
  7368. kan.Pitch = currentPitch
  7369. kan.SoundId = currentThemePlaying
  7370. kan.Looped = true
  7371. kan.Parent = char
  7372. TimeValue = kan.TimePosition
  7373. if ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 then
  7374. imgca.ImageTransparency = 1
  7375. elseif ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  7376. imgca.ImageColor3 = MAINRUINCOLOR.Color
  7377. imgca.ImageTransparency = 0 + 0.25 * math.cos(sine / 30)
  7378. end
  7379. imgca.Rotation = imgca.Rotation + 5 + kan.PlaybackLoudness/25
  7380. bguis.Size = UDim2.new(12 + 3 * math.cos(sine / 30),0, 12 + 3 * math.cos(sine / 30),0)
  7381. coroutine.resume(coroutine.create(function()
  7382. if chaosmode == true then
  7383. for i,v in pairs(halo2colors)do
  7384. v.BrickColor = BrickColor.Random()
  7385. end
  7386. for i, v in pairs(mw1:GetChildren()) do
  7387. if v:IsA("Part") then
  7388. v.Transparency = 0
  7389. v.BrickColor = BrickColor.random()
  7390. v.Material = "Neon"
  7391. end
  7392. end
  7393. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  7394. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  7395. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  7396. RecolorTextAndRename("CHaOs HaPpynESs",Color3.new(0,0,0),BrickColor.random().Color,"Arcade")
  7397. end
  7398. end))
  7399. if chaosmode == false then
  7400. modet.Position = UDim2.new(0,0,0,0)
  7401. modet.Rotation = -5 * math.cos(sine / 32)
  7402. techc.Rotation = techc.Rotation + 1
  7403. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/75 - 1
  7404. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/50 + 1
  7405. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/50 + 1
  7406. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/25 - 1
  7407. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  7408. ned.Position = UDim2.new(0.7,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  7409. else
  7410. techc.Rotation = techc.Rotation + 1
  7411. circl.Rotation = circl.Rotation - kan.PlaybackLoudness/50 + math.random(-5,5)
  7412. circl2.Rotation = circl2.Rotation + kan.PlaybackLoudness/25 + math.random(-5,5)
  7413. imgl2.Rotation = imgl2.Rotation - kan.PlaybackLoudness/25 + math.random(-5,5)
  7414. imgl2b.Rotation = imgl2b.Rotation + kan.PlaybackLoudness/12.5 + math.random(-5,5)
  7415. ned.Rotation = 0 -2 * math.cos(sine / 1) + math.random(-3,3)
  7416. ned.Position = UDim2.new(0.7,0 + math.random(-3,3),0.8,0 + math.random(-3,3))
  7417. modet.Position = UDim2.new(0,math.random(-1,1),0,math.random(-1,1))
  7418. modet.Rotation = -2 * math.cos(sine / 1) + math.random(-3,3)
  7419. end
  7420. CameraManager()
  7421. swait()
  7422. Player_Size = 1
  7423. Cos = math.cos
  7424. Sin = math.sin
  7425. Rad = math.rad
  7426. CF = CFrame.new
  7427. handlexweld.C0 = CFrame.new(0,1.5,1.05)
  7428. handlexweld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(sine))
  7429. seondhandleweld.C0 = CFrame.new(0,3,2.1)
  7430. seondhandleweld.C1 = CFrame.new(0,0,0) * CFrame.Angles(0,0,math.rad(-sine))
  7431.  
  7432. ---------------------------------------------------------------------------------------------------------------------]
  7433. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(45 * sine/36)),.3)
  7434. lwing2weld.C1=clerp(lwing2weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(180 * sine/36)),.3)
  7435. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  7436.  
  7437. lwing4weld.C1=clerp(lwing4weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(22.5 * sine/36)),.3)
  7438. lwing5weld.C1=clerp(lwing5weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(90 * sine/36)),.3)
  7439. lwing6weld.C1=clerp(lwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(65 * sine/36)),.3)
  7440.  
  7441. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-45 * sine/36)),.3)
  7442. rwing2weld.C1=clerp(rwing2weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(-180 * sine/36)),.3)
  7443. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,2,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  7444.  
  7445. rwing4weld.C1=clerp(rwing4weld.C1,cf(-5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-22.5 * sine/36)),.3)
  7446. rwing5weld.C1=clerp(rwing5weld.C1,cf(5,0,0)*angles(math.rad(0),math.rad(0),math.rad(-90 * sine/36)),.3)
  7447. rwing6weld.C1=clerp(rwing6weld.C1,cf(0,5,0)*angles(math.rad(0),math.rad(0),math.rad(-65 * sine/36)),.3)
  7448. ---------------------------------------------------------------------------------------------------------------------------------------------------------]
  7449. if ModeOfGlitch == 4 then
  7450.  
  7451. lwing1weld.C1=clerp(lwing1weld.C1,lwing1weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7452. lwing2weld.C1=clerp(lwing2weld.C1,lwing2weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7453. lwing3weld.C1=clerp(lwing3weld.C1,lwing3weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7454.  
  7455. rwing1weld.C1=clerp(rwing1weld.C1,rwing1weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7456. rwing2weld.C1=clerp(rwing2weld.C1,rwing2weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7457. rwing3weld.C1=clerp(rwing3weld.C1,rwing3weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7458.  
  7459. lwing4weld.C1=clerp(lwing4weld.C1,lwing4weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7460. lwing5weld.C1=clerp(lwing5weld.C1,lwing5weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7461. lwing6weld.C1=clerp(lwing6weld.C1,lwing6weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7462.  
  7463. rwing4weld.C1=clerp(rwing4weld.C1,rwing4weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7464. rwing5weld.C1=clerp(rwing5weld.C1,rwing5weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7465. rwing6weld.C1=clerp(rwing6weld.C1,rwing6weld.C1*angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),.3)
  7466.  
  7467. ---------------------------------------------------------------------------------------------------------------------------------------------------------]
  7468.  
  7469. end
  7470.  
  7471. sine = sine + change
  7472. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  7473. local velderp=RootPart.Velocity.y
  7474. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  7475. coroutine.resume(coroutine.create(function()
  7476. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  7477. if hitfloor ~= nil then
  7478. slash(math.random(50,100)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,50)/250,BrickColor.new("White"))
  7479. if ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 then
  7480. slash(math.random(75,150)/10,5,true,"Round","Add","Out",root.CFrame*CFrame.new(0,-3,0)*CFrame.Angles(math.rad(math.random(-5,5)),math.rad(math.random(-360,360)),math.rad(math.random(-5,5))),vt(0.01,0.01,0.01),math.random(5,150)/250,MAINRUINCOLOR)
  7481. end
  7482. end
  7483. end
  7484. end))
  7485. if equipped==true or equipped==false then
  7486. if attack==false then
  7487. idle=idle+1
  7488. else
  7489. idle=0
  7490. end
  7491. if idle>=500 then
  7492. if attack==false then
  7493. --Sheath()
  7494. end
  7495. end
  7496. if RootPart.Velocity.y > 1 and hitfloor==nil then
  7497. Anim="Jump"
  7498. if attack==false then
  7499. 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)
  7500. 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)
  7501. 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)
  7502. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  7503. 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)
  7504. 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)
  7505. end
  7506. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  7507. Anim="Fall"
  7508. if attack==false then
  7509. 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)
  7510. 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)
  7511. 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)
  7512. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  7513. 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)
  7514. 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)
  7515. end
  7516. elseif torvel<1 and hitfloor~=nil then
  7517. Anim="Idle"
  7518. if attack==false then
  7519. if ModeOfGlitch == 1 then
  7520. local snap = math.random(1,10)
  7521. if snap == 1 then
  7522. 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)
  7523. end
  7524. 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)
  7525. 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)
  7526. 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)
  7527. 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)
  7528. 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)
  7529. 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)
  7530. elseif ModeOfGlitch == 2 then
  7531. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7532. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7533. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.01 + 0.02 * math.cos(sine / 32),0 + 0.05 * math.cos(sine / 32))*angles(math.rad(1 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 42))),.1)
  7534. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2 * math.cos(sine / 37)),math.rad(0 + 2 * math.cos(sine / 58)),math.rad(0 + 1 * math.cos(sine / 53))),.1)
  7535. 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)
  7536. 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)
  7537. elseif ModeOfGlitch == 3 then
  7538. local snap = math.random(1,32)
  7539. if snap == 1 then
  7540. 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)
  7541. end
  7542. 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)
  7543. 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)
  7544. 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)
  7545. 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)
  7546. 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)
  7547. 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)
  7548. elseif ModeOfGlitch == 4 then
  7549. local snap = math.random(1,5)
  7550. if snap == 1 then
  7551. 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)
  7552. 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)
  7553. 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)
  7554. end
  7555. 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)
  7556. 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)
  7557. 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)
  7558. 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)
  7559. 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)
  7560. 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)
  7561. elseif ModeOfGlitch == 5 then
  7562. 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)
  7563. 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)
  7564. 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)
  7565. 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)
  7566. 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)
  7567. 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)
  7568. elseif ModeOfGlitch == 6 then
  7569. 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)
  7570. 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)
  7571. 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)
  7572. 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)
  7573. 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)
  7574. 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)
  7575. elseif ModeOfGlitch == 8 then
  7576. 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)
  7577. 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)
  7578. 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)
  7579. 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)
  7580. 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)
  7581. 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)
  7582. elseif ModeOfGlitch == 9 then
  7583. 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)
  7584. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  7585. 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)
  7586. 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)
  7587. 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)
  7588. 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)
  7589. 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)
  7590. 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)
  7591. elseif ModeOfGlitch == 8889 then
  7592. 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)
  7593. 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)
  7594. 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)
  7595. 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)
  7596. 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)
  7597. 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)
  7598. elseif ModeOfGlitch == 1264532489 then
  7599. 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)
  7600. 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)
  7601. 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)
  7602. 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)
  7603. 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)
  7604. 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)
  7605. 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)
  7606. elseif ModeOfGlitch == 9999999921111 then
  7607. 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)
  7608. 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)
  7609. 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)
  7610. 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)
  7611. 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)
  7612. 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)
  7613. elseif ModeOfGlitch == 4367677813 then
  7614. 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)
  7615. 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)
  7616. 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)
  7617. 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)
  7618. 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)
  7619. 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)
  7620. elseif ModeOfGlitch == 55469696922 then
  7621. 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)
  7622. 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)
  7623. 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)
  7624. 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)
  7625. 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)
  7626. 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)
  7627. elseif ModeOfGlitch == 01010101000001 then
  7628. 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.75,0.75,0.75,0.0075,BrickColor.new("Forest green"),0)
  7629. 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.75,0.75,0.75,0.0075,BrickColor.new("Lime green"),0)
  7630. TailPart(RootPart, Color3.fromRGB(31 + math.random(-20,20), 128 + math.random(-20,20), 29 + math.random(-20,20)))
  7631. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0* Player_Size, 0* Player_Size, -0.1) * angles(Rad(0), Rad(0), Rad(0)), 0.1)
  7632. Torso.Neck.C0 = clerp(Torso.Neck.C0,Torso.Neck.C0 * CFrame.Angles(Rad(math.random(-3,3)), Rad(math.random(-3,3)), Rad(math.random(-3,3))) , 0.5)
  7633. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(3 - 3 * Cos(sine / 16))), 0.1)
  7634. RW.C0 = clerp(RW.C0, cf(1.5 * Player_Size, 0.5 + 0.05 * Cos(sine / 20) * Player_Size, 0) * angles(Rad(130), Rad(0 + 2 * Sin(sine/16)), Rad(-40)), 0.1)
  7635. RW.C0 = clerp(RW.C0,RW.C0 * CFrame.Angles(Rad(math.random(-3,3)), Rad(math.random(-3,3)), Rad(math.random(-3,3))) , 0.5)
  7636. LW.C0 = clerp(LW.C0, cf(-1.5 * Player_Size, 0.5 + 0.05 * Cos(sine / 20) * Player_Size, 0) * angles(Rad(20), Rad(0 - 2* Sin(sine/16)), Rad(0)), 0.1)
  7637. LW.C0 = clerp(LW.C0,LW.C0 * CFrame.Angles(Rad(math.random(-3,3)), Rad(math.random(-3,3)), Rad(math.random(-3,3))) , 0.5)
  7638. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-6),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(1 - 2 * math.cos(sine / 32))),.1)
  7639. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-0.5),math.rad(0 - 1 * math.cos(sine / 56)),math.rad(-1 + 2 * math.cos(sine / 32))),.1)
  7640. elseif ModeOfGlitch == 666666666 then
  7641. local snap = math.random(1,10)
  7642. if snap == 1 then
  7643. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1)
  7644. end
  7645. PixelBlockX(5,0.25,"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))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
  7646. 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)
  7647.  
  7648. RH.C0=clerp(RH.C0,cf(1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.1)
  7649. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.025 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.1)
  7650. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(10 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  7651. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 1 * math.cos(sine / 0.5265)),math.rad(0 - 1 * math.cos(sine / 0.25)),math.rad(0 - 1 * math.cos(sine / 0.465))),.1)
  7652. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 + 1 * math.cos(sine / 0.252)),math.rad(0 + 1 * math.cos(sine / 0.123)),math.rad(15 + 1 * math.cos(sine / 0.6))),.1)
  7653. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 1 * math.cos(sine / 0.568)),math.rad(0 + 1 * math.cos(sine / 0.664)),math.rad(-15 + 1 * math.cos(sine / 0.23))),.1)
  7654.  
  7655. elseif ModeOfGlitch == 999999999556 then
  7656. 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)
  7657. 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)
  7658. 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)
  7659. 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)
  7660. 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)
  7661. 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)
  7662. elseif ModeOfGlitch == 112 then
  7663. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1.3,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,BrickColor.new("CGA brown"),0)
  7664. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,BrickColor.new("Neon orange"),0)
  7665.  
  7666. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(2),math.rad(0),math.rad(-16 + 4 * math.cos(sine / 34))),.1)
  7667. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.5),math.rad(10),math.rad(11 + 2 * math.cos(sine / 34))),.1)
  7668. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-6 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-25 - 4 * math.cos(sine / 53))),.1)
  7669. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(0 + 10 * math.cos(sine / 79)),math.rad(25 + 4 * math.cos(sine / 53))),.1)
  7670. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 4 * math.cos(sine / 28)),math.rad(-20),math.rad(18 + 8 * math.cos(sine / 28))),.1)
  7671. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(170 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-10 - 2 * math.cos(sine / 28))),.1)
  7672.  
  7673. elseif ModeOfGlitch == 731289 then
  7674.  
  7675. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Gold"),BrickColor.new("Gold").Color)
  7676. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("New Yeller"),Color3.new(0,1,1))
  7677.  
  7678. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CF(2 + Cos(sine / 70) * Cos(sine / 20) - 2, 0 , 5 + 1.5* Player_Size * Cos(sine / 20)) * angles(Rad(0 + 0.5 * Cos(sine / 20)), Rad(0), Rad(0)), 0.1)
  7679. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* CF(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(3 - 3 * Cos(sine / 16))), 0.1)
  7680. 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)
  7681. 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)
  7682. RW.C0 = clerp(RW.C0, CF(1 * Player_Size, 0.5 + 0.05 * Cos(sine / 20) * Player_Size, -1.1) * angles(Rad(90), Rad(0 + 2 * Sin(sine/16)), Rad(-90)), 0.1)
  7683. LW.C0 = clerp(LW.C0, CF(-1.2 * Player_Size, 0.5 + 0.05 * Cos(sine / 20) * Player_Size, -1) * angles(Rad(90), Rad(0 - 2* Sin(sine/16)), Rad(90)), 0.1)
  7684. end
  7685. end
  7686. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  7687. Anim="Walk"
  7688. if attack==false then
  7689. if ModeOfGlitch == 01010101000001 then
  7690. 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)
  7691. Torso.Neck.C0 = clerp(Torso.Neck.C0,Torso.Neck.C0 * CFrame.Angles(Rad(math.random(-3,3)), Rad(math.random(-3,3)), Rad(math.random(-3,3))) , 0.5)
  7692. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko* cf(0, 0, 0 + ((1* Player_Size) - 1)) * angles(Rad(20 - 5 * Sin(sine / 20)), Rad(0), Rad(3 - 3 * Cos(sine / 16))), 0.1)
  7693. RW.C0 = clerp(RW.C0, cf(1.5 * Player_Size, 0.5 + 0.05 * Cos(sine / 20) * Player_Size, 0) * angles(Rad(130), Rad(0 + 2 * Sin(sine/16)), Rad(-40)), 0.1)
  7694. RW.C0 = clerp(RW.C0,RW.C0 * CFrame.Angles(Rad(math.random(-3,3)), Rad(math.random(-3,3)), Rad(math.random(-3,3))) , 0.5)
  7695. LW.C0 = clerp(LW.C0, cf(-1.5 * Player_Size, 0.5 + 0.05 * Cos(sine / 20) * Player_Size, 0) * angles(Rad(20), Rad(0 - 2* Sin(sine/16)), Rad(0)), 0.1)
  7696. LW.C0 = clerp(LW.C0,LW.C0 * CFrame.Angles(Rad(math.random(-3,3)), Rad(math.random(-3,3)), Rad(math.random(-3,3))) , 0.5)
  7697. 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.75,0.75,0.75,0.0075,BrickColor.new("Forest green"),0)
  7698. 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.75,0.75,0.75,0.0075,BrickColor.new("Lime green"),0)
  7699. TailPart(RootPart, Color3.fromRGB(31 + math.random(-20,20), 128 + math.random(-20,20), 29 + math.random(-20,20)))
  7700. 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)
  7701. 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)
  7702. else
  7703. 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)
  7704. 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)
  7705. 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)
  7706. 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)
  7707. 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)
  7708. 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)
  7709.  
  7710. end
  7711.  
  7712. end
  7713. elseif torvel>=22 and hitfloor~=nil then
  7714. Anim="Run"
  7715. if attack==false then
  7716. if ModeOfGlitch == 666666666 then
  7717. PixelBlockX(5,0.25,"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))),0.65,0.65,0.65,0.0065,MAINRUINCOLOR,0)
  7718. 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)
  7719. end
  7720. if ModeOfGlitch == 112 then
  7721. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-1.3,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,BrickColor.new("CGA brown"),0)
  7722. PixelBlockX(5,0.25,"Add",larm.CFrame*CFrame.new(0,-2,0)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.75,0.75,0.75,0.0075,BrickColor.new("Neon orange"),0)
  7723.  
  7724. end
  7725. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 1264532489 and ModeOfGlitch ~= 55469696922 and ModeOfGlitch ~= 666666666 and ModeOfGlitch ~= 112 and ModeOfGlitch ~= 4367677813 and ModeOfGlitch ~= 9999999921111 and ModeOfGlitch ~= 999999999556 and ModeOfGlitch ~= 8889 and ModeOfGlitch ~= 731289 then
  7726. 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)
  7727. 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)
  7728. 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)
  7729. 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)
  7730. 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)
  7731. 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)
  7732. if ModeOfGlitch == 9 then
  7733. 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)
  7734. sphere2(8,"Add",larm.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Lime green"),Color3.new(0,1,0))
  7735. sphereMK(2,-0.5,"Add",root.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),8)*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),0.5,0.5,20,-0.0075,MAINRUINCOLOR,0)
  7736. end
  7737. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 1264532489 or ModeOfGlitch == 55469696922 or ModeOfGlitch == 666666666 or ModeOfGlitch == 4367677813 or ModeOfGlitch == 9999999921111 or ModeOfGlitch == 999999999556 or ModeOfGlitch == 8889 then
  7738. 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)
  7739. 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)
  7740. 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)
  7741. 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)
  7742. 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)
  7743. 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)
  7744. elseif ModeOfGlitch == 731289 or ModeOfGlitch == 112 then
  7745. if ModeOfGlitch == 731289 then
  7746. sphere2(8,"Add",lleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("Gold"),BrickColor.new("Gold").Color)
  7747. sphere2(8,"Add",rleg.CFrame*CFrame.new(0,-1,0)*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.05,-0.01,BrickColor.new("New Yeller"),Color3.new(0,1,1))
  7748. end
  7749. 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)
  7750. 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)
  7751. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.15 * math.cos(sine / 47),-0.5,5 + 1.5* Player_Size * Cos(sine / 20))*angles(math.rad(70),math.rad(0 - root.RotVelocity.Y),math.rad(0 - root.RotVelocity.Y *4.5 + 3 * math.cos(sine / 47))),.2)
  7752. 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)
  7753. 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)
  7754. 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)
  7755. end
  7756. end
  7757. end
  7758. end
  7759. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement