Advertisement
valentino2016

Star Glitcher Derpz Fe

May 15th, 2019
162
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 267.06 KB | None | 0 0
  1. -- This script has been converted to FE by iPxter
  2.  
  3.  
  4. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  5. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  6. do
  7. print("FE Compatibility code by Mokiros | Translated to FE by iPxter")
  8. script.Parent = Player.Character
  9.  
  10. --RemoteEvent for communicating
  11. local Event = Instance.new("RemoteEvent")
  12. Event.Name = "UserInput_Event"
  13.  
  14. --Fake event to make stuff like Mouse.KeyDown work
  15. local function fakeEvent()
  16. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  17. t.connect = t.Connect
  18. return t
  19. end
  20.  
  21. --Creating fake input objects with fake variables
  22. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  23. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  24. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  25. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  26. end}
  27. --Merged 2 functions into one by checking amount of arguments
  28. CAS.UnbindAction = CAS.BindAction
  29.  
  30. --This function will trigger the events that have been :Connect()'ed
  31. local function te(self,ev,...)
  32. local t = m[ev]
  33. if t and t._fakeEvent and t.Function then
  34. t.Function(...)
  35. end
  36. end
  37. m.TrigEvent = te
  38. UIS.TrigEvent = te
  39.  
  40. Event.OnServerEvent:Connect(function(plr,io)
  41. if plr~=Player then return end
  42. if io.isMouse then
  43. m.Target = io.Target
  44. m.Hit = io.Hit
  45. else
  46. local b = io.UserInputState == Enum.UserInputState.Begin
  47. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  48. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  49. end
  50. for _,t in pairs(CAS.Actions) do
  51. for _,k in pairs(t.Keys) do
  52. if k==io.KeyCode then
  53. t.Function(t.Name,io.UserInputState,io)
  54. end
  55. end
  56. end
  57. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  58. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  59. end
  60. end)
  61. Event.Parent = NLS([==[
  62. local Player = game:GetService("Players").LocalPlayer
  63. local Event = script:WaitForChild("UserInput_Event")
  64.  
  65. local UIS = game:GetService("UserInputService")
  66. local input = function(io,a)
  67. if a then return end
  68. --Since InputObject is a client-side instance, we create and pass table instead
  69. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  70. end
  71. UIS.InputBegan:Connect(input)
  72. UIS.InputEnded:Connect(input)
  73.  
  74. local h,t
  75. --Give the server mouse data 30 times every second, but only if the values changed
  76. --If player is not moving their mouse, client won't fire events
  77. while wait(1/30) do
  78. if h~=Mouse.Hit or t~=Mouse.Target then
  79. h,t=Mouse.Hit,Mouse.Target
  80. Event:FireServer({isMouse=true,Target=t,Hit=h})
  81. end
  82. end]==],Player.Character)
  83. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  84. end
  85.  
  86. wait(3)
  87.  
  88. --Paste the script below this text.
  89.  
  90. warn([[Galaxy (FE) Glitcher Loaded.
  91. The third glitcher, once as the core is now new.
  92.  
  93. Created by Tc, Edited by Derpz to make it FE!
  94. ]])
  95.  
  96. ---------Wielder list as of OCs:---------
  97. -- ??? (Nothing such as this yet, but wields all the Glitchers. What you're asking it's the creator.)
  98. -- Derpz (Creator of worlds. Holds most (Or all) modes.)
  99. -- Void Emily (OC of mine, can lead to any modes and mainly leading to LOVE and HARMONY, she's obviously shy sometimes.)
  100. -- Lunaria Floodio (Second OC, can lead to any modes.)
  101. -- Gacharix (Third OC, can lead to any modes and mainly leading to AZURE X, very corrupted person.)
  102. -----------------------------------------
  103.  
  104. print([[Icons:
  105. ! = New
  106. ? = Spoilers
  107. * = Exclusivity
  108. C = Changes
  109.  
  110. ]])
  111. warn([[V 3.2 Update Log:
  112. C - Huge revamp of wings.
  113. C - Walk and running are now tiltable on where you go on a side.
  114. C - Huge slight changes on all of the mode's idles.
  115. C - Even more effect changes.
  116. !C* - Love mode has been added.
  117. !C* - Love mode's transformation added..
  118. !* - Love mode's taunt added... (why.. ;~;)
  119. C - Death effect has been improved.
  120. C - Binary's Z is imporvably changed
  121. ? - Nothing seems to be new yet..
  122. ? - Some modes will have moves sooner.
  123.  
  124. Commands for visualiser mode: play/, vol/, pitch/, skipto/, telltime/]])
  125. ---- IMPORTANT READING:
  126. ---- Sources and functions might be taken from others
  127. plr = owner
  128. script.Parent = workspace.CurrentCamera
  129. plr.CharacterAdded:connect(function()
  130. script.Disabled = true
  131. script:destroy()
  132. end)
  133. UnusedShit = false
  134. char = plr.Character
  135. hum = char.Humanoid
  136. local cam = game.Workspace.CurrentCamera
  137. Camera = cam
  138. local CamInterrupt = false
  139. local TwoD = false
  140. local TargetInfo = {nil, nil}
  141. cam.CameraType = "Custom"
  142. t = char.Torso
  143. h = char.Head
  144. ra = char["Right Arm"]
  145. la = char["Left Arm"]
  146. rl = char["Right Leg"]
  147. ll = char["Left Leg"]
  148. tors = char.Torso
  149. lleg = char["Left Leg"]
  150. root = char.HumanoidRootPart
  151. hed = char.Head
  152. rleg = char["Right Leg"]
  153. rarm = char["Right Arm"]
  154. larm = char["Left Arm"]
  155. radian = math.rad
  156. random = math.random
  157. Vec3 = Vector3.new
  158. Inst = Instance.new
  159. cFrame = CFrame.new
  160. Euler = CFrame.fromEulerAnglesXYZ
  161. vt = Vector3.new
  162. bc = BrickColor.new
  163. br = BrickColor.random
  164. it = Instance.new
  165. cf = CFrame.new
  166.  
  167.  
  168. local Booleans = {
  169. CamFollow = true,
  170. GyroUse = true
  171. }
  172.  
  173. function lerp(object, newCFrame, alpha)
  174. return object:lerp(newCFrame, alpha)
  175. end
  176.  
  177. local Directer = Inst("BodyGyro", root)
  178. Directer.MaxTorque = Vec3(0, 0, 0)
  179. Directer.P = 600000
  180. local CPart = Inst("Part")
  181. CPart.Anchored = true
  182. CPart.CanCollide = false
  183. CPart.Locked = true
  184. CPart.Transparency = 1
  185.  
  186. local rainbowmode = false
  187. local chaosmode = false
  188. local duringend = false
  189. local ModeOfGlitch = 1
  190.  
  191. local kan = Instance.new("Sound",char)
  192. kan.Volume = 1.25
  193. kan.TimePosition = 0
  194. kan.PlaybackSpeed = 1
  195. kan.Pitch = 1.01
  196. kan.SoundId = "rbxassetid://435773595"
  197. kan.Name = "wreckeda"
  198. kan.Looped = true
  199. kan:Play()
  200.  
  201. local currentThemePlaying = kan.SoundId
  202. local currentPitch = kan.Pitch
  203. local currentVol = kan.Volume
  204. function newTheme(ID,timepos,pitch,vol)
  205. local kanz = kan
  206. --kanz:Stop()
  207. kanz.Volume = vol
  208. --kanz.TimePosition = timepos
  209. kanz.PlaybackSpeed = pitch
  210. kanz.Pitch = pitch
  211. kanz.SoundId = ID
  212. kanz.Name = "wrecked"
  213. kanz.Looped = true
  214. currentThemePlaying = kanz.SoundId
  215. currentVol = kanz.Volume
  216. currentPitch = kanz.Pitch
  217. --kanz:Play()
  218. --coroutine.resume(coroutine.create(function()
  219. --wait(0.05)
  220. --end))
  221. end
  222.  
  223.  
  224. function newThemeCust(ID,timepos,pitch,vol)
  225. local kanz = kan
  226. kanz:Stop()
  227. kanz.Volume = vol
  228. kanz.TimePosition = timepos
  229. kanz.PlaybackSpeed = pitch
  230. kanz.Pitch = pitch
  231. kanz.SoundId = ID
  232. kanz.Name = "wrecked"
  233. kanz.Looped = true
  234. currentThemePlaying = kanz.SoundId
  235. currentVol = kanz.Volume
  236. currentPitch = kanz.Pitch
  237. kanz:Play()
  238. coroutine.resume(coroutine.create(function()
  239. wait(0.05)
  240. end))
  241. end
  242.  
  243. local mutedtog = false
  244.  
  245. function CameraEnshaking(Length,Intensity)
  246. coroutine.resume(coroutine.create(function()
  247. local intensity = 1*Intensity
  248. local rotM = 0.01*Intensity
  249. for i = 0, Length, 0.1 do
  250. swait()
  251. intensity = intensity - 0.05*Intensity/Length
  252. rotM = rotM - 0.0005*Intensity/Length
  253. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  254. 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)
  255. end
  256. Humanoid.CameraOffset = Vec3(0, 0, 0)
  257. end))
  258. end
  259. CamShake=function(Part,Distan,Power,Times)
  260. local de=Part.Position
  261. for i,v in pairs(workspace:children()) do
  262. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  263. for _,c in pairs(v:children()) do
  264. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  265. local Noob=v.Humanoid
  266. if Noob~=nil then
  267. coroutine.resume(coroutine.create(function()
  268. FV = Instance.new("BoolValue", Noob)
  269. FV.Name = "CameraShake"
  270. for ShakeNum=1,Times do
  271. swait()
  272. local ef=Power
  273. if ef>=1 then
  274. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  275. else
  276. ef=Power*10
  277. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  278. end
  279. end
  280. Humanoid.CameraOffset = Vector3.new(0,0,0)
  281. FV:Destroy()
  282. end))
  283. CameraShake(Times, Power, Noob)
  284. end
  285. end
  286. end
  287. end
  288. end
  289. end
  290.  
  291. local toggleTag = true
  292. local bilguit = Instance.new("BillboardGui", hed)
  293. bilguit.Adornee = nil
  294. bilguit.Name = "Name"
  295. bilguit.Size = UDim2.new(4, 0, 1.2, 0)
  296. bilguit.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  297. local modet = Instance.new("TextLabel", bilguit)
  298. modet.Size = UDim2.new(10/2, 0, 7/2, 0)
  299. modet.FontSize = "Size8"
  300. modet.TextScaled = true
  301. modet.TextTransparency = 0
  302. modet.BackgroundTransparency = 1
  303. modet.TextTransparency = 0
  304. modet.TextStrokeTransparency = 0
  305. modet.Font = "Code"
  306. modet.TextStrokeColor3 = Color3.new(0,0,0.4)
  307. modet.TextColor3 = Color3.new(1,1,1)
  308. modet.Text = "Derpz!"
  309.  
  310.  
  311. function chatfunc(text,color,typet,font,timeex)
  312. local chat = coroutine.wrap(function()
  313. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  314. Character:FindFirstChild("TalkingBillBoard"):destroy()
  315. end
  316. local naeeym2 = Instance.new("BillboardGui",Character)
  317. naeeym2.Size = UDim2.new(0,100,0,40)
  318. naeeym2.StudsOffset = Vector3.new(0,3,0)
  319. naeeym2.Adornee = Character.Head
  320. naeeym2.Name = "TalkingBillBoard"
  321. local tecks2 = Instance.new("TextLabel",naeeym2)
  322. tecks2.BackgroundTransparency = 1
  323. tecks2.BorderSizePixel = 0
  324. tecks2.Text = ""
  325. tecks2.Font = font
  326. tecks2.TextSize = 30
  327. tecks2.TextStrokeTransparency = 0
  328. tecks2.TextColor3 = color
  329. tecks2.TextStrokeColor3 = Color3.new(0,0,0)
  330. tecks2.Size = UDim2.new(1,0,0.5,0)
  331. local tecks3 = Instance.new("TextLabel",naeeym2)
  332. tecks3.BackgroundTransparency = 1
  333. tecks3.BorderSizePixel = 0
  334. tecks3.Text = ""
  335. tecks3.Font = font
  336. tecks3.TextSize = 30
  337. tecks3.TextStrokeTransparency = 0
  338. if typet == "Inverted" then
  339. tecks3.TextColor3 = Color3.new(0,0,0)
  340. tecks3.TextStrokeColor3 = color
  341. elseif typet == "Normal" then
  342. tecks3.TextColor3 = color
  343. tecks3.TextStrokeColor3 = Color3.new(0,0,0)
  344. end
  345. tecks3.Size = UDim2.new(1,0,0.5,0)
  346. coroutine.resume(coroutine.create(function()
  347. while true do
  348. swait(1)
  349. if UnusedShit == true then
  350.  
  351. end
  352. end
  353. end))
  354. modet.TextTransparency = modet.TextTransparency + 1
  355. modet.TextStrokeTransparency = modet.TextStrokeTransparency + 1
  356. for i = 0, 74*timeex do
  357. swait()
  358. modet.TextTransparency = 1
  359. modet.TextStrokeTransparency = 1
  360. tecks2.Text = text
  361. tecks3.Text = text
  362. end
  363. local randomrot = math.random(1,2)
  364. if randomrot == 1 then
  365. for i = 1, 50 do
  366. swait()
  367. tecks2.Text = text
  368. tecks3.Text = text
  369. modet.TextTransparency = modet.TextTransparency - .02
  370. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  371. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  372. tecks2.TextTransparency = tecks2.TextTransparency + .04
  373. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  374. tecks3.TextTransparency = tecks2.TextTransparency + .04
  375. end
  376. elseif randomrot == 2 then
  377. for i = 1, 50 do
  378. swait()
  379. tecks2.Text = text
  380. tecks3.Text = text
  381. modet.TextTransparency = modet.TextTransparency - .02
  382. modet.TextStrokeTransparency = modet.TextStrokeTransparency - .02
  383. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  384. tecks2.TextTransparency = tecks2.TextTransparency + .04
  385. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  386. tecks3.TextTransparency = tecks2.TextTransparency + .04
  387. end
  388. end
  389. modet.TextTransparency = 0
  390. modet.TextStrokeTransparency = 0
  391. if toggleTag == false then
  392. modet.TextTransparency = 1
  393. modet.TextStrokeTransparency = 1
  394. end
  395. naeeym2:Destroy()
  396. end)
  397. chat()
  398. end
  399.  
  400.  
  401. local Create = LoadLibrary("RbxUtility").Create
  402.  
  403. CFuncs = {
  404. ["Part"] = {
  405. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  406. local Part = Create("Part"){
  407. Parent = Parent,
  408. Reflectance = Reflectance,
  409. Transparency = Transparency,
  410. CanCollide = false,
  411. Locked = true,
  412. BrickColor = BrickColor.new(tostring(BColor)),
  413. Name = Name,
  414. Size = Size,
  415. Material = Material,
  416. }
  417. RemoveOutlines(Part)
  418. return Part
  419. end;
  420. };
  421.  
  422. ["Mesh"] = {
  423. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  424. local Msh = Create(Mesh){
  425. Parent = Part,
  426. Offset = OffSet,
  427. Scale = Scale,
  428. }
  429. if Mesh == "SpecialMesh" then
  430. Msh.MeshType = MeshType
  431. Msh.MeshId = MeshId
  432. end
  433. return Msh
  434. end;
  435. };
  436.  
  437. ["Mesh"] = {
  438. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  439. local Msh = Create(Mesh){
  440. Parent = Part,
  441. Offset = OffSet,
  442. Scale = Scale,
  443. }
  444. if Mesh == "SpecialMesh" then
  445. Msh.MeshType = MeshType
  446. Msh.MeshId = MeshId
  447. end
  448. return Msh
  449. end;
  450. };
  451.  
  452. ["Weld"] = {
  453. Create = function(Parent, Part0, Part1, C0, C1)
  454. local Weld = Create("Weld"){
  455. Parent = Parent,
  456. Part0 = Part0,
  457. Part1 = Part1,
  458. C0 = C0,
  459. C1 = C1,
  460. }
  461. return Weld
  462. end;
  463. };
  464.  
  465. ["Sound"] = {
  466. Create = function(id, par, vol, pit)
  467. coroutine.resume(coroutine.create(function()
  468. local S = Create("Sound"){
  469. Volume = vol,
  470. Name = "EffectSoundo",
  471. Pitch = pit or 1,
  472. SoundId = id,
  473. Parent = par or workspace,
  474. }
  475. wait()
  476. S:play()
  477. game:GetService("Debris"):AddItem(S, 10)
  478. end))
  479. end;
  480. };
  481.  
  482. ["LongSound"] = {
  483. Create = function(id, par, vol, pit)
  484. coroutine.resume(coroutine.create(function()
  485. local S = Create("Sound"){
  486. Volume = vol,
  487. Pitch = pit or 1,
  488. SoundId = id,
  489. Parent = par or workspace,
  490. }
  491. wait()
  492. S:play()
  493. game:GetService("Debris"):AddItem(S, 60)
  494. end))
  495. end;
  496. };
  497.  
  498. ["ParticleEmitter"] = {
  499. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  500. local fp = Create("ParticleEmitter"){
  501. Parent = Parent,
  502. Color = ColorSequence.new(Color1, Color2),
  503. LightEmission = LightEmission,
  504. Size = Size,
  505. Texture = Texture,
  506. Transparency = Transparency,
  507. ZOffset = ZOffset,
  508. Acceleration = Accel,
  509. Drag = Drag,
  510. LockedToPart = LockedToPart,
  511. VelocityInheritance = VelocityInheritance,
  512. EmissionDirection = EmissionDirection,
  513. Enabled = Enabled,
  514. Lifetime = LifeTime,
  515. Rate = Rate,
  516. Rotation = Rotation,
  517. RotSpeed = RotSpeed,
  518. Speed = Speed,
  519. VelocitySpread = VelocitySpread,
  520. }
  521. return fp
  522. end;
  523. };
  524.  
  525. CreateTemplate = {
  526.  
  527. };
  528. }
  529.  
  530.  
  531.  
  532. New = function(Object, Parent, Name, Data)
  533. local Object = Instance.new(Object)
  534. for Index, Value in pairs(Data or {}) do
  535. Object[Index] = Value
  536. end
  537. Object.Parent = Parent
  538. Object.Name = Name
  539. return Object
  540. end
  541. local halocolor = BrickColor.new("Pastel light blue")
  542. local halocolor2 = BrickColor.new("Cool yellow")
  543. local starcolor = BrickColor.new("Bright yellow")
  544. local lunacolor = BrickColor.new("Navy blue")
  545. local lunacolor2 = BrickColor.new("Bright blue")
  546. local wepcolor = BrickColor.new("Really black")
  547. local maincolor = BrickColor.new("Really black")
  548. local m = Instance.new("Model",char)
  549. local m2 = Instance.new("Model",char)
  550. local m3 = Instance.new("Model",char)
  551. local mw1 = Instance.new("Model",char)
  552. local mw2 = Instance.new("Model",char)
  553.  
  554.  
  555. gui = function(GuiType, parent, text, backtrans, backcol, pos, size)
  556. local gui = it(GuiType)
  557. gui.Parent = parent
  558. gui.Text = text
  559. gui.BackgroundTransparency = backtrans
  560. gui.BackgroundColor3 = backcol
  561. gui.SizeConstraint = "RelativeXY"
  562. gui.TextXAlignment = "Center"
  563. gui.TextYAlignment = "Center"
  564. gui.Position = pos
  565. gui.Size = size
  566. gui.Font = "SourceSans"
  567. gui.FontSize = "Size14"
  568. gui.TextWrapped = false
  569. gui.TextStrokeTransparency = 0
  570. gui.TextColor = BrickColor.new("White")
  571. return gui
  572. end
  573. --------------------------- GUI STUFF
  574. local basgui = it("GuiMain")
  575. basgui.Parent = plr.PlayerGui
  576. basgui.Name = "VISgui"
  577. local fullscreenz = it("Frame")
  578. fullscreenz.Parent = basgui
  579. fullscreenz.BackgroundColor3 = Color3.new(255, 255, 255)
  580. fullscreenz.BackgroundTransparency = 1
  581. fullscreenz.BorderColor3 = Color3.new(17, 17, 17)
  582. fullscreenz.Size = UDim2.new(1, 0, 1, 0)
  583. fullscreenz.Position = UDim2.new(0, 0, 0, 0)
  584. local imgl2 = Instance.new("ImageLabel",fullscreenz)
  585. imgl2.BackgroundTransparency = 1
  586. imgl2.BorderSizePixel = 0
  587. imgl2.ImageTransparency = 0.5
  588. imgl2.ImageColor3 = Color3.new(0,0,0.5)
  589. imgl2.Position = UDim2.new(0.75,0,0.55,0)
  590. imgl2.Size = UDim2.new(0,600,0,600)
  591. imgl2.Image = "rbxassetid://320731120"
  592. local techc = imgl2:Clone()
  593. techc.Parent = fullscreenz
  594. techc.ImageTransparency = 0.5
  595. techc.Size = UDim2.new(0,700,0,700)
  596. techc.Position = UDim2.new(0.75,-50,0.55,-50)
  597. techc.ImageColor3 = Color3.new(0,0,0.5)
  598. techc.Image = "rbxassetid://521073910"
  599. local circl = imgl2:Clone()
  600. circl.Parent = fullscreenz
  601. circl.ImageTransparency = 0
  602. circl.Size = UDim2.new(0,500,0,500)
  603. circl.Position = UDim2.new(0.75,50,0.55,50)
  604. circl.ImageColor3 = Color3.new(0,0,0.5)
  605. circl.Image = "rbxassetid://997291547"
  606. local circl2 = imgl2:Clone()
  607. circl2.Parent = fullscreenz
  608. circl2.ImageTransparency = 0
  609. circl2.ImageColor3 = Color3.new(0,0,0.5)
  610. circl2.Image = "rbxassetid://997291547"
  611. local imgl2b = imgl2:Clone()
  612. imgl2b.Parent = fullscreenz
  613. imgl2b.ImageTransparency = 0
  614. imgl2b.Size = UDim2.new(0,500,0,500)
  615. imgl2b.Position = UDim2.new(0.75,50,0.55,50)
  616. local ned = Instance.new("TextLabel",fullscreenz)
  617. ned.ZIndex = 2
  618. ned.Font = "Code"
  619. ned.BackgroundTransparency = 1
  620. ned.BorderSizePixel = 0.65
  621. ned.Size = UDim2.new(0.4,0,0.2,0)
  622. ned.Position = UDim2.new(0.6,0,0.8,0)
  623. ned.TextScaled = true
  624. ned.TextStrokeTransparency = 0
  625. ned.TextSize = 20
  626. ned.Rotation = 1
  627. --ned.TextXAlignment = "Right"
  628. ned.TextYAlignment = "Bottom"
  629.  
  630. local extrawingmod1 = Instance.new("Model",char)
  631. local extrawingmod2 = Instance.new("Model",char)
  632.  
  633. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  634. local p = Instance.new("Part")
  635. p.TopSurface = 0
  636. p.BottomSurface = 0
  637. p.Parent = parent
  638. p.Size = Vector3.new(0.1,0.1,0.1)
  639. p.Transparency = transparency
  640. p.Reflectance = reflectance
  641. p.CanCollide = false
  642. p.Locked = true
  643. p.BrickColor = brickcolor
  644. p.Material = material
  645. return p
  646. end
  647.  
  648. function CreateMesh(parent,meshtype,x1,y1,z1)
  649. local mesh = Instance.new("SpecialMesh",parent)
  650. mesh.MeshType = meshtype
  651. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  652. return mesh
  653. end
  654.  
  655. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  656. local mesh = Instance.new("SpecialMesh",parent)
  657. mesh.MeshType = "FileMesh"
  658. mesh.MeshId = meshid
  659. mesh.Scale = Vector3.new(x1,y1,z1)
  660. return mesh
  661. end
  662.  
  663.  
  664. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  665. local mesh = Instance.new("SpecialMesh",parent)
  666. mesh.MeshType = "FileMesh"
  667. mesh.MeshId = meshid
  668. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  669. mesh.Scale = Vector3.new(x1,y1,z1)
  670. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  671. return mesh
  672. end
  673.  
  674. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  675. local weld = Instance.new("Weld")
  676. weld.Parent = parent
  677. weld.Part0 = part0
  678. weld.Part1 = part1
  679. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  680. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  681. return weld
  682. end
  683.  
  684.  
  685. --------------
  686. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  687. 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))
  688. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  689. 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))
  690.  
  691. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  692. CreateMesh(handle,"Brick",0,0,0)
  693. 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))
  694. local valuaring = 10
  695.  
  696. local refec = Instance.new("ParticleEmitter",handlex)
  697. refec.Texture = "rbxassetid://284205403"
  698. refec.LightEmission = 0.95
  699. refec.Color = ColorSequence.new(BrickColor.new("White").Color)
  700. refec.Rate = 50
  701. refec.Lifetime = NumberRange.new(0.5)
  702. refec.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.5,0.75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  703. refec.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.25,0),NumberSequenceKeypoint.new(1,1,0)})
  704. refec.Speed = NumberRange.new(0,2)
  705. refec.Drag = 5
  706. refec.LockedToPart = true
  707. refec.Rotation = NumberRange.new(-500,500)
  708. refec.VelocitySpread = 9000
  709. refec.RotSpeed = NumberRange.new(-500,500)
  710. local refec2 = refec:Clone()
  711. refec2.LightEmission = 0.75
  712. refec2.Texture = "rbxassetid://254287058"
  713. refec2.Parent = handlex
  714. refec2.Rate = 25
  715. refec2.Lifetime = NumberRange.new(0.75)
  716. 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)})
  717. refec2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  718. refec2.Speed = NumberRange.new(0)
  719. local refec3 = refec:Clone()
  720. refec3.LightEmission = 0.75
  721. refec3.Texture = "rbxassetid://363275192"
  722. refec3.Parent = handlex
  723. refec3.Rate = 25
  724. refec3.Lifetime = NumberRange.new(1)
  725. refec3.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0.1,0)})
  726. refec3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.65,0),NumberSequenceKeypoint.new(1,1,0)})
  727. refec3.Speed = NumberRange.new(0)
  728. refec3.RotSpeed = NumberRange.new(-50,50)
  729.  
  730. for i = 0, 35 do
  731. valuaring = valuaring + 10
  732. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  733. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  734. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  735. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  736. CreateMesh(rn,"Wedge",0.1,0.5,0.1)
  737. CreateWeld(rn,handlex,rn,0,0.75,0,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  738. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  739. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  740. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(-90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  741. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  742. CreateMesh(rn,"Wedge",0.1,0.2,0.05)
  743. CreateWeld(rn,handlex,rn,0,-1.1,0.025,math.rad(0),math.rad(90),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  744. end
  745.  
  746.  
  747. local handle = CreateParta(m,1,1,"Neon",maincolor)
  748. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  749. 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))
  750.  
  751. --- Left wing.
  752.  
  753. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  754. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  755. 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))
  756.  
  757. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  758. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  759. 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))
  760. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  761. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  762. 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))
  763. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  764. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  765. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  766. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  767. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  768. CreateWeld(wed,lwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  769. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  770. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  771. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  772. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  773. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  774. CreateWeld(wed,lwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  775. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  776. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  777. 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))
  778. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  779. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  780. 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))
  781. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  782. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  783. CreateWeld(wed,lwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  784. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  785. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  786. CreateWeld(wed,lwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  787.  
  788.  
  789. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  790. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  791. 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))
  792.  
  793. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  794. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  795. 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))
  796. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  797. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  798. 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))
  799. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  800. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  801. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  802. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  803. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  804. CreateWeld(wed,lwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  805. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  806. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  807. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  808. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  809. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  810. CreateWeld(wed,lwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  811. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  812. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  813. 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))
  814. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  815. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  816. 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))
  817. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  818. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  819. CreateWeld(wed,lwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  820. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  821. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  822. CreateWeld(wed,lwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  823.  
  824. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  825. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  826. 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))
  827.  
  828. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  829. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  830. 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))
  831. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  832. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  833. 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))
  834. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  835. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  836. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  837. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  838. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  839. CreateWeld(wed,lwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  840. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  841. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  842. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  843. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  844. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  845. CreateWeld(wed,lwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  846. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  847. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  848. 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))
  849. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  850. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  851. 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))
  852. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  853. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  854. CreateWeld(wed,lwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  855. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  856. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  857. CreateWeld(wed,lwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  858.  
  859. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  860. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  861. 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))
  862.  
  863. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  864. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  865. 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))
  866. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  867. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  868. 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))
  869. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  870. CreateMesh(wed,"Wedge",0.05,0.5,3)
  871. 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))
  872. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  873. CreateMesh(wed,"Wedge",0.05,3,0.5)
  874. 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))
  875.  
  876. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  877. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  878. 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))
  879.  
  880. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  881. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  882. 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))
  883. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  884. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  885. 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))
  886. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  887. CreateMesh(wed,"Wedge",0.05,0.5,3)
  888. 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))
  889. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  890. CreateMesh(wed,"Wedge",0.05,3,0.5)
  891. 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))
  892.  
  893. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  894. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  895. 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))
  896.  
  897. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  898. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  899. 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))
  900. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  901. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  902. 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))
  903. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  904. CreateMesh(wed,"Wedge",0.05,0.5,3)
  905. 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))
  906. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  907. CreateMesh(wed,"Wedge",0.05,3,0.5)
  908. 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))
  909.  
  910. -- Right wing.
  911.  
  912. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  913. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  914. 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))
  915.  
  916. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  917. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  918. 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))
  919. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  920. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  921. 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))
  922. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  923. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  924. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  925. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  926. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  927. CreateWeld(wed,rwing1,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  928. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  929. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  930. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  931. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  932. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  933. CreateWeld(wed,rwing1,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  934. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  935. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  936. 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))
  937. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  938. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  939. 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))
  940. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  941. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  942. CreateWeld(wed,rwing1,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  943. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  944. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  945. CreateWeld(wed,rwing1,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  946.  
  947. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  948. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  949. 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))
  950.  
  951. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  952. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  953. 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))
  954. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  955. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  956. 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))
  957. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  958. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  959. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  960. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  961. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  962. CreateWeld(wed,rwing2,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  963. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  964. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  965. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  966. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  967. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  968. CreateWeld(wed,rwing2,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  969. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  970. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  971. 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))
  972. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  973. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  974. 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))
  975. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  976. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  977. CreateWeld(wed,rwing2,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  978. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  980. CreateWeld(wed,rwing2,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  981.  
  982. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  983. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  984. 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))
  985.  
  986.  
  987. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  988. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  989. 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))
  990. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  991. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  992. 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))
  993. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  994. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  995. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  996. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  997. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  998. CreateWeld(wed,rwing3,wed,0,-0.5,0.25,math.rad(180),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  999. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1000. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1001. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1002. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1003. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1004. CreateWeld(wed,rwing3,wed,0,0.75,-0.25,math.rad(0),math.rad(-90),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1005. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1006. CreateMesh(wed,"Wedge",0.05,0.5,1.5)
  1007. 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))
  1008. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1009. CreateMesh(wed,"Wedge",0.05,1.5,0.5)
  1010. 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))
  1011. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1012. CreateMesh(wed,"Wedge",0.05,0.25,1.75)
  1013. CreateWeld(wed,rwing3,wed,0,-0.125,2.5,math.rad(0),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1014. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  1015. CreateMesh(wed,"Wedge",0.05,1.75,0.25)
  1016. CreateWeld(wed,rwing3,wed,0,-2.5,0.125,math.rad(90),math.rad(90),math.rad(90),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1017.  
  1018.  
  1019. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  1020. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1021. 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))
  1022.  
  1023. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1024. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1025. 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))
  1026. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1027. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1028. 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))
  1029. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1030. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1031. 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))
  1032. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1033. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1034. 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))
  1035.  
  1036. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  1037. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1038. 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))
  1039.  
  1040. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1041. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1042. 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))
  1043. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1044. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1045. 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))
  1046. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1047. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1048. 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))
  1049. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1050. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1051. 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))
  1052.  
  1053. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  1054. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  1055. 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))
  1056.  
  1057. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1058. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1059. 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))
  1060. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1061. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1062. 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))
  1063. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1064. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1065. 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))
  1066. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1067. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1068. 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))
  1069.  
  1070.  
  1071. ---- HERES THE RING
  1072.  
  1073.  
  1074. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1075. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1076. 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))
  1077. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1078. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1079. 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))
  1080. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1081. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1082. 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))
  1083.  
  1084.  
  1085. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1086. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1087. 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))
  1088.  
  1089. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1090. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1091. 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))
  1092.  
  1093.  
  1094.  
  1095. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1096. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1097. 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))
  1098.  
  1099. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1100. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1101. 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))
  1102.  
  1103. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1104. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1105. 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))
  1106.  
  1107. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1108. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1109. 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))
  1110. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1111. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1112. 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))
  1113.  
  1114. --- second ring
  1115.  
  1116. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1117. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1118. 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))
  1119. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1120. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1121. 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))
  1122. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1123. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1124. 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))
  1125.  
  1126. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1127. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1128. 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))
  1129.  
  1130. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1131. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1132. 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))
  1133.  
  1134.  
  1135.  
  1136. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1137. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1138. 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))
  1139.  
  1140. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1141. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1142. 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))
  1143.  
  1144. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1145. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1146. 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))
  1147.  
  1148. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1149. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1150. 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))
  1151. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1152. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1153. 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))]]--
  1154.  
  1155. ------------- Trails
  1156. local A0 = Instance.new("Attachment",lwing1)
  1157. A0.Position = Vector3.new(0,-0.7,0)
  1158. local A1 = Instance.new("Attachment",lwing1)
  1159. A1.Position = Vector3.new(0,-3.5,0)
  1160. tl1 = Instance.new('Trail',lwing1)
  1161. tl1.Attachment0 = A0
  1162. tl1.Attachment1 = A1
  1163. tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1164. tl1.LightEmission = 1
  1165. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1166. tl1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1167. tl1.Lifetime = 0.6
  1168.  
  1169. local A0 = Instance.new("Attachment",lwing2)
  1170. A0.Position = Vector3.new(0,-0.7,0)
  1171. local A1 = Instance.new("Attachment",lwing2)
  1172. A1.Position = Vector3.new(0,-3.5,0)
  1173. tl2 = Instance.new('Trail',lwing2)
  1174. tl2.Attachment0 = A0
  1175. tl2.Attachment1 = A1
  1176. tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1177. tl2.LightEmission = 1
  1178. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1179. tl2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1180. tl2.Lifetime = 0.6
  1181.  
  1182. local A0 = Instance.new("Attachment",lwing3)
  1183. A0.Position = Vector3.new(0,-0.7,0)
  1184. local A1 = Instance.new("Attachment",lwing3)
  1185. A1.Position = Vector3.new(0,-3.5,0)
  1186. tl3 = Instance.new('Trail',lwing3)
  1187. tl3.Attachment0 = A0
  1188. tl3.Attachment1 = A1
  1189. tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1190. tl3.LightEmission = 1
  1191. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1192. tl3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1193. tl3.Lifetime = 0.6
  1194.  
  1195. local A0 = Instance.new("Attachment",rwing1)
  1196. A0.Position = Vector3.new(0,-0.7,0)
  1197. local A1 = Instance.new("Attachment",rwing1)
  1198. A1.Position = Vector3.new(0,-3.5,0)
  1199. tr1 = Instance.new('Trail',rwing1)
  1200. tr1.Attachment0 = A0
  1201. tr1.Attachment1 = A1
  1202. tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1203. tr1.LightEmission = 1
  1204. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1205. tr1.Color = ColorSequence.new(BrickColor.new('White').Color)
  1206. tr1.Lifetime = 0.6
  1207.  
  1208. local A0 = Instance.new("Attachment",rwing2)
  1209. A0.Position = Vector3.new(0,-0.7,0)
  1210. local A1 = Instance.new("Attachment",rwing2)
  1211. A1.Position = Vector3.new(0,-3.5,0)
  1212. tr2 = Instance.new('Trail',rwing2)
  1213. tr2.Attachment0 = A0
  1214. tr2.Attachment1 = A1
  1215. tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1216. tr2.LightEmission = 1
  1217. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1218. tr2.Color = ColorSequence.new(BrickColor.new('White').Color)
  1219. tr2.Lifetime = 0.6
  1220.  
  1221. local A0 = Instance.new("Attachment",rwing3)
  1222. A0.Position = Vector3.new(0,-0.7,0)
  1223. local A1 = Instance.new("Attachment",rwing3)
  1224. A1.Position = Vector3.new(0,-3.5,0)
  1225. tr3 = Instance.new('Trail',rwing3)
  1226. tr3.Attachment0 = A0
  1227. tr3.Attachment1 = A1
  1228. tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  1229. tr3.LightEmission = 1
  1230. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  1231. tr3.Color = ColorSequence.new(BrickColor.new('White').Color)
  1232. tr3.Lifetime = 0.6
  1233.  
  1234. for i, v in pairs(mw2:GetChildren()) do
  1235. if v:IsA("Part") then
  1236. v.BrickColor = BrickColor.new("Navy blue")
  1237. v.Material = "Neon"
  1238. end
  1239. end
  1240. for i, v in pairs(mw1:GetChildren()) do
  1241. if v:IsA("Part") then
  1242. v.Transparency = 0
  1243. v.BrickColor = BrickColor.new("Navy blue")
  1244. v.Material = "Neon"
  1245. end
  1246. end
  1247. for i, v in pairs(extrawingmod1:GetChildren()) do
  1248. if v:IsA("Part") then
  1249. v.Transparency = 1
  1250. v.BrickColor = BrickColor.new("White")
  1251. v.Material = "Neon"
  1252. end
  1253. end
  1254. for i, v in pairs(extrawingmod2:GetChildren()) do
  1255. if v:IsA("Part") then
  1256. v.Transparency = 1
  1257. v.BrickColor = BrickColor.new("White")
  1258. v.Material = "Neon"
  1259. end
  1260. end
  1261. local MAINRUINCOLOR = BrickColor.new("Navy blue")
  1262. ------
  1263.  
  1264.  
  1265. function RemoveOutlines(part)
  1266. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1267. end
  1268. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1269. local Part = Create("Part")({
  1270. Parent = Parent,
  1271. Reflectance = Reflectance,
  1272. Transparency = Transparency,
  1273. CanCollide = false,
  1274. Locked = true,
  1275. BrickColor = BrickColor.new(tostring(BColor)),
  1276. Name = Name,
  1277. Size = Size,
  1278. Material = Material
  1279. })
  1280. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1281. RemoveOutlines(Part)
  1282. return Part
  1283. end
  1284. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1285. local Msh = Create(Mesh)({
  1286. Parent = Part,
  1287. Offset = OffSet,
  1288. Scale = Scale
  1289. })
  1290. if Mesh == "SpecialMesh" then
  1291. Msh.MeshType = MeshType
  1292. Msh.MeshId = MeshId
  1293. end
  1294. return Msh
  1295. end
  1296. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1297. local Weld = Create("Weld")({
  1298. Parent = Parent,
  1299. Part0 = Part0,
  1300. Part1 = Part1,
  1301. C0 = C0,
  1302. C1 = C1
  1303. })
  1304. return Weld
  1305. end
  1306.  
  1307. Player=owner
  1308. Character=Player.Character
  1309. PlayerGui=Player.PlayerGui
  1310. Backpack=Player.Backpack
  1311. Torso=Character.Torso
  1312. Head=Character.Head
  1313. Humanoid=Character.Humanoid
  1314. m=Instance.new('Model',Character)
  1315. LeftArm=Character["Left Arm"]
  1316. LeftLeg=Character["Left Leg"]
  1317. RightArm=Character["Right Arm"]
  1318. RightLeg=Character["Right Leg"]
  1319. LS=Torso["Left Shoulder"]
  1320. LH=Torso["Left Hip"]
  1321. RS=Torso["Right Shoulder"]
  1322. RH=Torso["Right Hip"]
  1323. Face = Head.face
  1324. Neck=Torso.Neck
  1325. it=Instance.new
  1326. attacktype=1
  1327. vt=Vector3.new
  1328. cf=CFrame.new
  1329. euler=CFrame.fromEulerAnglesXYZ
  1330. angles=CFrame.Angles
  1331. cloaked=false
  1332. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1333. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1334. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1335. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1336. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1337. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1338. RootPart=Character.HumanoidRootPart
  1339. RootJoint=RootPart.RootJoint
  1340. RootCF=euler(-1.57,0,3.14)
  1341. attack = false
  1342. attackdebounce = false
  1343. deb=false
  1344. equipped=true
  1345. hand=false
  1346. MMouse=nil
  1347. combo=0
  1348. mana=0
  1349. trispeed=.2
  1350. attackmode='none'
  1351. local idle=0
  1352. local Anim="Idle"
  1353. local Effects={}
  1354. local gun=false
  1355. local shoot=false
  1356. local sine = 0
  1357. local change = 1
  1358. player=nil
  1359.  
  1360. function RecolorTextAndRename(name,col1,col2,font)
  1361. modet.TextStrokeColor3 = col2
  1362. modet.TextColor3 = col1
  1363. modet.Font = font
  1364. modet.Text = name
  1365. end
  1366. --save shoulders
  1367. RSH, LSH=nil, nil
  1368. --welds
  1369. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1370. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1371. LH=Torso["Left Hip"]
  1372. RH=Torso["Right Hip"]
  1373. TorsoColor=Torso.BrickColor
  1374. function NoOutline(Part)
  1375. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1376. end
  1377. player=Player
  1378. ch=Character
  1379. RSH=ch.Torso["Right Shoulder"]
  1380. LSH=ch.Torso["Left Shoulder"]
  1381. --
  1382. RSH.Parent=nil
  1383. LSH.Parent=nil
  1384. --
  1385. RW.Name="Right Shoulder"
  1386. RW.Part0=ch.Torso
  1387. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1388. RW.C1=cf(0, 0.5, 0)
  1389. RW.Part1=ch["Right Arm"]
  1390. RW.Parent=ch.Torso
  1391. --
  1392. LW.Name="Left Shoulder"
  1393. LW.Part0=ch.Torso
  1394. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1395. LW.C1=cf(0, 0.5, 0)
  1396. LW.Part1=ch["Left Arm"]
  1397. LW.Parent=ch.Torso
  1398.  
  1399. local Stats=Instance.new("BoolValue")
  1400. Stats.Name="Stats"
  1401. Stats.Parent=Character
  1402. local Atk=Instance.new("NumberValue")
  1403. Atk.Name="Damage"
  1404. Atk.Parent=Stats
  1405. Atk.Value=1
  1406. local Def=Instance.new("NumberValue")
  1407. Def.Name="Defense"
  1408. Def.Parent=Stats
  1409. Def.Value=1
  1410. local Speed=Instance.new("NumberValue")
  1411. Speed.Name="Speed"
  1412. Speed.Parent=Stats
  1413. Speed.Value=1
  1414. local Mvmt=Instance.new("NumberValue")
  1415. Mvmt.Name="Movement"
  1416. Mvmt.Parent=Stats
  1417. Mvmt.Value=1
  1418.  
  1419. local donum=0
  1420.  
  1421.  
  1422. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1423. local fp=it("Part")
  1424. fp.formFactor=formfactor
  1425. fp.Parent=parent
  1426. fp.Reflectance=reflectance
  1427. fp.Transparency=transparency
  1428. fp.CanCollide=false
  1429. fp.Locked=true
  1430. fp.BrickColor=brickcolor
  1431. fp.Name=name
  1432. fp.Size=size
  1433. fp.Position=Torso.Position
  1434. NoOutline(fp)
  1435. fp.Material="SmoothPlastic"
  1436. fp:BreakJoints()
  1437. return fp
  1438. end
  1439.  
  1440. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1441. local mesh=it(Mesh)
  1442. mesh.Parent=part
  1443. if Mesh=="SpecialMesh" then
  1444. mesh.MeshType=meshtype
  1445. if meshid~="nil" then
  1446. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1447. end
  1448. end
  1449. mesh.Offset=offset
  1450. mesh.Scale=scale
  1451. return mesh
  1452. end
  1453.  
  1454. function weld(parent,part0,part1,c0)
  1455. local weld=it("Weld")
  1456. weld.Parent=parent
  1457. weld.Part0=part0
  1458. weld.Part1=part1
  1459. weld.C0=c0
  1460. return weld
  1461. end
  1462.  
  1463. local Color1=Torso.BrickColor
  1464.  
  1465. local bodvel=Instance.new("BodyVelocity")
  1466. local bg=Instance.new("BodyGyro")
  1467.  
  1468. function swait(num)
  1469. if num==0 or num==nil then
  1470. game:service'RunService'.Stepped:wait(0)
  1471. else
  1472. for i=0,num do
  1473. game:service'RunService'.Stepped:wait(0)
  1474. end
  1475. end
  1476. end
  1477.  
  1478. -------- RAINBOW LEAVE IT TO ME
  1479. local r = 255
  1480. local g = 0
  1481. local b = 0
  1482. coroutine.resume(coroutine.create(function()
  1483. while wait() do
  1484. for i = 0, 254/5 do
  1485. swait()
  1486. g = g + 5
  1487. end
  1488. for i = 0, 254/5 do
  1489. swait()
  1490. r = r - 5
  1491. end
  1492. for i = 0, 254/5 do
  1493. swait()
  1494. b = b + 5
  1495. end
  1496. for i = 0, 254/5 do
  1497. swait()
  1498. g = g - 5
  1499. end
  1500. for i = 0, 254/5 do
  1501. swait()
  1502. r = r + 5
  1503. end
  1504. for i = 0, 254/5 do
  1505. swait()
  1506. b = b - 5
  1507. end
  1508. end
  1509. end))
  1510.  
  1511.  
  1512. so = function(id,par,vol,pit)
  1513. coroutine.resume(coroutine.create(function()
  1514. local sou = Instance.new("Sound",par or workspace)
  1515. sou.Volume=vol
  1516. sou.Pitch=pit or 1
  1517. sou.SoundId=id
  1518. swait()
  1519. sou:play()
  1520. game:GetService("Debris"):AddItem(sou,6)
  1521. end))
  1522. end
  1523.  
  1524. function clerp(a,b,t)
  1525. local qa = {QuaternionFromCFrame(a)}
  1526. local qb = {QuaternionFromCFrame(b)}
  1527. local ax, ay, az = a.x, a.y, a.z
  1528. local bx, by, bz = b.x, b.y, b.z
  1529. local _t = 1-t
  1530. return QuaternionToCFrame(_t*ax + t*bx, _t*ay + t*by, _t*az + t*bz,QuaternionSlerp(qa, qb, t))
  1531. end
  1532.  
  1533. function QuaternionFromCFrame(cf)
  1534. local mx, my, mz, m00, m01, m02, m10, m11, m12, m20, m21, m22 = cf:components()
  1535. local trace = m00 + m11 + m22
  1536. if trace > 0 then
  1537. local s = math.sqrt(1 + trace)
  1538. local recip = 0.5/s
  1539. return (m21-m12)*recip, (m02-m20)*recip, (m10-m01)*recip, s*0.5
  1540. else
  1541. local i = 0
  1542. if m11 > m00 then
  1543. i = 1
  1544. end
  1545. if m22 > (i == 0 and m00 or m11) then
  1546. i = 2
  1547. end
  1548. if i == 0 then
  1549. local s = math.sqrt(m00-m11-m22+1)
  1550. local recip = 0.5/s
  1551. return 0.5*s, (m10+m01)*recip, (m20+m02)*recip, (m21-m12)*recip
  1552. elseif i == 1 then
  1553. local s = math.sqrt(m11-m22-m00+1)
  1554. local recip = 0.5/s
  1555. return (m01+m10)*recip, 0.5*s, (m21+m12)*recip, (m02-m20)*recip
  1556. elseif i == 2 then
  1557. local s = math.sqrt(m22-m00-m11+1)
  1558. local recip = 0.5/s return (m02+m20)*recip, (m12+m21)*recip, 0.5*s, (m10-m01)*recip
  1559. end
  1560. end
  1561. end
  1562.  
  1563. function QuaternionToCFrame(px, py, pz, x, y, z, w)
  1564. local xs, ys, zs = x + x, y + y, z + z
  1565. local wx, wy, wz = w*xs, w*ys, w*zs
  1566. local xx = x*xs
  1567. local xy = x*ys
  1568. local xz = x*zs
  1569. local yy = y*ys
  1570. local yz = y*zs
  1571. local zz = z*zs
  1572. 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))
  1573. end
  1574.  
  1575. function QuaternionSlerp(a, b, t)
  1576. local cosTheta = a[1]*b[1] + a[2]*b[2] + a[3]*b[3] + a[4]*b[4]
  1577. local startInterp, finishInterp;
  1578. if cosTheta >= 0.0001 then
  1579. if (1 - cosTheta) > 0.0001 then
  1580. local theta = math.acos(cosTheta)
  1581. local invSinTheta = 1/math.sin(theta)
  1582. startInterp = math.sin((1-t)*theta)*invSinTheta
  1583. finishInterp = math.sin(t*theta)*invSinTheta
  1584. else
  1585. startInterp = 1-t
  1586. finishInterp = t
  1587. end
  1588. else
  1589. if (1+cosTheta) > 0.0001 then
  1590. local theta = math.acos(-cosTheta)
  1591. local invSinTheta = 1/math.sin(theta)
  1592. startInterp = math.sin((t-1)*theta)*invSinTheta
  1593. finishInterp = math.sin(t*theta)*invSinTheta
  1594. else
  1595. startInterp = t-1
  1596. finishInterp = t
  1597. end
  1598. end
  1599. 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
  1600. end
  1601.  
  1602. local function CFrameFromTopBack(at, top, back)
  1603. local right = top:Cross(back)
  1604. return CFrame.new(at.x, at.y, at.z,
  1605. right.x, top.x, back.x,
  1606. right.y, top.y, back.y,
  1607. right.z, top.z, back.z)
  1608. end
  1609.  
  1610. function Triangle(a, b, c)
  1611. local edg1 = (c-a):Dot((b-a).unit)
  1612. local edg2 = (a-b):Dot((c-b).unit)
  1613. local edg3 = (b-c):Dot((a-c).unit)
  1614. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1615. a, b, c = a, b, c
  1616. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1617. a, b, c = b, c, a
  1618. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1619. a, b, c = c, a, b
  1620. else
  1621. assert(false, "unreachable")
  1622. end
  1623.  
  1624. local len1 = (c-a):Dot((b-a).unit)
  1625. local len2 = (b-a).magnitude - len1
  1626. local width = (a + (b-a).unit*len1 - c).magnitude
  1627.  
  1628. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1629.  
  1630. local list = {}
  1631.  
  1632. if len1 > 0.01 then
  1633. local w1 = Instance.new('WedgePart', m)
  1634. game:GetService("Debris"):AddItem(w1,5)
  1635. w1.Material = "SmoothPlastic"
  1636. w1.FormFactor = 'Custom'
  1637. w1.BrickColor = BrickColor.new("Really red")
  1638. w1.Transparency = 0
  1639. w1.Reflectance = 0
  1640. w1.Material = "SmoothPlastic"
  1641. w1.CanCollide = false
  1642. local l1 = Instance.new("PointLight",w1)
  1643. l1.Color = Color3.new(170,0,0)
  1644. NoOutline(w1)
  1645. local sz = Vector3.new(0.2, width, len1)
  1646. w1.Size = sz
  1647. local sp = Instance.new("SpecialMesh",w1)
  1648. sp.MeshType = "Wedge"
  1649. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1650. w1:BreakJoints()
  1651. w1.Anchored = true
  1652. w1.Parent = workspace
  1653. w1.Transparency = 0.7
  1654. table.insert(Effects,{w1,"Disappear",.01})
  1655. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1656. table.insert(list,w1)
  1657. end
  1658.  
  1659. if len2 > 0.01 then
  1660. local w2 = Instance.new('WedgePart', m)
  1661. game:GetService("Debris"):AddItem(w2,5)
  1662. w2.Material = "SmoothPlastic"
  1663. w2.FormFactor = 'Custom'
  1664. w2.BrickColor = BrickColor.new("Really red")
  1665. w2.Transparency = 0
  1666. w2.Reflectance = 0
  1667. w2.Material = "SmoothPlastic"
  1668. w2.CanCollide = false
  1669. local l2 = Instance.new("PointLight",w2)
  1670. l2.Color = Color3.new(170,0,0)
  1671. NoOutline(w2)
  1672. local sz = Vector3.new(0.2, width, len2)
  1673. w2.Size = sz
  1674. local sp = Instance.new("SpecialMesh",w2)
  1675. sp.MeshType = "Wedge"
  1676. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1677. w2:BreakJoints()
  1678. w2.Anchored = true
  1679. w2.Parent = workspace
  1680. w2.Transparency = 0.7
  1681. table.insert(Effects,{w2,"Disappear",.01})
  1682. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1683. table.insert(list,w2)
  1684. end
  1685. return unpack(list)
  1686. end
  1687.  
  1688.  
  1689. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1690. if hit.Parent == nil then
  1691. return
  1692. end
  1693. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1694. for _, v in pairs(hit.Parent:children()) do
  1695. if v:IsA("Humanoid") then
  1696. h = v
  1697. end
  1698. end
  1699. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1700. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1701. return
  1702. end
  1703. local c = Create("ObjectValue")({
  1704. Name = "creator",
  1705. Value = owner,
  1706. Parent = h
  1707. })
  1708. game:GetService("Debris"):AddItem(c, 0.5)
  1709. if HitSound ~= nil and HitPitch ~= nil then
  1710. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1711. end
  1712. local Damage = math.random(minim, maxim)
  1713. local blocked = false
  1714. local block = hit.Parent:findFirstChild("Block")
  1715. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1716. blocked = true
  1717. block.Value = block.Value - 1
  1718. print(block.Value)
  1719. end
  1720. if blocked == false then
  1721. HitHealth = h.Health
  1722. h.Health = h.Health - Damage
  1723. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1724. print("gained kill")
  1725. end
  1726. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1727. else
  1728. h.Health = h.Health - Damage / 2
  1729. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1730. end
  1731. if Type == "Knockdown" then
  1732. local hum = hit.Parent.Humanoid
  1733. hum.PlatformStand = true
  1734. coroutine.resume(coroutine.create(function(HHumanoid)
  1735. swait(1)
  1736. HHumanoid.PlatformStand = false
  1737. end), hum)
  1738. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1739. local bodvol = Create("BodyVelocity")({
  1740. velocity = angle * knockback,
  1741. P = 5000,
  1742. maxForce = Vector3.new(8000, 8000, 8000),
  1743. Parent = hit
  1744. })
  1745. local rl = Create("BodyAngularVelocity")({
  1746. P = 3000,
  1747. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1748. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1749. Parent = hit
  1750. })
  1751. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1752. game:GetService("Debris"):AddItem(rl, 0.5)
  1753. elseif Type == "Normal" then
  1754. local vp = Create("BodyVelocity")({
  1755. P = 500,
  1756. maxForce = Vector3.new(math.huge, 0, math.huge),
  1757. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1758. })
  1759. if knockback > 0 then
  1760. vp.Parent = hit.Parent.Head
  1761. end
  1762. game:GetService("Debris"):AddItem(vp, 0.5)
  1763. elseif Type == "Up" then
  1764. local bodyVelocity = Create("BodyVelocity")({
  1765. velocity = Vector3.new(0, 20, 0),
  1766. P = 5000,
  1767. maxForce = Vector3.new(8000, 8000, 8000),
  1768. Parent = hit
  1769. })
  1770. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1771. local bodyVelocity = Create("BodyVelocity")({
  1772. velocity = Vector3.new(0, 20, 0),
  1773. P = 5000,
  1774. maxForce = Vector3.new(8000, 8000, 8000),
  1775. Parent = hit
  1776. })
  1777. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1778. elseif Type == "Leech" then
  1779. local hum = hit.Parent.Humanoid
  1780. if hum ~= nil then
  1781. for i = 0, 2 do
  1782. 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)
  1783. end
  1784. Humanoid.Health = Humanoid.Health + 10
  1785. end
  1786. elseif Type == "UpKnock" then
  1787. local hum = hit.Parent.Humanoid
  1788. hum.PlatformStand = true
  1789. if hum ~= nil then
  1790. hitr = true
  1791. end
  1792. coroutine.resume(coroutine.create(function(HHumanoid)
  1793. swait(5)
  1794. HHumanoid.PlatformStand = false
  1795. hitr = false
  1796. end), hum)
  1797. local bodyVelocity = Create("BodyVelocity")({
  1798. velocity = Vector3.new(0, 20, 0),
  1799. P = 5000,
  1800. maxForce = Vector3.new(8000, 8000, 8000),
  1801. Parent = hit
  1802. })
  1803. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1804. local bodyVelocity = Create("BodyVelocity")({
  1805. velocity = Vector3.new(0, 20, 0),
  1806. P = 5000,
  1807. maxForce = Vector3.new(8000, 8000, 8000),
  1808. Parent = hit
  1809. })
  1810. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1811. elseif Type == "Snare" then
  1812. local bp = Create("BodyPosition")({
  1813. P = 2000,
  1814. D = 100,
  1815. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1816. position = hit.Parent.Torso.Position,
  1817. Parent = hit.Parent.Torso
  1818. })
  1819. game:GetService("Debris"):AddItem(bp, 1)
  1820. elseif Type == "Slashnare" then
  1821. 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)
  1822. for i = 1, math.random(4, 5) do
  1823. 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)
  1824. end
  1825. local bp = Create("BodyPosition")({
  1826. P = 2000,
  1827. D = 100,
  1828. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1829. position = hit.Parent.Torso.Position,
  1830. Parent = hit.Parent.Torso
  1831. })
  1832. game:GetService("Debris"):AddItem(bp, 1)
  1833. elseif Type == "Spike" then
  1834. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1835. local bp = Create("BodyPosition")({
  1836. P = 2000,
  1837. D = 100,
  1838. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1839. position = hit.Parent.Torso.Position,
  1840. Parent = hit.Parent.Torso
  1841. })
  1842. game:GetService("Debris"):AddItem(bp, 1)
  1843. elseif Type == "Freeze" then
  1844. local BodPos = Create("BodyPosition")({
  1845. P = 50000,
  1846. D = 1000,
  1847. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1848. position = hit.Parent.Torso.Position,
  1849. Parent = hit.Parent.Torso
  1850. })
  1851. local BodGy = Create("BodyGyro")({
  1852. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1853. P = 20000,
  1854. Parent = hit.Parent.Torso,
  1855. cframe = hit.Parent.Torso.CFrame
  1856. })
  1857. hit.Parent.Torso.Anchored = true
  1858. coroutine.resume(coroutine.create(function(Part)
  1859. swait(1.5)
  1860. Part.Anchored = false
  1861. end), hit.Parent.Torso)
  1862. game:GetService("Debris"):AddItem(BodPos, 3)
  1863. game:GetService("Debris"):AddItem(BodGy, 3)
  1864. end
  1865. local debounce = Create("BoolValue")({
  1866. Name = "DebounceHit",
  1867. Parent = hit.Parent,
  1868. Value = true
  1869. })
  1870. game:GetService("Debris"):AddItem(debounce, Delay)
  1871. c = Instance.new("ObjectValue")
  1872. c.Name = "creator"
  1873. c.Value = Player
  1874. c.Parent = h
  1875. game:GetService("Debris"):AddItem(c, 0.5)
  1876. end
  1877. end
  1878. function ShowDamage(Pos, Text, Time, Color)
  1879. local Rate = 0.03333333333333333
  1880. local Pos = Pos or Vector3.new(0, 0, 0)
  1881. local Text = Text or ""
  1882. local Time = Time or 2
  1883. local Color = Color or Color3.new(1, 0, 1)
  1884. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1885. EffectPart.Anchored = true
  1886. local BillboardGui = Create("BillboardGui")({
  1887. Size = UDim2.new(3, 0, 3, 0),
  1888. Adornee = EffectPart,
  1889. Parent = EffectPart
  1890. })
  1891. local TextLabel = Create("TextLabel")({
  1892. BackgroundTransparency = 1,
  1893. Size = UDim2.new(1, 0, 1, 0),
  1894. Text = Text,
  1895. TextColor3 = Color,
  1896. TextScaled = true,
  1897. Font = Enum.Font.ArialBold,
  1898. Parent = BillboardGui
  1899. })
  1900. game.Debris:AddItem(EffectPart, Time + 0.1)
  1901. EffectPart.Parent = game:GetService("Workspace")
  1902. delay(0, function()
  1903. local Frames = Time / Rate
  1904. for Frame = 1, Frames do
  1905. wait(Rate)
  1906. local Percent = Frame / Frames
  1907. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1908. TextLabel.TextTransparency = Percent
  1909. end
  1910. if EffectPart and EffectPart.Parent then
  1911. EffectPart:Destroy()
  1912. end
  1913. end)
  1914. end
  1915. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1916. for _, c in pairs(workspace:children()) do
  1917. local hum = c:findFirstChildOfClass("Humanoid")
  1918. if hum ~= nil then
  1919. local head = c:findFirstChild("Head")
  1920. if head ~= nil then
  1921. local targ = head.Position - Part.Position
  1922. local mag = targ.magnitude
  1923. if magni >= mag and c.Name ~= Player.Name then
  1924. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1925. end
  1926. end
  1927. end
  1928. end
  1929. end
  1930.  
  1931. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1932. for _, c in pairs(workspace:children()) do
  1933. local hum = c:findFirstChild("Humanoid")
  1934. if hum ~= nil then
  1935. local head = c:findFirstChild("Torso")
  1936. if head ~= nil then
  1937. local targ = head.Position - Part.Position
  1938. local mag = targ.magnitude
  1939. if magni >= mag and c.Name ~= Player.Name then
  1940. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  1941. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1942. end
  1943. end
  1944. end
  1945. end
  1946. end
  1947.  
  1948. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  1949. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  1950. end
  1951.  
  1952. local origcolor = BrickColor.new("Pastel light blue")
  1953. ---- This section of explosions.
  1954.  
  1955. ----
  1956.  
  1957.  
  1958. function ring(type,pos,scale,value)
  1959. local type = type
  1960. local rng = Instance.new("Part", char)
  1961. rng.Anchored = true
  1962. rng.BrickColor = origcolor
  1963. rng.CanCollide = false
  1964. rng.FormFactor = 3
  1965. rng.Name = "Ring"
  1966. rng.Size = Vector3.new(1, 1, 1)
  1967. rng.Transparency = 0
  1968. rng.TopSurface = 0
  1969. rng.BottomSurface = 0
  1970. rng.CFrame = pos
  1971. local rngm = Instance.new("SpecialMesh", rng)
  1972. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  1973. rngm.Scale = scale
  1974. local scaler2 = 1
  1975. if type == "Add" then
  1976. scaler2 = 1*value
  1977. elseif type == "Divide" then
  1978. scaler2 = 1/value
  1979. end
  1980. coroutine.resume(coroutine.create(function()
  1981. for i = 0,10,0.1 do
  1982. swait()
  1983. if type == "Add" then
  1984. scaler2 = scaler2 - 0.01*value
  1985. elseif type == "Divide" then
  1986. scaler2 = scaler2 - 0.01/value
  1987. end
  1988. rng.Transparency = rng.Transparency + 0.01
  1989. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  1990. end
  1991. rng:Destroy()
  1992. end))
  1993. end
  1994.  
  1995.  
  1996. function wave(type,pos,scale,value)
  1997. local type = type
  1998. local rng = Instance.new("Part", char)
  1999. rng.Anchored = true
  2000. rng.BrickColor = origcolor
  2001. rng.CanCollide = false
  2002. rng.FormFactor = 3
  2003. rng.Name = "Ring"
  2004. rng.Size = Vector3.new(1, 1, 1)
  2005. rng.Transparency = 0
  2006. rng.TopSurface = 0
  2007. rng.BottomSurface = 0
  2008. rng.CFrame = pos
  2009. local rngm = Instance.new("SpecialMesh", rng)
  2010. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2011. rngm.Scale = scale
  2012. local scaler2 = 1
  2013. if type == "Add" then
  2014. scaler2 = 1*value
  2015. elseif type == "Divide" then
  2016. scaler2 = 1/value
  2017. end
  2018. coroutine.resume(coroutine.create(function()
  2019. for i = 0,10,0.1 do
  2020. swait()
  2021. if type == "Add" then
  2022. scaler2 = scaler2 - 0.01*value
  2023. elseif type == "Divide" then
  2024. scaler2 = scaler2 - 0.01/value
  2025. end
  2026. rng.Transparency = rng.Transparency + 0.01
  2027. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2028. end
  2029. rng:Destroy()
  2030. end))
  2031. end
  2032.  
  2033. function sphere(bonuspeed,type,pos,scale,value,color)
  2034. local type = type
  2035. local rng = Instance.new("Part", char)
  2036. rng.Anchored = true
  2037. if ModeOfGlitch ~= 9 then
  2038. rng.BrickColor = color
  2039. elseif ModeOfGlitch == 9 then
  2040. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2041. end
  2042. rng.CanCollide = false
  2043. rng.FormFactor = 3
  2044. rng.Name = "Ring"
  2045. rng.Material = "Neon"
  2046. rng.Size = Vector3.new(1, 1, 1)
  2047. rng.Transparency = 0
  2048. rng.TopSurface = 0
  2049. rng.BottomSurface = 0
  2050. rng.CFrame = pos
  2051. local rngm = Instance.new("SpecialMesh", rng)
  2052. rngm.MeshType = "Sphere"
  2053. rngm.Scale = scale
  2054. if rainbowmode == true then
  2055. rng.Color = Color3.new(r/255,g/255,b/255)
  2056. end
  2057. if ModeOfGlitch == 9 then
  2058. coroutine.resume(coroutine.create(function()
  2059. while true do
  2060. swait()
  2061. if rng.Parent ~= nil then
  2062. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2063. else
  2064. break
  2065. end
  2066. end
  2067. end))
  2068. end
  2069. local scaler2 = 1
  2070. if type == "Add" then
  2071. scaler2 = 1*value
  2072. elseif type == "Divide" then
  2073. scaler2 = 1/value
  2074. end
  2075. coroutine.resume(coroutine.create(function()
  2076. for i = 0,10/bonuspeed,0.1 do
  2077. swait()
  2078. if rainbowmode == true then
  2079. rng.Color = Color3.new(r/255,g/255,b/255)
  2080. end
  2081. if type == "Add" then
  2082. scaler2 = scaler2 - 0.01*value/bonuspeed
  2083. elseif type == "Divide" then
  2084. scaler2 = scaler2 - 0.01/value*bonuspeed
  2085. end
  2086. if chaosmode == true then
  2087. rng.BrickColor = BrickColor.random()
  2088. end
  2089. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2090. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2091. end
  2092. rng:Destroy()
  2093. end))
  2094. end
  2095.  
  2096. function sphere2(bonuspeed,type,pos,scale,value,value2,value3,color)
  2097. local type = type
  2098. local rng = Instance.new("Part", char)
  2099. rng.Anchored = true
  2100. if ModeOfGlitch ~= 9 then
  2101. rng.BrickColor = color
  2102. elseif ModeOfGlitch == 9 then
  2103. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2104. end
  2105. rng.CanCollide = false
  2106. rng.FormFactor = 3
  2107. rng.Name = "Ring"
  2108. rng.Material = "Neon"
  2109. rng.Size = Vector3.new(1, 1, 1)
  2110. rng.Transparency = 0
  2111. rng.TopSurface = 0
  2112. rng.BottomSurface = 0
  2113. rng.CFrame = pos
  2114. local rngm = Instance.new("SpecialMesh", rng)
  2115. rngm.MeshType = "Sphere"
  2116. rngm.Scale = scale
  2117. local scaler2 = 1
  2118. local scaler2b = 1
  2119. local scaler2c = 1
  2120. if type == "Add" then
  2121. scaler2 = 1*value
  2122. scaler2b = 1*value2
  2123. scaler2c = 1*value3
  2124. elseif type == "Divide" then
  2125. scaler2 = 1/value
  2126. scaler2b = 1/value2
  2127. scaler2c = 1/value3
  2128. end
  2129. if ModeOfGlitch == 9 then
  2130. coroutine.resume(coroutine.create(function()
  2131. while true do
  2132. swait()
  2133. if rng.Parent ~= nil then
  2134. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2135. else
  2136. break
  2137. end
  2138. end
  2139. end))
  2140. end
  2141. coroutine.resume(coroutine.create(function()
  2142. for i = 0,10/bonuspeed,0.1 do
  2143. swait()
  2144. if type == "Add" then
  2145. scaler2 = scaler2 - 0.01*value/bonuspeed
  2146. scaler2b = scaler2b - 0.01*value/bonuspeed
  2147. scaler2c = scaler2c - 0.01*value/bonuspeed
  2148. elseif type == "Divide" then
  2149. scaler2 = scaler2 - 0.01/value*bonuspeed
  2150. scaler2b = scaler2b - 0.01/value*bonuspeed
  2151. scaler2c = scaler2c - 0.01/value*bonuspeed
  2152. end
  2153. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2154. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2b*bonuspeed, scaler2c*bonuspeed)
  2155. end
  2156. rng:Destroy()
  2157. end))
  2158. end
  2159.  
  2160. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2161. local type = type
  2162. local rng = Instance.new("Part", char)
  2163. rng.Anchored = true
  2164. rng.BrickColor = color
  2165. rng.CanCollide = false
  2166. rng.FormFactor = 3
  2167. rng.Name = "Ring"
  2168. rng.Material = "Neon"
  2169. rng.Size = Vector3.new(1, 1, 1)
  2170. rng.Transparency = 0
  2171. rng.TopSurface = 0
  2172. rng.BottomSurface = 0
  2173. rng.CFrame = pos
  2174. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2175. local rngm = Instance.new("SpecialMesh", rng)
  2176. rngm.MeshType = "Brick"
  2177. rngm.Scale = vt(x1,y1,z1)
  2178. if rainbowmode == true then
  2179. rng.Color = Color3.new(r/255,g/255,b/255)
  2180. end
  2181. local scaler2 = 1
  2182. local speeder = FastSpeed/10
  2183. if type == "Add" then
  2184. scaler2 = 1*value
  2185. elseif type == "Divide" then
  2186. scaler2 = 1/value
  2187. end
  2188. coroutine.resume(coroutine.create(function()
  2189. for i = 0,10/bonuspeed,0.1 do
  2190. swait()
  2191. if rainbowmode == true then
  2192. rng.Color = Color3.new(r/255,g/255,b/255)
  2193. end
  2194. if type == "Add" then
  2195. scaler2 = scaler2 - 0.01*value/bonuspeed
  2196. elseif type == "Divide" then
  2197. scaler2 = scaler2 - 0.01/value*bonuspeed
  2198. end
  2199. if chaosmode == true then
  2200. rng.BrickColor = BrickColor.random()
  2201. end
  2202. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2203. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2204. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2205. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2206. end
  2207. rng:Destroy()
  2208. end))
  2209. end
  2210.  
  2211. function PixelBlockX(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2212. local type = type
  2213. local rng = Instance.new("Part", char)
  2214. rng.Anchored = true
  2215. rng.BrickColor = color
  2216. rng.CanCollide = false
  2217. rng.FormFactor = 3
  2218. rng.Name = "Ring"
  2219. rng.Material = "Neon"
  2220. rng.Size = Vector3.new(1, 1, 1)
  2221. rng.Transparency = 0
  2222. rng.TopSurface = 0
  2223. rng.BottomSurface = 0
  2224. rng.CFrame = pos
  2225. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2226. local rngm = Instance.new("SpecialMesh", rng)
  2227. rngm.MeshType = "Brick"
  2228. rngm.Scale = vt(x1,y1,z1)
  2229. if rainbowmode == true then
  2230. rng.Color = Color3.new(r/255,g/255,b/255)
  2231. end
  2232. local scaler2 = 1
  2233. local speeder = FastSpeed/10
  2234. if type == "Add" then
  2235. scaler2 = 1*value
  2236. elseif type == "Divide" then
  2237. scaler2 = 1/value
  2238. end
  2239. coroutine.resume(coroutine.create(function()
  2240. for i = 0,10/bonuspeed,0.1 do
  2241. swait()
  2242. if rainbowmode == true then
  2243. rng.Color = Color3.new(r/255,g/255,b/255)
  2244. end
  2245. if type == "Add" then
  2246. scaler2 = scaler2 - 0.01*value/bonuspeed
  2247. elseif type == "Divide" then
  2248. scaler2 = scaler2 - 0.01/value*bonuspeed
  2249. end
  2250. if chaosmode == true then
  2251. rng.BrickColor = BrickColor.random()
  2252. end
  2253. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  2254. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2255. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2256. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2257. end
  2258. rng:Destroy()
  2259. end))
  2260. end
  2261.  
  2262. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2263. local type = type
  2264. local rng = Instance.new("Part", char)
  2265. rng.Anchored = true
  2266. rng.BrickColor = color
  2267. rng.CanCollide = false
  2268. rng.FormFactor = 3
  2269. rng.Name = "Ring"
  2270. rng.Material = "Neon"
  2271. rng.Size = Vector3.new(1, 1, 1)
  2272. rng.Transparency = 0
  2273. rng.TopSurface = 0
  2274. rng.BottomSurface = 0
  2275. rng.CFrame = pos
  2276. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2277. local rngm = Instance.new("SpecialMesh", rng)
  2278. rngm.MeshType = "Brick"
  2279. rngm.Scale = vt(x1,y1,z1)
  2280. if rainbowmode == true then
  2281. rng.Color = Color3.new(r/255,g/255,b/255)
  2282. end
  2283. local scaler2 = 0
  2284. local speeder = FastSpeed/10
  2285. if type == "Add" then
  2286. scaler2 = 1*value
  2287. elseif type == "Divide" then
  2288. scaler2 = 1/value
  2289. end
  2290. coroutine.resume(coroutine.create(function()
  2291. for i = 0,10/bonuspeed,0.1 do
  2292. swait()
  2293. if rainbowmode == true then
  2294. rng.Color = Color3.new(r/255,g/255,b/255)
  2295. end
  2296. if type == "Add" then
  2297. scaler2 = scaler2 - 0.01*value/bonuspeed
  2298. elseif type == "Divide" then
  2299. scaler2 = scaler2 - 0.01/value*bonuspeed
  2300. end
  2301. if chaosmode == true then
  2302. rng.BrickColor = BrickColor.random()
  2303. end
  2304. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  2305. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2306. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2307. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2308. end
  2309. rng:Destroy()
  2310. end))
  2311. end
  2312.  
  2313. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2314. local type = type
  2315. local rng = Instance.new("Part", char)
  2316. rng.Anchored = true
  2317. if ModeOfGlitch ~= 9 then
  2318. rng.BrickColor = color
  2319. elseif ModeOfGlitch == 9 then
  2320. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2321. end
  2322. rng.CanCollide = false
  2323. rng.FormFactor = 3
  2324. rng.Name = "Ring"
  2325. rng.Material = "Neon"
  2326. rng.Size = Vector3.new(1, 1, 1)
  2327. rng.Transparency = 0
  2328. rng.TopSurface = 0
  2329. rng.BottomSurface = 0
  2330. rng.CFrame = pos
  2331. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2332. local rngm = Instance.new("SpecialMesh", rng)
  2333. rngm.MeshType = "Sphere"
  2334. rngm.Scale = vt(x1,y1,z1)
  2335. if rainbowmode == true then
  2336. rng.Color = Color3.new(r/255,g/255,b/255)
  2337. end
  2338. if ModeOfGlitch == 9 then
  2339. coroutine.resume(coroutine.create(function()
  2340. while true do
  2341. swait()
  2342. if rng.Parent ~= nil then
  2343. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2344. else
  2345. break
  2346. end
  2347. end
  2348. end))
  2349. end
  2350. local scaler2 = 1
  2351. local speeder = FastSpeed
  2352. if type == "Add" then
  2353. scaler2 = 1*value
  2354. elseif type == "Divide" then
  2355. scaler2 = 1/value
  2356. end
  2357. coroutine.resume(coroutine.create(function()
  2358. for i = 0,10/bonuspeed,0.1 do
  2359. swait()
  2360. if rainbowmode == true then
  2361. rng.Color = Color3.new(r/255,g/255,b/255)
  2362. end
  2363. if type == "Add" then
  2364. scaler2 = scaler2 - 0.01*value/bonuspeed
  2365. elseif type == "Divide" then
  2366. scaler2 = scaler2 - 0.01/value*bonuspeed
  2367. end
  2368. if chaosmode == true then
  2369. rng.BrickColor = BrickColor.random()
  2370. end
  2371. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2372. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2373. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2374. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2375. end
  2376. rng:Destroy()
  2377. end))
  2378. end
  2379.  
  2380.  
  2381. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  2382. local type = type
  2383. local rng = Instance.new("Part", char)
  2384. rng.Anchored = true
  2385. if ModeOfGlitch ~= 9 then
  2386. rng.BrickColor = color
  2387. elseif ModeOfGlitch == 9 then
  2388. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2389. end
  2390. rng.CanCollide = false
  2391. rng.FormFactor = 3
  2392. rng.Name = "Ring"
  2393. rng.Material = "Neon"
  2394. rng.Size = Vector3.new(1, 1, 1)
  2395. rng.Transparency = 1
  2396. rng.TopSurface = 0
  2397. rng.BottomSurface = 0
  2398. rng.CFrame = pos
  2399. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  2400. local rngm = Instance.new("SpecialMesh", rng)
  2401. rngm.MeshType = "Sphere"
  2402. rngm.Scale = vt(x1,y1,z1)
  2403. if rainbowmode == true then
  2404. rng.Color = Color3.new(r/255,g/255,b/255)
  2405. end
  2406. if ModeOfGlitch == 9 then
  2407. coroutine.resume(coroutine.create(function()
  2408. while true do
  2409. swait()
  2410. if rng.Parent ~= nil then
  2411. rng.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  2412. else
  2413. break
  2414. end
  2415. end
  2416. end))
  2417. end
  2418. local scaler2 = 1
  2419. local speeder = FastSpeed
  2420. if type == "Add" then
  2421. scaler2 = 1*value
  2422. elseif type == "Divide" then
  2423. scaler2 = 1/value
  2424. end
  2425. coroutine.resume(coroutine.create(function()
  2426. for i = 0,10/bonuspeed,0.1 do
  2427. swait()
  2428. if rainbowmode == true then
  2429. rng.Color = Color3.new(r/255,g/255,b/255)
  2430. end
  2431. if type == "Add" then
  2432. scaler2 = scaler2 - 0.01*value/bonuspeed
  2433. elseif type == "Divide" then
  2434. scaler2 = scaler2 - 0.01/value*bonuspeed
  2435. end
  2436. if chaosmode == true then
  2437. rng.BrickColor = BrickColor.random()
  2438. end
  2439. speeder = speeder - 0.01*FastSpeed*bonuspeed
  2440. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  2441. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  2442. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2443. end
  2444. rng:Destroy()
  2445. end))
  2446. end
  2447.  
  2448. function dmg(dude)
  2449. if dude.Name ~= Character then
  2450. local keptcolor = MAINRUINCOLOR
  2451. local bgf = Instance.new("BodyGyro",dude.Head)
  2452. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  2453. --[[local val = Instance.new("BoolValue",dude)
  2454. val.Name = "IsHit"]]--
  2455. local ds = coroutine.wrap(function()
  2456. dude:WaitForChild("Head"):BreakJoints()
  2457. for i, v in pairs(dude:GetChildren()) do
  2458. if v:IsA("Part") or v:IsA("MeshPart") then
  2459. v.Name = "DEMINISHED"
  2460. end
  2461. end
  2462. wait(0.5)
  2463. targetted = nil
  2464. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.75, 0.285)
  2465. coroutine.resume(coroutine.create(function()
  2466. for i, v in pairs(dude:GetChildren()) do
  2467. if v:IsA("Accessory") then
  2468. v:Destroy()
  2469. end
  2470. if v:IsA("Humanoid") then
  2471. v:Destroy()
  2472. end
  2473. if v:IsA("CharacterMesh") then
  2474. v:Destroy()
  2475. end
  2476. if v:IsA("Model") then
  2477. v:Destroy()
  2478. end
  2479. if v:IsA("Part") or v:IsA("MeshPart") then
  2480. for x, o in pairs(v:GetChildren()) do
  2481. if o:IsA("Decal") then
  2482. o:Destroy()
  2483. end
  2484. end
  2485. coroutine.resume(coroutine.create(function()
  2486. v.Material = "Neon"
  2487. v.CanCollide = false
  2488. v.Anchored = false
  2489. local bld = Instance.new("ParticleEmitter",v)
  2490. bld.LightEmission = 0.75
  2491. bld.Texture = "rbxassetid://363275192" ---284205403
  2492. bld.Color = ColorSequence.new(keptcolor.Color)
  2493. bld.Rate = 500
  2494. bld.Lifetime = NumberRange.new(1)
  2495. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,2.25,0),NumberSequenceKeypoint.new(1,0,0)})
  2496. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2497. bld.Speed = NumberRange.new(2,5)
  2498. bld.VelocitySpread = 50000
  2499. bld.Rotation = NumberRange.new(-500,500)
  2500. bld.RotSpeed = NumberRange.new(-500,500)
  2501. local sbs = Instance.new("BodyPosition", v)
  2502. sbs.P = 3000
  2503. sbs.D = 1000
  2504. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  2505. sbs.position = v.Position + Vector3.new(math.random(-2,2),10 + math.random(-2,2),math.random(-2,2))
  2506. v.Color = keptcolor.Color
  2507. coroutine.resume(coroutine.create(function()
  2508. for i = 0, 49 do
  2509. swait(1)
  2510. v:BreakJoints()
  2511. v.Transparency = v.Transparency + 0.02
  2512. end
  2513. v:BreakJoints()
  2514. sphere2(1,"Add",v.CFrame,vt(0,0,0),0.1,0.1,0.1,keptcolor)
  2515. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.5, 0.75)
  2516. bld.Speed = NumberRange.new(10,25)
  2517. bld.Drag = 5
  2518. bld.Acceleration = vt(0,2,0)
  2519. wait(0.5)
  2520. bld.Enabled = false
  2521. wait(8)
  2522. v:Destroy()
  2523. dude:Destroy()
  2524. end))
  2525. end))
  2526. end
  2527. end
  2528. end))
  2529. end)
  2530. ds()
  2531. end
  2532. end
  2533.  
  2534.  
  2535. function FindNearestHead(Position, Distance, SinglePlayer)
  2536. if SinglePlayer then
  2537. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  2538. end
  2539. local List = {}
  2540. for i, v in pairs(workspace:GetChildren()) do
  2541. if v:IsA("Model") then
  2542. if v:findFirstChild("Head") then
  2543. if v ~= Character then
  2544. if (v.Head.Position - Position).magnitude <= Distance then
  2545. table.insert(List, v)
  2546. end
  2547. end
  2548. end
  2549. end
  2550. end
  2551. return List
  2552. end
  2553.  
  2554. function FaceMouse()
  2555. Cam = workspace.CurrentCamera
  2556. return {
  2557. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  2558. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2559. }
  2560. end
  2561.  
  2562. function FaceMouse2()
  2563. Cam = workspace.CurrentCamera
  2564. return {
  2565. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  2566. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  2567. }
  2568. end
  2569.  
  2570. -- Functions are ready.
  2571. local storehumanoidWS = 16
  2572.  
  2573. function resetmode()
  2574. ModeOfGlitch = 1
  2575. storehumanoidWS = 16
  2576. hum.WalkSpeed = 16
  2577. rainbowmode = false
  2578. chaosmode = false
  2579. RecolorTextAndRename("Derpz!",Color3.new(0,0,0.8),Color3.new(0,0,0.4),"Arcade")
  2580. newTheme("rbxassetid://621367124",0,1.1,1.25)
  2581. MAINRUINCOLOR = BrickColor.new("Navy blue")
  2582. for i, v in pairs(mw2:GetChildren()) do
  2583. if v:IsA("Part") then
  2584. v.BrickColor = MAINRUINCOLOR
  2585. v.Material = "Neon"
  2586. end
  2587. end
  2588. refec.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2589. refec2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2590. refec3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2591. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2592. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2593. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2594. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2595. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2596. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2597. for i, v in pairs(mw1:GetChildren()) do
  2598. if v:IsA("Part") then
  2599. v.Transparency = 0
  2600. v.BrickColor = MAINRUINCOLOR
  2601. v.Material = "Neon"
  2602. end
  2603. end
  2604. for i, v in pairs(m:GetChildren()) do
  2605. if v:IsA("Part") then
  2606. v.BrickColor = BrickColor.new("Navy blue")
  2607. v.Material = "Ice"
  2608. end
  2609. end
  2610. for i, v in pairs(m2:GetChildren()) do
  2611. if v:IsA("Part") then
  2612. v.BrickColor = BrickColor.new("Deep blue")
  2613. v.Material = "Ice"
  2614. end
  2615. end
  2616. for i, v in pairs(m3:GetChildren()) do
  2617. if v:IsA("Part") then
  2618. v.BrickColor = BrickColor.new("Really blue")
  2619. v.Material = "Neon"
  2620. end
  2621. end
  2622. for i, v in pairs(extrawingmod1:GetChildren()) do
  2623. if v:IsA("Part") then
  2624. v.Transparency = 1
  2625. v.BrickColor = BrickColor.new("White")
  2626. v.Material = "Neon"
  2627. end
  2628. end
  2629. for i, v in pairs(extrawingmod2:GetChildren()) do
  2630. if v:IsA("Part") then
  2631. v.Transparency = 1
  2632. v.BrickColor = BrickColor.new("White")
  2633. v.Material = "Neon"
  2634. end
  2635. end
  2636. end
  2637.  
  2638. function RecolorThing(one,two,three,four,five,exonetran,exone,extwotran,extwo)
  2639. for i, v in pairs(mw2:GetChildren()) do
  2640. if v:IsA("Part") then
  2641. v.BrickColor = one
  2642. v.Material = "Neon"
  2643. end
  2644. end
  2645. refec.Color = ColorSequence.new(one.Color)
  2646. refec2.Color = ColorSequence.new(one.Color)
  2647. refec3.Color = ColorSequence.new(one.Color)
  2648. tr1.Color = ColorSequence.new(one.Color)
  2649. tr2.Color = ColorSequence.new(one.Color)
  2650. tr3.Color = ColorSequence.new(one.Color)
  2651. for i, v in pairs(mw1:GetChildren()) do
  2652. if v:IsA("Part") then
  2653. v.Transparency = 0
  2654. v.BrickColor = two
  2655. v.Material = "Neon"
  2656. end
  2657. end
  2658. tl1.Color = ColorSequence.new(two.Color)
  2659. tl2.Color = ColorSequence.new(two.Color)
  2660. tl3.Color = ColorSequence.new(two.Color)
  2661. for i, v in pairs(m:GetChildren()) do
  2662. if v:IsA("Part") then
  2663. v.BrickColor = three
  2664. v.Material = "Ice"
  2665. end
  2666. end
  2667. for i, v in pairs(m2:GetChildren()) do
  2668. if v:IsA("Part") then
  2669. v.BrickColor = four
  2670. v.Material = "Ice"
  2671. end
  2672. end
  2673. for i, v in pairs(m3:GetChildren()) do
  2674. if v:IsA("Part") then
  2675. v.BrickColor = five
  2676. v.Material = "Neon"
  2677. end
  2678. end
  2679. for i, v in pairs(extrawingmod1:GetChildren()) do
  2680. if v:IsA("Part") then
  2681. v.Transparency = exonetran
  2682. v.BrickColor = exone
  2683. v.Material = "Neon"
  2684. end
  2685. end
  2686. for i, v in pairs(extrawingmod2:GetChildren()) do
  2687. if v:IsA("Part") then
  2688. v.Transparency = extwotran
  2689. v.BrickColor = extwo
  2690. v.Material = "Neon"
  2691. end
  2692. end
  2693. end
  2694.  
  2695. function attackone()
  2696. attack = true
  2697. local keptcolor = MAINRUINCOLOR
  2698. for i = 0,1,0.1 do
  2699. swait()
  2700. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(-10),math.rad(-20)),0.3)
  2701. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(10),math.rad(20)),.3)
  2702. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(30), math.rad(0), math.rad(30)), 0.3)
  2703. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  2704. 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)
  2705. 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)
  2706. end
  2707. local distlook = 5
  2708. coroutine.resume(coroutine.create(function()
  2709. for i = 0, 4 do
  2710. swait(2)
  2711. CameraEnshaking(2,3)
  2712. local hite = Instance.new("Part", char)
  2713. hite.Anchored = true
  2714. hite.CanCollide = false
  2715. hite.FormFactor = 3
  2716. hite.Name = "Ring"
  2717. hite.Material = "Neon"
  2718. hite.Size = Vector3.new(1, 1, 1)
  2719. hite.Transparency = 1
  2720. hite.TopSurface = 0
  2721. hite.BottomSurface = 0
  2722. hite.CFrame = root.CFrame*CFrame.new(0,-3,-distlook)
  2723. 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)
  2724. 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)
  2725. 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)
  2726. 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)
  2727. MagniDamage(hite, 9, 10,25, 0, "Normal")
  2728. for i = 0, 14 do
  2729. local rsiz = math.random(5,20)
  2730. 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)
  2731. end
  2732. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 1, 1)
  2733. CFuncs["Sound"].Create("rbxassetid://1042722746", hite, 0.5, 1)
  2734. game:GetService("Debris"):AddItem(hite, 5)
  2735. distlook = distlook + 10
  2736. end
  2737. end))
  2738. for i = 0,1,0.1 do
  2739. swait()
  2740. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(5),math.rad(90)),0.5)
  2741. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-90)),.5)
  2742. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(120)), 0.5)
  2743. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.5)
  2744. 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)
  2745. 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)
  2746. end
  2747. attack = false
  2748. end
  2749.  
  2750. function attacktwo()
  2751. attack = true
  2752. for i = 0,1,0.1 do
  2753. swait()
  2754. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.15,0)* angles(math.rad(10),math.rad(0),math.rad(0)),0.3)
  2755. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(0)),.3)
  2756. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(-90)), 0.3)
  2757. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(40), math.rad(0), math.rad(70)), 0.3)
  2758. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(10)),.3)
  2759. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.3)
  2760. end
  2761. CameraEnshaking(3,4)
  2762. MagniDamage(root, 12, 15,30, 0, "Normal")
  2763. sphere2(5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2764. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2765. sphere2(10,"Add",root.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.35,0.35,0.35,MAINRUINCOLOR)
  2766. coroutine.resume(coroutine.create(function()
  2767. local eff = Instance.new("ParticleEmitter",root)
  2768. eff.Texture = "rbxassetid://363275192"
  2769. eff.LightEmission = 0.95
  2770. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  2771. eff.Rate = 10000
  2772. eff.Lifetime = NumberRange.new(1)
  2773. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2774. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.25,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2775. eff.Speed = NumberRange.new(10,125)
  2776. eff.Drag = 5
  2777. eff.Rotation = NumberRange.new(-500,500)
  2778. eff.VelocitySpread = 9000
  2779. eff.RotSpeed = NumberRange.new(-50,50)
  2780. local eff2 = eff:Clone()
  2781. eff2.Parent = root
  2782. eff2.Texture = "rbxassetid://284205403"
  2783. eff2.Rate = 10000
  2784. eff2.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,10,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2785. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0.5,0),NumberSequenceKeypoint.new(0.8,0.75,0),NumberSequenceKeypoint.new(1,1,0)})
  2786. eff2.Drag = 5
  2787. eff2.Speed = NumberRange.new(10,50)
  2788. eff2.Rotation = NumberRange.new(-500,500)
  2789. eff2.VelocitySpread = 9000
  2790. wait(0.25)
  2791. eff2.Enabled = false
  2792. eff.Enabled = false
  2793. wait(3)
  2794. eff2:Destroy()
  2795. eff:Destroy()
  2796. end))
  2797. for i = 0, 9 do
  2798. sphere2(7.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.0025,1,-0.0025,MAINRUINCOLOR)
  2799. end
  2800. for i = 0, 24 do
  2801. local rsiz = math.random(5,20)
  2802. sphereMK(math.random(1,5),0.75,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/8,rsiz/8,rsiz/8,0,MAINRUINCOLOR,0)
  2803. end
  2804. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 2.5, 1)
  2805. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2.25, 1)
  2806. CFuncs["Sound"].Create("rbxassetid://1117054464", root, 1, 1)
  2807. for i = 0,2,0.1 do
  2808. swait()
  2809. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2810. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(0)),.3)
  2811. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(120)), 0.3)
  2812. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-120)), 0.3)
  2813. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3)
  2814. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  2815. end
  2816. attack = false
  2817. end
  2818.  
  2819. function attackthree()
  2820. attack = true
  2821. local keptcolor = MAINRUINCOLOR
  2822. CFuncs["Sound"].Create("rbxassetid://1042700914", root, 2, 1.75)
  2823. for i = 0,1,0.1 do
  2824. swait()
  2825. sphere2(6,"Add",root.CFrame + root.CFrame.lookVector*2.5,vt(3,3,3),0.01,0.01,0.01,MAINRUINCOLOR)
  2826. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(0)),0.5)
  2827. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.5)
  2828. RW.C0 = clerp(RW.C0, CFrame.new(1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(-40)), 0.5)
  2829. LW.C0 = clerp(LW.C0, CFrame.new(-1.25, 0.5, -0.5) * angles(math.rad(80), math.rad(0), math.rad(40)), 0.5)
  2830. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.5)
  2831. 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)),.5)
  2832. end
  2833. CFuncs["Sound"].Create("rbxassetid://1042705869", root, 1.5, 0.9)
  2834. CFuncs["Sound"].Create("rbxassetid://1042716828", root, 2, 0.9)
  2835. local angle = -25
  2836. coroutine.resume(coroutine.create(function()
  2837. for i = 0, 2 do
  2838. local orb = Instance.new("Part", char)
  2839. orb.BrickColor = MAINRUINCOLOR
  2840. orb.CanCollide = false
  2841. orb.FormFactor = 3
  2842. orb.Name = "Ring"
  2843. orb.Material = "Neon"
  2844. orb.Size = Vector3.new(1, 1, 1)
  2845. orb.Transparency = 0.5
  2846. orb.TopSurface = 0
  2847. orb.BottomSurface = 0
  2848. local orbm = Instance.new("SpecialMesh", orb)
  2849. orbm.MeshType = "Sphere"
  2850. orbm.Name = "SizeMesh"
  2851. orbm.Scale = vt(3,3,3)
  2852. orb.CFrame = root.CFrame*CFrame.Angles(0,math.rad(angle),0) + root.CFrame.lookVector*2.5
  2853. local bv = Instance.new("BodyVelocity")
  2854. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2855. bv.velocity = orb.CFrame.lookVector*100
  2856. bv.Parent = orb
  2857. game:GetService("Debris"):AddItem(orb, 10)
  2858. sphere2(6,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2859. sphere2(9,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.15,0.15,0.15,keptcolor)
  2860. coroutine.resume(coroutine.create(function()
  2861. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2862. for i = 0, 7 do
  2863. swait(2.5)
  2864. CameraEnshaking(1,2)
  2865. MagniDamage(orb, 6, 8,15, 0, "Normal")
  2866. CFuncs["Sound"].Create("rbxassetid://1042693018", orb, 1.5, 1.5)
  2867. for i = 0, 4 do
  2868. local rsiz = math.random(5,10)
  2869. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(0.5,1,0.5),-0.0025,0.25,-0.0025,keptcolor)
  2870. sphereMK(math.random(2,6),0.15,"Add",orb.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)
  2871. end
  2872. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2873. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),0.1,0.1,0.1,keptcolor)
  2874. end
  2875. orb.Transparency = 1
  2876. orb.Anchored = false
  2877. wait(10)
  2878. orb:Destroy()
  2879. end))
  2880. angle = angle + 25
  2881. end
  2882. end))
  2883. for i = 0,1,0.1 do
  2884. swait()
  2885. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.15,0)* angles(math.rad(-10),math.rad(0),math.rad(0)),0.3)
  2886. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(0)),.3)
  2887. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.3)
  2888. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-60)), 0.3)
  2889. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(-10)),.3)
  2890. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.3)
  2891. end
  2892. attack = false
  2893. end
  2894.  
  2895. ------------------------------------- Abilities ---------------------------------------------------------
  2896. function Fireball()
  2897. attack = true
  2898. hum.WalkSpeed = 0
  2899. local keptcolor = MAINRUINCOLOR
  2900. for i = 0,2,0.1 do
  2901. swait()
  2902. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  2903. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-40)),.3)
  2904. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.3)
  2905. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(50), math.rad(40), math.rad(-40)), 0.3)
  2906. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 25),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(0),math.rad(0)),.3)
  2907. 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(-1),math.rad(0),math.rad(0)),.3)
  2908. end
  2909. local orb = Instance.new("Part", char)
  2910. orb.BrickColor = keptcolor
  2911. orb.CanCollide = false
  2912. orb.FormFactor = 3
  2913. orb.Name = "Ring"
  2914. orb.Material = "Neon"
  2915. orb.Size = Vector3.new(1, 1, 1)
  2916. orb.Transparency = 0
  2917. orb.TopSurface = 0
  2918. orb.BottomSurface = 0
  2919. local orbm = Instance.new("SpecialMesh", orb)
  2920. orbm.MeshType = "Sphere"
  2921. orbm.Name = "SizeMesh"
  2922. orbm.Scale = vt(4,4,4)
  2923. orb.CFrame = root.CFrame + root.CFrame.lookVector*3
  2924. local eff = Instance.new("ParticleEmitter",orb)
  2925. eff.Texture = "rbxassetid://296874871"
  2926. eff.LightEmission = 0.95
  2927. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2928. eff.Rate = 10000
  2929. eff.Lifetime = NumberRange.new(1.5)
  2930. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,7,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  2931. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  2932. eff.Speed = NumberRange.new(25)
  2933. eff.Drag = 5
  2934. eff.Rotation = NumberRange.new(-500,500)
  2935. eff.VelocitySpread = 9000
  2936. eff.RotSpeed = NumberRange.new(-500,500)
  2937. local a = Instance.new("Part",workspace)
  2938. a.Name = "Direction"
  2939. a.Anchored = true
  2940. a.BrickColor = bc("Bright red")
  2941. a.Material = "Neon"
  2942. a.Transparency = 1
  2943. a.CanCollide = false
  2944. local ray = Ray.new(
  2945. orb.CFrame.p, -- origin
  2946. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  2947. )
  2948. local ignore = orb
  2949. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  2950. a.BottomSurface = 10
  2951. a.TopSurface = 10
  2952. local distance = (orb.CFrame.p - position).magnitude
  2953. a.Size = Vector3.new(0.1, 0.1, 0.1)
  2954. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  2955. orb.CFrame = a.CFrame
  2956. a:Destroy()
  2957. CFuncs["Sound"].Create("rbxassetid://304448425", orb, 1.5, 0.9)
  2958. local bv = Instance.new("BodyVelocity")
  2959. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  2960. bv.velocity = orb.CFrame.lookVector*75
  2961. bv.Parent = orb
  2962. game:GetService("Debris"):AddItem(orb, 10)
  2963. local hitted = false
  2964. coroutine.resume(coroutine.create(function()
  2965. while true do
  2966. swait()
  2967. if orb.Parent ~= nil and hitted == false then
  2968. sphere2(4,"Add",orb.CFrame*CFrame.new(math.random(-1,1),math.random(-1,1),0) - orb.CFrame.lookVector*1.5,vt(3,3,3),-0.03,-0.03,-0.03,keptcolor)
  2969. elseif orb.Parent == nil and hitted == true then
  2970. break
  2971. end
  2972. end
  2973. end))
  2974. local hit =orb.Touched:connect(function(hit)
  2975. if hitted == false and hit.Parent ~= char then
  2976. hitted = true
  2977. eff.Enabled = false
  2978. CameraEnshaking(4,4)
  2979. CFuncs["Sound"].Create("rbxassetid://1226980789", orb, 4.5, 0.7)
  2980. CFuncs["Sound"].Create("rbxassetid://178452221", orb, 2.5, 0.4)
  2981. MagniDamage(orb, 25, 20,30, 0, "Normal")
  2982. sphere2(4,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2983. sphere2(3,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2984. sphere2(2,"Add",orb.CFrame,vt(4,4,4),0.5,0.5,0.5,keptcolor)
  2985. for i = 0, 9 do
  2986. sphere2(4,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1,1.5),-0.005,4,-0.005,keptcolor)
  2987. end
  2988. for i = 0, 49 do
  2989. local rsiz = math.random(10,30)
  2990. sphereMK(math.random(1,3),1,"Add",orb.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)
  2991. end
  2992. local eff = Instance.new("ParticleEmitter",orb)
  2993. eff.Texture = "rbxassetid://296874871"
  2994. eff.LightEmission = 0.95
  2995. eff.Color = ColorSequence.new(orb.BrickColor.Color)
  2996. eff.Rate = 10000
  2997. eff.Lifetime = NumberRange.new(1.5)
  2998. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.1,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  2999. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3000. eff.Speed = NumberRange.new(150)
  3001. eff.Drag = 5
  3002. eff.Rotation = NumberRange.new(-500,500)
  3003. eff.VelocitySpread = 9000
  3004. eff.RotSpeed = NumberRange.new(-500,500)
  3005. coroutine.resume(coroutine.create(function()
  3006. wait(0.25)
  3007. eff.Enabled = false
  3008. end))
  3009. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3010. orb.Anchored = true
  3011. orb.Transparency = 1
  3012. coroutine.resume(coroutine.create(function()
  3013. if hfr ~= nil then
  3014. orb.Size = vt(50,1,50)
  3015. orb.Orientation = vt(0,0,0)
  3016. orb.CFrame = orb.CFrame*CFrame.new(0,-5,0)
  3017. orbm:Destroy()
  3018. local firef = eff:Clone()
  3019. firef.Parent = orb
  3020. firef.VelocitySpread = 50
  3021. firef.Rate = 500
  3022. firef.Drag = 3
  3023. firef.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.2,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3024. firef.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,3,0),NumberSequenceKeypoint.new(0.1,5,0),NumberSequenceKeypoint.new(0.8,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3025. firef.Speed = NumberRange.new(10,30)
  3026. for i = 0, 24 do
  3027. wait(0.25)
  3028. MagniDamage(orb, 25, 3,6, 0, "Normal")
  3029. end
  3030. firef.Enabled = false
  3031. end
  3032. end))
  3033. wait(10)
  3034. orb:Destroy()
  3035. end
  3036. end)
  3037. for i = 0,1,0.1 do
  3038. swait()
  3039. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-50)),0.5)
  3040. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3041. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(6), math.rad(-20), math.rad(12)), 0.5)
  3042. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.5)
  3043. 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(0),math.rad(0)),.5)
  3044. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3045. end
  3046. hum.WalkSpeed = storehumanoidWS
  3047. attack = false
  3048. end
  3049.  
  3050. function BeamOfDeath()
  3051. attack = true
  3052. hum.WalkSpeed = 0
  3053. local keptcolor = MAINRUINCOLOR
  3054. local orb = Instance.new("Part", char)
  3055. orb.BrickColor = keptcolor
  3056. orb.CanCollide = false
  3057. orb.FormFactor = 3
  3058. orb.Name = "Ring"
  3059. orb.Material = "Neon"
  3060. orb.Size = Vector3.new(1, 1, 1)
  3061. orb.Transparency = 1
  3062. orb.TopSurface = 0
  3063. orb.BottomSurface = 0
  3064. local orbm = Instance.new("SpecialMesh", orb)
  3065. orbm.MeshType = "Sphere"
  3066. orbm.Name = "SizeMesh"
  3067. orbm.Scale = vt(22.5,10000,22.5)
  3068. orb.CFrame = mouse.Hit
  3069. orb.Anchored = true
  3070. orb.Orientation = vt(0,0,0)
  3071. orb.CFrame = orb.CFrame*CFrame.new(0,1,0)
  3072. CFuncs["LongSound"].Create("rbxassetid://1545630949", char, 1.5, 1)
  3073. coroutine.resume(coroutine.create(function()
  3074. coroutine.resume(coroutine.create(function()
  3075. for i = 0, 399 do
  3076. swait()
  3077. orbm.Scale = orbm.Scale - vt(0.05,0,0.05)
  3078. orb.Transparency = orb.Transparency - 0.0025
  3079. end
  3080. end))
  3081. wait(9)
  3082. coroutine.resume(coroutine.create(function()
  3083. local hfr,pfr=rayCast(orb.Position,(CFrame.new(orb.Position,orb.Position - Vector3.new(0,1,0))).lookVector,4,char)
  3084. if hfr ~= nil then
  3085. for i = 0, 49 do
  3086. local deb = Instance.new("Part", char)
  3087. deb.Anchored = true
  3088. deb.CanCollide = false
  3089. deb.FormFactor = 3
  3090. deb.Name = "Ring"
  3091. deb.Material = hitfloor.Material
  3092. deb.Color = hitfloor.Color
  3093. deb.Size = vt(math.random(50,55),math.random(50,55),math.random(50,55))
  3094. deb.Transparency = 0
  3095. deb.TopSurface = 0
  3096. deb.BottomSurface = 0
  3097. deb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),-5,math.random(-150,150))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3098. local deb2 = Instance.new("Part", char)
  3099. deb2.CanCollide = false
  3100. deb2.FormFactor = 3
  3101. deb2.Name = "Ring"
  3102. deb2.Material = hitfloor.Material
  3103. deb2.Color = hitfloor.Color
  3104. deb2.Size = vt(math.random(34,38),math.random(34,38),math.random(34,38))
  3105. deb2.Transparency = 0
  3106. deb2.TopSurface = 0
  3107. deb2.BottomSurface = 0
  3108. deb2.Velocity = vt(math.random(-150,150),math.random(250,650),math.random(-150,150))
  3109. deb2.CFrame = orb.CFrame*CFrame.new(math.random(-60,60),-5,math.random(-60,60))*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  3110. local eff = Instance.new("ParticleEmitter",deb)
  3111. eff.Texture = "rbxassetid://363275192"
  3112. eff.LightEmission = 0.95
  3113. eff.Color = ColorSequence.new(keptcolor.Color)
  3114. eff.Rate = 100
  3115. eff.Lifetime = NumberRange.new(1)
  3116. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,40,0),NumberSequenceKeypoint.new(1,45,0)})
  3117. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3118. eff.Speed = NumberRange.new(0,5)
  3119. eff.Rotation = NumberRange.new(-500,500)
  3120. eff.VelocitySpread = 9000
  3121. eff.RotSpeed = NumberRange.new(-10,10)
  3122. local at1 = Instance.new('Attachment',deb2)
  3123. at1.Position = vt(0,15,0)
  3124. local at2 = Instance.new('Attachment',deb2)
  3125. at2.Position = vt(0,-15,0)
  3126. local tl = Instance.new('Trail',deb2)
  3127. tl.Attachment0 = at1
  3128. tl.Attachment1 = at2
  3129. tl.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  3130. tl.Color = ColorSequence.new(BrickColor.new('White').Color)
  3131. tl.Lifetime = 1
  3132. game:GetService("Debris"):AddItem(deb,30)
  3133. game:GetService("Debris"):AddItem(deb2,30)
  3134. coroutine.resume(coroutine.create(function()
  3135. wait(15)
  3136. eff.Enabled = false
  3137. for i = 0, 49 do
  3138. swait()
  3139. deb.Transparency = deb.Transparency + 0.02
  3140. end
  3141. wait(1)
  3142. deb:Destroy()
  3143. end))
  3144. end
  3145. end
  3146. end))
  3147. for i = 0, 199 do
  3148. swait(1.5)
  3149. for i, v in pairs(FindNearestHead(orb.CFrame.p, 175)) do
  3150. if v:FindFirstChild('Head') then
  3151. dmg(v)
  3152. end
  3153. end
  3154. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),5,5,5,keptcolor)
  3155. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),1,35,1,keptcolor)
  3156. sphere2(5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,10,10),0,50,0,keptcolor)
  3157. sphere2(5,"Add",orb.CFrame,vt(10,100000,10),2,2,2,keptcolor)
  3158. end
  3159. orb:Destroy()
  3160. end))
  3161. hum.WalkSpeed = storehumanoidWS
  3162. attack = false
  3163. end
  3164.  
  3165.  
  3166. function Beams()
  3167. attack = true
  3168. hum.WalkSpeed = 0
  3169. local keptcolor = MAINRUINCOLOR
  3170. coroutine.resume(coroutine.create(function()
  3171. for i = 0, 24 do
  3172. swait(5)
  3173. local orb = Instance.new("Part", char)
  3174. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3175. orb.BrickColor = keptcolor
  3176. orb.CanCollide = false
  3177. orb.FormFactor = 3
  3178. orb.Name = "Ring"
  3179. orb.Material = "Neon"
  3180. orb.Size = Vector3.new(1, 1, 1)
  3181. orb.Transparency = 0
  3182. orb.TopSurface = 0
  3183. orb.BottomSurface = 0
  3184. orb.Anchored = true
  3185. local orbm = Instance.new("SpecialMesh", orb)
  3186. orbm.MeshType = "Sphere"
  3187. orbm.Name = "SizeMesh"
  3188. orbm.Scale = vt(1.25,1.25,1.25)
  3189. orb.CFrame = root.CFrame*CFrame.new(math.random(-6,6),math.random(3,9),math.random(-6,6))
  3190. sphere2(6,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3191. coroutine.resume(coroutine.create(function()
  3192. wait(0.5)
  3193. CFuncs["Sound"].Create("rbxassetid://161006182", orb, 2.5, 1.1)
  3194. sphere2(3,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3195. sphere2(4,"Add",orb.CFrame,vt(1.25,1.25,1.25),0.025,0.025,0.025,keptcolor)
  3196. orb.Transparency = 1
  3197. local a = Instance.new("Part",char)
  3198. a.Name = "Direction"
  3199. a.Anchored = true
  3200. a.BrickColor = keptcolor
  3201. a.Material = "Neon"
  3202. a.Transparency = 0.25
  3203. a.Shape = "Cylinder"
  3204. local ht = Instance.new("Part",char)
  3205. ht.Name = "DirectionHit"
  3206. ht.Anchored = true
  3207. ht.BrickColor = keptcolor
  3208. ht.CanCollide = false
  3209. ht.Transparency = 1
  3210. ht.Size = vt(0.1,0.1,0.1)
  3211. CFuncs["Sound"].Create("rbxassetid://183763487", ht, 2, 1.2)
  3212. a.CanCollide = false
  3213. local ray = Ray.new(
  3214. orb.CFrame.p, -- origin
  3215. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3216. )
  3217. local ignore = char
  3218. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3219. a.BottomSurface = 10
  3220. a.TopSurface = 10
  3221. local distance = (orb.CFrame.p - position).magnitude
  3222. a.Size = Vector3.new(distance,1,1)
  3223. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3224. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3225. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3226. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.15,0.15,0.15,keptcolor)
  3227. MagniDamage(ht, 9, 10,15, 0, "Normal")
  3228. coroutine.resume(coroutine.create(function()
  3229. local eff = Instance.new("ParticleEmitter",ht)
  3230. eff.Texture = "rbxassetid://284205403"
  3231. eff.LightEmission = 0.95
  3232. eff.Color = ColorSequence.new(keptcolor.Color)
  3233. eff.Rate = 500
  3234. eff.Lifetime = NumberRange.new(0.5)
  3235. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,5,0),NumberSequenceKeypoint.new(0.2,2.5,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3236. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3237. eff.Speed = NumberRange.new(10,50)
  3238. eff.Drag = 5
  3239. eff.Rotation = NumberRange.new(-500,500)
  3240. eff.VelocitySpread = 9000
  3241. eff.RotSpeed = NumberRange.new(-500,500)
  3242. wait(0.25)
  3243. eff.Enabled = false
  3244. end))
  3245. for i = 0, 4 do
  3246. sphere2(8,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.005,0.125,-0.005,keptcolor)
  3247. sphere2(4,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.01,0.5,-0.01,keptcolor)
  3248. local rsiz = math.random(10,30)
  3249. sphereMK(math.random(2,4),0.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3250. end
  3251. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3252. local msh = Instance.new("SpecialMesh",a)
  3253. msh.MeshType = "Cylinder"
  3254. msh.Scale = vt(1,1,1)
  3255. for i = 0, 49 do
  3256. swait()
  3257. msh.Scale = msh.Scale + vt(0,0.01,0.01)
  3258. a.Transparency = a.Transparency + 0.02
  3259. end
  3260. orb:Destroy()
  3261. a:Destroy()
  3262. ht:Destroy()
  3263. end))
  3264. game:GetService("Debris"):AddItem(orb, 10)
  3265. end
  3266. end))
  3267. for i = 0,12,0.1 do
  3268. swait()
  3269. sphere2(7,"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,keptcolor)
  3270. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(40)),0.3)
  3271. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(-40)),.3)
  3272. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(10)), 0.3)
  3273. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(6), math.rad(20), math.rad(-10)), 0.3)
  3274. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.3)
  3275. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.3)
  3276. end
  3277. hum.WalkSpeed = storehumanoidWS
  3278. attack = false
  3279. end
  3280.  
  3281. function smiter()
  3282. local targetted = nil
  3283. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3284. targetted = mouse.Target.Parent
  3285. end
  3286. if targetted ~= nil then
  3287. RootPart.CFrame = FaceMouse()[1]
  3288. attack = true
  3289. hum.WalkSpeed = 0
  3290. coroutine.resume(coroutine.create(function()
  3291. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3292. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3293. local vel = Instance.new("BodyPosition", targetted.Head)
  3294. vel.P = 12500
  3295. vel.D = 1000
  3296. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3297. vel.position = targetted.Head.CFrame.p
  3298. end))
  3299. CFuncs["Sound"].Create("rbxassetid://671759140", sorb2, 1, 1.2)
  3300. for i = 0,4,0.1 do
  3301. swait()
  3302. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.125,-0.01,MAINRUINCOLOR)
  3303. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3304. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3305. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3306. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3307. 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(0),math.rad(0)),.2)
  3308. 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(20),math.rad(5)),.2)
  3309. end
  3310. coroutine.resume(coroutine.create(function()
  3311. CameraEnshaking(6,5)
  3312. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3313. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.8)
  3314. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.8)
  3315. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.8)
  3316. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3317. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3318. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3319. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3320. coroutine.resume(coroutine.create(function()
  3321. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3322. eff.Texture = "rbxassetid://363275192"
  3323. eff.LightEmission = 0.95
  3324. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3325. eff.Rate = 10000
  3326. eff.Lifetime = NumberRange.new(1.5)
  3327. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3328. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3329. eff.Speed = NumberRange.new(25,150)
  3330. eff.Drag = 5
  3331. eff.Rotation = NumberRange.new(-500,500)
  3332. eff.VelocitySpread = 9000
  3333. eff.RotSpeed = NumberRange.new(-50,50)
  3334. local eff2 = eff:Clone()
  3335. eff2.Parent = targetted.Head
  3336. eff2.Texture = "rbxassetid://284205403"
  3337. eff2.Rate = 10000
  3338. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3339. eff2.Drag = 5
  3340. eff2.Rotation = NumberRange.new(-500,500)
  3341. eff2.VelocitySpread = 9000
  3342. wait(0.5)
  3343. eff2.Enabled = false
  3344. eff.Enabled = false
  3345. end))
  3346. for i = 0, 9 do
  3347. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3348. end
  3349. for i = 0, 49 do
  3350. local rsiz = math.random(10,50)
  3351. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3352. end
  3353. game:GetService("Debris"):AddItem(vel,1)
  3354. dmg(targetted)
  3355. end))
  3356. for i = 0,1,0.1 do
  3357. swait()
  3358. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-70)),0.5)
  3359. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(70)),.5)
  3360. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3361. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-50)), 0.5)
  3362. 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(0),math.rad(0)),.5)
  3363. 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(20),math.rad(5)),.5)
  3364. end
  3365. attack = false
  3366. hum.WalkSpeed = storehumanoidWS
  3367. end
  3368. end
  3369.  
  3370. function supsmiter()
  3371. local targetted = nil
  3372. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3373. targetted = mouse.Target.Parent
  3374. end
  3375. if targetted ~= nil then
  3376. RootPart.CFrame = FaceMouse()[1]
  3377. attack = true
  3378. hum.WalkSpeed = 0
  3379. coroutine.resume(coroutine.create(function()
  3380. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 2, 1)
  3381. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.1,0.1,0.1,MAINRUINCOLOR)
  3382. sphere2(4,"Add",targetted.Head.CFrame,vt(8,8,8),0.2,0.2,0.2,MAINRUINCOLOR)
  3383. local vel = Instance.new("BodyPosition", targetted.Head)
  3384. vel.P = 12500
  3385. vel.D = 1000
  3386. vel.maxForce = Vector3.new(50000000000, 10e10, 50000000000)
  3387. vel.position = targetted.Head.CFrame.p
  3388. end))
  3389. CFuncs["Sound"].Create("rbxassetid://1042700914", sorb2, 2.5, 0.25)
  3390. for i = 0,14,0.1 do
  3391. swait()
  3392. rsiz = math.random(5,15)
  3393. sphereMK(math.random(3,9),0.25,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,-15)
  3394. sphere2(4,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1.5,1.5,1.5),-0.01,0.15,-0.01,MAINRUINCOLOR)
  3395. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3396. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3397. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3398. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3399. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3400. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3401. end
  3402. coroutine.resume(coroutine.create(function()
  3403. CameraEnshaking(6,5)
  3404. MagniDamage(targetted.Head, 18, 18,30, 0, "Normal")
  3405. MagniDamage(targetted.Head, 9, 18000,30000, 0, "Normal")
  3406. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 5.5, 0.8)
  3407. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 5.25, 0.8)
  3408. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 4, 0.8)
  3409. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3410. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.25,0,0.25,MAINRUINCOLOR)
  3411. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3412. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.5,0.5,0.5,MAINRUINCOLOR)
  3413. coroutine.resume(coroutine.create(function()
  3414. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3415. eff.Texture = "rbxassetid://363275192"
  3416. eff.LightEmission = 0.95
  3417. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3418. eff.Rate = 10000
  3419. eff.Lifetime = NumberRange.new(1.5)
  3420. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,25,0),NumberSequenceKeypoint.new(1,0,0)})
  3421. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3422. eff.Speed = NumberRange.new(25,150)
  3423. eff.Drag = 5
  3424. eff.Rotation = NumberRange.new(-500,500)
  3425. eff.VelocitySpread = 9000
  3426. eff.RotSpeed = NumberRange.new(-50,50)
  3427. local eff2 = eff:Clone()
  3428. eff2.Parent = targetted.Head
  3429. eff2.Texture = "rbxassetid://284205403"
  3430. eff2.Rate = 10000
  3431. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3432. eff2.Drag = 5
  3433. eff2.Rotation = NumberRange.new(-500,500)
  3434. eff2.VelocitySpread = 9000
  3435. wait(0.5)
  3436. eff2.Enabled = false
  3437. eff.Enabled = false
  3438. end))
  3439. for i = 0, 9 do
  3440. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,3,-0.02,MAINRUINCOLOR)
  3441. end
  3442. for i = 0, 49 do
  3443. local rsiz = math.random(10,50)
  3444. sphereMK(math.random(1,4),1,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3445. end
  3446. wait(0.75)
  3447. CameraEnshaking(6,6)
  3448. MagniDamage(targetted.Head, 20, 25,40, 0, "Normal")
  3449. MagniDamage(targetted.Head, 12, 18000,30000, 0, "Normal")
  3450. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 6.5, 0.7)
  3451. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 6.25, 0.7)
  3452. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 5, 0.7)
  3453. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3454. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.5,0,0.5,MAINRUINCOLOR)
  3455. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3456. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),0.75,0.75,0.75,MAINRUINCOLOR)
  3457. coroutine.resume(coroutine.create(function()
  3458. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3459. eff.Texture = "rbxassetid://363275192"
  3460. eff.LightEmission = 0.95
  3461. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3462. eff.Rate = 10000
  3463. eff.Lifetime = NumberRange.new(1.5)
  3464. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,35,0),NumberSequenceKeypoint.new(1,0,0)})
  3465. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3466. eff.Speed = NumberRange.new(25,250)
  3467. eff.Drag = 5
  3468. eff.Rotation = NumberRange.new(-500,500)
  3469. eff.VelocitySpread = 9000
  3470. eff.RotSpeed = NumberRange.new(-50,50)
  3471. local eff2 = eff:Clone()
  3472. eff2.Parent = targetted.Head
  3473. eff2.Texture = "rbxassetid://284205403"
  3474. eff2.Rate = 10000
  3475. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3476. eff2.Drag = 5
  3477. eff2.Rotation = NumberRange.new(-500,500)
  3478. eff2.VelocitySpread = 9000
  3479. wait(0.5)
  3480. eff2.Enabled = false
  3481. eff.Enabled = false
  3482. end))
  3483. for i = 0, 9 do
  3484. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,4.5,-0.02,MAINRUINCOLOR)
  3485. end
  3486. for i = 0, 49 do
  3487. local rsiz = math.random(15,55)
  3488. sphereMK(math.random(1,4),1.5,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3489. end
  3490. wait(0.75)
  3491. CameraEnshaking(6,7)
  3492. MagniDamage(targetted.Head, 23, 40,80, 0, "Normal")
  3493. MagniDamage(targetted.Head, 15, 18000,30000, 0, "Normal")
  3494. CFuncs["Sound"].Create("rbxassetid://1042705869", targetted.Head, 7.5, 0.6)
  3495. CFuncs["Sound"].Create("rbxassetid://1042716828", targetted.Head, 7.25, 0.6)
  3496. CFuncs["Sound"].Create("rbxassetid://1117054464", targetted.Head, 6, 0.6)
  3497. sphere2(3,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3498. sphere2(2,"Add",targetted.Head.CFrame,vt(0,40000,0),0.75,0,0.75,MAINRUINCOLOR)
  3499. sphere2(4,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3500. sphere2(5,"Add",targetted.Head.CFrame,vt(0,0,0),1,1,1,MAINRUINCOLOR)
  3501. coroutine.resume(coroutine.create(function()
  3502. local eff = Instance.new("ParticleEmitter",targetted.Head)
  3503. eff.Texture = "rbxassetid://363275192"
  3504. eff.LightEmission = 0.95
  3505. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3506. eff.Rate = 10000
  3507. eff.Lifetime = NumberRange.new(1.5)
  3508. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  3509. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3510. eff.Speed = NumberRange.new(50,450)
  3511. eff.Drag = 5
  3512. eff.Rotation = NumberRange.new(-500,500)
  3513. eff.VelocitySpread = 9000
  3514. eff.RotSpeed = NumberRange.new(-50,50)
  3515. local eff2 = eff:Clone()
  3516. eff2.Parent = targetted.Head
  3517. eff2.Texture = "rbxassetid://284205403"
  3518. eff2.Rate = 10000
  3519. eff2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3520. eff2.Drag = 5
  3521. eff2.Rotation = NumberRange.new(-500,500)
  3522. eff2.VelocitySpread = 9000
  3523. wait(0.5)
  3524. eff2.Enabled = false
  3525. eff.Enabled = false
  3526. end))
  3527. for i = 0, 9 do
  3528. sphere2(3,"Add",targetted.Head.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(2,1,2),-0.02,6,-0.02,MAINRUINCOLOR)
  3529. end
  3530. for i = 0, 49 do
  3531. local rsiz = math.random(20,60)
  3532. sphereMK(math.random(1,4),2,"Add",targetted.Head.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  3533. end
  3534. dmg(targetted)
  3535. game:GetService("Debris"):AddItem(vel,1)
  3536. end))
  3537. for i = 0,7,0.1 do
  3538. swait()
  3539. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3540. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(80)),.5)
  3541. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.5)
  3542. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(40), math.rad(0), math.rad(-60)), 0.5)
  3543. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.5)
  3544. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.5)
  3545. end
  3546. attack = false
  3547. hum.WalkSpeed = storehumanoidWS
  3548. end
  3549. end
  3550.  
  3551. function BinaryBLINK()
  3552. for i = 0, 9 do
  3553. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3554. end
  3555. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3556. coroutine.resume(coroutine.create(function()
  3557. local eff = Instance.new("ParticleEmitter",root)
  3558. eff.Texture = "rbxassetid://1175838406"
  3559. eff.LightEmission = 0.95
  3560. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3561. eff.Rate = 10000
  3562. eff.Lifetime = NumberRange.new(1)
  3563. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,4,0),NumberSequenceKeypoint.new(0.8,5,0),NumberSequenceKeypoint.new(1,0,0)})
  3564. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3565. eff.Speed = NumberRange.new(30,160)
  3566. eff.Drag = 5
  3567. eff.Rotation = NumberRange.new(-500,500)
  3568. eff.VelocitySpread = 100000
  3569. wait(0.25)
  3570. eff.Enabled = false
  3571. wait(4)
  3572. eff:Destroy()
  3573. end))
  3574. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3575. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3576. CameraEnshaking(2,10)
  3577. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 10)) do
  3578. if v:FindFirstChild('Head') then
  3579. dmg(v)
  3580. end
  3581. end
  3582. for i = 0, 9 do
  3583. sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR) sphere2(6,"Add",root.CFrame*CFrame.new(math.random(-15,15),math.random(-15,15),math.random(-15,15))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.5,-0.005,MAINRUINCOLOR)
  3584. end
  3585. sphere(20,"Add",root.CFrame,vt(0,0,0),0.5,MAINRUINCOLOR)
  3586. end
  3587.  
  3588. function BinaryE()
  3589. local posit = -2
  3590. attack = true
  3591. hum.WalkSpeed = 5
  3592. CFuncs["Sound"].Create("rbxassetid://169380495", sorb2, 1, 1)
  3593. for i = 0,2,0.1 do
  3594. swait()
  3595. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3596. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(30)),0.5)
  3597. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(-30)),.5)
  3598. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3599. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(45), math.rad(6), math.rad(-30)), 0.5)
  3600. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3601. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3602. end
  3603. for i = 0, 2 do
  3604. CameraEnshaking(1,2)
  3605. local hite = Instance.new("Part", char)
  3606. hite.Anchored = true
  3607. hite.CanCollide = false
  3608. hite.FormFactor = 3
  3609. hite.Name = "Ring"
  3610. hite.Material = "Neon"
  3611. hite.Size = Vector3.new(1, 1, 1)
  3612. hite.Transparency = 1
  3613. hite.TopSurface = 0
  3614. hite.BottomSurface = 0
  3615. hite.CFrame = root.CFrame*CFrame.new(0,posit,-5)
  3616. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 0.9)
  3617. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 0.8)
  3618. coroutine.resume(coroutine.create(function()
  3619. local eff = Instance.new("ParticleEmitter",hite)
  3620. eff.Texture = "rbxassetid://1175838406"
  3621. eff.LightEmission = 0.95
  3622. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3623. eff.Rate = 1000
  3624. eff.Lifetime = NumberRange.new(1)
  3625. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,0),NumberSequenceKeypoint.new(1,0,0)})
  3626. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3627. eff.Speed = NumberRange.new(10,50)
  3628. eff.Drag = 5
  3629. eff.Rotation = NumberRange.new(-500,500)
  3630. eff.VelocitySpread = 100000
  3631. wait(0.25)
  3632. eff.Enabled = false
  3633. end))
  3634. coroutine.resume(coroutine.create(function()
  3635. for i = 0, 1 do
  3636. swait()
  3637. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3638. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3639. end
  3640. end))
  3641. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(2,2,2),0.5,-0.01,-0.01,MAINRUINCOLOR)
  3642. MagniDamage(hite, 3, 30,40, 0, "Normal")
  3643. game:GetService("Debris"):AddItem(hite, 5)
  3644. posit = posit + 2
  3645. end
  3646. for i = 0,1,0.1 do
  3647. swait()
  3648. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3649. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(-80)),0.5)
  3650. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(10),math.rad(0),math.rad(80)),.5)
  3651. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(0), math.rad(0), math.rad(20)), 0.5)
  3652. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(110), math.rad(6), math.rad(40)), 0.5)
  3653. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(0)),.5)
  3654. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(0)),.5)
  3655. end
  3656. for i = 0,1,0.1 do
  3657. swait()
  3658. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3659. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,-0.2,0)* angles(math.rad(20),math.rad(0),math.rad(60)),0.5)
  3660. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(-60)),.5)
  3661. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(60)), 0.5)
  3662. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(60), math.rad(6), math.rad(-50)), 0.5)
  3663. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(-20),math.rad(30)),.5)
  3664. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(40)),.5)
  3665. end
  3666. posit = -6
  3667. for i = 0, 6 do
  3668. CameraEnshaking(1,3)
  3669. local hite = Instance.new("Part", char)
  3670. hite.Anchored = true
  3671. hite.CanCollide = false
  3672. hite.FormFactor = 3
  3673. hite.Name = "Ring"
  3674. hite.Material = "Neon"
  3675. hite.Size = Vector3.new(1, 1, 1)
  3676. hite.Transparency = 1
  3677. hite.TopSurface = 0
  3678. hite.BottomSurface = 0
  3679. hite.CFrame = root.CFrame*CFrame.new(posit,0,-5)
  3680. CFuncs["Sound"].Create("rbxassetid://231917856", hite, 0.5, 1.2)
  3681. CFuncs["Sound"].Create("rbxassetid://231917758", hite, 0.25, 1)
  3682. sphere2(6,"Add",hite.CFrame*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(1,1,1),-0.01,1,-0.01,MAINRUINCOLOR)
  3683. coroutine.resume(coroutine.create(function()
  3684. local eff = Instance.new("ParticleEmitter",hite)
  3685. eff.Texture = "rbxassetid://1175838406"
  3686. eff.LightEmission = 0.95
  3687. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3688. eff.Rate = 1000
  3689. eff.Lifetime = NumberRange.new(1)
  3690. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(0.8,1,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(20,70)
  3693. eff.Drag = 5
  3694. eff.Rotation = NumberRange.new(-500,500)
  3695. eff.VelocitySpread = 100000
  3696. wait(0.25)
  3697. eff.Enabled = false
  3698. end))
  3699. coroutine.resume(coroutine.create(function()
  3700. for i = 0, 2 do
  3701. swait()
  3702. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(90)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3703. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(90),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3704. sphere2(4,"Add",hite.CFrame*CFrame.new(math.random(-10,10),math.random(-10,10),math.random(-10,10))*CFrame.Angles(math.rad(0),math.rad(0),math.rad(0)),vt(0.5,0.5,0.5),-0.005,0.25,-0.005,MAINRUINCOLOR)
  3705. end
  3706. end))
  3707. MagniDamage(hite, 5, 40,70, 0, "Normal")
  3708. game:GetService("Debris"):AddItem(hite, 5)
  3709. posit = posit + 2
  3710. end
  3711. for i = 0,1,0.1 do
  3712. swait()
  3713. sphere2(7,"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,1),-0.01,0.075,-0.01,MAINRUINCOLOR)
  3714. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0.1,1.5)* angles(math.rad(-10),math.rad(0),math.rad(-60)),0.5)
  3715. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(5),math.rad(0),math.rad(50)),.5)
  3716. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(20), math.rad(0), math.rad(30)), 0.5)
  3717. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(6), math.rad(-50)), 0.5)
  3718. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1.5),math.rad(10),math.rad(-10)),.5)
  3719. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(60)),.5)
  3720. end
  3721. hum.WalkSpeed = storehumanoidWS
  3722. attack = false
  3723. end
  3724.  
  3725. function AZUREFINALE()
  3726. attack = true
  3727. duringend = true
  3728. hum.WalkSpeed = 0
  3729. CFuncs["Sound"].Create("rbxassetid://1117054464", char, 7.5, 0.75)
  3730. CFuncs["LongSound"].Create("rbxassetid://1042700914", char, 3.5, 0.05)
  3731. local hite = Instance.new("Part", char)
  3732. hite.Anchored = true
  3733. hite.CanCollide = false
  3734. hite.FormFactor = 3
  3735. hite.Name = "Ring"
  3736. hite.Material = "Neon"
  3737. hite.Size = Vector3.new(1, 1, 1)
  3738. hite.Transparency = 0
  3739. hite.TopSurface = 0
  3740. hite.BottomSurface = 0
  3741. hite.BrickColor = MAINRUINCOLOR
  3742. local orbm = Instance.new("SpecialMesh", hite)
  3743. orbm.MeshType = "Sphere"
  3744. orbm.Name = "SizeMesh"
  3745. orbm.Scale = vt(0,0,0)
  3746. hite.CFrame = root.CFrame*CFrame.new(0,200,0)
  3747. for i = 0,70,0.1 do
  3748. swait()
  3749. orbm.Scale = orbm.Scale + vt(0.5,0.5,0.5)
  3750. rsiz = math.random(10,45)
  3751. kan.Volume = kan.Volume + 0.01
  3752. kan.Pitch = kan.Pitch - 0.00135
  3753. sphereMK(math.random(1,4),2.5,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/2,rsiz/2,rsiz/2,0,MAINRUINCOLOR,-300)
  3754. sphere2(4,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(10,1.5,10),-0.01,10,-0.01,MAINRUINCOLOR)
  3755. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3756. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3757. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3758. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3759. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3760. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3761. end
  3762. kan.Pitch = 0.1
  3763. hite.Transparency = 1
  3764. for i = 0,2 do
  3765. CFuncs["LongSound"].Create("rbxassetid://324849898", char, 10,0.9)
  3766. end
  3767. CFuncs["LongSound"].Create("rbxassetid://1117054464", char, 5, 0.75)
  3768. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),-5,-5,-5,MAINRUINCOLOR)
  3769. sphere2(1,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),2,2,2,MAINRUINCOLOR)
  3770. sphere2(2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(orbm.Scale.X,orbm.Scale.Y,orbm.Scale.Z),3,3,3,MAINRUINCOLOR)
  3771. coroutine.resume(coroutine.create(function()
  3772. local eff = Instance.new("ParticleEmitter",hite)
  3773. eff.Texture = "rbxassetid://284205403"
  3774. eff.LightEmission = 0.95
  3775. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  3776. eff.Rate = 10000
  3777. eff.Lifetime = NumberRange.new(5)
  3778. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,100,0),NumberSequenceKeypoint.new(1,0,0)})
  3779. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3780. eff.Speed = NumberRange.new(600,1250)
  3781. eff.Drag = 5
  3782. eff.Rotation = NumberRange.new(-500,500)
  3783. eff.VelocitySpread = 9000
  3784. eff.RotSpeed = NumberRange.new(-500,500)
  3785. wait(1)
  3786. eff.Enabled = false
  3787. end))
  3788. for i = 0,5,0.1 do
  3789. swait()
  3790. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3791. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3792. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3793. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3794. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3795. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3796. end
  3797. local adsc = 0
  3798. local radiatezone = 0
  3799. for i = 0,20,0.1 do
  3800. swait()
  3801. adsc = adsc + 0.025
  3802. radiatezone = radiatezone + 1.25
  3803. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3804. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3805. if v:FindFirstChild('Head') then
  3806. dmg(v)
  3807. end
  3808. end
  3809. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3810. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3811. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3812. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3813. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3814. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3815. end
  3816. for i = 0,2 do
  3817. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.9)
  3818. end
  3819. for i = 0,40,0.1 do
  3820. swait()
  3821. adsc = adsc + 0.05
  3822. radiatezone = radiatezone + 2.5
  3823. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3824. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3825. if v:FindFirstChild('Head') then
  3826. dmg(v)
  3827. end
  3828. end
  3829. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3830. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3831. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3832. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3833. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3834. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3835. end
  3836. for i = 0,4 do
  3837. CFuncs["LongSound"].Create("rbxassetid://665426491", char, 10,0.75)
  3838. CFuncs["LongSound"].Create("rbxassetid://923073285", char, 1.25,0.75)
  3839. end
  3840. for i = 0,80,0.1 do
  3841. swait()
  3842. adsc = adsc + 0.075
  3843. radiatezone = radiatezone + 3.75
  3844. sphere2(8,"Add",hite.CFrame,vt(0,0,0),adsc,adsc,adsc,MAINRUINCOLOR)
  3845. for i, v in pairs(FindNearestHead(hite.CFrame.p, radiatezone)) do
  3846. if v:FindFirstChild('Head') then
  3847. dmg(v)
  3848. end
  3849. end
  3850. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))* angles(math.rad(0),math.rad(0),math.rad(-60)),0.2)
  3851. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-10),math.rad(0),math.rad(60)),.2)
  3852. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15),math.rad(15),math.rad(-10)),.2)
  3853. LW.C0=clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(170), math.rad(0), math.rad(-40)), 0.2)
  3854. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 1 * math.cos(sine / 34))),.2)
  3855. 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(0),math.rad(5 + 1 * math.cos(sine / 34))),.2)
  3856. end
  3857. hite:Destroy()
  3858. duringend = false
  3859. hum.WalkSpeed = storehumanoidWS
  3860. attack = false
  3861. end
  3862.  
  3863. function GalacticalBeams()
  3864. attack = true
  3865. local keptcolor = MAINRUINCOLOR
  3866. coroutine.resume(coroutine.create(function()
  3867. for i = 0, 0 do
  3868. swait(10)
  3869. local orb = Instance.new("Part", char)
  3870. CFuncs["Sound"].Create("rbxassetid://663361028", orb, 2, 1)
  3871. orb.BrickColor = keptcolor
  3872. orb.CanCollide = false
  3873. orb.FormFactor = 3
  3874. orb.Name = "Ring"
  3875. orb.Material = "Neon"
  3876. orb.Size = Vector3.new(1, 1, 1)
  3877. orb.Transparency = 1
  3878. orb.TopSurface = 0
  3879. orb.BottomSurface = 0
  3880. orb.Anchored = true
  3881. local orbm = Instance.new("SpecialMesh", orb)
  3882. orbm.MeshType = "Sphere"
  3883. orbm.Name = "SizeMesh"
  3884. orbm.Scale = vt(1.25,1.25,1.25)
  3885. orb.CFrame = root.CFrame*CFrame.new(math.random(-25,25),math.random(75,150),math.random(-25,25))
  3886. coroutine.resume(coroutine.create(function()
  3887. orb.Transparency = 1
  3888. local a = Instance.new("Part",char)
  3889. a.Name = "Direction"
  3890. a.Anchored = true
  3891. a.BrickColor = keptcolor
  3892. a.Material = "Neon"
  3893. a.Transparency = 1
  3894. a.Shape = "Cylinder"
  3895. local x = Instance.new("Part",char)
  3896. x.Name = "Direction"
  3897. x.Anchored = true
  3898. x.BrickColor = keptcolor
  3899. x.Material = "Neon"
  3900. x.Transparency = 1
  3901. x.Shape = "Cylinder"
  3902. local ht = Instance.new("Part",char)
  3903. ht.Name = "DirectionHit"
  3904. ht.Anchored = true
  3905. ht.BrickColor = keptcolor
  3906. ht.CanCollide = false
  3907. ht.Transparency = 1
  3908. ht.Size = vt(0.1,0.1,0.1)
  3909. a.CanCollide = false
  3910. local ray = Ray.new(
  3911. orb.CFrame.p, -- origin
  3912. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  3913. )
  3914. local ignore = char
  3915. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3916. a.BottomSurface = 10
  3917. a.TopSurface = 10
  3918. local distance = (orb.CFrame.p - position).magnitude
  3919. a.Size = Vector3.new(distance,1,1)
  3920. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  3921. ht.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  3922. x.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3923. local poste = 0
  3924. local rotation = 0
  3925. CFuncs["Sound"].Create("rbxassetid://153092315", char, 1.5, 1)
  3926. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(5,5,5),2.5,2.5,0,keptcolor)
  3927. CameraEnshaking(2,2)
  3928. for i = 0, 49 do
  3929. swait()
  3930. rotation = rotation + 5
  3931. poste = poste + 1
  3932. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3933. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3934. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3935. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 - rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  3936. end
  3937. local A1 = Instance.new("Attachment",x)
  3938. local A2 = Instance.new("Attachment",ht)
  3939. local Beem = Instance.new("Beam",ht)
  3940. Beem.Attachment0 = A1
  3941. Beem.Attachment1 = A2
  3942. Beem.LightEmission = 1
  3943. Beem.FaceCamera = true
  3944. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, 0),NumberSequenceKeypoint.new(0.975, 0),NumberSequenceKeypoint.new(1, 1)})
  3945. Beem.Width0 = 125
  3946. Beem.Width1 = 125
  3947. Beem.Texture = "rbxassetid://1134824633"
  3948. Beem.TextureMode = "Wrap"
  3949. Beem.TextureLength = 200
  3950. Beem.TextureSpeed = 1.5
  3951. Beem.Color = ColorSequence.new(keptcolor.Color)
  3952. CameraEnshaking(3,6)
  3953. CFuncs["Sound"].Create("rbxassetid://294188875", char, 2, 1.5)
  3954. a.Transparency = 0.25
  3955. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  3956. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),0.5,0.5,0.5,keptcolor)
  3957. sphere2(2,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  3958. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  3959. local eff = Instance.new("ParticleEmitter",ht)
  3960. eff.Texture = "rbxassetid://284205403"
  3961. eff.LightEmission = 0.95
  3962. eff.Color = ColorSequence.new(keptcolor.Color)
  3963. eff.Rate = 500
  3964. eff.Lifetime = NumberRange.new(1)
  3965. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,15,0),NumberSequenceKeypoint.new(0.2,35,0),NumberSequenceKeypoint.new(1,0.1,0)})
  3966. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  3967. eff.Speed = NumberRange.new(80,500)
  3968. eff.Drag = 5
  3969. eff.Rotation = NumberRange.new(-500,500)
  3970. eff.VelocitySpread = 9000
  3971. eff.RotSpeed = NumberRange.new(-500,500)
  3972. for i = 0, 24 do
  3973. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  3974. local rsiz = math.random(10,50)
  3975. sphereMK(math.random(3,6),1.25,"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3976. end
  3977. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  3978. local msh = Instance.new("SpecialMesh",a)
  3979. msh.MeshType = "Cylinder"
  3980. msh.Scale = vt(1,15,15)
  3981. for i = 0, 49 do
  3982. swait()
  3983. CameraEnshaking(1,4)
  3984. MagniDamage(ht, 70, 1000,1500, 0, "Normal")
  3985. rotation = rotation + 5
  3986. sphere2(4,"Add",ht.CFrame,vt(1.25,1.25,1.25),1,1,1,keptcolor)
  3987. sphere2(6,"Add",ht.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(1,5),-0.05,keptcolor)
  3988. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,0),vt(25,25,5),1,1,0,keptcolor)
  3989. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3990. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3991. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,50,0),vt(5,25,10),-0.05,1.5,-0.1,keptcolor)
  3992. for i = 0, 2 do
  3993. local rsiz = math.random(50,250)
  3994. sphereMK(math.random(3,6),math.random(2,4),"Add",ht.CFrame*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,keptcolor,0)
  3995. end
  3996. msh.Scale = msh.Scale + vt(0,0.25,0.25)
  3997. end
  3998. eff.Enabled = false
  3999. local visibility = 0
  4000. for i = 0, 49 do
  4001. swait()
  4002. visibility = visibility + 0.02
  4003. Beem.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 1),NumberSequenceKeypoint.new(0.025, visibility),NumberSequenceKeypoint.new(0.975, visibility),NumberSequenceKeypoint.new(1, 1)})
  4004. rotation = rotation + 5
  4005. poste = poste - 1
  4006. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4007. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(180 + rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4008. sphere2(8,"Add",x.CFrame*CFrame.Angles(0,0,math.rad(-rotation))*CFrame.new(0,poste,0),vt(5,5,5),-0.05,-0.05,-0.05,keptcolor)
  4009. msh.Scale = msh.Scale + vt(0,-0.5,-0.5)
  4010. a.Transparency = a.Transparency + 0.02
  4011. end
  4012. wait(1)
  4013. orb:Destroy()
  4014. a:Destroy()
  4015. ht:Destroy()
  4016. end))
  4017. game:GetService("Debris"):AddItem(orb, 10)
  4018. end
  4019. end))
  4020. hum.WalkSpeed = storehumanoidWS
  4021. attack = false
  4022. end
  4023.  
  4024.  
  4025. function WarpedDash()
  4026. attack = true
  4027. hum.WalkSpeed = 0
  4028. hum.JumpPower = 0
  4029. CFuncs["Sound"].Create("rbxassetid://1208650519", tors, 5, 1)
  4030. local poste = 3
  4031. local rotation = 0
  4032. local rate = 0
  4033. for i = 0, 124 do
  4034. swait()
  4035. rotation = rotation + rate
  4036. poste = poste + 0.1
  4037. rate = rate + 0.1
  4038. sphere2(8,"Add",root.CFrame*CFrame.new(0,-3,0),vt(poste,1,poste),0.05*poste/3,0,0.05*poste/3,MAINRUINCOLOR)
  4039. sphere2(8,"Add",root.CFrame*CFrame.new(math.random(-20,20),-3,math.random(-20,20)),vt(1,1,1),-0.01,0.5,-0.01,MAINRUINCOLOR)
  4040. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4041. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(90 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4042. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4043. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(270 + rotation),0)*CFrame.new(0,-3,poste)*CFrame.Angles(math.rad(40),0,0),vt(1,1,1),0.025,0.25,0.025,MAINRUINCOLOR)
  4044. RH.C0=clerp(RH.C0,cf(1,-0.35,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(30)),.5)
  4045. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.5)
  4046. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.75)*angles(math.rad(30),math.rad(0),math.rad(20)),.5)
  4047. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(-20)),.5)
  4048. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(40),math.rad(-8),math.rad(-10)),.5)
  4049. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.5)
  4050. end
  4051. CameraEnshaking(3,7)
  4052. local loc = Instance.new("Part", char)
  4053. loc.BrickColor = MAINRUINCOLOR
  4054. loc.CanCollide = false
  4055. loc.FormFactor = 3
  4056. loc.Name = "Ring"
  4057. loc.Material = "Neon"
  4058. loc.Size = Vector3.new(1, 1, 1)
  4059. loc.Transparency = 1
  4060. loc.TopSurface = 0
  4061. loc.BottomSurface = 0
  4062. loc.Anchored = true
  4063. loc.CFrame = root.CFrame + root.CFrame.lookVector*100
  4064. CFuncs["Sound"].Create("rbxassetid://782353443", loc, 5, 1)
  4065. CFuncs["Sound"].Create("rbxassetid://1177785010", loc, 6, 1)
  4066. MagniDamage(loc, 95, 500,6000, 0, "Normal")
  4067. sphere2(10,"Add",loc.CFrame,vt(5,5,5),-0.05,-0.05,5,MAINRUINCOLOR)
  4068. sphere2(8,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4069. sphere2(4,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4070. sphere2(2,"Add",loc.CFrame,vt(5,5,5),2.5,2.5,2.5,MAINRUINCOLOR)
  4071. coroutine.resume(coroutine.create(function()
  4072. local eff = Instance.new("ParticleEmitter",loc)
  4073. eff.Texture = "rbxassetid://363275192"
  4074. eff.LightEmission = 0.95
  4075. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  4076. eff.Rate = 10000
  4077. eff.Lifetime = NumberRange.new(1)
  4078. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.8,75,0),NumberSequenceKeypoint.new(1,0,0)})
  4079. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4080. eff.Speed = NumberRange.new(100,500)
  4081. eff.Drag = 5
  4082. eff.Rotation = NumberRange.new(-500,500)
  4083. eff.VelocitySpread = 9000
  4084. eff.RotSpeed = NumberRange.new(-50,50)
  4085. wait(0.5)
  4086. eff.Enabled = false
  4087. end))
  4088. for i = 0, 49 do
  4089. sphere2(math.random(100,300)/100,"Add",loc.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4090. end
  4091. for i = 0, 9 do
  4092. sphere2(3,"Add",loc.CFrame*CFrame.new(math.random(-5,5),math.random(-5,5),0),vt(1,1,5),-0.01,-0.01,5,MAINRUINCOLOR)
  4093. end
  4094. game:GetService("Debris"):AddItem(loc, 5)
  4095. root.CFrame = root.CFrame + root.CFrame.lookVector*200
  4096. hum.WalkSpeed = storehumanoidWS
  4097. hum.JumpPower = 50
  4098. attack = false
  4099. end
  4100.  
  4101. ------------------------------------
  4102. function harmonytaunty()
  4103. attack = true
  4104. hum.WalkSpeed = 0
  4105. CFuncs["Sound"].Create("rbxassetid://430312221", tors, 1.25, 1.15)
  4106. for i = 0,7,0.1 do
  4107. swait()
  4108. 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(-20 + 6 * math.cos(sine / 34))),.2)
  4109. 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(0),math.rad(10 - 4 * math.cos(sine / 47))),.2)
  4110. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(-2 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-2 + 4 * math.cos(sine / 62))),.2)
  4111. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(12 - 3 * math.cos(sine / 28)),math.rad(12 - 3 * math.cos(sine / 79)),math.rad(2 - 4 * math.cos(sine / 62))),.2)
  4112. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.01 * math.cos(sine / 28),-0.1)*angles(math.rad(34 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-13 - 3 * math.cos(sine / 28))),.2)
  4113. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(80 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(10 + 5 * math.cos(sine / 30))),.2)
  4114. end
  4115. attack = false
  4116. end
  4117.  
  4118. function vistaunty()
  4119. attack = true
  4120. hum.WalkSpeed = 0
  4121. local rd = math.random(1,5)
  4122. if rd == 1 then
  4123. chatfunc("Do you know this song?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4124. elseif rd == 2 then
  4125. chatfunc("You seem annoyed. Did I make you? It's possible...",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4126. elseif rd == 3 then
  4127. chatfunc("I'm just bored. Don't mess with me, Capiche?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4128. elseif rd == 4 then
  4129. chatfunc("Ready to dance? If not, come back if you want to.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4130. elseif rd == 5 then
  4131. chatfunc("Dance to the beat with me, Yeah?",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  4132. end
  4133. for i = 0, 8, 0.1 do
  4134. swait()
  4135. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/5000,-0.1)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(-20),math.rad(0 - 2 * math.cos(sine / 56) + kan.PlaybackLoudness/450)),.4)
  4136. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - kan.PlaybackLoudness/6500,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(5),math.rad(0 + 2 * math.cos(sine / 56) + kan.PlaybackLoudness/500)),.4)
  4137. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 56) ,0 + 0.05 * math.cos(sine / 28) + kan.PlaybackLoudness/7000)*angles(math.rad(0 - 2 * math.cos(sine / 56)),math.rad(0),math.rad(60)),.4)
  4138. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2 * math.cos(sine / 28) - kan.PlaybackLoudness/60),math.rad(0 + 2 * math.cos(sine / 73)),math.rad(-60)),.4)
  4139. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(90 + 5 * math.cos(sine / 34) + kan.PlaybackLoudness/7.5),math.rad(0),math.rad(60 - 2 * math.cos(sine / 38))),.4)
  4140. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(10),math.rad(5),math.rad(7.5)),.4)
  4141. end
  4142. attack = false
  4143. end
  4144.  
  4145. function shytaunty()
  4146. attack = true
  4147. hum.WalkSpeed = 0
  4148. CFuncs["Sound"].Create("rbxassetid://543623779", tors, 0.35, 1)
  4149. local blush = Instance.new("Decal",hed)
  4150. blush.Texture = "rbxassetid://898404027"
  4151. blush.Face = "Front"
  4152. for i = 0, 13, 0.1 do
  4153. swait()
  4154. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  4155. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  4156. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  4157. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2 - 2.5 * math.cos(sine / 28)),math.rad(20 + 5 * math.cos(sine / 62)),math.rad(35 + 5 * math.cos(sine / 59))),.1)
  4158. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 1 * math.cos(sine / 53)),math.rad(0),math.rad(-60 + 2 * math.cos(sine / 37))),.1)
  4159. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(26 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(59 - 3 * math.cos(sine / 57) )),.1)
  4160. end
  4161. coroutine.resume(coroutine.create(function()
  4162. for i = 0, 49 do
  4163. swait()
  4164. blush.Transparency = blush.Transparency + 0.02
  4165. end
  4166. blush:Destroy()
  4167. end))
  4168. attack = false
  4169. end
  4170. ------------------------------------ Mode Ascendances
  4171. function UnknownA()
  4172. hum.WalkSpeed = 0
  4173. attack = true
  4174. local keptcolor = MAINRUINCOLOR
  4175. local locat = Instance.new("Part", char)
  4176. locat.CanCollide = false
  4177. locat.FormFactor = 3
  4178. locat.Name = "Ring"
  4179. locat.Material = "Neon"
  4180. locat.Size = Vector3.new(1, 1, 1)
  4181. locat.Transparency = 1
  4182. locat.TopSurface = 0
  4183. locat.BottomSurface = 0
  4184. locat.Anchored = true
  4185. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4186. local poste = 0
  4187. local rotation = 0
  4188. local upperpos = 0
  4189. local rate = 0
  4190. local x = locat
  4191. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4192. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4193. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4194. CameraEnshaking(2,5)
  4195. for i = 0, 49 do
  4196. swait()
  4197. rotation = rotation + 5
  4198. poste = poste + 1
  4199. 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)),.5)
  4200. 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)),.5)
  4201. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4202. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4203. 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))),.5)
  4204. 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))),.5)
  4205. end
  4206. for i = 0, 49 do
  4207. swait()
  4208. rotation = rotation + 5
  4209. 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)),.5)
  4210. 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)),.5)
  4211. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4212. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4213. 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))),.5)
  4214. 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))),.5)
  4215. end
  4216. ModeOfGlitch = 6000000000
  4217. storehumanoidWS = 300
  4218. hum.WalkSpeed = 300
  4219. rainbowmode = false
  4220. chaosmode = false
  4221. RecolorTextAndRename("ULTIMATE-POWERED DERPZ",BrickColor.new("Navy blue").Color,BrickColor.new("Really red").Color,"Code")
  4222. newThemeCust("rbxassetid://1504604335",0,1.25,1.5)
  4223. MAINRUINCOLOR = BrickColor.new("Really blue")
  4224. keptcolor = MAINRUINCOLOR
  4225. RecolorThing(MAINRUINCOLOR,BrickColor.new("Navy blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4226. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4227. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4228. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4229. attack = false
  4230. hum.WalkSpeed = storehumanoidWS
  4231. for i = 0, 49 do
  4232. local rsiz = math.random(150,450)
  4233. sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.new("Deep blue"))
  4234. end
  4235. coroutine.resume(coroutine.create(function()
  4236. local eff = Instance.new("ParticleEmitter",x)
  4237. eff.Texture = "rbxassetid://284205403"
  4238. eff.LightEmission = 0.95
  4239. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4240. eff.Rate = 50000
  4241. eff.Lifetime = NumberRange.new(2.5)
  4242. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4243. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4244. eff.Speed = NumberRange.new(250,1000)
  4245. eff.Drag = 5
  4246. eff.Rotation = NumberRange.new(-500,500)
  4247. eff.VelocitySpread = 9000
  4248. eff.RotSpeed = NumberRange.new(-500,500)
  4249. wait(0.5)
  4250. eff.Enabled = false
  4251. end))
  4252. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4253. if v:FindFirstChild('Head') then
  4254. dmg(v)
  4255. end
  4256. end]]--
  4257. CameraEnshaking(8,10)
  4258. for i = 0, 99 do
  4259. swait()
  4260. rotation = rotation + 5
  4261. poste = poste + 1
  4262. upperpos = upperpos + rate
  4263. rate = rate + 0.1
  4264. end
  4265. x:Destroy()
  4266. end
  4267.  
  4268. function ChaosGroundStrike()
  4269. attack = true
  4270. for i = 0, 2, 0.1 do
  4271. swait()
  4272. 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)), 0.2)
  4273. 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)), 0.2)
  4274. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4275. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-20), math.rad(0), math.rad(0)), 0.2)
  4276. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(-20)), 0.2)
  4277. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(140), math.rad(0), math.rad(20)), 0.2)
  4278. end
  4279. CFuncs.Sound.Create("rbxassetid://438666141", root, 7.5, 1)
  4280. CFuncs.Sound.Create("rbxassetid://1208650519", root, 7.5, 1)
  4281. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  4282. if v:FindFirstChild("Head") then
  4283. dmg(v)
  4284. end
  4285. end
  4286. sphere(5, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 1, BrickColor.random())
  4287. sphere(10, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(0, 0, 0), 2, BrickColor.random())
  4288. sphere(1, "Add", root.CFrame * CFrame.new(0, -2.9, 0), vt(100, 0.1, 100), 0.01, BrickColor.random())
  4289. for i = 0, 2, 0.1 do
  4290. swait()
  4291. 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)
  4292. 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)
  4293. 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)), 0.4)
  4294. 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)), 0.4)
  4295. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, 0) * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4296. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(10), math.rad(0), math.rad(0)), 0.4)
  4297. RW.C0 = clerp(RW.C0, cf(1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(30)), 0.4)
  4298. LW.C0 = clerp(LW.C0, cf(-1.5, 0.5, 0) * angles(math.rad(-50), math.rad(0), math.rad(-30)), 0.4)
  4299. end
  4300. attack = false
  4301. end
  4302.  
  4303. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  4304. local type = type
  4305. local rng = Instance.new("Part", char)
  4306. rng.Anchored = true
  4307. rng.BrickColor = color
  4308. rng.CanCollide = false
  4309. rng.FormFactor = 3
  4310. rng.Name = "Ring"
  4311. rng.Material = "Neon"
  4312. rng.Size = Vector3.new(1, 1, 1)
  4313. rng.Transparency = 0
  4314. rng.TopSurface = 0
  4315. rng.BottomSurface = 0
  4316. rng.CFrame = pos
  4317. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4318. local rngm = Instance.new("SpecialMesh", rng)
  4319. rngm.MeshType = "Brick"
  4320. if(heart)then
  4321. rngm.MeshType = Enum.MeshType.FileMesh
  4322. rngm.MeshId = "rbxassetid://105992239"
  4323. rngm.Offset = Vector3.new(0,0,-.25)
  4324. end
  4325. rngm.Scale = vt(x1,y1,z1)
  4326. if rainbowmode == true then
  4327. rng.Color = Color3.new(r/255,g/255,b/255)
  4328. end
  4329. local scaler2 = 1
  4330. local speeder = FastSpeed/10
  4331. if type == "Add" then
  4332. scaler2 = 1*value
  4333. elseif type == "Divide" then
  4334. scaler2 = 1/value
  4335. end
  4336. coroutine.resume(coroutine.create(function()
  4337. for i = 0,10/bonuspeed,0.1 do
  4338. swait()
  4339. if rainbowmode == true then
  4340. rng.Color = Color3.new(r/255,g/255,b/255)
  4341. end
  4342. if type == "Add" then
  4343. scaler2 = scaler2 - 0.01*value/bonuspeed
  4344. elseif type == "Divide" then
  4345. scaler2 = scaler2 - 0.01/value*bonuspeed
  4346. end
  4347. if chaosmode == true then
  4348. rng.BrickColor = BrickColor.random()
  4349. end
  4350. if glitchymode then
  4351. local val = math.random(1,255)
  4352. local color = Color3.fromRGB(val,val,val)
  4353. rng.Color = color
  4354. end
  4355. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  4356. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  4357. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4358. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4359. end
  4360. rng:Destroy()
  4361. end))
  4362. end
  4363.  
  4364.  
  4365. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  4366. local type = type
  4367. local rng = Instance.new("Part", char)
  4368. rng.Anchored = true
  4369. rng.BrickColor = color
  4370. rng.CanCollide = false
  4371. rng.FormFactor = 3
  4372. rng.Name = "Ring"
  4373. rng.Material = "Neon"
  4374. rng.Size = Vector3.new(1, 1, 1)
  4375. rng.Transparency = 0
  4376. rng.TopSurface = 0
  4377. rng.BottomSurface = 0
  4378. rng.CFrame = pos
  4379. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  4380. local rngm = Instance.new("SpecialMesh", rng)
  4381. rngm.MeshType = "Brick"
  4382. if(heart)then
  4383. rngm.MeshType = Enum.MeshType.FileMesh
  4384. rngm.MeshId = "rbxassetid://105992239"
  4385. rngm.Offset = Vector3.new(0,0,-.25)
  4386. end
  4387. rngm.Scale = vt(x1,y1,z1)
  4388. if rainbowmode == true then
  4389. rng.Color = Color3.new(r/255,g/255,b/255)
  4390. end
  4391. local scaler2 = 0
  4392. local speeder = FastSpeed/10
  4393. if type == "Add" then
  4394. scaler2 = 1*value
  4395. elseif type == "Divide" then
  4396. scaler2 = 1/value
  4397. end
  4398. coroutine.resume(coroutine.create(function()
  4399. for i = 0,10/bonuspeed,0.1 do
  4400. swait()
  4401. if rainbowmode == true then
  4402. rng.Color = Color3.new(r/255,g/255,b/255)
  4403. end
  4404. if type == "Add" then
  4405. scaler2 = scaler2 - 0.01*value/bonuspeed
  4406. elseif type == "Divide" then
  4407. scaler2 = scaler2 - 0.01/value*bonuspeed
  4408. end
  4409. if chaosmode == true then
  4410. rng.BrickColor = BrickColor.random()
  4411. end
  4412. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  4413. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  4414. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  4415. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  4416. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  4417. end
  4418. rng:Destroy()
  4419. end))
  4420. end
  4421.  
  4422. function RiddleMeThisRiddleMeThat()
  4423. attack = true
  4424. hum.WalkSpeed = 120
  4425. storehumanoidWS = 120
  4426. hum.JumpPower = 100
  4427. newThemeCust("rbxassetid://1420353940",0,1,1)
  4428. kan.TimePosition = 0
  4429. ModeOfGlitch = 666
  4430. repeat swait() until kan.IsLoaded
  4431. for i = 0, 14, .1 do
  4432. swait()
  4433. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4434. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4435. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4436. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  4437. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4438. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4439. end
  4440. for i = 0, 12, .1 do
  4441. swait()
  4442. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4443. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4444. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4445. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  4446. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4447. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4448. end
  4449. for i = 0, 16, .1 do
  4450. swait()
  4451. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4452. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4453. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4454. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4455. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4456. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4457. end
  4458. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  4459. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  4460. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  4461. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  4462. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Black' end)
  4463. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Black' end)
  4464. RecolorTextAndRename("The Big Black",BrickColor.new("Really black").Color,BrickColor.new("Institutional white").Color,"Garamond")
  4465. CameraEnshaking(5,2.5)
  4466. MAINRUINCOLOR = BrickColor.new("Really black")
  4467. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4468. tl1.Enabled = true
  4469. tl2.Enabled = true
  4470. tl3.Enabled = true
  4471. for i = 0, 49 do
  4472. end
  4473. for i = 0,3,0.1 do
  4474. 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)
  4475. end
  4476. MAINRUINCOLOR = BrickColor.new("Dark stone grey")
  4477. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4478. for i = 0,2,0.1 do
  4479. swait()
  4480. 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)
  4481. 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)
  4482. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(-30),math.rad(0),math.rad(0)),.2)
  4483. 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))),.2)
  4484. 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))),.2)
  4485. 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))),.2)
  4486. end
  4487. hum.JumpPower = 50
  4488. hum.WalkSpeed = storehumanoidWS
  4489. attack = false
  4490. end
  4491.  
  4492. function ExtinctiveHeartbreak()
  4493. local targetted = nil
  4494. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  4495. targetted = mouse.Target.Parent
  4496. end
  4497. if targetted ~= nil then
  4498. attack = true
  4499. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4500. for i = 0, 9 do
  4501. 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 black"),0)
  4502. end
  4503. for i = 0, 24 do
  4504. 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 black"),0)
  4505. end
  4506. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really blue"))
  4507. local originalpos = root.CFrame
  4508. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  4509. for i = 0, 9 do
  4510. 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 black"),0)
  4511. end
  4512. for i = 0, 24 do
  4513. 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 black"),0)
  4514. end
  4515. hum.WalkSpeed = 0
  4516. targetted.Head.Anchored = true
  4517. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Really blue"))
  4518. for i = 0,2,0.1 do
  4519. swait()
  4520. 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)),.4)
  4521. 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)
  4522. 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)
  4523. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  4524. 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)
  4525. 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)
  4526. end
  4527. coroutine.resume(coroutine.create(function()
  4528. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  4529. bld.LightEmission = 0.1
  4530. bld.Texture = "rbxassetid://284205403"
  4531. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  4532. bld.Rate = 500
  4533. bld.Lifetime = NumberRange.new(1)
  4534. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4535. bld.Acceleration = vt(0,-25,0)
  4536. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  4537. bld.Speed = NumberRange.new(10,50)
  4538. bld.EmissionDirection = "Front"
  4539. bld.VelocitySpread = 25
  4540. bld.Rotation = NumberRange.new(-500,500)
  4541. bld.RotSpeed = NumberRange.new(-500,500)
  4542. end))
  4543. coroutine.resume(coroutine.create(function()
  4544. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  4545. bld.LightEmission = 0.1
  4546. bld.Texture = "rbxassetid://284205403"
  4547. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  4548. bld.Rate = 500
  4549. bld.Lifetime = NumberRange.new(1)
  4550. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  4551. bld.Acceleration = vt(0,-25,0)
  4552. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  4553. bld.Speed = NumberRange.new(10,50)
  4554. bld.EmissionDirection = "Front"
  4555. bld.VelocitySpread = 25
  4556. bld.Rotation = NumberRange.new(-500,500)
  4557. bld.RotSpeed = NumberRange.new(-500,500)
  4558. end))
  4559. CameraEnshaking(5,5)
  4560. game:GetService("Debris"):AddItem(bld,3)
  4561. dmg(targetted)
  4562. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  4563. for i = 0,1,0.1 do
  4564. swait()
  4565. 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)
  4566. 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)),.8)
  4567. 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)
  4568. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  4569. 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)
  4570. 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)
  4571. end
  4572. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  4573. for i = 0, 9 do
  4574. 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 black"),0)
  4575. end
  4576. for i = 0, 24 do
  4577. 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 black"),0)
  4578. end
  4579. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Navy blue"))
  4580. root.CFrame = originalpos
  4581. for i = 0, 9 do
  4582. 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 black"),0)
  4583. end
  4584. for i = 0, 24 do
  4585. 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 black"),0)
  4586. end
  4587. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Navy blue"))
  4588. bld.Enabled = false
  4589. attack = false
  4590. hum.WalkSpeed = storehumanoidWS
  4591. end
  4592. end
  4593.  
  4594. function InsaneGroundStrike()
  4595. attack = true
  4596. chatfunc("Leave... The dead...",Color3.new(0,0,0))
  4597. for i = 0, 8, 0.1 do
  4598. swait()
  4599. PixelBlockNeg(2,1,"Add",RightLeg.CFrame*cf(0,-1.35,0)*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)
  4600.  
  4601. 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)
  4602. 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)
  4603. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4604. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4605. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4606. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4607. end
  4608. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  4609. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  4610. CameraEnshaking(8,24)
  4611. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  4612. if v:FindFirstChild('Head') then
  4613. dmg(v)
  4614. end
  4615. end
  4616. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  4617. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  4618. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  4619. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  4620. chatfunc("WHERE THEY FALL!..",Color3.new(0,0,0))
  4621. for i = 0, 2, 0.1 do
  4622. swait()
  4623. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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)
  4624. sphereMK(2.5,0.75,"Add",root.CFrame*CFrame.new(math.random(-105,105),-5,math.random(-105,105))*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)
  4625. 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)
  4626. 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)
  4627. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4628. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4629. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4630. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4631. end
  4632. attack = false
  4633. end
  4634.  
  4635. function HolyBarrier()
  4636. attack = true
  4637. shielding = true
  4638. for i = 0, 2, 0.1 do
  4639. swait()
  4640. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  4641. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  4642. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  4643. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  4644. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  4645. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  4646. end
  4647. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  4648. stash = Instance.new("Model",workspace)
  4649. local barrier = Instance.new("Part",stash)
  4650. barrier.Anchored = true
  4651. barrier.CanCollide = false
  4652. barrier.Size = Vector3.new(20,20,20)
  4653. barrier.CFrame = root.CFrame
  4654. barrier.Transparency = 0.6
  4655. barrier.BrickColor = MAINRUINCOLOR
  4656. barrier.Material = Enum.Material.Neon
  4657. barrier.Shape = Enum.PartType.Ball
  4658. barrier.CFrame = root.CFrame
  4659. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  4660. Torso.Anchored = true
  4661. for i=1,50 do
  4662. local p = Instance.new("Part",stash)
  4663. p.Anchored = true
  4664. p.Transparency = 1
  4665. p.Size = Vector3.new(11,11,11)
  4666. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  4667. end
  4668. repeat
  4669. swait(5)
  4670. 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("White"),0)
  4671. until shielding == false
  4672. stash:Remove()
  4673. Torso.Anchored = false
  4674. shielding = false
  4675. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  4676. attack = false
  4677. end
  4678.  
  4679. function CorruptBlink2()
  4680. for i = 0, 14 do
  4681. 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)
  4682. end
  4683. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4684. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  4685. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  4686. CameraEnshaking(2,10)
  4687. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  4688. if v:FindFirstChild('Head') then
  4689. dmg(v)
  4690. end
  4691. end end
  4692. for i = 0, 14 do
  4693. 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)
  4694. end
  4695. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4696. end
  4697.  
  4698. function CorruptBlink()
  4699. for i = 0, 14 do
  4700. 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)
  4701. end
  4702. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4703. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  4704. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  4705. CameraEnshaking(2,10)
  4706. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  4707. if v:FindFirstChild('Head') then
  4708. dmg(v)
  4709. end
  4710. end end
  4711. for i = 0, 14 do
  4712. 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)
  4713. end
  4714. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  4715. end
  4716.  
  4717. function Suicidal()
  4718. hum.WalkSpeed = 0
  4719. attack = true
  4720. local keptcolor = MAINRUINCOLOR
  4721. local locat = Instance.new("Part", char)
  4722. locat.CanCollide = false
  4723. locat.FormFactor = 3
  4724. locat.Name = "Ring"
  4725. locat.Material = "Neon"
  4726. locat.Size = Vector3.new(1, 1, 1)
  4727. locat.Transparency = 1
  4728. locat.TopSurface = 0
  4729. locat.BottomSurface = 0
  4730. locat.Anchored = true
  4731. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4732. local poste = 0
  4733. local rotation = 0
  4734. local upperpos = 0
  4735. local rate = 0
  4736. local x = locat
  4737. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4738. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4739. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4740. CameraEnshaking(2,5)
  4741. for i = 0, 49 do
  4742. swait()
  4743. rotation = rotation + 5
  4744. poste = poste + 1
  4745. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4746. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4747. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4748. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4749. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4750. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4751. end
  4752. for i = 0, 49 do
  4753. swait()
  4754. rotation = rotation + 5
  4755. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4756. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4757. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4758. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4759. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4760. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4761. end
  4762. ModeOfGlitch = 999
  4763. storehumanoidWS = 300
  4764. hum.WalkSpeed = 300
  4765. rainbowmode = false
  4766. chaosmode = false
  4767. RecolorTextAndRename("BrOkEN DErPz",BrickColor.new("Black").Color,BrickColor.new("Really red").Color,"Antique")
  4768. newThemeCust("rbxassetid://922269475",0,0.9,1.5)
  4769. MAINRUINCOLOR = BrickColor.new("Really red")
  4770. keptcolor = MAINRUINCOLOR
  4771. RecolorThing(MAINRUINCOLOR,BrickColor.new("Black"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4772. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4773. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4774. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4775. attack = false
  4776. hum.WalkSpeed = storehumanoidWS
  4777. for i = 0, 49 do
  4778. local rsiz = math.random(150,450)
  4779. end
  4780. coroutine.resume(coroutine.create(function()
  4781. local eff = Instance.new("ParticleEmitter",x)
  4782. eff.Texture = "rbxassetid://284205403"
  4783. eff.LightEmission = 0.95
  4784. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4785. eff.Rate = 50000
  4786. eff.Lifetime = NumberRange.new(2.5)
  4787. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4788. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4789. eff.Speed = NumberRange.new(250,1000)
  4790. eff.Drag = 5
  4791. eff.Rotation = NumberRange.new(-500,500)
  4792. eff.VelocitySpread = 9000
  4793. eff.RotSpeed = NumberRange.new(-500,500)
  4794. wait(0.5)
  4795. eff.Enabled = false
  4796. end))
  4797. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4798. if v:FindFirstChild('Head') then
  4799. dmg(v)
  4800. end
  4801. end]]--
  4802. CameraEnshaking(8,10)
  4803. for i = 0, 99 do
  4804. swait()
  4805. rotation = rotation + 5
  4806. poste = poste + 1
  4807. upperpos = upperpos + rate
  4808. rate = rate + 0.1
  4809. end
  4810. x:Destroy()
  4811. end
  4812.  
  4813. function BITCHPLEASE()
  4814. hum.WalkSpeed = 0
  4815. attack = true
  4816. local keptcolor = MAINRUINCOLOR
  4817. local locat = Instance.new("Part", char)
  4818. locat.CanCollide = false
  4819. locat.FormFactor = 3
  4820. locat.Name = "Ring"
  4821. locat.Material = "Neon"
  4822. locat.Size = Vector3.new(1, 1, 1)
  4823. locat.Transparency = 1
  4824. locat.TopSurface = 0
  4825. locat.BottomSurface = 0
  4826. locat.Anchored = true
  4827. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4828. local poste = 0
  4829. local rotation = 0
  4830. local upperpos = 0
  4831. local rate = 0
  4832. local x = locat
  4833. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4834. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4835. sphere2(8,"Add",tors.CFrame,vt(1,1,1),5,5,5,keptcolor)
  4836. CameraEnshaking(2,5)
  4837. for i = 0, 49 do
  4838. swait()
  4839. rotation = rotation + 5
  4840. poste = poste + 1
  4841. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4842. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4843. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4844. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4845. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4846. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4847. end
  4848. for i = 0, 49 do
  4849. swait()
  4850. rotation = rotation + 5
  4851. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  4852. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  4853. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  4854. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  4855. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  4856. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  4857. end
  4858. ModeOfGlitch = 6969
  4859. storehumanoidWS = 300
  4860. hum.WalkSpeed = 300
  4861. rainbowmode = false
  4862. chaosmode = false
  4863. RecolorTextAndRename("MEME-WORTHY DERPZ",BrickColor.new("Pink").Color,BrickColor.new("Really blue").Color,"Antique")
  4864. newThemeCust("rbxassetid://2039029608",0,0,1.5)
  4865. MAINRUINCOLOR = BrickColor.new("Really blue")
  4866. keptcolor = MAINRUINCOLOR
  4867. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4868. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4869. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4870. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.new("Navy blue"))
  4871. attack = false
  4872. hum.WalkSpeed = storehumanoidWS
  4873. for i = 0, 49 do
  4874. local rsiz = math.random(150,450)
  4875. end
  4876. coroutine.resume(coroutine.create(function()
  4877. local eff = Instance.new("ParticleEmitter",x)
  4878. eff.Texture = "rbxassetid://284205403"
  4879. eff.LightEmission = 0.95
  4880. eff.Color = ColorSequence.new(BrickColor.new("Navy blue").Color)
  4881. eff.Rate = 50000
  4882. eff.Lifetime = NumberRange.new(2.5)
  4883. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4884. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4885. eff.Speed = NumberRange.new(250,1000)
  4886. eff.Drag = 5
  4887. eff.Rotation = NumberRange.new(-500,500)
  4888. eff.VelocitySpread = 9000
  4889. eff.RotSpeed = NumberRange.new(-500,500)
  4890. wait(0.5)
  4891. eff.Enabled = false
  4892. end))
  4893. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  4894. if v:FindFirstChild('Head') then
  4895. dmg(v)
  4896. end
  4897. end]]--
  4898. CameraEnshaking(8,10)
  4899. for i = 0, 99 do
  4900. swait()
  4901. rotation = rotation + 5
  4902. poste = poste + 1
  4903. upperpos = upperpos + rate
  4904. rate = rate + 0.1
  4905. end
  4906. x:Destroy()
  4907. end
  4908.  
  4909. function INSANITY()
  4910. hum.WalkSpeed = 0
  4911. attack = true
  4912. local keptcolor = MAINRUINCOLOR
  4913. local locat = Instance.new("Part", char)
  4914. locat.CanCollide = false
  4915. locat.FormFactor = 3
  4916. locat.Name = "Ring"
  4917. locat.Material = "Neon"
  4918. locat.Size = Vector3.new(1, 1, 1)
  4919. locat.Transparency = 1
  4920. locat.TopSurface = 0
  4921. locat.BottomSurface = 0
  4922. locat.Anchored = true
  4923. locat.CFrame = root.CFrame*CFrame.new(0,-3,0)
  4924. local poste = 0
  4925. local rotation = 0
  4926. local upperpos = 0
  4927. local rate = 0
  4928. local x = locat
  4929. CFuncs["Sound"].Create("rbxassetid://289315275", char, 2.5, 1)
  4930. CFuncs["Sound"].Create("rbxassetid://419447292", char, 2.5, 1)
  4931. CameraEnshaking(2,5)
  4932. for i = 0, 49 do
  4933. swait()
  4934. rotation = rotation + 5
  4935. poste = poste + 1
  4936. 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)),.5)
  4937. 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)),.5)
  4938. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4939. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4940. 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))),.5)
  4941. 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))),.5)
  4942. end
  4943. for i = 0, 49 do
  4944. swait()
  4945. rotation = rotation + 5
  4946. 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)),.5)
  4947. 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)),.5)
  4948. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.5)
  4949. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.5)
  4950. 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))),.5)
  4951. 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))),.5)
  4952. end
  4953. ModeOfGlitch = 666
  4954. storehumanoidWS = 9
  4955. hum.WalkSpeed = 9
  4956. rainbowmode = false
  4957. chaosmode = true
  4958. RecolorTextAndRename("INSANE DERPZ",BrickColor.new("Really red").Color,BrickColor.new("Really red").Color,"Antique")
  4959. newThemeCust("rbxassetid://1275251078",0,0.8,1.5)
  4960. MAINRUINCOLOR = BrickColor.new("Really red")
  4961. keptcolor = MAINRUINCOLOR
  4962. RecolorThing(MAINRUINCOLOR,BrickColor.new("Maroon"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4963. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  4964. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.75)
  4965. sphere2(1,"Add",x.CFrame*CFrame.new(0,0,0),vt(5,50000,5),1.5,1,1.5,BrickColor.random())
  4966. attack = false
  4967. hum.WalkSpeed = storehumanoidWS
  4968. for i = 0, 49 do
  4969. local rsiz = math.random(150,450)
  4970. sphere2(math.random(1,4),"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),vt(15,1,15),-0.05,math.random(25,500)/25,-0.05,BrickColor.random())
  4971. end
  4972. coroutine.resume(coroutine.create(function()
  4973. local eff = Instance.new("ParticleEmitter",x)
  4974. eff.Texture = "rbxassetid://284205403"
  4975. eff.LightEmission = 0.95
  4976. eff.Color = ColorSequence.new(BrickColor.random())
  4977. eff.Rate = 50000
  4978. eff.Lifetime = NumberRange.new(2.5)
  4979. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,75,0),NumberSequenceKeypoint.new(1,0.1,0)})
  4980. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  4981. eff.Speed = NumberRange.new(250,1000)
  4982. eff.Drag = 5
  4983. eff.Rotation = NumberRange.new(-500,500)
  4984. eff.VelocitySpread = 9000
  4985. eff.RotSpeed = NumberRange.new(-500,500)
  4986. wait(0.5)
  4987. eff.Enabled = false
  4988. end))
  4989.  
  4990. coroutine.resume(coroutine.create(function()
  4991. while true do
  4992. swait()
  4993. if chaosmode == true then
  4994. lolwut = {"INsANe DErPZ","inSaNe DeRPz","InsANe DeRPZ","iNSANe dErPZ","INSANe DERpz","InsAne DeRpZ","InSaNE DeRpz","iNSanE dERPz","InsSAnEe DeRPZz"}
  4995. Sanicz = lolwut[math.random(1,#lolwut)]
  4996. RecolorTextAndRename(Sanicz,BrickColor.Random().Color,BrickColor.Random().Color,"Antique")
  4997. MAINRUINCOLOR = BrickColor.Random()
  4998. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  4999. end
  5000. end
  5001. end))
  5002.  
  5003. --[[for i, v in pairs(FindNearestHead(Torso.CFrame.p, 2000000000)) do
  5004. if v:FindFirstChild('Head') then
  5005. dmg(v)
  5006. end
  5007. end]]--
  5008. CameraEnshaking(8,10)
  5009. for i = 0, 99 do
  5010. swait()
  5011. rotation = rotation + 5
  5012. poste = poste + 1
  5013. upperpos = upperpos + rate
  5014. rate = rate + 0.1
  5015. end
  5016. x:Destroy()
  5017. end
  5018.  
  5019. function ChaosBegone()
  5020. attack = true
  5021. local speedearn = 0
  5022. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  5023. for i = 0, 10, 0.1 do
  5024. swait()
  5025. 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)
  5026. 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)
  5027. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5028. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  5029. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  5030. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  5031. end
  5032. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  5033. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  5034. CameraEnshaking(5,25)
  5035. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  5036. if v:FindFirstChild('Head') then
  5037. dmg(v)
  5038. end
  5039. end
  5040. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  5041. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  5042. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  5043. for i = 0, 3, 0.1 do
  5044. swait()
  5045. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  5046. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  5047. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  5048. 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))),2.5,2.5,25,-0.025,BrickColor.random(),0)
  5049. 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)
  5050. 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)
  5051. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  5052. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  5053. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  5054. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  5055. end
  5056. attack = false
  5057. end
  5058.  
  5059. function Wip()
  5060. attack = true
  5061. shielding = true
  5062. for i = 0, 2, 0.1 do
  5063. swait()
  5064. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(60),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  5065. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(-20),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  5066. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.5 + 0.1 * math.cos(sine / 32))*angles(math.rad(30),math.rad(0),math.rad(0)),.4)
  5067. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0)),.4)
  5068. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(120),math.rad(-230),math.rad(-40)),.1)
  5069. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(120),math.rad(230),math.rad(40)),.1)
  5070. end
  5071. CFuncs["Sound"].Create("rbxassetid://240429289", root, 7, 1)
  5072. stash = Instance.new("Model",workspace)
  5073. local barrier = Instance.new("Part",stash)
  5074. barrier.Anchored = true
  5075. barrier.CanCollide = false
  5076. barrier.Size = Vector3.new(20,20,20)
  5077. barrier.CFrame = root.CFrame
  5078. barrier.Transparency = 0.6
  5079. barrier.BrickColor = MAINRUINCOLOR
  5080. barrier.Material = Enum.Material.Neon
  5081. barrier.Shape = Enum.PartType.Ball
  5082. barrier.CFrame = root.CFrame
  5083. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  5084. Torso.Anchored = true
  5085. for i=1,50 do
  5086. local p = Instance.new("Part",stash)
  5087. p.Anchored = true
  5088. p.Transparency = 1
  5089. p.Size = Vector3.new(11,11,11)
  5090. p.CFrame = root.CFrame * CFrame.Angles(math.random(0,360),math.random(0,360),math.random(0,360))
  5091. end
  5092. repeat
  5093. swait(5)
  5094. until shielding == false
  5095. stash:Remove()
  5096. Torso.Anchored = false
  5097. shielding = false
  5098. sphere(3, "Add", root.CFrame, vt(20, 20, 20), 0.15, MAINRUINCOLOR)
  5099. attack = false
  5100. end
  5101.  
  5102.  
  5103. function loveydovey()
  5104. attack = true
  5105. local keptcolor = MAINRUINCOLOR
  5106. hum.WalkSpeed = 0
  5107. for i = 0, 5, 0.1 do
  5108. swait()
  5109. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  5110. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  5111. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5112. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  5113. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  5114. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  5115. end
  5116. CameraEnshaking(4,9)
  5117. CFuncs["Sound"].Create("rbxassetid://763717897", char, 0.75, 1.25)
  5118. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 0.75, 1)
  5119. coroutine.resume(coroutine.create(function()
  5120. local eff = Instance.new("ParticleEmitter",root)
  5121. eff.Texture = "rbxassetid://363275192"
  5122. eff.LightEmission = 0.95
  5123. eff.Color = ColorSequence.new(keptcolor.Color)
  5124. eff.Rate = 10000
  5125. eff.Lifetime = NumberRange.new(1)
  5126. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,20,0),NumberSequenceKeypoint.new(0.8,50,0),NumberSequenceKeypoint.new(1,0,0)})
  5127. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5128. eff.Speed = NumberRange.new(50,200)
  5129. eff.Drag = 5
  5130. eff.Rotation = NumberRange.new(-500,500)
  5131. eff.VelocitySpread = 9000
  5132. eff.RotSpeed = NumberRange.new(-50,50)
  5133. wait(0.5)
  5134. eff.Enabled = false
  5135. wait(5)
  5136. eff:Destroy()
  5137. end))
  5138. for i = 0, 49 do
  5139. local rsiz = math.random(70,90)
  5140. end
  5141. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5142. CFuncs["Sound"].Create("rbxassetid://543623779", root, 1.5,1)
  5143. newTheme("rbxassetid://1067833276",0,1,2)
  5144. ModeOfGlitch = 9600000000
  5145. MAINRUINCOLOR = BrickColor.new("Hot pink")
  5146. for i = 0, 1, 0.2 do
  5147. swait()
  5148. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  5149. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  5150. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  5151. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  5152. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  5153. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  5154. end
  5155. for i = 0, 9, 0.1 do
  5156. swait()
  5157. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  5158. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  5159. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5160. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  5161. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  5162. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  5163. end
  5164. CameraEnshaking(2,11)
  5165. CFuncs["Sound"].Create("rbxassetid://763717897", char, 1, 1.125)
  5166. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 0.75)
  5167. for i = 0, 49 do
  5168. local rsiz = math.random(70,90)
  5169. end
  5170. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5171. for i = 0, 1, 0.2 do
  5172. swait()
  5173. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  5174. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  5175. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  5176. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(20),math.rad(0)),.8)
  5177. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(12),math.rad(0),math.rad(57)),.8)
  5178. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(13),math.rad(0),math.rad(-58)),.8)
  5179. end
  5180. for i = 0, 1, 0.1 do
  5181. swait()
  5182. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-6)),.1)
  5183. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(0)),.1)
  5184. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.05)*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  5185. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(10),math.rad(0)),.1)
  5186. RW.C0=clerp(RW.C0,cf(1,0.5,-0.45)*angles(math.rad(22),math.rad(0),math.rad(-37)),.1)
  5187. LW.C0=clerp(LW.C0,cf(-1,0.5,-0.45)*angles(math.rad(23),math.rad(0),math.rad(38)),.1)
  5188. end
  5189. CameraEnshaking(9,14)
  5190. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  5191. CFuncs["Sound"].Create("rbxassetid://763717897", char, 2.5, 1)
  5192. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 2.5, 0.5)
  5193. for i = 0, 99 do
  5194. local rsiz = math.random(150,450)
  5195. end
  5196. coroutine.resume(coroutine.create(function()
  5197. local eff = Instance.new("ParticleEmitter",root)
  5198. eff.Texture = "rbxassetid://749327003"
  5199. eff.LightEmission = 1
  5200. eff.Color = ColorSequence.new(BrickColor.new("Pink").Color)
  5201. eff.Rate = 50000
  5202. eff.Lifetime = NumberRange.new(5)
  5203. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,50,0),NumberSequenceKeypoint.new(0.5,60,0),NumberSequenceKeypoint.new(1,0.1,0)})
  5204. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5205. eff.Speed = NumberRange.new(250,1000)
  5206. eff.Drag = 5
  5207. eff.Rotation = NumberRange.new(-50,50)
  5208. eff.VelocitySpread = 9000
  5209. eff.RotSpeed = NumberRange.new(-50,50)
  5210. wait(0.5)
  5211. eff.Enabled = false
  5212. wait(5)
  5213. eff:Destroy()
  5214. end))
  5215. storehumanoidWS = 20
  5216. rainbowmode = false
  5217. chaosmode = false
  5218. RecolorTextAndRename("[DELETED NAME FOR REASONS]",BrickColor.new("Pink").Color,BrickColor.new("Hot pink").Color,"Cartoon")
  5219. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5220. for i = 0, 10, 0.1 do
  5221. swait()
  5222. RH.C0=clerp(RH.C0,cf(1,-1.05,0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7),math.rad(0),math.rad(-16)),.8)
  5223. LH.C0=clerp(LH.C0,cf(-1,-1.05,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3),math.rad(0),math.rad(10)),.8)
  5224. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0.1,0.05)*angles(math.rad(-10),math.rad(0),math.rad(0)),.8)
  5225. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15),math.rad(0),math.rad(0)),.8)
  5226. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-25),math.rad(0),math.rad(97)),.8)
  5227. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-27),math.rad(0),math.rad(-98)),.8)
  5228. end
  5229. hum.WalkSpeed = 20
  5230. attack = false
  5231. end
  5232. -------------------------------------
  5233.  
  5234. Humanoid.Animator.Parent = nil
  5235.  
  5236. -------------------------------------
  5237.  
  5238. local attacktype = 1
  5239. mouse.Button1Down:connect(function()
  5240. if attack == false and attacktype == 1 then
  5241. attacktype = 2
  5242. attackone()
  5243. elseif attack == false and attacktype == 2 then
  5244. attacktype = 3
  5245. attacktwo()
  5246. elseif attack == false and attacktype == 3 then
  5247. attacktype = 1
  5248. attackthree()
  5249. elseif attack == false and attacktype == 4 then
  5250. attacktype = 1
  5251. --attackfour()
  5252. end
  5253. end)
  5254.  
  5255. local OVMID = 1702473314
  5256. local OVMPIT = 1
  5257. local OVMVOL = 1
  5258. mouse.KeyDown:connect(function(k)
  5259. if k == "q" and attack == false and ModeOfGlitch ~= 1 then
  5260. resetmode()
  5261. end
  5262. if k == "e" and attack == false and ModeOfGlitch ~= 2 then
  5263. ModeOfGlitch = 2
  5264. storehumanoidWS = 16
  5265. hum.WalkSpeed = 16
  5266. rainbowmode = false
  5267. chaosmode = false
  5268. RecolorTextAndRename("Mysterious Derpz...",Color3.new(0,0,0),BrickColor.new("Really blue").Color,"Code")
  5269. newTheme("rbxassetid://999743730",0,1.1,1.25)
  5270. MAINRUINCOLOR = BrickColor.new("Deep blue")
  5271. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5272. end
  5273. if k == "m" and attack == false and ModeOfGlitch == 7 then
  5274. ModeOfGlitch = 7
  5275. storehumanoidWS = 999
  5276. hum.WalkSpeed = 999
  5277. rainbowmode = false
  5278. chaosmode = false
  5279. RecolorTextAndRename("HOLY MOTHER OF GOD THE SPEED",Color3.new(0,0,0),BrickColor.new("Really blue").Color,"Cartoon")
  5280. newTheme("rbxassetid://1312492868",0,2,1.25)
  5281. MAINRUINCOLOR = BrickColor.new("Really blue")
  5282. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5283. end
  5284. if k == "m" and attack == false and ModeOfGlitch == 1 then
  5285. ModeOfGlitch = 6699
  5286. storehumanoidWS = 16
  5287. hum.WalkSpeed = 16
  5288. rainbowmode = false
  5289. chaosmode = false
  5290. RecolorTextAndRename("ANIME-LIKER DERPZ",Color3.new(0,0,0),BrickColor.new("Pink").Color,"Cartoon")
  5291. newTheme("rbxassetid://1131624146",0,1,1.25)
  5292. MAINRUINCOLOR = BrickColor.new("Really blue")
  5293. RecolorThing(MAINRUINCOLOR,BrickColor.new("Pink"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5294. end
  5295. if k == "r" and attack == false and ModeOfGlitch ~= 3 then
  5296. ModeOfGlitch = 3
  5297. storehumanoidWS = 16
  5298. hum.WalkSpeed = 16
  5299. rainbowmode = false
  5300. chaosmode = false
  5301. RecolorTextAndRename("CODE_DERPZ",Color3.new(0,0,0),Color3.new(0,0.5,0),"Code")
  5302. newTheme("rbxassetid://949709585",0,1.01,1.25)
  5303. MAINRUINCOLOR = BrickColor.new("Forest green")
  5304. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5305. end
  5306. if k == "t" and attack == false and ModeOfGlitch ~= 4 then
  5307. ModeOfGlitch = 4
  5308. storehumanoidWS = 16
  5309. hum.WalkSpeed = 16
  5310. rainbowmode = false
  5311. chaosmode = false
  5312. RecolorTextAndRename("CONTROLLED_DERPZ",Color3.new(0,0,0.25),BrickColor.new("Really red").Color,"Arcade")
  5313. newTheme("rbxassetid://2074863720",0,1.2,1.25)
  5314. MAINRUINCOLOR = BrickColor.new("Navy blue")
  5315. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5316. end
  5317. if k == "y" and attack == false and ModeOfGlitch ~= 5 then
  5318. ModeOfGlitch = 5
  5319. storehumanoidWS = 16
  5320. hum.WalkSpeed = 16
  5321. rainbowmode = false
  5322. chaosmode = false
  5323. RecolorTextAndRename("Fire Derpz!",Color3.new(1,0.5,0),Color3.new(1,1,0),"Fantasy")
  5324. newTheme("rbxassetid://1146120545",0,1.2,1.25)
  5325. MAINRUINCOLOR = BrickColor.new("Deep orange")
  5326. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5327. end
  5328. if k == "m" and attack == false and ModeOfGlitch == 5 then
  5329. ModeOfGlitch = 345
  5330. storehumanoidWS = 16
  5331. hum.WalkSpeed = 16
  5332. rainbowmode = false
  5333. chaosmode = false
  5334. RecolorTextAndRename("Serene Derpz...",Color3.new(0,0,0.3),Color3.new(0,0,0.2),"Code")
  5335. newTheme("rbxassetid://892260150",0,1.2,1.25)
  5336. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5337. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5338. end
  5339. if k == "m" and attack == false and ModeOfGlitch == 9 then
  5340. ModeOfGlitch = 25
  5341. storehumanoidWS = 16
  5342. hum.WalkSpeed = 16
  5343. rainbowmode = false
  5344. chaosmode = false
  5345. RecolorTextAndRename("RETRO_DERPZ",Color3.new(0,0,0),Color3.new(1,1,1),"Arcade")
  5346. newTheme("rbxassetid://716543423",0,1.1,1.25)
  5347. MAINRUINCOLOR = BrickColor.new("Black")
  5348. RecolorThing(MAINRUINCOLOR,BrickColor.new("White"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5349. end
  5350. if k == "u" and attack == false and ModeOfGlitch ~= 6 then
  5351. ModeOfGlitch = 6
  5352. storehumanoidWS = 100
  5353. hum.WalkSpeed = 100
  5354. rainbowmode = false
  5355. chaosmode = false
  5356. RecolorTextAndRename("Flying Derpz!",Color3.new(0,0,0.5),Color3.new(0.75,1,1),"Fantasy")
  5357. newTheme("rbxassetid://186267011",0,1.1,1.25)
  5358. MAINRUINCOLOR = BrickColor.new("Navy blue")
  5359. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5360. end
  5361. if k == "p" and attack == false and ModeOfGlitch ~= 7 then
  5362. ModeOfGlitch = 7
  5363. storehumanoidWS = 175
  5364. hum.WalkSpeed = 175
  5365. rainbowmode = false
  5366. chaosmode = false
  5367. RecolorTextAndRename("Speedy Derpz!",BrickColor.new("Cyan").Color,BrickColor.new("Toothpaste").Color,"Code")
  5368. newTheme("rbxassetid://1522980500",0,1.01,1.25)
  5369. MAINRUINCOLOR = BrickColor.new("Cyan")
  5370. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5371. end
  5372. if k == "g" and attack == false and ModeOfGlitch ~= 8 then
  5373. ModeOfGlitch = 8
  5374. storehumanoidWS = 100
  5375. hum.WalkSpeed = 100
  5376. rainbowmode = false
  5377. chaosmode = false
  5378. RecolorTextAndRename("RAGED DERPZ",BrickColor.new("Really red").Color,BrickColor.new("Deep blue").Color,"Antique")
  5379. newTheme("rbxassetid://1564523997",0,1.2,1.65)
  5380. MAINRUINCOLOR = BrickColor.new("Really red")
  5381. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5382. end
  5383. if k == "h" and attack == false and ModeOfGlitch ~= 9 then
  5384. ModeOfGlitch = 9
  5385. storehumanoidWS = 135
  5386. hum.WalkSpeed = 135
  5387. rainbowmode = false
  5388. chaosmode = false
  5389. RecolorTextAndRename("Musical Derpz!",BrickColor.new("Navy blue").Color,BrickColor.new("Toothpaste").Color,"Arcade")
  5390. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5391. MAINRUINCOLOR = BrickColor.new("Navy blue")
  5392. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5393. end
  5394. if k == "j" and attack == false and ModeOfGlitch ~= 10 then
  5395. ModeOfGlitch = 10
  5396. storehumanoidWS = 12
  5397. hum.WalkSpeed = 12
  5398. rainbowmode = false
  5399. chaosmode = false
  5400. RecolorTextAndRename("Dreamy Derpz.",BrickColor.new("Navy blue").Color,BrickColor.new("Deep blue").Color,"Garamond")
  5401. newTheme("rbxassetid://328340676",0,1.01,1.65)
  5402. MAINRUINCOLOR = BrickColor.new("Black")
  5403. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5404. end
  5405. if k == "m" and attack == false and ModeOfGlitch == 10 then
  5406. ModeOfGlitch = 30
  5407. storehumanoidWS = 12
  5408. hum.WalkSpeed = 12
  5409. rainbowmode = false
  5410. chaosmode = false
  5411. RecolorTextAndRename("Freezing Derpz...",BrickColor.new("Toothpaste").Color,BrickColor.new("Light pastel blue").Color,"Garamond")
  5412. newTheme("rbxassetid://561833161",0,1.1,1.65)
  5413. MAINRUINCOLOR = BrickColor.new("Light pastel blue")
  5414. RecolorThing(MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5415. end
  5416. if k == "m" and attack == false and ModeOfGlitch == 2 and ModeOfGlitch ~= 2000000000 then
  5417. ModeOfGlitch = 2000000000
  5418. storehumanoidWS = 200
  5419. hum.WalkSpeed = 200
  5420. rainbowmode = false
  5421. chaosmode = false
  5422. RecolorTextAndRename("TRUE ULTIMATE DERPZ",BrickColor.new("Navy blue").Color,BrickColor.new("Really red").Color,"Antique")
  5423. newThemeCust("rbxassetid://1994963968",2.9,1.2,1.5)
  5424. MAINRUINCOLOR = BrickColor.new("Really red")
  5425. RecolorThing(MAINRUINCOLOR,BrickColor.new("Really blue"),MAINRUINCOLOR,MAINRUINCOLOR,MAINRUINCOLOR,1,MAINRUINCOLOR,1,MAINRUINCOLOR)
  5426. end
  5427. if k == "f" and attack == false and ModeOfGlitch ~= 9600000000 then
  5428. loveydovey()
  5429. end
  5430. if k == "m" and attack == false and ModeOfGlitch == 6 and ModeOfGlitch ~= 6000000000 then
  5431. UnknownA()
  5432. end
  5433. if k == "b" and ModeOfGlitch == 6000000000 and attack == false then
  5434. harmonytaunty()
  5435. elseif k == "b" and ModeOfGlitch == 9 and attack == false then
  5436. vistaunty()
  5437. elseif k == "b" and ModeOfGlitch == 9600000000 and attack == false then
  5438. shytaunty()
  5439. end
  5440. if k == "z" and ModeOfGlitch == 1 and attack == false then
  5441. Beams()
  5442. elseif k == "z" and ModeOfGlitch == 2 and attack == false then
  5443. smiter()
  5444. elseif k == "z" and ModeOfGlitch == 2000000000 and attack == false then
  5445. supsmiter()
  5446. elseif k == "z" and ModeOfGlitch == 6000000000 and ModeOfGlitch == 3 and attack == false then
  5447. BinaryE()
  5448. elseif k == "x" and ModeOfGlitch == 6000000000 and attack == false then
  5449. AZUREFINALE()
  5450. elseif k == "c" and ModeOfGlitch == 6000000000 and attack == false then
  5451. AZUREFINALE()
  5452. elseif k == "z" and ModeOfGlitch == 4 and attack == false then
  5453. BinaryBLINK()
  5454. elseif k == "x" and ModeOfGlitch == 4 and attack == false then
  5455. ExtinctiveHeartbreak()
  5456. elseif k == "z" and ModeOfGlitch == 5 and attack == false then
  5457. Fireball()
  5458. elseif k == "z" and ModeOfGlitch == 6 and attack == false then
  5459. GalacticalBeams()
  5460. elseif k == "z" and ModeOfGlitch == 7 and attack == false then
  5461. WarpedDash()
  5462. elseif k == "z" and ModeOfGlitch == 8 and attack == false then
  5463. BeamOfDeath()
  5464. elseif k == "z" and ModeOfGlitch == 9 and attack == false then
  5465. end
  5466. if k == "x" and ModeOfGlitch == 3 and attack == false then
  5467. BinaryBLINK()
  5468. end
  5469. if k == "v" and ModeOfGlitch == 2000000000 and attack == false then
  5470. AZUREFINALE()
  5471. end
  5472. if k == "k" and ModeOfGlitch ~= 666 and attack == false then
  5473. INSANITY()
  5474. end
  5475. if k == "l" and ModeOfGlitch ~= 2 and ModeOfGlitch ~= 999 and attack == false then
  5476. Suicidal()
  5477. end
  5478. if k == "l" and ModeOfGlitch == 2 and ModeOfGlitch ~= 6969 and attack == false then
  5479. BITCHPLEASE()
  5480. end
  5481. if k == "z" and ModeOfGlitch == 4 and attack == false then
  5482. ExtinctiveHeartbreak()
  5483. end
  5484. if k == "z" and ModeOfGlitch == 666 or ModeOfGlitch == 999 and attack == false then
  5485. ChaosGroundStrike()
  5486. end
  5487. if k == "x" and ModeOfGlitch == 666 and attack == false then
  5488. InsaneGroundStrike()
  5489. end
  5490. if k == "z" and ModeOfGlitch == 2000000000 and attack == false then
  5491. ChaosBegone()
  5492. end
  5493. if k == "n" and attack == false then
  5494. CorruptBlink2()
  5495. end
  5496. if k == "z" and ModeOfGlitch == 3 and attack == false then
  5497. Wip()
  5498. end
  5499. if k == "m" and ModeOfGlitch == 666 and attack == false then
  5500. RiddleMeThisRiddleMeThat()
  5501. end
  5502. if k == "o" and mutedtog == false then
  5503. mutedtog = true
  5504. kan.Volume = 0.1
  5505. elseif k == "o" and mutedtog == true then
  5506. mutedtog = false
  5507. kan.Volume = 1.25
  5508. end
  5509. if k == "n" and toggleTag == false then
  5510. toggleTag = true
  5511. modet.TextTransparency = 0
  5512. modet.TextStrokeTransparency = 0
  5513. elseif k == "n" and toggleTag == true then
  5514. toggleTag = false
  5515. modet.TextTransparency = 0.8
  5516. modet.TextStrokeTransparency = 0.8
  5517. end
  5518. if k == "z" and attack == false and ModeOfGlitch == 1 then
  5519. end
  5520. end)
  5521.  
  5522. plr.Chatted:connect(function(message)
  5523. if ModeOfGlitch == 9 then
  5524. if message:sub(1,5) == "play/" then
  5525. OVMID = message:sub(6)
  5526. newThemeCust("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5527. elseif message:sub(1,6) == "pitch/" then
  5528. OVMPIT = message:sub(7)
  5529. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5530. elseif message:sub(1,4) == "vol/" then
  5531. OVMVOL = message:sub(5)
  5532. newTheme("rbxassetid://"..OVMID,0,OVMPIT,OVMVOL)
  5533. elseif message:sub(1,7) == "skipto/" then
  5534. chatfunc("Skipped to "..message:sub(8).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  5535. newThemeCust("rbxassetid://"..OVMID,message:sub(8),OVMPIT,OVMVOL)
  5536. elseif message:sub(1,9) == "telltime/" then
  5537. chatfunc("Current time pos: "..math.floor(kan.TimePosition).." out of "..math.floor(kan.TimeLength).." seconds.",MAINRUINCOLOR.Color,"Inverted","Arcade",1)
  5538. end
  5539. end
  5540. end)
  5541. local rotperm = 0
  5542. coroutine.resume(coroutine.create(function()
  5543. while true do
  5544. swait()
  5545. if ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 then
  5546. swait(0.5)
  5547. sphereMK(5,math.random(8,14)/45,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.75,0.75,20,-0.0075,MAINRUINCOLOR,0)
  5548. elseif ModeOfGlitch == 5 then
  5549. swait(0.5)
  5550. local rsiz = math.random(1,3)
  5551. sphereMK(math.random(3,6),math.random(-25,25)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-20,20)/50,math.random(-20,20)/50,math.random(-20,20)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/10,rsiz/10,rsiz/10,0,MAINRUINCOLOR,0)
  5552. sphereMK(math.random(6,9),math.random(-10,10)/750,"Add",sorb2.CFrame*CFrame.new(math.random(-5,5)/50,math.random(-5,5)/50,math.random(-5,5)/50)*CFrame.Angles(math.rad(90 + math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),rsiz/3,rsiz/3,rsiz/3,0,MAINRUINCOLOR,0)
  5553. elseif ModeOfGlitch == 9600000000 then
  5554. swait(0.25)
  5555. sphereMK(5,math.random(-14,-8)/45,"Add",root.CFrame*CFrame.new(math.random(-25,25),10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),0.25,0.25,7.5,-0.0025,MAINRUINCOLOR,0)
  5556. elseif ModeOfGlitch == 6000000000 then
  5557. coroutine.resume(coroutine.create(function()
  5558. swait(5)
  5559. sphereMK(10,math.random(15,45)/45,"Add",root.CFrame*CFrame.new(math.random(-50,50),-40,math.random(-50,50))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,60,-0.01,MAINRUINCOLOR,0)
  5560. end))
  5561. swait(1)
  5562. rotperm = rotperm + 12
  5563. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,MAINRUINCOLOR)
  5564. sphere2(8,"Add",root.CFrame*CFrame.Angles(0,math.rad(180 + rotperm),0)*CFrame.new(0,0,10),vt(3,3,3),-0.03,-0.03,-0.03,BrickColor.new("Cool yellow"))
  5565. elseif ModeOfGlitch == 9 and kan.PlaybackLoudness >= 50 then
  5566. swait(25 - kan.PlaybackLoudness/80)
  5567. sphere2(4,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.25,0,0.25,MAINRUINCOLOR)
  5568. if kan.PlaybackLoudness >= 300 then
  5569. CameraEnshaking(1,3)
  5570. for i = 0, 4 do
  5571. sphereMK(5,math.random(15,35)/150,"Add",root.CFrame*CFrame.new(math.random(-15,15),-10,math.random(-15,15))*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,20,-0.01,MAINRUINCOLOR,0)
  5572. end
  5573. sphere2(5,"Add",root.CFrame*CFrame.new(0,-3,0),vt(1,1,1),0.5,0,0.5,MAINRUINCOLOR)
  5574. end
  5575. local notsp = Instance.new("Part", char)
  5576. notsp.CanCollide = false
  5577. notsp.FormFactor = 3
  5578. notsp.Name = "Ring"
  5579. notsp.Material = "Neon"
  5580. notsp.Size = Vector3.new(10, 1, 10)
  5581. if kan.PlaybackLoudness >= 300 then
  5582. notsp.Size = Vector3.new(25, 1, 25)
  5583. end
  5584. notsp.Transparency = 1
  5585. notsp.TopSurface = 0
  5586. notsp.BottomSurface = 0
  5587. notsp.Anchored = true
  5588. notsp.CFrame = root.CFrame*CFrame.new(0,-3,0)
  5589. coroutine.resume(coroutine.create(function()
  5590. local eff = Instance.new("ParticleEmitter",notsp)
  5591. eff.Texture = "rbxassetid://288898235"
  5592. eff.LightEmission = 0.5
  5593. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  5594. eff.Rate = 300
  5595. eff.Lifetime = NumberRange.new(1)
  5596. eff.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,1,0),NumberSequenceKeypoint.new(0.5,0.5,0),NumberSequenceKeypoint.new(1,0,0)})
  5597. eff.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(0.8,0.5,0),NumberSequenceKeypoint.new(1,1,0)})
  5598. eff.Speed = NumberRange.new(20,40)
  5599. eff.Acceleration = vt(0,-75,0)
  5600. eff.Drag = 1
  5601. eff.Rotation = NumberRange.new(-10,10)
  5602. eff.VelocitySpread = 20
  5603. eff.RotSpeed = NumberRange.new(-1,1)
  5604. coroutine.resume(coroutine.create(function()
  5605. while true do
  5606. swait()
  5607. if eff.Parent ~= nil then
  5608. if ModeOfGlitch == 9 then
  5609. eff.Color = ColorSequence.new(Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000))
  5610. elseif ModeOfGlitch ~= 9 then
  5611. eff.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5612. end
  5613. else
  5614. break
  5615. end
  5616. end
  5617. end))
  5618. wait(0.1)
  5619. eff.Enabled = false
  5620. end))
  5621. game:GetService("Debris"):AddItem(notsp, 5)
  5622. end
  5623. end
  5624. end))
  5625.  
  5626.  
  5627. Humanoid.Name = "Derpz's SOUL"
  5628. Humanoid.MaxHealth = math.huge
  5629. Humanoid.Health = math.huge
  5630. Instance.new("ForceField",char).Visible = false
  5631.  
  5632. idleanim=.4
  5633. while true do
  5634. Humanoid.MaxHealth = math.huge
  5635. Humanoid.Health = math.huge
  5636. if mutedtog == false and duringend == false then
  5637. kan.Volume = currentVol
  5638. elseif mutedtog == true and duringend == false then
  5639. kan.Volume = 0
  5640. end
  5641. if duringend == false then
  5642. kan.PlaybackSpeed = currentPitch
  5643. kan.Pitch = currentPitch
  5644. end
  5645. kan.SoundId = currentThemePlaying
  5646. kan.Looped = true
  5647. kan.Parent = char
  5648. kan:Resume()
  5649.  
  5650. ned.Text = string.upper(modet.Text)
  5651. ned.TextColor3 = MAINRUINCOLOR.Color
  5652.  
  5653. swait()
  5654. handlexweld.C0=clerp(handlexweld.C0,cf(0 + 0.25 * math.cos(sine / 63),0 + 0.25 * math.cos(sine / 70),0 + 0.05 * math.cos(sine / 57))*angles(math.rad(0 + 2 * math.cos(sine / 55)),math.rad(0 + 2 * math.cos(sine / 46)),math.rad(0 + 2 * math.cos(sine / 32))),.3)
  5655.  
  5656. lwing1weld.C1=clerp(lwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 42)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(90 + 5 * math.cos(sine / 56))),.3)
  5657. lwing2weld.C1=clerp(lwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(130 + 5 * math.cos(sine / 56))),.3)
  5658. lwing3weld.C1=clerp(lwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 48)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(50 + 5 * math.cos(sine / 56))),.3)
  5659. rwing1weld.C1=clerp(rwing1weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 36),0)*angles(math.rad(0 + 3 * math.cos(sine / 46)),math.rad(0 - 2 * math.cos(sine / 36)),math.rad(-90 - 5 * math.cos(sine / 56))),.3)
  5660. rwing2weld.C1=clerp(rwing2weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 38),0)*angles(math.rad(0 + 3 * math.cos(sine / 50)),math.rad(0 - 2 * math.cos(sine / 37)),math.rad(-130 - 5 * math.cos(sine / 56))),.3)
  5661. rwing3weld.C1=clerp(rwing3weld.C1,cf(0,1.85 + 0.15 * math.cos(sine / 41),0)*angles(math.rad(0 + 3 * math.cos(sine / 40)),math.rad(0 - 2 * math.cos(sine / 51)),math.rad(-50 - 5 * math.cos(sine / 56))),.3)
  5662. --------------- Visualiser Zone
  5663. if ModeOfGlitch == 9 then
  5664. modet.TextColor3 = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5665. for i, v in pairs(mw2:GetChildren()) do
  5666. if v:IsA("Part") then
  5667. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5668. v.Material = "Neon"
  5669. end
  5670. end
  5671. for i, v in pairs(mw1:GetChildren()) do
  5672. if v:IsA("Part") then
  5673. v.Transparency = 0
  5674. v.Color = Color3.new(kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000,kan.PlaybackLoudness/1000)
  5675. v.Material = "Neon"
  5676. end
  5677. end
  5678. end
  5679. local RHCF = CFrame.fromEulerAnglesXYZ(0, 1.6, 0)
  5680. local LHCF = CFrame.fromEulerAnglesXYZ(0, -1.6, 0)
  5681. ---------------
  5682. ned.Rotation = 0 - 2 * math.cos(sine / 24)
  5683. ned.Position = UDim2.new(0.6,0 - 10 * math.cos(sine / 32),0.8,0 - 10 * math.cos(sine / 45))
  5684. sine = sine + change
  5685. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  5686. local velderp=RootPart.Velocity.y
  5687. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  5688. if equipped==true or equipped==false then
  5689. if attack==false then
  5690. idle=idle+1
  5691. else
  5692. idle=0
  5693. end
  5694. if idle>=500 then
  5695. if attack==false then
  5696. --Sheath()
  5697. end
  5698. end
  5699. if RootPart.Velocity.y > 1 and hitfloor==nil then
  5700. Anim="Jump"
  5701. if attack==false then
  5702. 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)
  5703. 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)
  5704. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5705. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  5706. 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)
  5707. 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)
  5708. end
  5709. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  5710. Anim="Fall"
  5711. if attack==false then
  5712. 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)
  5713. 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)
  5714. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-tors.Velocity.Y/6),math.rad(0),math.rad(0)),.1)
  5715. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5),math.rad(0),math.rad(0)),.1)
  5716. 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)
  5717. 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)
  5718. end
  5719. elseif torvel<1 and hitfloor~=nil then
  5720. Anim="Idle"
  5721. if attack==false then
  5722. if ModeOfGlitch == 1 then
  5723. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.sin(sine / 14),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(2 + 1 * math.cos(sine / 14))),.1)
  5724. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.sin(sine / 14),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(1 + 1 * math.cos(sine / 14))),.1)
  5725. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.sin(sine / 14))*angles(math.rad(0 - 1 * math.sin(sine / 14)),math.rad(0),math.rad(-20)),.1)
  5726. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5, 0.3 - 0.2 * math.sin(sine / 14)),math.rad(0),math.rad(20)),.1)
  5727. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 14)),math.rad(0),math.rad(-100 - 2.5 * math.sin(sine / 14))),.1)
  5728. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.2 * math.sin(sine / 14),-0.65)*angles(math.rad(40 - 1 * math.sin(sine / 14)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 14))),.1)
  5729. elseif ModeOfGlitch == 2 then
  5730. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5 + 3 * math.cos(sine / 45)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5731. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.03 * math.cos(sine / 45),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5 - 3 * math.cos(sine / 45)),math.rad(5),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5732. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.03 * math.cos(sine / 45),0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0 + 3 * math.cos(sine / 45)),math.rad(0)),.1)
  5733. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 2.5 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 99)),math.rad(0 + 10 * math.cos(sine / 78))),.1)
  5734. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.01 * math.cos(sine / 28),0)*angles(math.rad(15 + 5 * math.cos(sine / 33)),math.rad(15 + 6 * math.cos(sine / 38)),math.rad(-10 - 3 * math.cos(sine / 42))),.1)
  5735. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 5 * math.cos(sine / 28))),.1)
  5736. elseif ModeOfGlitch == 6969 then
  5737. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  5738. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  5739. LH.C0 = LH.C0:lerp(cf(-1-math.rad(0+5*math.cos(sine/16)),-1+math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(-15),math.rad(25),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5740. RH.C0 = RH.C0:lerp(cf(1-math.rad(0+5*math.cos(sine/16)),-1-math.rad(0+5*math.cos(sine/16)),0)*angles(0,0,-math.rad(0+5*math.cos(sine/16)))*angles(math.rad(0),math.rad(90),math.rad(0)),.1)
  5741. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  5742. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  5743. elseif ModeOfGlitch == 666 then
  5744. 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(20)),.1)
  5745. 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(-20)),.1)
  5746. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.025 * math.cos(sine / 32))*angles(math.rad(20 - 0.5 * math.cos(sine / 32)),math.rad(0),math.rad(0)),.1)
  5747. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5748. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5749. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5750. elseif ModeOfGlitch == 999 then
  5751. 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(20)),.1)
  5752. 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(-20)),.1)
  5753. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(20),math.rad(0),math.rad(0)),.1)
  5754. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(0 - 10 * math.cos(sine / 1))),.1)
  5755. 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)),.1)
  5756. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-10 - 10 * math.cos(sine / 1))),.1)
  5757. elseif ModeOfGlitch == 10 then
  5758. RootJoint.C0 = clerp(RootJoint.C0, RootCF * CFrame.new(0, 0, -0.1 + 0.1 * math.cos(sine / 20)) * angles(math.rad(0), math.rad(0), math.rad(0)), 0.15)
  5759. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0)), 0.3)
  5760. RH.C0 = clerp(RH.C0, CFrame.new(1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * RHCF * angles(math.rad(-4.5), math.rad(0), math.rad(0)), 0.15)
  5761. LH.C0 = clerp(LH.C0, CFrame.new(-1, -0.9 - 0.1 * math.cos(sine / 20), 0.025 * math.cos(sine / 20)) * LHCF * angles(math.rad(-6.5), math.rad(0), math.rad(0)), 0.15)
  5762. RW.C0 = clerp(RW.C0, CFrame.new(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5763. LW.C0 = clerp(LW.C0, CFrame.new(-1.1, 0.4 + 0.05 * math.cos(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5764. elseif ModeOfGlitch == 25 then
  5765. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5766. 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)
  5767. 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)
  5768. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  5769. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 5 * math.cos(sine / 0.25)),math.rad(0 - 5 * math.cos(sine / 0.465))),.1)
  5770. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5771. elseif ModeOfGlitch == 3 then
  5772. 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(-5 - 2 * math.cos(sine / 34))),.1)
  5773. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5),math.rad(20 - 2 * math.cos(sine / 72)),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5774. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.02 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-20 + 2 * math.cos(sine / 72))),.1)
  5775. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(5 - 2.5 * math.cos(sine / 28)),math.rad(0 + 4 * math.cos(sine / 55)),math.rad(20 - 2 * math.cos(sine / 72))),.1)
  5776. RW.C0=clerp(RW.C0,cf(1.15,0.5 + 0.1 * math.cos(sine / 28),0.25)*angles(math.rad(-22 + 2 * math.cos(sine / 38)),math.rad(0),math.rad(-15 - 2 * math.cos(sine / 41))),.1)
  5777. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 - 6 * math.cos(sine / 28)),math.rad(0 + 5 * math.cos(sine / 46)),math.rad(-20 + 5 * math.cos(sine / 34))),.1)
  5778. elseif ModeOfGlitch == 4 then
  5779. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5780. LH.C0=clerp(LH.C0,cf(-1,-1-.2*math.cos(sine/16),.05)*angles(0,math.rad(15),0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5781. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5782. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(-25),0)*angles(math.rad(0 - 25 * math.cos(sine / 0.1164)),math.rad(0 - 30 * math.cos(sine / 0.25)),math.rad(0 - 30 * math.cos(sine / 0.465))),.1)
  5783. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5784. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5785. elseif ModeOfGlitch == 5 then
  5786. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) - 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1 + 4 * math.cos(sine / 50)),math.rad(0),math.rad(0 - 2 * math.cos(sine / 34))),.1)
  5787. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) + 0.04 * math.cos(sine / 50),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-1.5 - 4 * math.cos(sine / 50)),math.rad(18),math.rad(0 + 2 * math.cos(sine / 34))),.1)
  5788. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 + 0.04 * math.cos(sine / 50),0 + 0.03 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 + 4 * math.cos(sine / 50)),math.rad(-18)),.1)
  5789. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(-5 - 2.5 * math.cos(sine / 57)),math.rad(18)),.1)
  5790. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.05 * math.cos(sine / 28),-0.65)*angles(math.rad(36 - 3 * math.cos(sine / 34)),math.rad(0 - 2 * math.cos(sine / 45)),math.rad(-80 + 5 * math.cos(sine / 28))),.1)
  5791. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(7 + 3 * math.cos(sine / 49)),math.rad(12 + 2 * math.cos(sine / 52)),math.rad(-16 - 6 * math.cos(sine / 39))),.1)
  5792. elseif ModeOfGlitch == 6 then
  5793. 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(-10 + 4 * math.cos(sine / 34))),.1)
  5794. 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(0),math.rad(5 + 2 * math.cos(sine / 34))),.1)
  5795. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-5 - 2 * math.cos(sine / 53))),.1)
  5796. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 1 * math.cos(sine / 28)),math.rad(2 + 3 * math.cos(sine / 41)),math.rad(5 + 2 * math.cos(sine / 53))),.1)
  5797. 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(0),math.rad(14 + 8 * math.cos(sine / 28))),.1)
  5798. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(5 + 3 * math.cos(sine / 46)),math.rad(10 + 5 * math.cos(sine / 52)),math.rad(-15 - 6 * math.cos(sine / 28))),.1)
  5799. elseif ModeOfGlitch == 7 then
  5800. 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(1),math.rad(0 - 1 * math.cos(sine / 34))),.1)
  5801. 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(5),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5802. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0 + 0.01 * math.cos(sine / 34),0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  5803. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0 + 1 * math.cos(sine / 71)),math.rad(0)),.1)
  5804. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(4 - 4 * math.cos(sine / 28)),math.rad(-8),math.rad(10 - 5 * math.cos(sine / 34))),.1)
  5805. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.02 * math.cos(sine / 28),0)*angles(math.rad(5),math.rad(5),math.rad(5)),.1)
  5806. elseif ModeOfGlitch == 8 then
  5807. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  5808. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(1.25),math.rad(0),math.rad(6 + 2 * math.cos(sine / 34))),.1)
  5809. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 2 * math.cos(sine / 34)),math.rad(0),math.rad(-26 + 2 * math.cos(sine / 44))),.1)
  5810. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20 - 1 * math.cos(sine / 28)),math.rad(-5 + 3 * math.cos(sine / 47)),math.rad(26 - 2 * math.cos(sine / 44))),.1)
  5811. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(-2 - 3 * math.cos(sine / 30)),math.rad(25 - 3 * math.cos(sine / 38)),math.rad(28 - 6 * math.cos(sine / 34))),.1)
  5812. LW.C0=clerp(LW.C0,cf(-0.95,0.65 + 0.075 * math.cos(sine / 28),-0.65)*angles(math.rad(90 + 2 * math.cos(sine / 73)),math.rad(25 + 5 * math.cos(sine / 24)),math.rad(73 - 3 * math.cos(sine / 65))),.1)
  5813. elseif ModeOfGlitch == 9 then
  5814. Animation_Speed = 10
  5815. local RIGHTSHOULDERC0 = cf(-0.5, -0.5, 0) * angles(math.rad(0), math.rad(90), math.rad(0))
  5816. local LEFTSHOULDERC0 = cf(0.5, -0.5, 0) * angles(math.rad(0), math.rad(-90), math.rad(0))
  5817. RootJoint.C0 = clerp(RootJoint.C0,RootCF * cf(0, 0, 0 + 0.05 * math.cos(sine / 12)) * angles(math.rad(0), math.rad(0), math.rad(40)), 1 / Animation_Speed)
  5818. Neck.C0 = clerp(Neck.C0, necko * cf(0, 0, 0 + ((1) - 1)) * angles(math.rad(0 - 2.5 * math.sin(sine / 12)), math.rad(0), math.rad(-40)), 1 / Animation_Speed)
  5819. RW.C0 = clerp(RW.C0, cf(1.1, 0.5, -0.45) * angles(math.rad(110), math.rad(0), math.rad(-80)) * RIGHTSHOULDERC0, 1 / Animation_Speed)
  5820. LW.C0 = clerp(LW.C0, cf(-1.1, 0.15, -0.45) * angles(math.rad(80), math.rad(0), math.rad(80)) * angles(math.rad(0), math.rad(45), math.rad(0)) * LEFTSHOULDERC0, 1 / Animation_Speed)
  5821. RH.C0 = clerp(RH.C0, cf(1, -1 - 0.05 * math.cos(sine / 12), -0.01) * angles(math.rad(0), math.rad(80), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1 / Animation_Speed)
  5822. LH.C0 = clerp(LH.C0, cf(-1, -1 - 0.05 * math.cos(sine / 12), -0.01) * angles(math.rad(0), math.rad(-80), math.rad(0)) * angles(math.rad(0), math.rad(0), math.rad(0)), 1 / Animation_Speed)
  5823. elseif ModeOfGlitch == 30 then
  5824. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-7.5),math.rad(0),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  5825. 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)
  5826. 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)
  5827. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(0)),.1)
  5828. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(30 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-100 - 2.5 * math.cos(sine / 28))),.1)
  5829. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.1 * math.cos(sine / 28),-0.65)*angles(math.rad(40 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90 + 2.5 * math.cos(sine / 28))),.1)
  5830. elseif ModeOfGlitch == 345 then
  5831. 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)
  5832. 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)
  5833. 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)
  5834. 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)
  5835. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),0.45)*angles(math.rad(-30),math.rad(0),math.rad(-30)),.1)
  5836. 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)
  5837. elseif ModeOfGlitch == 2000000000 then
  5838. RH.C0=clerp(RH.C0,cf(1,-0.5,-0.6)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-1),math.rad(0),math.rad(-10 + 5 * math.cos(sine / 34))),.1)
  5839. 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(0),math.rad(5 + 3 * math.cos(sine / 34))),.1)
  5840. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(2 + 3 * math.cos(sine / 34)),math.rad(0),math.rad(34 - 3 * math.cos(sine / 54))),.1)
  5841. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 4 * math.cos(sine / 28)),math.rad(0 - 1 * math.cos(sine / 44)),math.rad(-34 + 3 * math.cos(sine / 54))),.1)
  5842. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.05 * math.cos(sine / 28),0)*angles(math.rad(12 + 5 * math.cos(sine / 62)),math.rad(30 + 5 * math.cos(sine / 48)),math.rad(19 + 6 * math.cos(sine / 36))),.1)
  5843. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(10 + 3 * math.cos(sine / 65)),math.rad(6 + 3 * math.cos(sine / 57)),math.rad(-20 - 7 * math.cos(sine / 36))),.1)
  5844. elseif ModeOfGlitch == 6000000000 then
  5845. 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(-15 + 6 * math.cos(sine / 34))),.1)
  5846. 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(0),math.rad(7.5 - 4 * math.cos(sine / 47))),.1)
  5847. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0),math.rad(-1 + 4 * math.cos(sine / 62))),.1)
  5848. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 - 3 * math.cos(sine / 28)),math.rad(5 - 6 * math.cos(sine / 79)),math.rad(1 - 4 * math.cos(sine / 62))),.1)
  5849. RW.C0=clerp(RW.C0,cf(0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(38 + 2 * math.cos(sine / 33)),math.rad(0),math.rad(-95 - 3 * math.cos(sine / 28))),.1)
  5850. LW.C0=clerp(LW.C0,cf(-0.85,0.5 + 0.01 * math.cos(sine / 28),-0.65)*angles(math.rad(45 - 3 * math.cos(sine / 37)),math.rad(0),math.rad(80 + 5 * math.cos(sine / 30))),.1)
  5851. elseif ModeOfGlitch == 9600000000 then
  5852. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 28) + 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(7 - 5 * math.cos(sine / 44)),math.rad(0),math.rad(-6 - 3 * math.cos(sine / 34))),.1)
  5853. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28) - 0.05 * math.cos(sine / 44),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(3 + 5 * math.cos(sine / 44)),math.rad(0),math.rad(0 + 3 * math.cos(sine / 34))),.1)
  5854. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0 - 0.05 * math.cos(sine / 44),0 + 0.03 * math.cos(sine / 34),-0.05 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 3 * math.cos(sine / 34)),math.rad(0 - 5 * math.cos(sine / 44)),math.rad(-5)),.1)
  5855. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(2.5 - 2.5 * math.cos(sine / 28)),math.rad(10 + 5 * math.cos(sine / 62)),math.rad(17 + 5 * math.cos(sine / 59))),.1)
  5856. RW.C0=clerp(RW.C0,cf(1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(22 - 3 * math.cos(sine / 53)),math.rad(0),math.rad(-37 + 2 * math.cos(sine / 37))),.1)
  5857. LW.C0=clerp(LW.C0,cf(-1,0.5 + 0.1 * math.cos(sine / 28),-0.45)*angles(math.rad(23 - 2 * math.cos(sine / 58)),math.rad(0),math.rad(38 - 3 * math.cos(sine / 57) )),.1)
  5858. end
  5859. end
  5860. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  5861. Anim="Walk"
  5862. if attack==false then
  5863. if ModeOfGlitch == 10 then
  5864. RootJoint.C0 = clerp(RootJoint.C0, RootCF * cf(0, 0, -0.175 + 0.025 * math.cos(sine / 3.5) + -math.sin(sine / 3.5) / 7) * angles(math.rad(4-2.5 * math.cos(sine / 3.5)), math.rad(0) - root.RotVelocity.Y / 75, math.rad(5 * math.cos(sine / 7))), 0.15)
  5865. Torso.Neck.C0 = clerp(Torso.Neck.C0, necko * angles(math.rad(-2.5 * math.sin(sine / 20)), math.rad(0), math.rad(0) - hed.RotVelocity.Y / 15), 0.3)
  5866. RH.C0 = clerp(RH.C0, cf(1, -0.925 - 0.5 * math.cos(sine / 7) / 2, 0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 - 5 * math.cos(sine / 7)) - rl.RotVelocity.Y / 75 + -math.sin(sine / 7) / 2.5, math.rad(90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 + 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5867. LH.C0 = clerp(LH.C0, cf(-1, -0.925 + 0.5 * math.cos(sine / 7) / 2, -0.5 * math.cos(sine / 7) / 2) * angles(math.rad(-15 + 5 * math.cos(sine / 7)) + ll.RotVelocity.Y / 75 + math.sin(sine / 7) / 2.5, math.rad(-90 - 0.1 * math.cos(sine / 7)), math.rad(0)) * angles(math.rad(0 - 0.1 * math.cos(sine / 7)), math.rad(0), math.rad(0)), 0.3)
  5868. RW.C0 = clerp(RW.C0, cf(1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(-0), math.rad(-30)), 0.1)
  5869. LW.C0 = clerp(LW.C0, cf(-1.1, 0.4 + 0.05 * math.sin(sine / 30), 0.025 * math.cos(sine / 20)) * angles(math.rad(-30), math.rad(0), math.rad(30)), 0.1)
  5870. elseif ModeOfGlitch == 666 then
  5871. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/10))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  5872. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/10))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  5873. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 8))*angles(math.rad(12.5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 12))),.1)
  5874. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30 - 5 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5875. RW.C0=clerp(RW.C0,cf(1.3,0.5,0)*angles(math.rad(180),math.rad(-90),math.rad(15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.252)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5876. LW.C0=clerp(LW.C0,cf(-1.3,0.5,0)*angles(math.rad(180),math.rad(90),math.rad(-15))*angles(math.rad(-35),0,0)*angles(math.rad(10 + 2.5 * math.cos(sine / 0.568)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23)))*angles(0,math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465))),.1)
  5877. elseif ModeOfGlitch == 999 then
  5878. 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(10 + 40 * math.cos(sine / 18))),.1)
  5879. 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(-10 + 40 * math.cos(sine / 18))),.1)
  5880. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(10),math.rad(0),math.rad(0)),.1)
  5881. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0 + 10 * math.cos(sine / 1))),.1)
  5882. RW.C0=clerp(RW.C0,cf(1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20 - 40 * math.cos(sine / 18)),math.rad(0),math.rad(10)),.1)
  5883. LW.C0=clerp(LW.C0,cf(-1.5,0.5 + 0.1 * math.cos(sine / 28),0)*angles(math.rad(20),math.rad(0 + 10 * math.cos(sine / 1)),math.rad(-10 - 10 * math.cos(sine / 1))),.1)
  5884. elseif ModeOfGlitch ~= 9600000000 then
  5885. RH.C0=clerp(RH.C0,cf(1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  5886. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 4),-0.25 - 0.15 * math.cos(sine / 4))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 25 * math.cos(sine / 8))),.3)
  5887. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 - 0.05 * math.cos(sine / 4))*angles(math.rad(15),math.rad(0),math.rad(0)),.3)
  5888. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-5),math.rad(0),math.rad(0)),.3)
  5889. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 - 25 * math.cos(sine / 8)),math.rad(0),math.rad(10 + 1.25 * math.cos(sine / 16))),.3)
  5890. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 + 25 * math.cos(sine / 8)),math.rad(0),math.rad(-10 - 1.25 * math.cos(sine / 16))),.3)
  5891. elseif ModeOfGlitch == 9600000000 then
  5892. 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5893. 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 + 10 * math.cos(sine / 8)),math.rad(0 + 65 * math.cos(sine / 8))),.1)
  5894. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.1,-0.05 + 0.05 * math.cos(sine / 4))*angles(math.rad(15 - 3 * math.cos(sine / 4)),math.rad(0 + root.RotVelocity.Y/1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 8))),.1)
  5895. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-15 + 3 * math.cos(sine / 4)),math.rad(0 - 10 * math.cos(sine / 8)),math.rad(0 - hed.RotVelocity.Y*2.5 + 10 * math.cos(sine / 8))),.1)
  5896. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.25 * math.cos(sine / 8))*angles(math.rad(0 - 80 * math.cos(sine / 8)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 4))),.1)
  5897. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.25 * math.cos(sine / 8))*angles(math.rad(0 + 80 * math.cos(sine / 8)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 4))),.1)
  5898. end
  5899. end
  5900. elseif torvel>=22 and hitfloor~=nil then
  5901. Anim="Run"
  5902. if attack==false then
  5903. if ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8 and ModeOfGlitch ~= 2000000000 and ModeOfGlitch ~= 6000000000 then
  5904. 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 + 85 * math.cos(sine / 6))),.1)
  5905. 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 + 85 * math.cos(sine / 6))),.1)
  5906. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.3,-0.05 + 0.15 * math.cos(sine / 3))*angles(math.rad(15 - 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - root.RotVelocity.Y - 10 * math.cos(sine / 6))),.1)
  5907. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5 + 4 * math.cos(sine / 3)),math.rad(0 + root.RotVelocity.Y*1.5),math.rad(0 - hed.RotVelocity.Y*1.5 + 10 * math.cos(sine / 6))),.1)
  5908. RW.C0=clerp(RW.C0,cf(1.5,0.5,0 + 0.5 * math.cos(sine / 6))*angles(math.rad(0 - 140 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 20 * math.cos(sine / 3))),.1)
  5909. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0 - 0.5 * math.cos(sine / 6))*angles(math.rad(0 + 140 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 20 * math.cos(sine / 3))),.1)
  5910. if ModeOfGlitch == 7 then
  5911. end
  5912. elseif ModeOfGlitch == 6 or ModeOfGlitch == 8 or ModeOfGlitch == 2000000000 or ModeOfGlitch == 6000000000 then
  5913. 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)
  5914. 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)
  5915. 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)
  5916. 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)
  5917. 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)
  5918. 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)
  5919. end
  5920. end
  5921. end
  5922. end
  5923. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement