Advertisement
EARTHWORM_SALLY

meme glitchar

Aug 20th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. if game:GetService("RunService"):IsClient() then error("Script must be server-side in order to work; use h/ and not hl/") end
  2. local Player,Mouse,mouse,UserInputService,ContextActionService = owner
  3. do
  4. print("FE Compatibility code by Mokiros | Showcase By Bacon Hair!")
  5. script.Parent = Player.Character
  6.  
  7. --RemoteEvent for communicating
  8. local Event = Instance.new("RemoteEvent")
  9. Event.Name = "UserInput_Event"
  10.  
  11. --Fake event to make stuff like Mouse.KeyDown work
  12. local function fakeEvent()
  13. local t = {_fakeEvent=true,Connect=function(self,f)self.Function=f end}
  14. t.connect = t.Connect
  15. return t
  16. end
  17.  
  18. --Creating fake input objects with fake variables
  19. local m = {Target=nil,Hit=CFrame.new(),KeyUp=fakeEvent(),KeyDown=fakeEvent(),Button1Up=fakeEvent(),Button1Down=fakeEvent()}
  20. local UIS = {InputBegan=fakeEvent(),InputEnded=fakeEvent()}
  21. local CAS = {Actions={},BindAction=function(self,name,fun,touch,...)
  22. CAS.Actions[name] = fun and {Name=name,Function=fun,Keys={...}} or nil
  23. end}
  24. --Merged 2 functions into one by checking amount of arguments
  25. CAS.UnbindAction = CAS.BindAction
  26.  
  27. --This function will trigger the events that have been :Connect()'ed
  28. local function te(self,ev,...)
  29. local t = m[ev]
  30. if t and t._fakeEvent and t.Function then
  31. t.Function(...)
  32. end
  33. end
  34. m.TrigEvent = te
  35. UIS.TrigEvent = te
  36.  
  37. Event.OnServerEvent:Connect(function(plr,io)
  38. if plr~=Player then return end
  39. if io.isMouse then
  40. m.Target = io.Target
  41. m.Hit = io.Hit
  42. else
  43. local b = io.UserInputState == Enum.UserInputState.Begin
  44. if io.UserInputType == Enum.UserInputType.MouseButton1 then
  45. return m:TrigEvent(b and "Button1Down" or "Button1Up")
  46. end
  47. for _,t in pairs(CAS.Actions) do
  48. for _,k in pairs(t.Keys) do
  49. if k==io.KeyCode then
  50. t.Function(t.Name,io.UserInputState,io)
  51. end
  52. end
  53. end
  54. m:TrigEvent(b and "KeyDown" or "KeyUp",io.KeyCode.Name:lower())
  55. UIS:TrigEvent(b and "InputBegan" or "InputEnded",io,false)
  56. end
  57. end)
  58. Event.Parent = NLS([==[
  59. local Player = game:GetService("Players").LocalPlayer
  60. local Event = script:WaitForChild("UserInput_Event")
  61.  
  62. local UIS = game:GetService("UserInputService")
  63. local input = function(io,a)
  64. if a then return end
  65. --Since InputObject is a client-side instance, we create and pass table instead
  66. Event:FireServer({KeyCode=io.KeyCode,UserInputType=io.UserInputType,UserInputState=io.UserInputState})
  67. end
  68. UIS.InputBegan:Connect(input)
  69. UIS.InputEnded:Connect(input)
  70.  
  71. local Mouse = Player:GetMouse()
  72. local h,t
  73. --Give the server mouse data 30 times every second, but only if the values changed
  74. --If player is not moving their mouse, client won't fire events
  75. while wait(1/30) do
  76. if h~=Mouse.Hit or t~=Mouse.Target then
  77. h,t=Mouse.Hit,Mouse.Target
  78. Event:FireServer({isMouse=true,Target=t,Hit=h})
  79. end
  80. end]==],Player.Character)
  81. Mouse,mouse,UserInputService,ContextActionService = m,m,UIS,CAS
  82. end
  83.  
  84.  
  85.  
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101. warn'Meme Glitchar'
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.  
  131.  
  132.  
  133.  
  134.  
  135.  
  136.  
  137.  
  138.  
  139.  
  140.  
  141.  
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149.  
  150.  
  151.  
  152.  
  153.  
  154.  
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.  
  188.  
  189.  
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.  
  197.  
  198.  
  199.  
  200.  
  201. print([[
  202.  
  203.  
  204.  
  205.  
  206.  
  207.  
  208.  
  209. Isn't converted to local
  210.  
  211.  
  212. I'll make it tomorrow
  213.  
  214.  
  215. ]])
  216.  
  217.  
  218.  
  219.  
  220.  
  221.  
  222.  
  223. warn'Why'
  224. --This is an edit by Rider (channel: https://www.youtube.com/channel/UCsLS2uouRP070z_mT20WBMw?view_as=subscriber)
  225. --I may edit more.
  226. plr = owner
  227. char = plr.Character
  228. hum = char:FindFirstChildOfClass'Humanoid'
  229. local cam = game.Workspace.CurrentCamera
  230. Camera = cam
  231. local CamInterrupt = false
  232. local TwoD = false
  233. local TargetInfo = {nil, nil}
  234. cam.CameraType = "Custom"
  235. t = char.Torso
  236. h = char.Head
  237. ra = char["Right Arm"]
  238. la = char["Left Arm"]
  239. rl = char["Right Leg"]
  240. ll = char["Left Leg"]
  241. tors = char.Torso
  242. lleg = char["Left Leg"]
  243. root = char.HumanoidRootPart
  244. hed = char.Head
  245. rleg = char["Right Leg"]
  246. rarm = char["Right Arm"]
  247. larm = char["Left Arm"]
  248. radian = math.rad
  249. random = math.random
  250. Vec3 = Vector3.new
  251. Inst = Instance.new
  252. cFrame = CFrame.new
  253. Euler = CFrame.fromEulerAnglesXYZ
  254. vt = Vector3.new
  255. bc = BrickColor.new
  256. br = BrickColor.random
  257. it = Instance.new
  258. cf = CFrame.new
  259.  
  260. local ODers = {}
  261.  
  262. local AllowRape = false;
  263. local AllowCata = false;
  264.  
  265. local Booleans = {
  266. CamFollow = true,
  267. GyroUse = true
  268. }
  269.  
  270. function lerp(object, newCFrame, alpha)
  271. return object:lerp(newCFrame, alpha)
  272. end
  273.  
  274. local Directer = Inst("BodyGyro", root)
  275. Directer.MaxTorque = Vec3(0, 0, 0)
  276. Directer.P = 600000
  277. local CPart = Inst("Part")
  278. CPart.Anchored = true
  279. CPart.CanCollide = false
  280. CPart.Locked = true
  281. CPart.Transparency = 1
  282.  
  283. local rainbowmode = false
  284. local chaosmode = false
  285. local glitchymode = false
  286. kan = Instance.new("Sound",char)
  287. kan.Volume = 1.25
  288. kan.TimePosition = 0
  289. kan.PlaybackSpeed = 1
  290. kan.Pitch = 1
  291. kan.SoundId = "rbxassetid://441091381"
  292. kan.Name = "wrecked"
  293. kan.Looped = true
  294. kan:Play()
  295.  
  296. local MID = "rbxassetid://441091381";
  297. local Pitch = 1;
  298.  
  299. function newTheme(ID,timepos,pitch,vol)
  300. local kanz = kan
  301. --kanz:Stop()
  302. --kanz.Volume = vol
  303. --kanz.TimePosition = timepos
  304. kanz.PlaybackSpeed = pitch
  305. kanz.Pitch = pitch
  306. kanz.SoundId = ID
  307. kanz.Name = "wrecked"
  308. kanz.Looped = true
  309. Pitch = pitch
  310. MID = ID
  311. --kanz:Play()
  312. --coroutine.resume(coroutine.create(function()
  313. --wait(0.05)
  314. --end))
  315. end
  316.  
  317. function newThemeCust(ID,timepos,pitch,vol)
  318. local kanz = kan
  319. kanz:Stop()
  320. kanz.Volume = vol
  321. kanz.TimePosition = timepos
  322. kanz.PlaybackSpeed = pitch
  323. kanz.Pitch = pitch
  324. MID = ID
  325. kanz.SoundId = ID
  326. kanz.Name = "wrecked"
  327. kanz.Looped = true
  328. kanz:Play()
  329. coroutine.resume(coroutine.create(function()
  330. wait(0.05)
  331. end))
  332. end
  333.  
  334.  
  335.  
  336. function CameraShake(Times, Power, PlayerTarget)
  337. coroutine.resume(coroutine.create(function()
  338. FV = Instance.new("BoolValue", PlayerTarget)
  339. FV.Name = "CameraShake"
  340. for ShakeNum=1,Times do
  341. swait()
  342. local ef=Power
  343. if ef>=1 then
  344. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  345. else
  346. ef=Power*10
  347. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  348. end
  349. end
  350. Humanoid.CameraOffset = Vector3.new(0,0,0)
  351. FV:Destroy()
  352. end))
  353. end
  354.  
  355. function CameraEnshaking(Length,Intensity)
  356. coroutine.resume(coroutine.create(function()
  357. local intensity = 1*Intensity
  358. local rotM = 0.01*Intensity
  359. for i = 0, Length, 0.1 do
  360. swait()
  361. intensity = intensity - 0.05*Intensity/Length
  362. rotM = rotM - 0.0005*Intensity/Length
  363. hum.CameraOffset = Vec3(radian(random(-intensity, intensity)), radian(random(-intensity, intensity)), radian(random(-intensity, intensity)))
  364. 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)
  365. end
  366. Humanoid.CameraOffset = Vec3(0, 0, 0)
  367. end))
  368. end
  369. CamShake=function(Part,Distan,Power,Times)
  370. local de=Part.Position
  371. for i,v in pairs(workspace:children()) do
  372. if v:IsA("Model") and v:findFirstChild("Humanoid") then
  373. for _,c in pairs(v:children()) do
  374. if c.ClassName=="Part" and (c.Position - de).magnitude < Distan then
  375. local Noob=vFindFirstChildOfClass'Humanoid'
  376. if Noob~=nil then
  377. coroutine.resume(coroutine.create(function()
  378. FV = Instance.new("BoolValue", Noob)
  379. FV.Name = "CameraShake"
  380. for ShakeNum=1,Times do
  381. swait()
  382. local ef=Power
  383. if ef>=1 then
  384. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef),math.random(-ef,ef),math.random(-ef,ef))
  385. else
  386. ef=Power*10
  387. Humanoid.CameraOffset = Vector3.new(math.random(-ef,ef)/10,math.random(-ef,ef)/10,math.random(-ef,ef)/10)
  388. end
  389. end
  390. Humanoid.CameraOffset = Vector3.new(0,0,0)
  391. FV:Destroy()
  392. end))
  393. CameraShake(Times, Power, Noob)
  394. end
  395. end
  396. end
  397. end
  398. end
  399. end
  400.  
  401. function chatfunc(text,color)
  402. local chat = coroutine.wrap(function()
  403. if Character:FindFirstChild("TalkingBillBoard")~= nil then
  404. Character:FindFirstChild("TalkingBillBoard"):destroy()
  405. end
  406. local naeeym2 = Instance.new("BillboardGui",Character)
  407. naeeym2.Size = UDim2.new(0,100,0,40)
  408. naeeym2.StudsOffset = Vector3.new(0,3,0)
  409. naeeym2.Adornee = Character.Head
  410. naeeym2.Name = "TalkingBillBoard"
  411. local tecks2 = Instance.new("TextLabel",naeeym2)
  412. tecks2.BackgroundTransparency = 1
  413. tecks2.BorderSizePixel = 0
  414. tecks2.Text = ""
  415. tecks2.Font = "SciFi"
  416. tecks2.TextSize = 30
  417. tecks2.TextStrokeTransparency = 0
  418. tecks2.TextColor3 = color
  419. tecks2.TextStrokeColor3 = Color3.new(0,1,0)
  420. tecks2.Size = UDim2.new(1,0,0.5,0)
  421. local tecks3 = Instance.new("TextLabel",naeeym2)
  422. tecks3.BackgroundTransparency = 1
  423. tecks3.BorderSizePixel = 0
  424. tecks3.Text = ""
  425. tecks3.Font = "SciFi"
  426. tecks3.TextSize = 30
  427. tecks3.TextStrokeTransparency = 0
  428. tecks3.TextColor3 = Color3.new(0,0,0)
  429. tecks3.TextStrokeColor3 = color
  430. tecks3.Size = UDim2.new(1,0,0.5,0)
  431. coroutine.resume(coroutine.create(function()
  432. while true do
  433. swait(1)
  434. if chaosmode == true then
  435. tecks2.TextColor3 = BrickColor.random().Color
  436. tecks3.TextStrokeColor3 = BrickColor.random().Color
  437. end
  438. if(glitchymode)then
  439. local val = math.random(1,255)
  440. local color = Color3.fromRGB(val,val,val)
  441. tecks2.TextColor3 = color
  442. tecks3.TextStrokeColor3 = color
  443. end
  444. tecks2.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  445. tecks3.Position = UDim2.new(0,math.random(-5,5),0,math.random(-5,5))
  446. tecks2.Rotation = math.random(-5,5)
  447. tecks3.Rotation = math.random(-5,5)
  448. end
  449. end))
  450. for i = 1,string.len(text),1 do
  451. CFuncs["Sound"].Create("rbxassetid://274118116", char, 0.25, 0.115)
  452. tecks2.Text = string.sub(text,1,i)
  453. tecks3.Text = string.sub(text,1,i)
  454. swait(1)
  455. end
  456. wait(1)
  457. local randomrot = math.random(1,2)
  458. if randomrot == 1 then
  459. for i = 1, 50 do
  460. swait()
  461. tecks2.Rotation = tecks2.Rotation - .75
  462. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  463. tecks2.TextTransparency = tecks2.TextTransparency + .04
  464. tecks3.Rotation = tecks2.Rotation + .75
  465. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  466. tecks3.TextTransparency = tecks2.TextTransparency + .04
  467. end
  468. elseif randomrot == 2 then
  469. for i = 1, 50 do
  470. swait()
  471. tecks2.Rotation = tecks2.Rotation + .75
  472. tecks2.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  473. tecks2.TextTransparency = tecks2.TextTransparency + .04
  474. tecks3.Rotation = tecks2.Rotation - .75
  475. tecks3.TextStrokeTransparency = tecks2.TextStrokeTransparency +.04
  476. tecks3.TextTransparency = tecks2.TextTransparency + .04
  477. end
  478. end
  479. naeeym2:Destroy()
  480. end)
  481. chat()
  482. end
  483.  
  484.  
  485. local Create = LoadLibrary("RbxUtility").Create
  486.  
  487. CFuncs = {
  488. ["Part"] = {
  489. Create = function(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  490. local Part = Create("Part"){
  491. Parent = Parent,
  492. Reflectance = Reflectance,
  493. Transparency = Transparency,
  494. CanCollide = false,
  495. Locked = true,
  496. BrickColor = BrickColor.new(tostring(BColor)),
  497. Name = Name,
  498. Size = Size,
  499. Material = Material,
  500. }
  501. RemoveOutlines(Part)
  502. return Part
  503. end;
  504. };
  505.  
  506. ["Mesh"] = {
  507. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  508. local Msh = Create(Mesh){
  509. Parent = Part,
  510. Offset = OffSet,
  511. Scale = Scale,
  512. }
  513. if Mesh == "SpecialMesh" then
  514. Msh.MeshType = MeshType
  515. Msh.MeshId = MeshId
  516. end
  517. return Msh
  518. end;
  519. };
  520.  
  521. ["Mesh"] = {
  522. Create = function(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  523. local Msh = Create(Mesh){
  524. Parent = Part,
  525. Offset = OffSet,
  526. Scale = Scale,
  527. }
  528. if Mesh == "SpecialMesh" then
  529. Msh.MeshType = MeshType
  530. Msh.MeshId = MeshId
  531. end
  532. return Msh
  533. end;
  534. };
  535.  
  536. ["Weld"] = {
  537. Create = function(Parent, Part0, Part1, C0, C1)
  538. local Weld = Create("Weld"){
  539. Parent = Parent,
  540. Part0 = Part0,
  541. Part1 = Part1,
  542. C0 = C0,
  543. C1 = C1,
  544. }
  545. return Weld
  546. end;
  547. };
  548.  
  549. ["Sound"] = {
  550. Create = function(id, par, vol, pit)
  551. return coroutine.wrap(function()
  552. local S = Create("Sound"){
  553. Volume = vol,
  554. Name = "EffectSoundo",
  555. Pitch = pit or 1,
  556. SoundId = id,
  557. Parent = par or workspace,
  558. }
  559. S:Play()
  560. S.Ended:connect(function()
  561. S:Destroy()
  562. end)
  563. return S;
  564. end)()
  565. end;
  566. };
  567.  
  568. ["LongSound"] = {
  569. Create = function(id, par, vol, pit)
  570. coroutine.resume(coroutine.create(function()
  571. local S = Create("Sound"){
  572. Volume = vol,
  573. Pitch = pit or 1,
  574. SoundId = id,
  575. Parent = par or workspace,
  576. }
  577. wait()
  578. S:play()
  579. game:GetService("Debris"):AddItem(S, 30)
  580. end))
  581. end;
  582. };
  583.  
  584. ["ParticleEmitter"] = {
  585. Create = function(Parent, Color1, Color2, LightEmission, Size, Texture, Transparency, ZOffset, Accel, Drag, LockedToPart, VelocityInheritance, EmissionDirection, Enabled, LifeTime, Rate, Rotation, RotSpeed, Speed, VelocitySpread)
  586. local fp = Create("ParticleEmitter"){
  587. Parent = Parent,
  588. Color = ColorSequence.new(Color1, Color2),
  589. LightEmission = LightEmission,
  590. Size = Size,
  591. Texture = Texture,
  592. Transparency = Transparency,
  593. ZOffset = ZOffset,
  594. Acceleration = Accel,
  595. Drag = Drag,
  596. LockedToPart = LockedToPart,
  597. VelocityInheritance = VelocityInheritance,
  598. EmissionDirection = EmissionDirection,
  599. Enabled = Enabled,
  600. Lifetime = LifeTime,
  601. Rate = Rate,
  602. Rotation = Rotation,
  603. RotSpeed = RotSpeed,
  604. Speed = Speed,
  605. VelocitySpread = VelocitySpread,
  606. }
  607. return fp
  608. end;
  609. };
  610.  
  611. CreateTemplate = {
  612.  
  613. };
  614. }
  615.  
  616.  
  617.  
  618. New = function(Object, Parent, Name, Data)
  619. local Object = Instance.new(Object)
  620. for Index, Value in pairs(Data or {}) do
  621. Object[Index] = Value
  622. end
  623. Object.Parent = Parent
  624. Object.Name = Name
  625. return Object
  626. end
  627. local halocolor = BrickColor.new("Pastel light blue")
  628. local halocolor2 = BrickColor.new("Cool yellow")
  629. local starcolor = BrickColor.new("Bright yellow")
  630. local lunacolor = BrickColor.new("Navy blue")
  631. local lunacolor2 = BrickColor.new("Bright blue")
  632. local wepcolor = BrickColor.new("Lime green")
  633. local maincolor = BrickColor.new("Lime green")
  634. local m = Instance.new("Model",char)
  635. local m2 = Instance.new("Model",char)
  636. local m3 = Instance.new("Model",char)
  637. local mw1 = Instance.new("Model",char)
  638. local mw2 = Instance.new("Model",char)
  639.  
  640. local extrawingmod1 = Instance.new("Model",char)
  641. local extrawingmod2 = Instance.new("Model",char)
  642.  
  643. function CreateParta(parent,transparency,reflectance,material,brickcolor)
  644. local p = Instance.new("Part")
  645. p.TopSurface = 0
  646. p.BottomSurface = 0
  647. p.Parent = parent
  648. p.Size = Vector3.new(0.1,0.1,0.1)
  649. p.Transparency = transparency
  650. p.Reflectance = reflectance
  651. p.CanCollide = false
  652. p.Locked = true
  653. p.BrickColor = brickcolor
  654. p.Material = material
  655. return p
  656. end
  657.  
  658. function CreateMesh(parent,meshtype,x1,y1,z1)
  659. local mesh = Instance.new("SpecialMesh",parent)
  660. mesh.MeshType = meshtype
  661. mesh.Scale = Vector3.new(x1*10,y1*10,z1*10)
  662. return mesh
  663. end
  664.  
  665. function CreateSpecialMesh(parent,meshid,x1,y1,z1)
  666. local mesh = Instance.new("SpecialMesh",parent)
  667. mesh.MeshType = "FileMesh"
  668. mesh.MeshId = meshid
  669. mesh.Scale = Vector3.new(x1,y1,z1)
  670. return mesh
  671. end
  672.  
  673.  
  674. function CreateSpecialGlowMesh(parent,meshid,x1,y1,z1)
  675. local mesh = Instance.new("SpecialMesh",parent)
  676. mesh.MeshType = "FileMesh"
  677. mesh.MeshId = meshid
  678. mesh.TextureId = "http://www.roblox.com/asset/?id=269748808"
  679. mesh.Scale = Vector3.new(x1,y1,z1)
  680. mesh.VertexColor = Vector3.new(parent.BrickColor.r, parent.BrickColor.g, parent.BrickColor.b)
  681. return mesh
  682. end
  683.  
  684. --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))
  685.  
  686.  
  687. function CreateWeld(parent,part0,part1,C1X,C1Y,C1Z,C1Xa,C1Ya,C1Za,C0X,C0Y,C0Z,C0Xa,C0Ya,C0Za)
  688. local weld = Instance.new("Weld")
  689. weld.Parent = parent
  690. weld.Part0 = part0
  691. weld.Part1 = part1
  692. weld.C1 = CFrame.new(C1X,C1Y,C1Z)*CFrame.Angles(C1Xa,C1Ya,C1Za)
  693. weld.C0 = CFrame.new(C0X,C0Y,C0Z)*CFrame.Angles(C0Xa,C0Ya,C0Za)
  694. return weld
  695. end
  696.  
  697. local sorb = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  698. 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))
  699. local sorb2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  700. 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))
  701.  
  702. local handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  703. CreateMesh(handle,"Brick",0,0,0)
  704. 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))
  705. local valuaring = 10
  706. for i = 0, 49 do
  707. valuaring = valuaring + 10
  708. rn = CreateParta(mw2,0,0,"Neon",halocolor)
  709. CreateMesh(rn,"Brick",0.25,0.1,0.1)
  710. CreateWeld(rn,handlex,rn,0,1,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  711. end
  712.  
  713. handlex = CreateParta(mw2,1,1,"Neon",maincolor)
  714. CreateMesh(handle,"Brick",0,0,0)
  715. CreateWeld(handlex,tors,handlex,0,-3,-2.1,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  716. local valuaring = 10
  717. for i = 0, 49 do
  718. valuaring = valuaring + 10
  719. rn = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  720. CreateMesh(rn,"Brick",0.5,0.2,0.2)
  721. CreateWeld(rn,handlex,rn,0,2,0,math.rad(0),math.rad(0),math.rad(valuaring),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  722. end
  723.  
  724.  
  725. local handle = CreateParta(m,1,1,"Neon",maincolor)
  726. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  727. 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))
  728.  
  729. --- Left wing.
  730.  
  731. local lwing1 = CreateParta(m,1,1,"Neon",maincolor)
  732. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  733. 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))
  734.  
  735. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  736. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  737. 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))
  738. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  739. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  740. 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))
  741. A0 = Instance.new('Attachment',wed)
  742. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  743. CreateMesh(wed,"Wedge",0.05,0.5,3)
  744. 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))
  745. A1 = Instance.new('Attachment',wed)
  746. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  747. CreateMesh(wed,"Wedge",0.05,3,0.5)
  748. 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))
  749.  
  750. tl1 = Instance.new('Trail',wed)
  751. tl1.Attachment0 = A0
  752. tl1.Attachment1 = A1
  753. --tl1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  754. tl1.LightEmission = 1
  755. tl1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  756. tl1.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  757. tl1.Lifetime = 0.6
  758.  
  759.  
  760. local lwing2 = CreateParta(m,1,1,"Neon",maincolor)
  761. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  762. 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))
  763.  
  764. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  765. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  766. 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))
  767. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  768. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  769. 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))
  770. A0 = Instance.new('Attachment',wed)
  771. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  772. CreateMesh(wed,"Wedge",0.05,0.5,3)
  773. 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))
  774. A1 = Instance.new('Attachment',wed)
  775. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  776. CreateMesh(wed,"Wedge",0.05,3,0.5)
  777. 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))
  778.  
  779. tl2 = Instance.new('Trail',wed)
  780. tl2.Attachment0 = A0
  781. tl2.Attachment1 = A1
  782. --tl2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  783. tl2.LightEmission = 1
  784. tl2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  785. tl2.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  786. tl2.Lifetime = 0.6
  787.  
  788. local lwing3 = CreateParta(m,1,1,"Neon",maincolor)
  789. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  790. 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))
  791.  
  792. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  793. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  794. 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))
  795. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  796. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  797. 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))
  798. A0 = Instance.new('Attachment',wed)
  799. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  800. CreateMesh(wed,"Wedge",0.05,0.5,3)
  801. 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))
  802. A1 = Instance.new('Attachment',wed)
  803. wed = CreateParta(mw1,0,0,"Neon",halocolor)
  804. CreateMesh(wed,"Wedge",0.05,3,0.5)
  805. 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))
  806.  
  807. tl3 = Instance.new('Trail',wed)
  808. tl3.Attachment0 = A0
  809. tl3.Attachment1 = A1
  810. --tl3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  811. tl3.LightEmission = 1
  812. tl3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  813. tl3.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  814. tl3.Lifetime = 0.6
  815.  
  816. tl1.Enabled = false
  817. tl2.Enabled = false
  818. tl3.Enabled = false
  819. local lwing4 = CreateParta(m,1,1,"Neon",maincolor)
  820. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  821. 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))
  822.  
  823. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  824. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  825. 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))
  826. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  827. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  828. 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))
  829. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  830. CreateMesh(wed,"Wedge",0.05,0.5,3)
  831. 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))
  832. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  833. CreateMesh(wed,"Wedge",0.05,3,0.5)
  834. 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))
  835.  
  836. local lwing5 = CreateParta(m,1,1,"Neon",maincolor)
  837. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  838. 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))
  839.  
  840. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  841. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  842. 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))
  843. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  844. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  845. 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))
  846. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  847. CreateMesh(wed,"Wedge",0.05,0.5,3)
  848. 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))
  849. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  850. CreateMesh(wed,"Wedge",0.05,3,0.5)
  851. 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))
  852.  
  853. local lwing6 = CreateParta(m,1,1,"Neon",maincolor)
  854. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  855. 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))
  856.  
  857. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  858. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  859. 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))
  860. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  861. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  862. 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))
  863. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  864. CreateMesh(wed,"Wedge",0.05,0.5,3)
  865. 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))
  866. wed = CreateParta(extrawingmod1,0,0,"Neon",halocolor)
  867. CreateMesh(wed,"Wedge",0.05,3,0.5)
  868. 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))
  869.  
  870. -- Right wing.
  871.  
  872. local rwing1 = CreateParta(m,1,1,"Neon",maincolor)
  873. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  874. 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))
  875.  
  876. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  877. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  878. 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))
  879. A0 = Instance.new('Attachment',wed)
  880. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  881. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  882. 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))
  883. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  884. CreateMesh(wed,"Wedge",0.05,0.5,3)
  885. 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))
  886. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  887. CreateMesh(wed,"Wedge",0.05,3,0.5)
  888. 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))
  889. A1 = Instance.new('Attachment',wed)
  890.  
  891. tr1 = Instance.new('Trail',wed)
  892. tr1.Attachment0 = A0
  893. tr1.Attachment1 = A1
  894. --tr1.Texture = "http://www.roblox.com/asset/?id=1049219073"
  895. tr1.LightEmission = 1
  896. tr1.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  897. tr1.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  898. tr1.Lifetime = 0.6
  899.  
  900. local rwing2 = CreateParta(m,1,1,"Neon",maincolor)
  901. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  902. 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))
  903.  
  904. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  905. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  906. 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))
  907. A0 = Instance.new('Attachment',wed)
  908. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  909. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  910. 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))
  911. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  912. CreateMesh(wed,"Wedge",0.05,0.5,3)
  913. 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))
  914. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  915. CreateMesh(wed,"Wedge",0.05,3,0.5)
  916. 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))
  917. A1 = Instance.new('Attachment',wed)
  918.  
  919. tr2 = Instance.new('Trail',wed)
  920. tr2.Attachment0 = A0
  921. tr2.Attachment1 = A1
  922. --tr2.Texture = "http://www.roblox.com/asset/?id=1049219073"
  923. tr2.LightEmission = 1
  924. tr2.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  925. tr2.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  926. tr2.Lifetime = 0.6
  927.  
  928. local rwing3 = CreateParta(m,1,1,"Neon",maincolor)
  929. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  930. 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))
  931.  
  932. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  933. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  934. 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))
  935. A0 = Instance.new('Attachment',wed)
  936. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  937. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  938. 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))
  939. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  940. CreateMesh(wed,"Wedge",0.05,0.5,3)
  941. 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))
  942. wed = CreateParta(mw2,0,0,"Neon",halocolor)
  943. CreateMesh(wed,"Wedge",0.05,3,0.5)
  944. 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))
  945. A1 = Instance.new('Attachment',wed)
  946.  
  947. tr3 = Instance.new('Trail',wed)
  948. tr3.Attachment0 = A0
  949. tr3.Attachment1 = A1
  950. --tr3.Texture = "http://www.roblox.com/asset/?id=1049219073"
  951. tr3.LightEmission = 1
  952. tr3.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0, 0),NumberSequenceKeypoint.new(1, 1)})
  953. tr3.Color = ColorSequence.new(BrickColor.new('Lime green').Color)
  954. tr3.Lifetime = 0.6
  955.  
  956.  
  957. local rwing4 = CreateParta(m,1,1,"Neon",maincolor)
  958. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  959. 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))
  960.  
  961. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  962. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  963. 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))
  964. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  965. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  966. 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))
  967. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  968. CreateMesh(wed,"Wedge",0.05,0.5,3)
  969. 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))
  970. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  971. CreateMesh(wed,"Wedge",0.05,3,0.5)
  972. 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))
  973.  
  974. local rwing5 = CreateParta(m,1,1,"Neon",maincolor)
  975. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  976. 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))
  977.  
  978. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  979. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  980. 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))
  981. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  982. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  983. 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))
  984. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  985. CreateMesh(wed,"Wedge",0.05,0.5,3)
  986. 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))
  987. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  988. CreateMesh(wed,"Wedge",0.05,3,0.5)
  989. 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))
  990.  
  991. local rwing6 = CreateParta(m,1,1,"Neon",maincolor)
  992. CreateMesh(handle,"Brick",0.5,0.5,0.5)
  993. 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))
  994.  
  995. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  996. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  997. 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))
  998. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  999. CreateMesh(wed,"Wedge",0.05,0.5,0.5)
  1000. 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))
  1001. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1002. CreateMesh(wed,"Wedge",0.05,0.5,3)
  1003. 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))
  1004. wed = CreateParta(extrawingmod2,0,0,"Neon",halocolor)
  1005. CreateMesh(wed,"Wedge",0.05,3,0.5)
  1006. 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))
  1007.  
  1008. ---- HERES THE RING
  1009.  
  1010.  
  1011. --[[ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1012. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1013. 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))
  1014. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1015. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1016. 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))
  1017. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1018. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1019. 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))
  1020.  
  1021.  
  1022. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1023. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1024. 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))
  1025.  
  1026. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1027. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1028. 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))
  1029.  
  1030.  
  1031.  
  1032. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1033. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1034. 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))
  1035.  
  1036. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1037. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1038. 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))
  1039.  
  1040. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1041. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1042. 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))
  1043.  
  1044. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1045. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1046. 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))
  1047. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1048. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1049. 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))
  1050.  
  1051. -- S section A
  1052.  
  1053. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1054. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1055. CreateWeld(dotsec,larm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1056. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1057. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1058. CreateWeld(dotseca,larm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1059. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1060. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1061. CreateWeld(dotsecb,larm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1062.  
  1063. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1064. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1065. CreateWeld(dotsec,larm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1066. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1067. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1068. CreateWeld(dotseca,larm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1069. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1070. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1071. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1072.  
  1073. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1074. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1075. CreateWeld(dotsec,larm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1076. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1077. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1078. CreateWeld(dotseca,larm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1079. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1080. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1081. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1082.  
  1083. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1084. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1085. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1086. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1087. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1088. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1089. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1090. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1091. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1092.  
  1093. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1094. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1095. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1096. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1097. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1098. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1099. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1100. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1101. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1102.  
  1103. -- S section B
  1104.  
  1105. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1106. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1107. CreateWeld(dotsec,larm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1108. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1109. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1110. CreateWeld(dotseca,larm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1111. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1112. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1113. CreateWeld(dotsecb,larm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1114.  
  1115. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1116. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1117. CreateWeld(dotsec,larm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1118. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1119. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1120. CreateWeld(dotseca,larm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1121. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1122. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1123. CreateWeld(dotsecb,larm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1124.  
  1125. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1126. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1127. CreateWeld(dotsec,larm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1128. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1129. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1130. CreateWeld(dotseca,larm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1131. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1132. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1133. CreateWeld(dotsecb,larm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1134.  
  1135. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1136. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1137. CreateWeld(dotsec,larm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1138. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1139. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1140. CreateWeld(dotseca,larm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1141. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1142. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1143. CreateWeld(dotsecb,larm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1144.  
  1145. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1146. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1147. CreateWeld(dotsec,larm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1148. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1149. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1150. CreateWeld(dotseca,larm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1151. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1152. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1153. CreateWeld(dotsecb,larm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1154.  
  1155. --- second ring
  1156.  
  1157. ran = CreateParta(m2,0,0,"SmoothPlastic",wepcolor)
  1158. CreateMesh(ran,"Wedge",1.02,1.02,1.02)
  1159. 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))
  1160. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1161. CreateMesh(ran,"Wedge",0.9,0.9,1.025)
  1162. 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))
  1163. ran = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1164. CreateMesh(ran,"Wedge",1.025,0.9,0.9)
  1165. 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))
  1166.  
  1167. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1168. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1169. 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))
  1170.  
  1171. gan = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1172. CreateMesh(gan,"Brick",1.075,0.1,1.075)
  1173. 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))
  1174.  
  1175.  
  1176.  
  1177. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1178. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1179. 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))
  1180.  
  1181. gan = CreateParta(m2,0,0,"Neon",halocolor2)
  1182. CreateMesh(gan,"Brick",1.095,0.035,1.095)
  1183. 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))
  1184.  
  1185. gane = CreateParta(m3,0,0,"SmoothPlastic",lunacolor2)
  1186. CreateMesh(gane,"Brick",1.0625,0.2,1.0625)
  1187. 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))
  1188.  
  1189. star = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1190. CreateSpecialMesh(star,"http://www.roblox.com/asset/?id=45428961",2.5,2.5,2.5)
  1191. 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))
  1192. starl = CreateParta(m3,0,0,"SmoothPlastic",starcolor)
  1193. CreateSpecialMesh(starl,"http://www.roblox.com/asset/?id=45428961",1.95,2.55,1.95)
  1194. 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))
  1195.  
  1196. -- S section A
  1197.  
  1198. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1199. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1200. CreateWeld(dotsec,rarm,dotsec,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1201. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1202. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1203. CreateWeld(dotseca,rarm,dotseca,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1204. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1205. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1206. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1207.  
  1208. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1209. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1210. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1211. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1212. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1213. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1214. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1215. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1216. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1217.  
  1218. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1219. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1220. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1221. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1222. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1223. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1224. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1225. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1226. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1227.  
  1228. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1229. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1230. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1231. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1232. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1233. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1234. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1235. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1236. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1237.  
  1238. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1239. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1240. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1241. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1242. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1243. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1244. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1245. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1246. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,-0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1247.  
  1248. -- S section B
  1249.  
  1250. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1251. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1252. CreateWeld(dotsec,rarm,dotsec,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1253. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1254. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1255. CreateWeld(dotseca,rarm,dotseca,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1256. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1257. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1258. CreateWeld(dotsecb,rarm,dotsecb,0,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1259.  
  1260. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1261. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1262. CreateWeld(dotsec,rarm,dotsec,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1263. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1264. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1265. CreateWeld(dotseca,rarm,dotseca,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1266. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1267. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1268. CreateWeld(dotsecb,rarm,dotsecb,0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1269.  
  1270. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1271. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1272. CreateWeld(dotsec,rarm,dotsec,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1273. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1274. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1275. CreateWeld(dotseca,rarm,dotseca,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1276. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1277. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1278. CreateWeld(dotsecb,rarm,dotsecb,0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1279.  
  1280. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1281. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1282. CreateWeld(dotsec,rarm,dotsec,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1283. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1284. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1285. CreateWeld(dotseca,rarm,dotseca,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1286. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1287. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1288. CreateWeld(dotsecb,rarm,dotsecb,-0.2,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1289.  
  1290. dotsec = CreateParta(m3,0,0,"Neon",halocolor)
  1291. CreateMesh(dotsec,"Sphere",0.1,0.1,0.15)
  1292. CreateWeld(dotsec,rarm,dotsec,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1293. dotseca = CreateParta(m,0,0,"SmoothPlastic",wepcolor)
  1294. CreateMesh(dotseca,"Sphere",0.2,0.2,0.1)
  1295. CreateWeld(dotseca,rarm,dotseca,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))
  1296. dotsecb = CreateParta(m2,0,0,"SmoothPlastic",lunacolor)
  1297. CreateMesh(dotsecb,"Sphere",0.15,0.15,0.125)
  1298. CreateWeld(dotsecb,rarm,dotsecb,-0.4,0.635,0.5,math.rad(0),math.rad(0),math.rad(0),0,0,0,math.rad(0),math.rad(0),math.rad(0))]]--
  1299.  
  1300.  
  1301. for i, v in pairs(m:GetChildren()) do
  1302. if v:IsA("Part") then
  1303. v.BrickColor = BrickColor.new("Lime green")
  1304. v.Material = "Glass"
  1305. end
  1306. end
  1307. for i, v in pairs(m2:GetChildren()) do
  1308. if v:IsA("Part") then
  1309. v.BrickColor = BrickColor.new("Dark stone Lime green")
  1310. v.Material = "Granite"
  1311. end
  1312. end
  1313. for i, v in pairs(m3:GetChildren()) do
  1314. if v:IsA("Part") then
  1315. v.BrickColor = BrickColor.new("Lime green")
  1316. v.Material = "Neon"
  1317. end
  1318. end
  1319. for i, v in pairs(mw2:GetChildren()) do
  1320. if v:IsA("Part") then
  1321. v.BrickColor = BrickColor.new("Lime green")
  1322. v.Material = "Neon"
  1323. end
  1324. end
  1325. for i, v in pairs(mw1:GetChildren()) do
  1326. if v:IsA("Part") then
  1327. v.Transparency = 1
  1328. v.BrickColor = BrickColor.new("Lime green")
  1329. v.Material = "Neon"
  1330. end
  1331. end
  1332. for i, v in pairs(extrawingmod1:GetChildren()) do
  1333. if v:IsA("Part") then
  1334. v.Transparency = 1
  1335. v.BrickColor = BrickColor.new("White")
  1336. v.Material = "Neon"
  1337. end
  1338. end
  1339. for i, v in pairs(extrawingmod2:GetChildren()) do
  1340. if v:IsA("Part") then
  1341. v.Transparency = 1
  1342. v.BrickColor = BrickColor.new("White")
  1343. v.Material = "Neon"
  1344. end
  1345. end
  1346. local MAINRUINCOLOR = BrickColor.new("Lime green")
  1347. ------
  1348.  
  1349.  
  1350. function RemoveOutlines(part)
  1351. part.TopSurface, part.BottomSurface, part.LeftSurface, part.RightSurface, part.FrontSurface, part.BackSurface = 10, 10, 10, 10, 10, 10
  1352. end
  1353. function CreatePart(Parent, Material, Reflectance, Transparency, BColor, Name, Size)
  1354. local Part = Create("Part")({
  1355. Parent = Parent,
  1356. Reflectance = Reflectance,
  1357. Transparency = Transparency,
  1358. CanCollide = false,
  1359. Locked = true,
  1360. BrickColor = BrickColor.new(tostring(BColor)),
  1361. Name = Name,
  1362. Size = Size,
  1363. Material = Material
  1364. })
  1365. Part.CustomPhysicalProperties = PhysicalProperties.new(0.001, 0.001, 0.001, 0.001, 0.001)
  1366. RemoveOutlines(Part)
  1367. return Part
  1368. end
  1369. function CreateMesh(Mesh, Part, MeshType, MeshId, OffSet, Scale)
  1370. local Msh = Create(Mesh)({
  1371. Parent = Part,
  1372. Offset = OffSet,
  1373. Scale = Scale
  1374. })
  1375. if Mesh == "SpecialMesh" then
  1376. Msh.MeshType = MeshType
  1377. Msh.MeshId = MeshId
  1378. end
  1379. return Msh
  1380. end
  1381. function CreateWeld(Parent, Part0, Part1, C0, C1)
  1382. local Weld = Create("Weld")({
  1383. Parent = Parent,
  1384. Part0 = Part0,
  1385. Part1 = Part1,
  1386. C0 = C0,
  1387. C1 = C1
  1388. })
  1389. return Weld
  1390. end
  1391.  
  1392. Player=owner
  1393. Character=Player.Character
  1394. PlayerGui=Player.PlayerGui
  1395. Backpack=Player.Backpack
  1396. Torso=Character.Torso
  1397. Head=Character.Head
  1398. Humanoid=Character:FindFirstChildOfClass'Humanoid'
  1399. m=Instance.new('Model',Character)
  1400. LeftArm=Character["Left Arm"]
  1401. LeftLeg=Character["Left Leg"]
  1402. RightArm=Character["Right Arm"]
  1403. RightLeg=Character["Right Leg"]
  1404. LS=Torso["Left Shoulder"]
  1405. LH=Torso["Left Hip"]
  1406. RS=Torso["Right Shoulder"]
  1407. RH=Torso["Right Hip"]
  1408. Face = Head.face
  1409. Neck=Torso.Neck
  1410. it=Instance.new
  1411. attacktype=1
  1412. vt=Vector3.new
  1413. cf=CFrame.new
  1414. euler=CFrame.fromEulerAnglesXYZ
  1415. angles=CFrame.Angles
  1416. cloaked=false
  1417. necko=cf(0, 1, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1418. necko2=cf(0, -0.5, 0, -1, -0, -0, 0, 0, 1, 0, 1, 0)
  1419. LHC0=cf(-1,-1,0,-0,-0,-1,0,1,0,1,0,0)
  1420. LHC1=cf(-0.5,1,0,-0,-0,-1,0,1,0,1,0,0)
  1421. RHC0=cf(1,-1,0,0,0,1,0,1,0,-1,-0,-0)
  1422. RHC1=cf(0.5,1,0,0,0,1,0,1,0,-1,-0,-0)
  1423. RootPart=Character.HumanoidRootPart
  1424. RootJoint=RootPart.RootJoint
  1425. RootCF=euler(-1.57,0,3.14)
  1426. attack = false
  1427. attackdebounce = false
  1428. deb=false
  1429. equipped=true
  1430. hand=false
  1431. MMouse=nil
  1432. combo=0
  1433. mana=0
  1434. trispeed=.2
  1435. attackmode='none'
  1436. local idle=0
  1437. local Anim="Idle"
  1438. local Effects={}
  1439. local gun=false
  1440. local shoot=false
  1441. local sine = 0
  1442. local change = 1
  1443. player=nil
  1444. pcall(function()char.LeftWing:destroy()end)
  1445. pcall(function()char.Halo:destroy()end)
  1446. local toggleTag = true
  1447. local txt = Instance.new("BillboardGui", Head)
  1448. txt.Adornee = nil
  1449. txt.Name = "NameDetect"
  1450. txt.Size = UDim2.new(4, 0, 1.2, 0)
  1451. txt.StudsOffset = Vector3.new(-8, 8/1.5, 0)
  1452. local text = Instance.new("TextLabel", txt)
  1453. text.Size = UDim2.new(10/2, 0, 7/2, 0)
  1454. text.FontSize = "Size8"
  1455. text.TextScaled = true
  1456. text.TextTransparency = 0
  1457. text.BackgroundTransparency = 1
  1458. text.TextTransparency = 0
  1459. text.TextStrokeTransparency = 0
  1460. text.Font = "Fantasy"
  1461. text.TextStrokeColor3 = Color3.new(1,1,1)
  1462. text.TextColor3 = Color3.new(0,0,0)
  1463. text.Text = "Boi"
  1464.  
  1465. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  1466. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  1467.  
  1468. function RecolorTextAndRename(name,col1,col2)
  1469. text.TextStrokeColor3 = col2
  1470. text.TextColor3 = col1
  1471. text.Text = name
  1472. end
  1473. --save shoulders
  1474. RSH, LSH=nil, nil
  1475. --welds
  1476. RW, LW=Instance.new("Weld"), Instance.new("Weld")
  1477. RW.Name="Right Shoulder" LW.Name="Left Shoulder"
  1478. LH=Torso["Left Hip"]
  1479. RH=Torso["Right Hip"]
  1480. TorsoColor=Torso.BrickColor
  1481. function NoOutline(Part)
  1482. Part.TopSurface,Part.BottomSurface,Part.LeftSurface,Part.RightSurface,Part.FrontSurface,Part.BackSurface = 10,10,10,10,10,10
  1483. end
  1484. player=Player
  1485. ch=Character
  1486. RSH=ch.Torso["Right Shoulder"]
  1487. LSH=ch.Torso["Left Shoulder"]
  1488. --
  1489. RSH.Parent=nil
  1490. LSH.Parent=nil
  1491. --
  1492. RW.Name="Right Shoulder"
  1493. RW.Part0=ch.Torso
  1494. RW.C0=cf(1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.3, 0, -0.5)
  1495. RW.C1=cf(0, 0.5, 0)
  1496. RW.Part1=ch["Right Arm"]
  1497. RW.Parent=ch.Torso
  1498. --
  1499. LW.Name="Left Shoulder"
  1500. LW.Part0=ch.Torso
  1501. LW.C0=cf(-1.5, 0.5, 0) --* CFrame.fromEulerAnglesXYZ(1.7, 0, 0.8)
  1502. LW.C1=cf(0, 0.5, 0)
  1503. LW.Part1=ch["Left Arm"]
  1504. LW.Parent=ch.Torso
  1505.  
  1506. local Stats=Instance.new("BoolValue")
  1507. Stats.Name="Stats"
  1508. Stats.Parent=Character
  1509. local Atk=Instance.new("NumberValue")
  1510. Atk.Name="Damage"
  1511. Atk.Parent=Stats
  1512. Atk.Value=1
  1513. local Def=Instance.new("NumberValue")
  1514. Def.Name="Defense"
  1515. Def.Parent=Stats
  1516. Def.Value=1
  1517. local Speed=Instance.new("NumberValue")
  1518. Speed.Name="Speed"
  1519. Speed.Parent=Stats
  1520. Speed.Value=1
  1521. local Mvmt=Instance.new("NumberValue")
  1522. Mvmt.Name="Movement"
  1523. Mvmt.Parent=Stats
  1524. Mvmt.Value=1
  1525.  
  1526. local donum=0
  1527.  
  1528.  
  1529. function part(formfactor,parent,reflectance,transparency,brickcolor,name,size)
  1530. local fp=it("Part")
  1531. fp.formFactor=formfactor
  1532. fp.Parent=parent
  1533. fp.Reflectance=reflectance
  1534. fp.Transparency=transparency
  1535. fp.CanCollide=false
  1536. fp.Locked=true
  1537. fp.BrickColor=brickcolor
  1538. fp.Name=name
  1539. fp.Size=size
  1540. fp.Position=Torso.Position
  1541. NoOutline(fp)
  1542. fp.Material="SmoothPlastic"
  1543. fp:BreakJoints()
  1544. return fp
  1545. end
  1546.  
  1547. function mesh(Mesh,part,meshtype,meshid,offset,scale)
  1548. local mesh=it(Mesh)
  1549. mesh.Parent=part
  1550. if Mesh=="SpecialMesh" then
  1551. mesh.MeshType=meshtype
  1552. if meshid~="nil" then
  1553. mesh.MeshId="http://www.roblox.com/asset/?id="..meshid
  1554. end
  1555. end
  1556. mesh.Offset=offset
  1557. mesh.Scale=scale
  1558. return mesh
  1559. end
  1560.  
  1561. function weld(parent,part0,part1,c0)
  1562. local weld=it("Weld")
  1563. weld.Parent=parent
  1564. weld.Part0=part0
  1565. weld.Part1=part1
  1566. weld.C0=c0
  1567. return weld
  1568. end
  1569.  
  1570. local Color1=Torso.BrickColor
  1571.  
  1572. local bodvel=Instance.new("BodyVelocity")
  1573. local bg=Instance.new("BodyGyro")
  1574.  
  1575. --// Artificial HB \\--
  1576.  
  1577. local ArtificialHB = Instance.new("BindableEvent", script)
  1578. ArtificialHB.Name = "Heartbeat"
  1579.  
  1580. script:WaitForChild("Heartbeat")
  1581.  
  1582. local tf = 0
  1583. local allowframeloss = false
  1584. local tossremainder = false
  1585. local lastframe = tick()
  1586. local frame = 1/60
  1587. ArtificialHB:Fire()
  1588.  
  1589. game:GetService("RunService").Heartbeat:connect(function(s, p)
  1590. tf = tf + s
  1591. if tf >= frame then
  1592. if allowframeloss then
  1593. script.Heartbeat:Fire()
  1594. lastframe = tick()
  1595. else
  1596. for i = 1, math.floor(tf / frame) do
  1597. ArtificialHB:Fire()
  1598. end
  1599. lastframe = tick()
  1600. end
  1601. if tossremainder then
  1602. tf = 0
  1603. else
  1604. tf = tf - frame * math.floor(tf / frame)
  1605. end
  1606. end
  1607. end)
  1608.  
  1609. function swait(num)
  1610. if num == 0 or num == nil then
  1611. ArtificialHB.Event:wait()
  1612. else
  1613. for i = 0, num do
  1614. ArtificialHB.Event:wait()
  1615. end
  1616. end
  1617. end
  1618.  
  1619. -------- RAINBOW LEAVE IT TO ME
  1620. local r = 255
  1621. local g = 0
  1622. local b = 0
  1623. coroutine.resume(coroutine.create(function()
  1624. while wait() do
  1625. for i = 0, 254/5 do
  1626. swait()
  1627. g = g + 5
  1628. end
  1629. for i = 0, 254/5 do
  1630. swait()
  1631. r = r - 5
  1632. end
  1633. for i = 0, 254/5 do
  1634. swait()
  1635. b = b + 5
  1636. end
  1637. for i = 0, 254/5 do
  1638. swait()
  1639. g = g - 5
  1640. end
  1641. for i = 0, 254/5 do
  1642. swait()
  1643. r = r + 5
  1644. end
  1645. for i = 0, 254/5 do
  1646. swait()
  1647. b = b - 5
  1648. end
  1649. end
  1650. end))
  1651.  
  1652.  
  1653. so = function(id,par,vol,pit)
  1654. coroutine.resume(coroutine.create(function()
  1655. local sou = Instance.new("Sound",par or workspace)
  1656. sou.Volume=vol
  1657. sou.Pitch=pit or 1
  1658. sou.SoundId=id
  1659. swait()
  1660. sou:play()
  1661. game:GetService("Debris"):AddItem(sou,6)
  1662. end))
  1663. end
  1664.  
  1665. function clerp(a,b,t)
  1666. return a:lerp(b,t)
  1667. end
  1668.  
  1669. local function CFrameFromTopBack(at, top, back)
  1670. local right = top:Cross(back)
  1671. return CFrame.new(at.x, at.y, at.z,
  1672. right.x, top.x, back.x,
  1673. right.y, top.y, back.y,
  1674. right.z, top.z, back.z)
  1675. end
  1676.  
  1677. function Triangle(a, b, c)
  1678. local edg1 = (c-a):Dot((b-a).unit)
  1679. local edg2 = (a-b):Dot((c-b).unit)
  1680. local edg3 = (b-c):Dot((a-c).unit)
  1681. if edg1 <= (b-a).magnitude and edg1 >= 0 then
  1682. a, b, c = a, b, c
  1683. elseif edg2 <= (c-b).magnitude and edg2 >= 0 then
  1684. a, b, c = b, c, a
  1685. elseif edg3 <= (a-c).magnitude and edg3 >= 0 then
  1686. a, b, c = c, a, b
  1687. else
  1688. assert(false, "unreachable")
  1689. end
  1690.  
  1691. local len1 = (c-a):Dot((b-a).unit)
  1692. local len2 = (b-a).magnitude - len1
  1693. local width = (a + (b-a).unit*len1 - c).magnitude
  1694.  
  1695. local maincf = CFrameFromTopBack(a, (b-a):Cross(c-b).unit, -(b-a).unit)
  1696.  
  1697. local list = {}
  1698.  
  1699. if len1 > 0.01 then
  1700. local w1 = Instance.new('WedgePart', m)
  1701. game:GetService("Debris"):AddItem(w1,5)
  1702. w1.Material = "SmoothPlastic"
  1703. w1.FormFactor = 'Custom'
  1704. w1.BrickColor = BrickColor.new("Lime green")
  1705. w1.Transparency = 0
  1706. w1.Reflectance = 0
  1707. w1.Material = "SmoothPlastic"
  1708. w1.CanCollide = false
  1709. local l1 = Instance.new("PointLight",w1)
  1710. l1.Color = Color3.new(170,0,0)
  1711. NoOutline(w1)
  1712. local sz = Vector3.new(0.2, width, len1)
  1713. w1.Size = sz
  1714. local sp = Instance.new("SpecialMesh",w1)
  1715. sp.MeshType = "Wedge"
  1716. sp.Scale = Vector3.new(0,1,1) * sz/w1.Size
  1717. w1:BreakJoints()
  1718. w1.Anchored = true
  1719. w1.Parent = workspace
  1720. w1.Transparency = 0.7
  1721. table.insert(Effects,{w1,"Disappear",.01})
  1722. w1.CFrame = maincf*CFrame.Angles(math.pi,0,math.pi/2)*CFrame.new(0,width/2,len1/2)
  1723. table.insert(list,w1)
  1724. end
  1725.  
  1726. if len2 > 0.01 then
  1727. local w2 = Instance.new('WedgePart', m)
  1728. game:GetService("Debris"):AddItem(w2,5)
  1729. w2.Material = "SmoothPlastic"
  1730. w2.FormFactor = 'Custom'
  1731. w2.BrickColor = BrickColor.new("Lime green")
  1732. w2.Transparency = 0
  1733. w2.Reflectance = 0
  1734. w2.Material = "SmoothPlastic"
  1735. w2.CanCollide = false
  1736. local l2 = Instance.new("PointLight",w2)
  1737. l2.Color = Color3.new(170,0,0)
  1738. NoOutline(w2)
  1739. local sz = Vector3.new(0.2, width, len2)
  1740. w2.Size = sz
  1741. local sp = Instance.new("SpecialMesh",w2)
  1742. sp.MeshType = "Wedge"
  1743. sp.Scale = Vector3.new(0,1,1) * sz/w2.Size
  1744. w2:BreakJoints()
  1745. w2.Anchored = true
  1746. w2.Parent = workspace
  1747. w2.Transparency = 0.7
  1748. table.insert(Effects,{w2,"Disappear",.01})
  1749. w2.CFrame = maincf*CFrame.Angles(math.pi,math.pi,-math.pi/2)*CFrame.new(0,width/2,-len1 - len2/2)
  1750. table.insert(list,w2)
  1751. end
  1752. return unpack(list)
  1753. end
  1754.  
  1755.  
  1756. function Damagefunc(Part, hit, minim, maxim, knockback, Type, Property, Delay, HitSound, HitPitch)
  1757. if hit.Parent == nil then
  1758. return
  1759. end
  1760. local h = hit.Parent:FindFirstChildOfClass("Humanoid")
  1761. for _, v in pairs(hit.Parent:children()) do
  1762. if v:IsA("Humanoid") then
  1763. h = v
  1764. end
  1765. end
  1766. if h ~= nil and hit.Parent.Name ~= Character.Name and hit.Parent:FindFirstChild("Head") ~= nil then
  1767. if hit.Parent:findFirstChild("DebounceHit") ~= nil and hit.Parent.DebounceHit.Value == true then
  1768. return
  1769. end
  1770. local c = Create("ObjectValue")({
  1771. Name = "creator",
  1772. Value = game:service("Players").LocalPlayer,
  1773. Parent = h
  1774. })
  1775. game:GetService("Debris"):AddItem(c, 0.5)
  1776. if HitSound ~= nil and HitPitch ~= nil then
  1777. CFuncs.Sound.Create(HitSound, hit, 1, HitPitch)
  1778. end
  1779. local Damage = math.random(minim, maxim)
  1780. local blocked = false
  1781. local block = hit.Parent:findFirstChild("Block")
  1782. if block ~= nil and block.className == "IntValue" and block.Value > 0 then
  1783. blocked = true
  1784. block.Value = block.Value - 1
  1785. print(block.Value)
  1786. end
  1787. if blocked == false then
  1788. HitHealth = h.Health
  1789. h.Health = h.Health - Damage
  1790. if HitHealth ~= h.Health and HitHealth ~= 0 and 0 >= h.Health and h.Parent.Name ~= "Hologram" then
  1791. print("gained kill")
  1792. end
  1793. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1794. else
  1795. h.Health = h.Health - Damage / 2
  1796. ShowDamage(Part.CFrame * CFrame.new(0, 0, Part.Size.Z / 2).p + Vector3.new(0, 1.5, 0), -Damage, 1.5, Part.BrickColor.Color)
  1797. end
  1798. if Type == "Knockdown" then
  1799. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1800. hum.PlatformStand = true
  1801. coroutine.resume(coroutine.create(function(HHumanoid)
  1802. swait(1)
  1803. HHumanoid.PlatformStand = false
  1804. end), hum)
  1805. local angle = hit.Position - (Property.Position + Vector3.new(0, 0, 0)).unit
  1806. local bodvol = Create("BodyVelocity")({
  1807. velocity = angle * knockback,
  1808. P = 5000,
  1809. maxForce = Vector3.new(8000, 8000, 8000),
  1810. Parent = hit
  1811. })
  1812. local rl = Create("BodyAngularVelocity")({
  1813. P = 3000,
  1814. maxTorque = Vector3.new(500000, 500000, 500000) * 50000000000000,
  1815. angularvelocity = Vector3.new(math.random(-10, 10), math.random(-10, 10), math.random(-10, 10)),
  1816. Parent = hit
  1817. })
  1818. game:GetService("Debris"):AddItem(bodvol, 0.5)
  1819. game:GetService("Debris"):AddItem(rl, 0.5)
  1820. elseif Type == "Normal" then
  1821. local vp = Create("BodyVelocity")({
  1822. P = 500,
  1823. maxForce = Vector3.new(math.huge, 0, math.huge),
  1824. velocity = Property.CFrame.lookVector * knockback + Property.Velocity / 1.05
  1825. })
  1826. if knockback > 0 then
  1827. vp.Parent = hit.Parent.Head
  1828. end
  1829. game:GetService("Debris"):AddItem(vp, 0.5)
  1830. elseif Type == "Up" then
  1831. local bodyVelocity = Create("BodyVelocity")({
  1832. velocity = Vector3.new(0, 20, 0),
  1833. P = 5000,
  1834. maxForce = Vector3.new(8000, 8000, 8000),
  1835. Parent = hit
  1836. })
  1837. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1838. local bodyVelocity = Create("BodyVelocity")({
  1839. velocity = Vector3.new(0, 20, 0),
  1840. P = 5000,
  1841. maxForce = Vector3.new(8000, 8000, 8000),
  1842. Parent = hit
  1843. })
  1844. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1845. elseif Type == "Leech" then
  1846. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1847. if hum ~= nil then
  1848. for i = 0, 2 do
  1849. 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)
  1850. end
  1851. Humanoid.Health = Humanoid.Health + 10
  1852. end
  1853. elseif Type == "UpKnock" then
  1854. local hum = hit.Parent:FindFirstChildOfClass'Humanoid'
  1855. hum.PlatformStand = true
  1856. if hum ~= nil then
  1857. hitr = true
  1858. end
  1859. coroutine.resume(coroutine.create(function(HHumanoid)
  1860. swait(5)
  1861. HHumanoid.PlatformStand = false
  1862. hitr = false
  1863. end), hum)
  1864. local bodyVelocity = Create("BodyVelocity")({
  1865. velocity = Vector3.new(0, 20, 0),
  1866. P = 5000,
  1867. maxForce = Vector3.new(8000, 8000, 8000),
  1868. Parent = hit
  1869. })
  1870. game:GetService("Debris"):AddItem(bodyVelocity, 0.5)
  1871. local bodyVelocity = Create("BodyVelocity")({
  1872. velocity = Vector3.new(0, 20, 0),
  1873. P = 5000,
  1874. maxForce = Vector3.new(8000, 8000, 8000),
  1875. Parent = hit
  1876. })
  1877. game:GetService("Debris"):AddItem(bodyVelocity, 1)
  1878. elseif Type == "Snare" then
  1879. local bp = Create("BodyPosition")({
  1880. P = 2000,
  1881. D = 100,
  1882. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1883. position = hit.Parent.Torso.Position,
  1884. Parent = hit.Parent.Torso
  1885. })
  1886. game:GetService("Debris"):AddItem(bp, 1)
  1887. elseif Type == "Slashnare" then
  1888. 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)
  1889. for i = 1, math.random(4, 5) do
  1890. 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)
  1891. end
  1892. local bp = Create("BodyPosition")({
  1893. P = 2000,
  1894. D = 100,
  1895. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1896. position = hit.Parent.Torso.Position,
  1897. Parent = hit.Parent.Torso
  1898. })
  1899. game:GetService("Debris"):AddItem(bp, 1)
  1900. elseif Type == "Spike" then
  1901. CreateBigIceSword(hit.Parent.Torso.CFrame)
  1902. local bp = Create("BodyPosition")({
  1903. P = 2000,
  1904. D = 100,
  1905. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1906. position = hit.Parent.Torso.Position,
  1907. Parent = hit.Parent.Torso
  1908. })
  1909. game:GetService("Debris"):AddItem(bp, 1)
  1910. elseif Type == "Freeze" then
  1911. local BodPos = Create("BodyPosition")({
  1912. P = 50000,
  1913. D = 1000,
  1914. maxForce = Vector3.new(math.huge, math.huge, math.huge),
  1915. position = hit.Parent.Torso.Position,
  1916. Parent = hit.Parent.Torso
  1917. })
  1918. local BodGy = Create("BodyGyro")({
  1919. maxTorque = Vector3.new(400000, 400000, 400000) * math.huge,
  1920. P = 20000,
  1921. Parent = hit.Parent.Torso,
  1922. cframe = hit.Parent.Torso.CFrame
  1923. })
  1924. hit.Parent.Torso.Anchored = true
  1925. coroutine.resume(coroutine.create(function(Part)
  1926. swait(1.5)
  1927. Part.Anchored = false
  1928. end), hit.Parent.Torso)
  1929. game:GetService("Debris"):AddItem(BodPos, 3)
  1930. game:GetService("Debris"):AddItem(BodGy, 3)
  1931. end
  1932. local debounce = Create("BoolValue")({
  1933. Name = "DebounceHit",
  1934. Parent = hit.Parent,
  1935. Value = true
  1936. })
  1937. game:GetService("Debris"):AddItem(debounce, Delay)
  1938. c = Instance.new("ObjectValue")
  1939. c.Name = "creator"
  1940. c.Value = Player
  1941. c.Parent = h
  1942. game:GetService("Debris"):AddItem(c, 0.5)
  1943. end
  1944. end
  1945. function ShowDamage(Pos, Text, Time, Color)
  1946. local Rate = 0.03333333333333333
  1947. local Pos = Pos or Vector3.new(0, 0, 0)
  1948. local Text = Text or ""
  1949. local Time = Time or 2
  1950. local Color = Color or Color3.new(1, 0, 1)
  1951. local EffectPart = CreatePart(workspace, "SmoothPlastic", 0, 1, BrickColor.new(Color), "Effect", Vector3.new(0, 0, 0))
  1952. EffectPart.Anchored = true
  1953. local BillboardGui = Create("BillboardGui")({
  1954. Size = UDim2.new(3, 0, 3, 0),
  1955. Adornee = EffectPart,
  1956. Parent = EffectPart
  1957. })
  1958. local TextLabel = Create("TextLabel")({
  1959. BackgroundTransparency = 1,
  1960. Size = UDim2.new(1, 0, 1, 0),
  1961. Text = Text,
  1962. TextColor3 = Color,
  1963. TextScaled = true,
  1964. Font = Enum.Font.ArialBold,
  1965. Parent = BillboardGui
  1966. })
  1967. game.Debris:AddItem(EffectPart, Time + 0.1)
  1968. EffectPart.Parent = game:GetService("Workspace")
  1969. delay(0, function()
  1970. local Frames = Time / Rate
  1971. for Frame = 1, Frames do
  1972. wait(Rate)
  1973. local Percent = Frame / Frames
  1974. EffectPart.CFrame = CFrame.new(Pos) + Vector3.new(0, Percent, 0)
  1975. TextLabel.TextTransparency = Percent
  1976. end
  1977. if EffectPart and EffectPart.Parent then
  1978. EffectPart:Destroy()
  1979. end
  1980. end)
  1981. end
  1982. function MagniDamage(Part, magni, mindam, maxdam, knock, Type)
  1983. for _, c in pairs(workspace:children()) do
  1984. local hum = c:findFirstChildOfClass("Humanoid")
  1985. if hum ~= nil then
  1986. local head = c:findFirstChild("Head")
  1987. if head ~= nil then
  1988. local targ = head.Position - Part.Position
  1989. local mag = targ.magnitude
  1990. if magni >= mag and c.Name ~= Player.Name then
  1991. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  1992. end
  1993. end
  1994. end
  1995. end
  1996. end
  1997.  
  1998. function MagniDamageWithEffect(Part, magni, mindam, maxdam, knock, Type)
  1999. for _, c in pairs(workspace:children()) do
  2000. local hum = c:findFirstChild("Humanoid")
  2001. if hum ~= nil then
  2002. local head = c:findFirstChild("Torso")
  2003. if head ~= nil then
  2004. local targ = head.Position - Part.Position
  2005. local mag = targ.magnitude
  2006. if magni >= mag and c.Name ~= Player.Name then
  2007. MagicBlock(BrickColor.new("Pastel light blue"),head.CFrame,5,5,5,1,1,1,0.05)
  2008. Damagefunc(head, head, mindam, maxdam, knock, Type, RootPart, 0.1, "rbxassetid://231917784", 1)
  2009. end
  2010. end
  2011. end
  2012. end
  2013. end
  2014.  
  2015. function rayCast(Pos, Dir, Max, Ignore) -- Origin Position , Direction, MaxDistance , IgnoreDescendants
  2016. return game:service("Workspace"):FindPartOnRay(Ray.new(Pos, Dir.unit * (Max or 999.999)), Ignore)
  2017. end
  2018.  
  2019. function SkullEffect(brickcolor,cframe,x1,y1,z1,delay)
  2020. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2021. prt.Anchored=true
  2022. prt.CFrame=cframe
  2023. local msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=4770583",vt(0,0,0),vt(x1,y1,z1))
  2024. --http://www.roblox.com/asset/?id=4770560
  2025. game:GetService("Debris"):AddItem(prt,2)
  2026. CF=prt.CFrame
  2027. coroutine.resume(coroutine.create(function(Part,Mesh,TehCF)
  2028. for i=0,1,0.2 do
  2029. wait()
  2030. Part.CFrame=CF*cf(0,0,-0.4)
  2031. end
  2032. for i=0,1,delay do
  2033. wait()
  2034. --Part.CFrame=CF*cf((math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5,(math.random(-1,0)+math.random())/5)
  2035. Mesh.Scale=Mesh.Scale
  2036. end
  2037. for i=0,1,0.1 do
  2038. wait()
  2039. Part.Transparency=i
  2040. end
  2041. Part.Parent=nil
  2042. end),prt,msh,CF)
  2043. end
  2044.  
  2045. function MagicBlock(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2046. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2047. prt.Anchored=true
  2048. prt.Material = "Neon"
  2049. prt.CFrame=cframe
  2050. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2051. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2052. game:GetService("Debris"):AddItem(prt,5)
  2053. coroutine.resume(coroutine.create(function(Part,Mesh)
  2054. for i=0,1,delay do
  2055. swait()
  2056. Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2057. Part.Transparency=i
  2058. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2059. end
  2060. Part.Parent=nil
  2061. end),prt,msh)
  2062. end
  2063.  
  2064. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2065. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2066. prt.Anchored=true
  2067. prt.Material = "Neon"
  2068. prt.CFrame=cframe
  2069. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2070. game:GetService("Debris"):AddItem(prt,5)
  2071. coroutine.resume(coroutine.create(function(Part,Mesh)
  2072. local rtype = rottype
  2073. for i=0,1,delay do
  2074. swait()
  2075. if rtype == 1 then
  2076. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2077. elseif rtype == 2 then
  2078. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2079. end
  2080. Part.Transparency=i
  2081. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2082. end
  2083. Part.Parent=nil
  2084. end),prt,msh)
  2085. end
  2086.  
  2087. function MagicSphere(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2088. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2089. prt.Anchored=true
  2090. prt.CFrame=cframe
  2091. prt.CFrame=prt.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2092. msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2093. game:GetService("Debris"):AddItem(prt,5)
  2094. coroutine.resume(coroutine.create(function(Part,Mesh)
  2095. for i=0,1,delay do
  2096. wait()
  2097. Part.Transparency=i
  2098. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2099. end
  2100. Part.Parent=nil
  2101. end),prt,msh)
  2102. end
  2103.  
  2104. function MagicBlockSteady(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2105. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2106. prt.Anchored=true
  2107. prt.Material = "Neon"
  2108. prt.CFrame=cframe
  2109. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2110. game:GetService("Debris"):AddItem(prt,5)
  2111. coroutine.resume(coroutine.create(function(Part,Mesh)
  2112. local rtype = rottype
  2113. for i=0,1,delay do
  2114. swait()
  2115. if rtype == 1 then
  2116. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2117. elseif rtype == 2 then
  2118. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2119. end
  2120. Part.Transparency=i
  2121. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2122. end
  2123. Part.Parent=nil
  2124. end),prt,msh)
  2125. end
  2126.  
  2127. function MagicShock(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2128. local prt=part(3,char,1,1,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2129. prt.Anchored=true
  2130. prt.Material = "Neon"
  2131. prt.CFrame=cframe
  2132. local dec = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2133. local dec2 = decal(prt.Color,"http://www.roblox.com/asset/?id=874580939","Front",prt)
  2134. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2135. game:GetService("Debris"):AddItem(prt,5)
  2136. coroutine.resume(coroutine.create(function(Part,Mesh)
  2137. local rtype = rottype
  2138. for i=0,1,delay do
  2139. swait()
  2140. if rtype == 1 then
  2141. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2142. elseif rtype == 2 then
  2143. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2144. end
  2145. dec.Transparency=i
  2146. dec2.Transparency=i
  2147. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2148. end
  2149. Part.Parent=nil
  2150. end),prt,msh)
  2151. end
  2152.  
  2153. function MagicShockAlt(brickcolor,cframe,x1,y1,x3,y3,delay,rottype)
  2154. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2155. prt.Anchored=true
  2156. prt.Material = "Neon"
  2157. prt.CFrame=cframe
  2158. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,0.01))
  2159. game:GetService("Debris"):AddItem(prt,5)
  2160. coroutine.resume(coroutine.create(function(Part,Mesh)
  2161. local rtype = rottype
  2162. for i=0,1,delay do
  2163. swait()
  2164. if rtype == 1 then
  2165. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2166. elseif rtype == 2 then
  2167. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2168. end
  2169. prt.Transparency=i
  2170. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2171. end
  2172. Part.Parent=nil
  2173. end),prt,msh)
  2174. end
  2175.  
  2176. function MagicShockAltCircle(brickcolor,cframe,x1,z1,x3,z3,delay,rottype)
  2177. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2178. prt.Anchored=true
  2179. prt.Material = "Neon"
  2180. prt.CFrame=cframe
  2181. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,1,z1))
  2182. game:GetService("Debris"):AddItem(prt,5)
  2183. coroutine.resume(coroutine.create(function(Part,Mesh)
  2184. local rtype = rottype
  2185. for i=0,1,delay do
  2186. swait()
  2187. if rtype == 1 then
  2188. prt.CFrame = prt.CFrame*CFrame.Angles(0,0.1,0)
  2189. elseif rtype == 2 then
  2190. prt.CFrame = prt.CFrame*CFrame.Angles(0,-0.1,0)
  2191. end
  2192. prt.Transparency=i
  2193. Mesh.Scale=Mesh.Scale+vt(x3,0,z3)
  2194. end
  2195. Part.Parent=nil
  2196. end),prt,msh)
  2197. end
  2198.  
  2199. function MagicShockTrailAlt(brickcolor,cframe,x1,y1,z1,x3,y3,delay,rottype)
  2200. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2201. prt.Anchored=true
  2202. prt.Material = "Neon"
  2203. prt.CFrame=cframe
  2204. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2205. game:GetService("Debris"):AddItem(prt,5)
  2206. coroutine.resume(coroutine.create(function(Part,Mesh)
  2207. local rtype = rottype
  2208. for i=0,1,delay do
  2209. swait()
  2210. if rtype == 1 then
  2211. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2212. elseif rtype == 2 then
  2213. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2214. end
  2215. prt.Transparency=i
  2216. Mesh.Scale=Mesh.Scale+vt(x3,y3,0)
  2217. end
  2218. Part.Parent=nil
  2219. end),prt,msh)
  2220. end
  2221.  
  2222. function MagicShockTrailAlt2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay,rottype)
  2223. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2224. prt.Anchored=true
  2225. prt.Material = "Neon"
  2226. prt.CFrame=cframe
  2227. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2228. game:GetService("Debris"):AddItem(prt,5)
  2229. coroutine.resume(coroutine.create(function(Part,Mesh)
  2230. local rtype = rottype
  2231. for i=0,1,delay do
  2232. swait()
  2233. if rtype == 1 then
  2234. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,0.1)
  2235. elseif rtype == 2 then
  2236. prt.CFrame = prt.CFrame*CFrame.Angles(0,0,-0.1)
  2237. end
  2238. prt.Transparency=i
  2239. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2240. end
  2241. Part.Parent=nil
  2242. end),prt,msh)
  2243. end
  2244.  
  2245. function MagicBlock2(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2246. local prt=part(3,char,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2247. prt.Anchored=false
  2248. prt.CFrame=cframe
  2249. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2250. local wld=weld(prt,prt,Parent,cframe)
  2251. game:GetService("Debris"):AddItem(prt,5)
  2252. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2253. for i=0,1,delay do
  2254. wait()
  2255. Weld.C0=euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))*cframe
  2256. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2257. Part.Transparency=i
  2258. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2259. end
  2260. Part.Parent=nil
  2261. end),prt,msh,wld)
  2262. end
  2263.  
  2264. function MagicBlock3(brickcolor,cframe,Parent,x1,y1,z1,x3,y3,z3,delay)
  2265. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2266. prt.Anchored=false
  2267. prt.CFrame=cframe
  2268. msh=mesh("BlockMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2269. local wld=weld(prt,prt,Parent,euler(0,0,0)*cf(0,0,0))
  2270. game:GetService("Debris"):AddItem(prt,5)
  2271. coroutine.resume(coroutine.create(function(Part,Mesh,Weld)
  2272. for i=0,1,delay do
  2273. wait()
  2274. Weld.C0=euler(i*20,0,0)
  2275. --Part.CFrame=Part.CFrame*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2276. Part.Transparency=i
  2277. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2278. end
  2279. Part.Parent=nil
  2280. end),prt,msh,wld)
  2281. end
  2282.  
  2283. function MagicCircle2(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2284. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2285. prt.Anchored=true
  2286. prt.CFrame=cframe
  2287. local msh=mesh("CylinderMesh",prt,"","",vt(0,0,0),vt(x1,y1,z1))
  2288. game:GetService("Debris"):AddItem(prt,2)
  2289. coroutine.resume(coroutine.create(function(Part,Mesh)
  2290. for i=0,1,delay do
  2291. wait()
  2292. Part.CFrame=Part.CFrame
  2293. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2294. local prt2=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2295. prt2.Anchored=true
  2296. prt2.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2297. local msh2=mesh("SpecialMesh",prt2,"Sphere","",vt(0,0,0),vt(0.5,0.5,0.5))
  2298. game:GetService("Debris"):AddItem(prt2,2)
  2299. coroutine.resume(coroutine.create(function(Part,Mesh)
  2300. for i=0,1,0.1 do
  2301. wait()
  2302. Part.CFrame=Part.CFrame*cf(0,0.5,0)
  2303. end
  2304. Part.Parent=nil
  2305. end),prt2,msh2)
  2306. end
  2307. for i=0,1,delay*2 do
  2308. wait()
  2309. Part.CFrame=Part.CFrame
  2310. Mesh.Scale=vt((x1+x3)-(x1+x3)*i,(y1+y3)-(y1+y3)*i,(z1+z3)-(z1+z3)*i)
  2311. end
  2312. Part.Parent=nil
  2313. end),prt,msh)
  2314. end
  2315.  
  2316. function MagicCircle(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2317. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2318. prt.Anchored=true
  2319. prt.CFrame=cframe
  2320. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2321. game:GetService("Debris"):AddItem(prt,2)
  2322. coroutine.resume(coroutine.create(function(Part,Mesh)
  2323. for i=0,1,delay do
  2324. wait()
  2325. Part.CFrame=Part.CFrame
  2326. Part.Transparency=i
  2327. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2328. end
  2329. Part.Parent=nil
  2330. end),prt,msh)
  2331. end
  2332.  
  2333. function BreakEffect(brickcolor,cframe,x1,y1,z1)
  2334. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2335. prt.Anchored=true
  2336. prt.CFrame=cframe*euler(math.random(-50,50),math.random(-50,50),math.random(-50,50))
  2337. local msh=mesh("SpecialMesh",prt,"Sphere","",vt(0,0,0),vt(x1,y1,z1))
  2338. game:GetService("Debris"):AddItem(prt,2)
  2339. coroutine.resume(coroutine.create(function(Part,CF,Numbb,randnumb)
  2340. CF=Part.CFrame
  2341. Numbb=0
  2342. randnumb=math.random()/10
  2343. rand1=math.random()/10
  2344. for i=0,1,rand1 do
  2345. wait()
  2346. CF=CF*cf(0,math.random()/2,0)
  2347. --Part.CFrame=Part.CFrame*euler(0.5,0,0)*cf(0,1,0)
  2348. Part.CFrame=CF*euler(Numbb,0,0)
  2349. Part.Transparency=i
  2350. Numbb=Numbb+randnumb
  2351. end
  2352. Part.Parent=nil
  2353. end),prt,CF,Numbb,randnumb)
  2354. end
  2355.  
  2356. function MagicWaveThing(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2357. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2358. prt.Anchored=true
  2359. prt.CFrame=cframe
  2360. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=1051557",vt(0,0,0),vt(x1,y1,z1))
  2361. game:GetService("Debris"):AddItem(prt,5)
  2362. coroutine.resume(coroutine.create(function(Part,Mesh)
  2363. for i=0,1,delay do
  2364. wait()
  2365. Part.CFrame=Part.CFrame*euler(0,0.7,0)
  2366. Part.Transparency=i
  2367. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2368. end
  2369. Part.Parent=nil
  2370. end),prt,msh)
  2371. end
  2372.  
  2373. function WaveEffect(brickcolor,cframe,x1,y1,z1,x3,y3,z3,delay)
  2374. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2375. prt.Anchored=true
  2376. prt.CFrame=cframe
  2377. msh=mesh("SpecialMesh",prt,"FileMesh","http://www.roblox.com/asset/?id=20329976",vt(0,0,0),vt(x1,y1,z1))
  2378. game:GetService("Debris"):AddItem(prt,2)
  2379. coroutine.resume(coroutine.create(function(Part,Mesh)
  2380. for i=0,1,delay do
  2381. wait()
  2382. Part.CFrame=Part.CFrame*cf(0,y3/2,0)
  2383. Part.Transparency=i
  2384. Mesh.Scale=Mesh.Scale+vt(x3,y3,z3)
  2385. end
  2386. Part.Parent=nil
  2387. end),prt,msh)
  2388. end
  2389.  
  2390. function StravEffect(brickcolor,cframe,x,y,z,x1,y1,z1,delay)
  2391. local prt=part(3,workspace,0,0,brickcolor,"Effect",vt(0.5,0.5,0.5))
  2392. prt.Anchored=true
  2393. prt.CFrame=cframe*cf(x,y,z)
  2394. msh=mesh("SpecialMesh",prt,"FileMesh","rbxassetid://168892363",vt(0,0,0),vt(x1,y1,z1))
  2395. game:GetService("Debris"):AddItem(prt,5)
  2396. coroutine.resume(coroutine.create(function(Part,Mesh,ex,why,zee)
  2397. local num=math.random()
  2398. local num2=math.random(-3,2)+math.random()
  2399. local numm=0
  2400. for i=0,1,delay*2 do
  2401. swait()
  2402. Part.CFrame=cframe*euler(0,numm*num*10,0)*cf(ex,why,zee)*cf(-i*10,num2,0)
  2403. Part.Transparency=i
  2404. numm=numm+0.01
  2405. end
  2406. Part.Parent=nil
  2407. Mesh.Parent=nil
  2408. end),prt,msh,x,y,z)
  2409. end
  2410.  
  2411. function dmgstart(dmg,what)
  2412. hitcon = what.Touched:connect(function(hit)
  2413. local hum = hit.Parent:FindFirstChild("Humanoid")
  2414. if hum and not hum:IsDescendantOf(Character) then
  2415. hum:TakeDamage(dmg)
  2416. end
  2417. end)
  2418. end
  2419.  
  2420. function dmgstop()
  2421. hitcon:disconnect()
  2422. end
  2423.  
  2424. function Cloak()
  2425. Face.Parent=nil
  2426. cloaked=true
  2427. for _,v in pairs(Torso.Parent:children()) do
  2428. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2429. coroutine.resume(coroutine.create(function()
  2430. for i=0,1,0.2 do
  2431. wait()
  2432. v.Transparency=i
  2433. end
  2434. v.Transparency=1
  2435. end))
  2436. end
  2437. if v.className=="Hat" then
  2438. hatp=v.Handle
  2439. coroutine.resume(coroutine.create(function(derp)
  2440. for i=0,1,0.2 do
  2441. wait()
  2442. derp.Transparency=i
  2443. end
  2444. derp.Transparency=1
  2445. end),hatp)
  2446. end
  2447. end
  2448. for _,v in pairs(m:children()) do
  2449. if v.className=="Part" then
  2450. coroutine.resume(coroutine.create(function()
  2451. for i=0,1,0.2 do
  2452. wait()
  2453. v.Transparency=i
  2454. end
  2455. v.Transparency=1
  2456. end))
  2457. end
  2458. end
  2459. end
  2460.  
  2461. function UnCloak()
  2462. so("http://roblox.com/asset/?id=2767090",Torso,1,1.1)
  2463. Face.Parent=Head
  2464. cloaked=false
  2465. for _,v in pairs(Torso.Parent:children()) do
  2466. if v.className=="Part" and v.Name~="HumanoidRootPart" then
  2467. coroutine.resume(coroutine.create(function()
  2468. for i=0,1,0.1 do
  2469. wait()
  2470. v.Transparency=v.Transparency-0.1
  2471. end
  2472. v.Transparency=0
  2473. end))
  2474. end
  2475. if v.className=="Hat" then
  2476. hatp=v.Handle
  2477. coroutine.resume(coroutine.create(function(derp)
  2478. for i=0,1,0.1 do
  2479. wait()
  2480. derp.Transparency=derp.Transparency-0.1
  2481. end
  2482. derp.Transparency=0
  2483. end),hatp)
  2484. end
  2485. end
  2486. for _,v in pairs(m:children()) do
  2487. if v.className=="Part" and v.Name~="hitbox" and v.Name~='tip' then
  2488. coroutine.resume(coroutine.create(function()
  2489. for i=0,1,0.1 do
  2490. wait()
  2491. v.Transparency=v.Transparency-0.1
  2492. end
  2493. v.Transparency=0
  2494. end))
  2495. v.Transparency=0
  2496. end
  2497. end
  2498. end
  2499.  
  2500. local origcolor = BrickColor.new("Pastel light blue")
  2501. ---- This section of explosions.
  2502. function Explode(rad,par,pitch,vol,mindam,maxdam)
  2503. local expart = Instance.new("Part",char)
  2504. local expart2 = Instance.new("Part",char)
  2505. local rin = Instance.new("Part",char)
  2506. local rin2 = Instance.new("Part",char)
  2507. local partMesh = Instance.new("SpecialMesh",expart)
  2508. partMesh.MeshType = "Sphere"
  2509. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2510. partMesh2.MeshType = "Sphere"
  2511. local partMesh3 = Instance.new("SpecialMesh",rin)
  2512. partMesh3.MeshType = "Brick"
  2513. local partMesh4 = Instance.new("SpecialMesh",rin2)
  2514. partMesh4.MeshType = "Brick"
  2515. CFuncs["Sound"].Create("rbxassetid://165970126", expart,vol, pitch)
  2516. partMesh.Scale = vt(rad,rad,rad)
  2517. expart.Size = vt(1,1,1)
  2518. expart.Transparency = 0
  2519. expart.Anchored = true
  2520. expart.Material = "Neon"
  2521. expart.BrickColor = bc("White")
  2522. expart.CFrame = par.CFrame
  2523. partMesh2.Scale = vt(rad,rad,rad)
  2524. expart2.Size = vt(1.15,1.15,1.15)
  2525. expart2.Transparency = 0.5
  2526. expart2.Anchored = true
  2527. expart2.Material = "Neon"
  2528. expart2.BrickColor = par.BrickColor
  2529. expart2.CFrame = par.CFrame
  2530. rin.Size = vt(1.15,1.15,1.15)
  2531. rin.Transparency = 1
  2532. rin.Anchored = true
  2533. rin.Material = "Neon"
  2534. rin.BrickColor = par.BrickColor
  2535. rin.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2536. rin2.Size = vt(1.15,1.15,1.15)
  2537. rin2.Transparency = 1
  2538. rin2.Anchored = true
  2539. rin2.Material = "Neon"
  2540. rin2.BrickColor = par.BrickColor
  2541. rin2.CFrame = par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))
  2542. partMesh3.Scale = vt(0,1,0)
  2543. partMesh4.Scale = vt(0,1,0)
  2544. local dec2 = Instance.new("Decal", rin)
  2545. dec2.Face = "Top"
  2546. dec2.Texture = "http://www.roblox.com/asset/?id=874580939"
  2547. dec2.Parent = rin
  2548. local dec2b = dec2:Clone()
  2549. dec2b.Face = "Bottom"
  2550. dec2b.Parent = rin
  2551.  
  2552. local dec2a = Instance.new("Decal", rin2)
  2553. dec2a.Face = "Top"
  2554. dec2a.Texture = "http://www.roblox.com/asset/?id=874580939"
  2555. dec2a.Parent = rin2
  2556. local dec2ab = dec2a:Clone()
  2557. dec2ab.Face = "Bottom"
  2558. dec2ab.Parent = rin2
  2559. expart.CanCollide = false
  2560. expart2.CanCollide = false
  2561. rin.CanCollide = false
  2562. rin2.CanCollide = false
  2563. MagniDamage(par, rad*5, mindam, maxdam, 0, "Normal")
  2564. local value = 1*rad/6.5
  2565. for i = 0, 199 do
  2566. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2567. expart.CFrame = expart.CFrame
  2568. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2569. expart2.CFrame = expart.CFrame
  2570. value = value - 0.035*rad/30
  2571. if value < 7.5 then
  2572. partMesh3.Scale = partMesh3.Scale + vt(rad/5,0,rad/5)
  2573. rin.CFrame = rin.CFrame*CFrame.Angles(0,math.rad(1),0)
  2574. partMesh4.Scale = partMesh4.Scale + vt(rad/7.5,0,rad/7.5)
  2575. rin2.CFrame = rin2.CFrame*CFrame.Angles(0,math.rad(-1),0)
  2576. end
  2577. if value < 0 then
  2578. dec2.Transparency = dec2.Transparency + 0.025
  2579. dec2a.Transparency = dec2a.Transparency + 0.025
  2580. dec2b.Transparency = dec2b.Transparency + 0.025
  2581. dec2ab.Transparency = dec2ab.Transparency + 0.025
  2582. expart.Transparency = expart.Transparency + 0.025
  2583. expart2.Transparency = expart2.Transparency + 0.025
  2584. rin.Transparency = rin.Transparency + 0.025
  2585. rin2.Transparency = rin2.Transparency + 0.025
  2586. end
  2587. swait()
  2588. end
  2589. game:GetService("Debris"):AddItem(expart, 1)
  2590. game:GetService("Debris"):AddItem(expart2, 1)
  2591. game:GetService("Debris"):AddItem(rin, 1)
  2592. game:GetService("Debris"):AddItem(rin2, 1)
  2593. end
  2594.  
  2595. function ExplodeShort(rad,par,pitch,vol,mindam,maxdam)
  2596. local expart = Instance.new("Part",char)
  2597. local expart2 = Instance.new("Part",char)
  2598. local partMesh = Instance.new("SpecialMesh",expart)
  2599. partMesh.MeshType = "Sphere"
  2600. local partMesh2 = Instance.new("SpecialMesh",expart2)
  2601. partMesh2.MeshType = "Sphere"
  2602. CFuncs["Sound"].Create("http://www.roblox.com/asset/?id=142070127", expart,vol, pitch)
  2603. partMesh.Scale = vt(rad,rad,rad)
  2604. expart.Size = vt(1,1,1)
  2605. expart.Transparency = 0
  2606. expart.Anchored = true
  2607. expart.Material = "Neon"
  2608. expart.BrickColor = bc("White")
  2609. expart.CFrame = par.CFrame
  2610. partMesh2.Scale = vt(rad,rad,rad)
  2611. expart2.Size = vt(1.15,1.15,1.15)
  2612. expart2.Transparency = 0.5
  2613. expart2.Anchored = true
  2614. expart2.Material = "Neon"
  2615. expart2.BrickColor = par.BrickColor
  2616. expart2.CFrame = par.CFrame
  2617. expart.CanCollide = false
  2618. expart2.CanCollide = false
  2619. MagniDamage(par, rad*2.5, mindam, maxdam, 0, "Normal")
  2620. local value = 1*rad/6.5
  2621. for i = 0, 75 do
  2622. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2623. expart.CFrame = expart.CFrame
  2624. partMesh2.Scale = partMesh2.Scale + vt(value,value,value)
  2625. expart2.CFrame = expart.CFrame
  2626. value = value - 0.035*rad/5
  2627. if value < 0 then
  2628. value = 0
  2629. expart.Transparency = expart.Transparency + 0.05
  2630. expart2.Transparency = expart2.Transparency + 0.05
  2631. end
  2632. swait()
  2633. end
  2634. game:GetService("Debris"):AddItem(expart, 1)
  2635. game:GetService("Debris"):AddItem(expart2, 1)
  2636. end
  2637.  
  2638. function AreaDanger(rad,par,mindam,maxdam)
  2639. local expart = Instance.new("Part",char)
  2640. local partMesh = Instance.new("SpecialMesh",expart)
  2641. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2642. partMesh.MeshType = "Sphere"
  2643. partMesh.Scale = vt(rad,rad,rad)
  2644. expart.Size = vt(1,1,1)
  2645. expart.Transparency = 0.5
  2646. expart.Anchored = true
  2647. expart.Material = "Neon"
  2648. expart.CanCollide = false
  2649. expart.BrickColor = par.BrickColor
  2650. expart.CFrame = par.CFrame
  2651. local value = 1*rad/5
  2652. MagicBlock(origcolor,expart.CFrame,0,0,0,rad/2,rad/2,rad/2,0.1)
  2653. for i = 0, 14 do
  2654. wait()
  2655. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2656. expart.CFrame = expart.CFrame
  2657. value = value - 0.035*rad
  2658. if value < 0 then
  2659. value = 0
  2660. end
  2661. end
  2662. wait(0.25)
  2663. CFuncs["Sound"].Create("rbxassetid://588738544", expart,1.5,1)
  2664. wait(0.5)
  2665. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1.5,1)
  2666. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,0.75)
  2667. MagniDamageWithEffect(par, rad, mindam, maxdam, 0, "Normal")
  2668. MagicBlock(origcolor,expart.CFrame,rad*2,rad*2,rad*2,0.1,0.1,0.1,0.025)
  2669. for i = 0, 14 do
  2670. wait()
  2671. partMesh.Scale = partMesh.Scale + vt(value,value,value)
  2672. expart.CFrame = expart.CFrame
  2673. value = value - 0.035*rad/2
  2674. end
  2675. expart.Transparency = 1
  2676. game:GetService("Debris"):AddItem(expart, 5)
  2677. end
  2678.  
  2679. function Swarmsplosions(negrad,rad,par,mindam,maxdam)
  2680. CFuncs["Sound"].Create("rbxassetid://588737825", par, 2.5, 2)
  2681. CFuncs["Sound"].Create("rbxassetid://231917784", par, 2.5,1)
  2682. CFuncs["Sound"].Create("rbxassetid://231917744", par, 2.5,1)
  2683. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2684. MagniDamageWithEffect(par, 25, 5,10, 0, "Normal")
  2685. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.025)
  2686. for i = 0, 24 do
  2687. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,25,0.005,math.random(1,2))
  2688. end
  2689. for i = 0, 24 do
  2690. local expart = Instance.new("Part",char)
  2691. expart.Transparency = 1
  2692. expart.Anchored = true
  2693. expart.CanCollide = false
  2694. expart.CFrame = par.CFrame*CFrame.new(math.random(negrad,rad),math.random(negrad,rad),math.random(negrad,rad))
  2695. CFuncs["Sound"].Create("rbxassetid://588737825", expart,1,2)
  2696. CFuncs["Sound"].Create("rbxassetid://231917784", expart,1.5,1.15)
  2697. MagniDamage(expart, rad/2, mindam, maxdam, 0, "Normal")
  2698. MagicBlock(origcolor,expart.CFrame,rad,rad,rad,0.1,0.1,0.1,0.025)
  2699. for i = 0, 9 do
  2700. MagicShockTrailAlt2(origcolor,expart.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10/5,10/5,5,-0.05/5,-0.05/5,5,0.05,math.random(1,2))
  2701. end
  2702. game:GetService("Debris"):AddItem(expart, 2)
  2703. wait(0.1)
  2704. end
  2705. end
  2706.  
  2707. function EXterPlosion(par)
  2708. CFuncs["Sound"].Create("rbxassetid://919941001", par, 10, 1)
  2709. CFuncs["Sound"].Create("rbxassetid://138213851", par, 5,0.85)
  2710. CFuncs["Sound"].Create("rbxassetid://157878578", par, 5,0.2)
  2711. CFuncs["Sound"].Create("rbxassetid://233856106", par, 2.5, 1)
  2712. MagniDamageWithEffect(par, 500, 80,99, 0, "Normal")
  2713. MagicBlock(origcolor,par.CFrame,5,5,5,5,5,5,0.005)
  2714. MagicBlock(origcolor,par.CFrame,0,0,0,150,150,150,0.1)
  2715. for i = 0, 24 do
  2716. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*10,-0.05*10,500,0.1,math.random(1,2))
  2717. end
  2718. for i = 0, 24 do
  2719. MagicShockTrailAlt2(origcolor,par.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10*5,10*5,5,-0.05*5,-0.05*5,50,0.005,math.random(1,2))
  2720. end
  2721. end
  2722. ----
  2723.  
  2724.  
  2725. function ring(type,pos,scale,value)
  2726. local type = type
  2727. local rng = Instance.new("Part", char)
  2728. rng.Anchored = true
  2729. rng.BrickColor = origcolor
  2730. rng.CanCollide = false
  2731. rng.FormFactor = 3
  2732. rng.Name = "Ring"
  2733. rng.Size = Vector3.new(1, 1, 1)
  2734. rng.Transparency = 0
  2735. rng.TopSurface = 0
  2736. rng.BottomSurface = 0
  2737. rng.CFrame = pos
  2738. local rngm = Instance.new("SpecialMesh", rng)
  2739. rngm.MeshId = "http://www.roblox.com/asset/?id=3270017"
  2740. rngm.Scale = scale
  2741. local scaler2 = 1
  2742. if type == "Add" then
  2743. scaler2 = 1*value
  2744. elseif type == "Divide" then
  2745. scaler2 = 1/value
  2746. end
  2747. coroutine.resume(coroutine.create(function()
  2748. for i = 0,10,0.1 do
  2749. swait()
  2750. if type == "Add" then
  2751. scaler2 = scaler2 - 0.01*value
  2752. elseif type == "Divide" then
  2753. scaler2 = scaler2 - 0.01/value
  2754. end
  2755. rng.Transparency = rng.Transparency + 0.01
  2756. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, 0)
  2757. end
  2758. rng:Destroy()
  2759. end))
  2760. end
  2761.  
  2762.  
  2763. function wave(type,pos,scale,value)
  2764. local type = type
  2765. local rng = Instance.new("Part", char)
  2766. rng.Anchored = true
  2767. rng.BrickColor = origcolor
  2768. rng.CanCollide = false
  2769. rng.FormFactor = 3
  2770. rng.Name = "Ring"
  2771. rng.Size = Vector3.new(1, 1, 1)
  2772. rng.Transparency = 0
  2773. rng.TopSurface = 0
  2774. rng.BottomSurface = 0
  2775. rng.CFrame = pos
  2776. local rngm = Instance.new("SpecialMesh", rng)
  2777. rngm.MeshId = "http://www.roblox.com/asset/?id=20329976"
  2778. rngm.Scale = scale
  2779. local scaler2 = 1
  2780. if type == "Add" then
  2781. scaler2 = 1*value
  2782. elseif type == "Divide" then
  2783. scaler2 = 1/value
  2784. end
  2785. coroutine.resume(coroutine.create(function()
  2786. for i = 0,10,0.1 do
  2787. swait()
  2788. if type == "Add" then
  2789. scaler2 = scaler2 - 0.01*value
  2790. elseif type == "Divide" then
  2791. scaler2 = scaler2 - 0.01/value
  2792. end
  2793. rng.Transparency = rng.Transparency + 0.01
  2794. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2795. end
  2796. rng:Destroy()
  2797. end))
  2798. end
  2799.  
  2800. function wind(type,pos,scale,value,speed)
  2801. local type = type
  2802. local rng = Instance.new("Part", char)
  2803. rng.Anchored = true
  2804. rng.BrickColor = origcolor
  2805. rng.CanCollide = false
  2806. rng.FormFactor = 3
  2807. rng.Name = "Ring"
  2808. rng.Size = Vector3.new(1, 1, 1)
  2809. rng.Transparency = 0
  2810. rng.TopSurface = 0
  2811. rng.BottomSurface = 0
  2812. rng.CFrame = pos
  2813. local rngm = Instance.new("SpecialMesh", rng)
  2814. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2815. rngm.Scale = scale
  2816. local scaler2 = 1
  2817. if type == "Add" then
  2818. scaler2 = 1*value
  2819. elseif type == "Divide" then
  2820. scaler2 = 1/value
  2821. end
  2822. coroutine.resume(coroutine.create(function()
  2823. for i = 0,10,0.1 do
  2824. swait()
  2825. if type == "Add" then
  2826. scaler2 = scaler2 - 0.01*value
  2827. elseif type == "Divide" then
  2828. scaler2 = scaler2 - 0.01/value
  2829. end
  2830. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2831. rng.Transparency = rng.Transparency + 0.01
  2832. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2, scaler2)
  2833. end
  2834. rng:Destroy()
  2835. end))
  2836. end
  2837.  
  2838. function groundwind(type,pos,scale,value,speed)
  2839. local type = type
  2840. local rng = Instance.new("Part", char)
  2841. rng.Anchored = true
  2842. rng.BrickColor = origcolor
  2843. rng.CanCollide = false
  2844. rng.FormFactor = 3
  2845. rng.Name = "Ring"
  2846. rng.Size = Vector3.new(1, 1, 1)
  2847. rng.Transparency = 0
  2848. rng.TopSurface = 0
  2849. rng.BottomSurface = 0
  2850. rng.CFrame = pos
  2851. local rngm = Instance.new("SpecialMesh", rng)
  2852. rngm.MeshId = "http://www.roblox.com/asset/?id=1051557"
  2853. rngm.Scale = scale
  2854. local scaler2 = 1
  2855. if type == "Add" then
  2856. scaler2 = 1*value
  2857. elseif type == "Divide" then
  2858. scaler2 = 1/value
  2859. end
  2860. coroutine.resume(coroutine.create(function()
  2861. for i = 0,10,0.1 do
  2862. swait()
  2863. if type == "Add" then
  2864. scaler2 = scaler2 - 0.01*value
  2865. elseif type == "Divide" then
  2866. scaler2 = scaler2 - 0.01/value
  2867. end
  2868. rng.CFrame = rng.CFrame*CFrame.Angles(0,0.025*speed,0)
  2869. rng.Transparency = rng.Transparency + 0.01
  2870. rngm.Scale = rngm.Scale + Vector3.new(scaler2, scaler2/5, scaler2)
  2871. end
  2872. rng:Destroy()
  2873. end))
  2874. end
  2875.  
  2876. function CameraManager()
  2877. if TwoD and not CamInterrupt then
  2878. if Humanoid.Health > 0 then
  2879. Camera.CameraSubject = Humanoid
  2880. Camera.CameraType = "Scriptable"
  2881. Humanoid.AutoRotate = false
  2882. if Booleans.GyroUse then
  2883. Directer.MaxTorque = Vec3(0, huge, 0)
  2884. else
  2885. Directer.MaxTorque = Vec3(0, 0, 0)
  2886. end
  2887. if TargetInfo[1] ~= nil and TargetInfo[2] ~= nil then
  2888. if Booleans.CamFollow then
  2889. CPart.CFrame = cFrame(RootPart.Position, Vec3(TargetInfo[1].Position.X, RootPart.Position.Y, TargetInfo[1].Position.Z))
  2890. Directer.CFrame = cFrame((RootPart.CFrame * cFrame(0, 0, 10)).p, TargetInfo[1].Position)
  2891. else
  2892. CPart.Position = RootPart.Position
  2893. end
  2894. else
  2895. local ahead = (RootPart.CFrame * cFrame(0, 0, -3)).p
  2896. CPart.CFrame = cFrame(RootPart.Position, Vec3(ahead.X, RootPart.Position.Y, ahead.Z))
  2897. end
  2898. Camera.CFrame = lerp(Camera.CFrame, CPart.CFrame * cFrame(25, 3, 0) * Euler(0, radian(90), 0), 0.2)
  2899. else
  2900. Camera.CameraSubject = Humanoid
  2901. Camera.CameraType = "Custom"
  2902. Controller.Disabled = false
  2903. end
  2904. end
  2905. end
  2906.  
  2907. function sphere(bonuspeed,type,pos,scale,value,color,heart,invert,notaffectbychaosrainbow)
  2908. local type = type
  2909. local rng = Instance.new("Part", char)
  2910. rng.Anchored = true
  2911. rng.BrickColor = color
  2912. rng.CanCollide = false
  2913. rng.FormFactor = 3
  2914. rng.Name = "Ring"
  2915. rng.Material = "Neon"
  2916. rng.Size = Vector3.new(1, 1, 1)
  2917. rng.Transparency = 0
  2918. rng.TopSurface = 0
  2919. rng.BottomSurface = 0
  2920. rng.CFrame = pos
  2921. local rngm = Instance.new("SpecialMesh", rng)
  2922. rngm.MeshType = "Sphere"
  2923.  
  2924.  
  2925. if(heart)then
  2926. rngm.MeshType = Enum.MeshType.FileMesh
  2927. rngm.MeshId = "rbxassetid://105992239"
  2928. rngm.Offset = Vector3.new(0,0,-.25)
  2929. end
  2930. rngm.Scale = scale
  2931. if rainbowmode == true and not notaffectbychaosrainbow then
  2932. rng.Color = Color3.new(r/255,g/255,b/255)
  2933. end
  2934. local scaler2 = 1
  2935. if type == "Add" then
  2936. scaler2 = 1*value
  2937. elseif type == "Divide" then
  2938. scaler2 = 1/value
  2939. end
  2940. coroutine.resume(coroutine.create(function()
  2941. for i = 0,10/bonuspeed,0.1 do
  2942. swait()
  2943. if rainbowmode == true and not notaffectbychaosrainbow then
  2944. rng.Color = Color3.new(r/255,g/255,b/255)
  2945. end
  2946. if type == "Add" then
  2947. scaler2 = scaler2 - 0.01*value/bonuspeed
  2948. elseif type == "Divide" then
  2949. scaler2 = scaler2 - 0.01/value*bonuspeed
  2950. end
  2951. if chaosmode == true and not notaffectbychaosrainbow then
  2952. rng.BrickColor = BrickColor.random()
  2953. end
  2954. if glitchymode then
  2955. local val = math.random(1,255)
  2956. local color = Color3.fromRGB(val,val,val)
  2957. rng.Color = color
  2958. end
  2959. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  2960. if(invert)then
  2961. if(heart)then
  2962. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2963. else
  2964. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2965. end
  2966. else
  2967. if(heart)then
  2968. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  2969. else
  2970. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  2971. end
  2972. end
  2973. rng.CFrame = pos
  2974. end
  2975. rng:Destroy()
  2976. end))
  2977. end
  2978.  
  2979. function newBezier(startpos, pos2, pos3, endpos, t)
  2980. local A = clerp(startpos, pos2, t)
  2981. local B = clerp(pos2, pos3, t)
  2982. local C = clerp(pos3, endpos, t)
  2983. local lerp1 = clerp(A, B, t)
  2984. local lerp2 = clerp(B, C, t)
  2985. local cubic = clerp(lerp1, lerp2, t)
  2986. return cubic
  2987. end
  2988.  
  2989.  
  2990. function PixelBlock(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  2991. local type = type
  2992. local rng = Instance.new("Part", char)
  2993. rng.Anchored = true
  2994. rng.BrickColor = color
  2995. rng.CanCollide = false
  2996. rng.FormFactor = 3
  2997. rng.Name = "Ring"
  2998. rng.Material = "Neon"
  2999. rng.Size = Vector3.new(1, 1, 1)
  3000. rng.Transparency = 0
  3001. rng.TopSurface = 0
  3002. rng.BottomSurface = 0
  3003. rng.CFrame = pos
  3004. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3005. local rngm = Instance.new("SpecialMesh", rng)
  3006. rngm.MeshType = "Brick"
  3007. if(heart)then
  3008. rngm.MeshType = Enum.MeshType.FileMesh
  3009. rngm.MeshId = "rbxassetid://105992239"
  3010. rngm.Offset = Vector3.new(0,0,-.25)
  3011. end
  3012. rngm.Scale = vt(x1,y1,z1)
  3013. if rainbowmode == true then
  3014. rng.Color = Color3.new(r/255,g/255,b/255)
  3015. end
  3016. local scaler2 = 1
  3017. local speeder = FastSpeed/10
  3018. if type == "Add" then
  3019. scaler2 = 1*value
  3020. elseif type == "Divide" then
  3021. scaler2 = 1/value
  3022. end
  3023. coroutine.resume(coroutine.create(function()
  3024. for i = 0,10/bonuspeed,0.1 do
  3025. swait()
  3026. if rainbowmode == true then
  3027. rng.Color = Color3.new(r/255,g/255,b/255)
  3028. end
  3029. if type == "Add" then
  3030. scaler2 = scaler2 - 0.01*value/bonuspeed
  3031. elseif type == "Divide" then
  3032. scaler2 = scaler2 - 0.01/value*bonuspeed
  3033. end
  3034. if chaosmode == true then
  3035. rng.BrickColor = BrickColor.random()
  3036. end
  3037. if glitchymode then
  3038. local val = math.random(1,255)
  3039. local color = Color3.fromRGB(val,val,val)
  3040. rng.Color = color
  3041. end
  3042. speeder = speeder - 0.01*FastSpeed*bonuspeed/10
  3043. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  3044. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3045. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3046. end
  3047. rng:Destroy()
  3048. end))
  3049. end
  3050.  
  3051.  
  3052. function PixelBlockNeg(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos,heart,invert)
  3053. local type = type
  3054. local rng = Instance.new("Part", char)
  3055. rng.Anchored = true
  3056. rng.BrickColor = color
  3057. rng.CanCollide = false
  3058. rng.FormFactor = 3
  3059. rng.Name = "Ring"
  3060. rng.Material = "Neon"
  3061. rng.Size = Vector3.new(1, 1, 1)
  3062. rng.Transparency = 0
  3063. rng.TopSurface = 0
  3064. rng.BottomSurface = 0
  3065. rng.CFrame = pos
  3066. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3067. local rngm = Instance.new("SpecialMesh", rng)
  3068. rngm.MeshType = "Brick"
  3069. if(heart)then
  3070. rngm.MeshType = Enum.MeshType.FileMesh
  3071. rngm.MeshId = "rbxassetid://105992239"
  3072. rngm.Offset = Vector3.new(0,0,-.25)
  3073. end
  3074. rngm.Scale = vt(x1,y1,z1)
  3075. if rainbowmode == true then
  3076. rng.Color = Color3.new(r/255,g/255,b/255)
  3077. end
  3078. local scaler2 = 0
  3079. local speeder = FastSpeed/10
  3080. if type == "Add" then
  3081. scaler2 = 1*value
  3082. elseif type == "Divide" then
  3083. scaler2 = 1/value
  3084. end
  3085. coroutine.resume(coroutine.create(function()
  3086. for i = 0,10/bonuspeed,0.1 do
  3087. swait()
  3088. if rainbowmode == true then
  3089. rng.Color = Color3.new(r/255,g/255,b/255)
  3090. end
  3091. if type == "Add" then
  3092. scaler2 = scaler2 - 0.01*value/bonuspeed
  3093. elseif type == "Divide" then
  3094. scaler2 = scaler2 - 0.01/value*bonuspeed
  3095. end
  3096. if chaosmode == true then
  3097. rng.BrickColor = BrickColor.random()
  3098. end
  3099. if glitchymode then
  3100. local val = math.random(1,255)
  3101. local color = Color3.fromRGB(val,val,val)
  3102. rng.Color = color
  3103. end
  3104. speeder = speeder + 0.01*FastSpeed*bonuspeed/10
  3105. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3106. if(invert)then rng.CFrame = rng.CFrame - rng.CFrame.lookVector*speeder*bonuspeed else rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed end
  3107. --rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3108. rngm.Scale = rngm.Scale - Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, scaler2*bonuspeed)
  3109. end
  3110. rng:Destroy()
  3111. end))
  3112. end
  3113.  
  3114. function sphereMK(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3115. local type = type
  3116. local rng = Instance.new("Part", char)
  3117. rng.Anchored = true
  3118. rng.BrickColor = color
  3119. rng.CanCollide = false
  3120. rng.FormFactor = 3
  3121. rng.Name = "Ring"
  3122. rng.Material = "Neon"
  3123. rng.Size = Vector3.new(1, 1, 1)
  3124. rng.Transparency = 0
  3125. rng.TopSurface = 0
  3126. rng.BottomSurface = 0
  3127. rng.CFrame = pos
  3128. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3129. local rngm = Instance.new("SpecialMesh", rng)
  3130. rngm.MeshType = "Sphere"
  3131. rngm.Scale = vt(x1,y1,z1)
  3132. if rainbowmode == true then
  3133. rng.Color = Color3.new(r/255,g/255,b/255)
  3134. end
  3135. local scaler2 = 1
  3136. local speeder = FastSpeed
  3137. if type == "Add" then
  3138. scaler2 = 1*value
  3139. elseif type == "Divide" then
  3140. scaler2 = 1/value
  3141. end
  3142. coroutine.resume(coroutine.create(function()
  3143. for i = 0,10/bonuspeed,0.1 do
  3144. swait()
  3145. if rainbowmode == true then
  3146. rng.Color = Color3.new(r/255,g/255,b/255)
  3147. end
  3148. if type == "Add" then
  3149. scaler2 = scaler2 - 0.01*value/bonuspeed
  3150. elseif type == "Divide" then
  3151. scaler2 = scaler2 - 0.01/value*bonuspeed
  3152. end
  3153. if chaosmode == true then
  3154. rng.BrickColor = BrickColor.random()
  3155. end
  3156. if glitchymode then
  3157. local val = math.random(1,255)
  3158. local color = Color3.fromRGB(val,val,val)
  3159. rng.Color = color
  3160. end
  3161. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3162. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3163. rng.Transparency = rng.Transparency + 0.01*bonuspeed
  3164. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3165. end
  3166. rng:Destroy()
  3167. end))
  3168. end
  3169.  
  3170.  
  3171. function sphereMKCharge(bonuspeed,FastSpeed,type,pos,x1,y1,z1,value,color,outerpos)
  3172. local type = type
  3173. local rng = Instance.new("Part", char)
  3174. rng.Anchored = true
  3175. rng.BrickColor = color
  3176. rng.CanCollide = false
  3177. rng.FormFactor = 3
  3178. rng.Name = "Ring"
  3179. rng.Material = "Neon"
  3180. rng.Size = Vector3.new(1, 1, 1)
  3181. rng.Transparency = 1
  3182. rng.TopSurface = 0
  3183. rng.BottomSurface = 0
  3184. rng.CFrame = pos
  3185. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*outerpos
  3186. local rngm = Instance.new("SpecialMesh", rng)
  3187. rngm.MeshType = "Sphere"
  3188. rngm.Scale = vt(x1,y1,z1)
  3189. if rainbowmode == true then
  3190. rng.Color = Color3.new(r/255,g/255,b/255)
  3191. end
  3192. local scaler2 = 1
  3193. local speeder = FastSpeed
  3194. if type == "Add" then
  3195. scaler2 = 1*value
  3196. elseif type == "Divide" then
  3197. scaler2 = 1/value
  3198. end
  3199. coroutine.resume(coroutine.create(function()
  3200. for i = 0,10/bonuspeed,0.1 do
  3201. swait()
  3202. if rainbowmode == true then
  3203. rng.Color = Color3.new(r/255,g/255,b/255)
  3204. end
  3205. if type == "Add" then
  3206. scaler2 = scaler2 - 0.01*value/bonuspeed
  3207. elseif type == "Divide" then
  3208. scaler2 = scaler2 - 0.01/value*bonuspeed
  3209. end
  3210. if chaosmode == true then
  3211. rng.BrickColor = BrickColor.random()
  3212. end
  3213. if glitchymode then
  3214. local val = math.random(1,255)
  3215. local color = Color3.fromRGB(val,val,val)
  3216. rng.Color = color
  3217. end
  3218. speeder = speeder - 0.01*FastSpeed*bonuspeed
  3219. rng.CFrame = rng.CFrame + rng.CFrame.lookVector*speeder*bonuspeed
  3220. rng.Transparency = rng.Transparency - 0.01*bonuspeed
  3221. rngm.Scale = rngm.Scale + Vector3.new(scaler2*bonuspeed, scaler2*bonuspeed, 0)
  3222. end
  3223. rng:Destroy()
  3224. end))
  3225. end
  3226.  
  3227. function dmg(dude)
  3228. if dude.Name ~= Character then
  3229. local bgf = Instance.new("BodyGyro",dude.Head)
  3230. bgf.CFrame = bgf.CFrame * CFrame.fromEulerAnglesXYZ(math.rad(-90),0,0)
  3231. local val = Instance.new("BoolValue",dude)
  3232. val.Name = "IsHit"
  3233. local ds = coroutine.wrap(function()
  3234. local torso = dude:FindFirstChild'Torso' or dude:FindFirstChild'UpperTorso'
  3235. for i = 1, 10 do
  3236. sphereMK(1.5,2,"Add",torso.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,25,-.01,BrickColor.new("White"),0,true)
  3237. end
  3238. dude:WaitForChild("Head"):BreakJoints()
  3239. wait(0.5)
  3240. targetted = nil
  3241. CFuncs["Sound"].Create("rbxassetid://62339698", char, 0.5, 0.3)
  3242.  
  3243. coroutine.resume(coroutine.create(function()
  3244. for i, v in pairs(dude:GetChildren()) do
  3245. if v:IsA("Accessory") then
  3246. v:Destroy()
  3247. end
  3248. if v:IsA("Humanoid") then
  3249. v:Destroy()
  3250. end
  3251. if v:IsA("CharacterMesh") then
  3252. v:Destroy()
  3253. end
  3254. if v:IsA("Model") then
  3255. v:Destroy()
  3256. end
  3257. if v:IsA("Part") or v:IsA("MeshPart") then
  3258. for x, o in pairs(v:GetChildren()) do
  3259. if o:IsA("Decal") then
  3260. o:Destroy()
  3261. end
  3262. end
  3263. coroutine.resume(coroutine.create(function()
  3264. v.Material = "Neon"
  3265. v.CanCollide = false
  3266. local bld = Instance.new("ParticleEmitter",v)
  3267. bld.LightEmission = 1
  3268. bld.Texture = "rbxassetid://284205403"
  3269. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  3270. bld.Rate = 50
  3271. bld.Lifetime = NumberRange.new(1)
  3272. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,0.75,0),NumberSequenceKeypoint.new(1,0,0)})
  3273. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,1,0)})
  3274. bld.Speed = NumberRange.new(0,0)
  3275. bld.VelocitySpread = 50000
  3276. bld.Rotation = NumberRange.new(-500,500)
  3277. bld.RotSpeed = NumberRange.new(-500,500)
  3278. local sbs = Instance.new("BodyPosition", v)
  3279. sbs.P = 3000
  3280. sbs.D = 1000
  3281. sbs.maxForce = Vector3.new(50000000000, 50000000000, 50000000000)
  3282. sbs.position = v.Position + Vector3.new(math.random(-5,5),math.random(-5,5),math.random(-5,5))
  3283. v.Color = Color3.new(1,1,1)
  3284. coroutine.resume(coroutine.create(function()
  3285. for i = 0, 49 do
  3286. swait(1)
  3287. v.Transparency = v.Transparency + 0.02
  3288. end
  3289. CFuncs["Sound"].Create("rbxassetid://1192402877", v, 0.25, 1)
  3290. bld.Speed = NumberRange.new(1,5)
  3291. bld.Acceleration = vt(0,10,0)
  3292. wait(0.5)
  3293. bld.Enabled = false
  3294. wait(3)
  3295. v:Destroy()
  3296. dude:Destroy()
  3297. end))
  3298. end))
  3299. end
  3300. end
  3301. end))
  3302. end)
  3303. ds()
  3304. end
  3305. end
  3306.  
  3307.  
  3308. function FindNearestHead(Position, Distance, SinglePlayer)
  3309. if SinglePlayer then
  3310. return (SinglePlayer.Torso.CFrame.p - Position).magnitude < Distance
  3311. end
  3312. local List = {}
  3313. for i, v in pairs(workspace:GetChildren()) do
  3314. if v:IsA("Model") then
  3315. if v:findFirstChild("Head") then
  3316. if v ~= Character then
  3317. if (v.Head.Position - Position).magnitude <= Distance then
  3318. table.insert(List, v)
  3319. end
  3320. end
  3321. end
  3322. end
  3323. end
  3324. return List
  3325. end
  3326.  
  3327. function FaceMouse()
  3328. Cam = workspace.CurrentCamera
  3329. return {
  3330. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, char.Torso.Position.y, mouse.Hit.p.z)),
  3331. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3332. }
  3333. end
  3334.  
  3335. function FaceMouse2()
  3336. Cam = workspace.CurrentCamera
  3337. return {
  3338. CFrame.new(char.Torso.Position, Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)),
  3339. Vector3.new(mouse.Hit.p.x, mouse.Hit.p.y, mouse.Hit.p.z)
  3340. }
  3341. end
  3342.  
  3343. local ModeOfGlitch = 1
  3344. -- Functions are ready.
  3345. local storehumanoidWS = 16
  3346.  
  3347. function CorruptBlink()
  3348. for i = 0, 14 do
  3349. 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)
  3350. end
  3351. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3352. CFuncs["Sound"].Create("rbxassetid://1177785010", root, 10,1)
  3353. RootPart.CFrame = mouse.Hit *CFrame.new(0,2,0)
  3354. CameraEnshaking(2,10)
  3355. if(ModeOfGlitch == 1 or ModeOfGlitch == 3 or ModeOfGlitch == 4 or ModeOfGlitch == 666666)then for i, v in pairs(FindNearestHead(Torso.CFrame.p, 20)) do
  3356. if v:FindFirstChild('Head') then
  3357. dmg(v)
  3358. end
  3359. end end
  3360. for i = 0, 14 do
  3361. 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)
  3362. end
  3363. sphere(10,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3364. end
  3365.  
  3366. function ExtinctiveHeartbreak()
  3367. local targetted = nil
  3368. if mouse.Target.Parent ~= Character and mouse.Target.Parent.Parent ~= Character and mouse.Target.Parent:FindFirstChildOfClass("Humanoid") ~= nil then
  3369. targetted = mouse.Target.Parent
  3370. end
  3371. if targetted ~= nil then
  3372. attack = true
  3373. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3374. for i = 0, 9 do
  3375. 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("Lime green"),0)
  3376. end
  3377. for i = 0, 24 do
  3378. 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("Lime green"),0)
  3379. end
  3380. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Lime green"))
  3381. local originalpos = root.CFrame
  3382. RootPart.CFrame = targetted.Head.CFrame * CFrame.new(0,-2,2)
  3383. for i = 0, 9 do
  3384. 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("Lime green"),0)
  3385. end
  3386. for i = 0, 24 do
  3387. 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("Lime green"),0)
  3388. end
  3389. hum.WalkSpeed = 0
  3390. targetted.Head.Anchored = true
  3391. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Lime green"))
  3392. for i = 0,2,0.1 do
  3393. swait()
  3394. 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)
  3395. 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)
  3396. 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)
  3397. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(10)),.8)
  3398. 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)
  3399. 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)
  3400. end
  3401. coroutine.resume(coroutine.create(function()
  3402. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("Torso"))
  3403. bld.LightEmission = 0.1
  3404. bld.Texture = "rbxassetid://284205403"
  3405. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3406. bld.Rate = 500
  3407. bld.Lifetime = NumberRange.new(1)
  3408. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3409. bld.Acceleration = vt(0,-25,0)
  3410. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3411. bld.Speed = NumberRange.new(10,50)
  3412. bld.EmissionDirection = "Front"
  3413. bld.VelocitySpread = 25
  3414. bld.Rotation = NumberRange.new(-500,500)
  3415. bld.RotSpeed = NumberRange.new(-500,500)
  3416. end))
  3417. coroutine.resume(coroutine.create(function()
  3418. bld = Instance.new("ParticleEmitter",targetted:WaitForChild("UpperTorso"))
  3419. bld.LightEmission = 0.1
  3420. bld.Texture = "rbxassetid://284205403"
  3421. bld.Color = ColorSequence.new(Color3.new(0.5,0,0))
  3422. bld.Rate = 500
  3423. bld.Lifetime = NumberRange.new(1)
  3424. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  3425. bld.Acceleration = vt(0,-25,0)
  3426. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  3427. bld.Speed = NumberRange.new(10,50)
  3428. bld.EmissionDirection = "Front"
  3429. bld.VelocitySpread = 25
  3430. bld.Rotation = NumberRange.new(-500,500)
  3431. bld.RotSpeed = NumberRange.new(-500,500)
  3432. end))
  3433. CameraEnshaking(5,5)
  3434. game:GetService("Debris"):AddItem(bld,3)
  3435. dmg(targetted)
  3436. CFuncs["Sound"].Create("rbxassetid://429400881", targetted.Head, 1,1)
  3437. for i = 0,1,0.1 do
  3438. swait()
  3439. 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)
  3440. 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)
  3441. 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)
  3442. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(80)),.8)
  3443. 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)
  3444. 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)
  3445. end
  3446. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  3447. for i = 0, 9 do
  3448. 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("Lime green"),0)
  3449. end
  3450. for i = 0, 24 do
  3451. 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("Lime green"),0)
  3452. end
  3453. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Lime green"))
  3454. root.CFrame = originalpos
  3455. for i = 0, 9 do
  3456. 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("Lime green"),0)
  3457. end
  3458. for i = 0, 24 do
  3459. 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("Lime green"),0)
  3460. end
  3461. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Lime green"))
  3462. bld.Enabled = false
  3463. attack = false
  3464. hum.WalkSpeed = storehumanoidWS
  3465. end
  3466. end
  3467. function PureBomb()
  3468. attack = true
  3469.  
  3470. local orb = Instance.new("Part", char)
  3471. orb.Anchored = true
  3472. orb.BrickColor = BrickColor.new("Toothpaste")
  3473. orb.CanCollide = false
  3474. orb.FormFactor = 3
  3475. orb.Name = "Ring"
  3476. orb.Material = "Neon"
  3477. orb.Size = Vector3.new(1, 1, 1)
  3478. orb.Transparency = 0
  3479. orb.TopSurface = 0
  3480. orb.BottomSurface = 0
  3481. local orbm = Instance.new("SpecialMesh", orb)
  3482. orbm.MeshType = "Sphere"
  3483. orbm.Name = "SizeMesh"
  3484. orbm.Scale = vt(0,0,0)
  3485. local scaled = 0.1
  3486. local posid = 0
  3487. CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1,1)
  3488. for i = 0, 5, 0.1 do
  3489. swait()
  3490. scaled = scaled - 0.001
  3491. posid = posid - scaled
  3492. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3493. orbm.Scale = orbm.Scale + vt(scaled,scaled,scaled)
  3494. sphereMKCharge(5,-0.25,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,BrickColor.new("Toothpaste"),10)
  3495. PixelBlockNeg(2,1,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.01,BrickColor.new("Toothpaste"),0)
  3496. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.1)
  3497. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.1)
  3498. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3499. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  3500. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(180),math.rad(20),math.rad(0)),.1)
  3501. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.1)
  3502. end
  3503. for i = 0, 2, 0.1 do
  3504. swait()
  3505. orb.CFrame = rarm.CFrame*CFrame.new(0,-0.1+posid/1.05,0)
  3506. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3507. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3508. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(-50)),.4)
  3509. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(20)),.4)
  3510. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(220),math.rad(20),math.rad(0)),.4)
  3511. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3512. end
  3513. coroutine.resume(coroutine.create(function()
  3514. orb.Anchored = false
  3515. CFuncs["Sound"].Create("rbxassetid://260433768", root, 1.25,1)
  3516. local a = Instance.new("Part",workspace)
  3517. a.Name = "Direction"
  3518. a.Anchored = true
  3519. a.BrickColor = bc("Bright red")
  3520. a.Material = "Neon"
  3521. a.Transparency = 1
  3522. a.CanCollide = false
  3523. local ray = Ray.new(
  3524. orb.CFrame.p, -- origin
  3525. (mouse.Hit.p - orb.CFrame.p).unit * 500 -- direction
  3526. )
  3527. local ignore = orb
  3528. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3529. a.BottomSurface = 10
  3530. a.TopSurface = 10
  3531. local distance = (orb.CFrame.p - position).magnitude
  3532. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3533. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3534. orb.CFrame = a.CFrame
  3535. a:Destroy()
  3536. local bv = Instance.new("BodyVelocity")
  3537. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3538. bv.velocity = orb.CFrame.lookVector*125
  3539. bv.Parent = orb
  3540. local hitted = false
  3541. game:GetService("Debris"):AddItem(orb, 15)
  3542. wait()
  3543. local hit =orb.Touched:connect(function(hit)
  3544. if hitted == false then
  3545. hitted = true
  3546. CameraEnshaking(10,2.5)
  3547. CFuncs["Sound"].Create("rbxassetid://151304356", orb, 5,1)
  3548. MagniDamage(orb, 65, 65,90, 0, "Normal")
  3549. sphere(1,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),1,BrickColor.new("Toothpaste"))
  3550. sphere(2,"Add",orb.CFrame,vt(orbm.Scale.x,orbm.Scale.y,orbm.Scale.z),2,BrickColor.new("Toothpaste"))
  3551. for i = 0, 49 do
  3552. PixelBlock(1,math.random(1,30),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),4,4,4,0.08,BrickColor.new("Toothpaste"),0)
  3553. end
  3554. for i = 0, 9 do
  3555. sphereMK(1,2.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3556. sphereMK(2,5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.05,BrickColor.new("Toothpaste"),0)
  3557. end
  3558. orb.Anchored = true
  3559. orb.Transparency = 1
  3560. wait(8)
  3561. orb:Destroy()
  3562. end
  3563. end)
  3564. end))
  3565. for i = 0, 1, 0.1 do
  3566. swait()
  3567. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-2 - 1 * math.cos(sine / 32))),.4)
  3568. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-3 + 1 * math.cos(sine / 32)),math.rad(0),math.rad(-10)),.4)
  3569. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(0),math.rad(0),math.rad(50)),.4)
  3570. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(20),math.rad(0),math.rad(-50)),.4)
  3571. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(60),math.rad(20),math.rad(50)),.4)
  3572. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(-30 + 5 * math.cos(sine / 30)),math.rad(-20)),.4)
  3573. end
  3574. attack = false
  3575. end
  3576.  
  3577. function ChaosGroundStrike()
  3578. attack = true
  3579. for i = 0, 2, 0.1 do
  3580. swait()
  3581. 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)
  3582. 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)
  3583. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3584. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3585. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3586. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3587. end
  3588. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3589. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3590. CameraEnshaking(4,12)
  3591. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 52.5)) do
  3592. if v:FindFirstChild('Head') then
  3593. dmg(v)
  3594. end
  3595. end
  3596. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3597. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3598. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100,0.1,100),0.01,BrickColor.random())
  3599. for i = 0, 2, 0.1 do
  3600. swait()
  3601. 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)
  3602. 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)
  3603. 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)
  3604. 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)
  3605. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3606. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3607. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3608. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3609. end
  3610. attack = false
  3611. end
  3612.  
  3613. function InsaneGroundStrike()
  3614. attack = true
  3615. chatfunc("Succumb to the insanity!",Color3.new(0,0,0))
  3616. for i = 0, 8, 0.1 do
  3617. swait()
  3618. 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)
  3619.  
  3620. 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)
  3621. 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)
  3622. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3623. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  3624. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  3625. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  3626. end
  3627. CFuncs["Sound"].Create("rbxassetid://438666141", root, 7.5,1)
  3628. CFuncs["Sound"].Create("rbxassetid://1208650519", root, 7.5, 1)
  3629. CameraEnshaking(8,24)
  3630. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 105)) do
  3631. if v:FindFirstChild('Head') then
  3632. dmg(v)
  3633. end
  3634. end
  3635. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1,BrickColor.random())
  3636. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2,BrickColor.random())
  3637. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(200,0.1,200),0.01,BrickColor.random())
  3638. CFuncs["Sound"].Create("rbxassetid://907329669", root, 10, 1)
  3639. chatfunc("Leave the dead where they fall!",Color3.new(0,0,0))
  3640. for i = 0, 2, 0.1 do
  3641. swait()
  3642. 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)
  3643. 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)
  3644. 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)
  3645. 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)
  3646. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3647. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  3648. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  3649. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  3650. end
  3651. attack = false
  3652. end
  3653.  
  3654. function Starfall()
  3655. attack = true
  3656. hum.WalkSpeed = 0
  3657. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3658. for i = 0, 5, 0.1 do
  3659. swait()
  3660. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3661. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3662. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3663. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3664. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3665. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3666. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3667. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3668. end
  3669. local Overed = false
  3670. CameraEnshaking(2,20)
  3671. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3672. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3673. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3674. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3675. local orb = Instance.new("Part", char)
  3676. orb.Anchored = true
  3677. orb.BrickColor = BrickColor.new("Toothpaste")
  3678. orb.CanCollide = false
  3679. orb.FormFactor = 3
  3680. orb.Name = "Remenant"
  3681. orb.Material = "Neon"
  3682. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3683. orb.Size = Vector3.new(1, 1, 1)
  3684. orb.Transparency = 1
  3685. orb.TopSurface = 0
  3686. orb.BottomSurface = 0
  3687. hum.WalkSpeed = storehumanoidWS
  3688. coroutine.resume(coroutine.create(function()
  3689. for i = 0, 9 do
  3690. swait(10)
  3691. local lb = Instance.new("Part")
  3692. lb.Color = MAINRUINCOLOR.Color
  3693. lb.CanCollide = false
  3694. lb.Material = "Neon"
  3695. lb.Anchored = true
  3696. lb.TopSurface = 0
  3697. lb.BottomSurface = 0
  3698. lb.Transparency = 0
  3699. lb.Size = vt(1,1,1)
  3700. lb.CFrame = orb.CFrame*CFrame.new(math.random(-150,150),0,math.random(-150,150))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3701. lb.Anchored = false
  3702. lb.Parent = char
  3703. local thingery = Instance.new("SpecialMesh",lb)
  3704. thingery.MeshType = "Sphere"
  3705. thingery.Scale = vt(20,20,20)
  3706. game:GetService("Debris"):AddItem(lb, 10)
  3707. local bv = Instance.new("BodyVelocity")
  3708. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3709. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3710. bv.Parent = lb
  3711. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3712. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3713. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3714. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3715. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3716. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3717. local hitted = false
  3718. coroutine.resume(coroutine.create(function()
  3719. while true do
  3720. swait(1)
  3721. if lb.Parent ~= nil and hitted == false then
  3722. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3723. elseif lb.Parent == nil then
  3724. break
  3725. end
  3726. end
  3727. end))
  3728.  
  3729. game:GetService("Debris"):AddItem(a, 0.1)
  3730.  
  3731. coroutine.resume(coroutine.create(function()
  3732. swait(1)
  3733. lb.Touched:connect(function(hit)
  3734. if hitted == false then
  3735. hitted = true
  3736. lb.Transparency = 1
  3737. lb.Anchored = true
  3738. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3739. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3740. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3741. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3742. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3743. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3744. MagniDamage(lb, 45, 45,85, 0, "Normal")
  3745. CameraEnshaking(1,5)
  3746. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3747. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3748. for i = 0, 9 do
  3749. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3750. end
  3751. for i = 0, 49 do
  3752. swait()
  3753. MagniDamage(lb, 30, 2,4, 0, "Normal")
  3754. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3755. end
  3756. end
  3757. end)
  3758. end))
  3759. end
  3760. Overed = true
  3761. orb:Destroy()
  3762. end))
  3763.  
  3764. attack = false
  3765. end
  3766.  
  3767. function StarfallEX()
  3768. attack = true
  3769. hum.WalkSpeed = 0
  3770. CFuncs["Sound"].Create("rbxassetid://136007472", root, 5, 1)
  3771. for i = 0, 5, 0.1 do
  3772. swait()
  3773. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3774. PixelBlockNeg(1,math.random(1,2),"Add",sorb2.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3775. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  3776. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  3777. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(-5 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  3778. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  3779. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(70 + 2.5 * math.cos(sine / 28))),.1)
  3780. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(130),math.rad(0),math.rad(-70 - 2.5 * math.cos(sine / 28))),.1)
  3781. end
  3782. local Overed = false
  3783. CameraEnshaking(2,20)
  3784. sphere(1.5,"Add",sorb.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3785. sphere(1.5,"Add",sorb2.CFrame,vt(0,0,0),0.25,MAINRUINCOLOR)
  3786. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  3787. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 1, 1)
  3788. local orb = Instance.new("Part", char)
  3789. orb.Anchored = true
  3790. orb.BrickColor = BrickColor.new("Toothpaste")
  3791. orb.CanCollide = false
  3792. orb.FormFactor = 3
  3793. orb.Name = "Remenant"
  3794. orb.Material = "Neon"
  3795. orb.CFrame = root.CFrame*CFrame.new(0,150,0)
  3796. orb.Size = Vector3.new(1, 1, 1)
  3797. orb.Transparency = 1
  3798. orb.TopSurface = 0
  3799. orb.BottomSurface = 0
  3800. hum.WalkSpeed = storehumanoidWS
  3801. coroutine.resume(coroutine.create(function()
  3802. for i = 1, 5 do
  3803. swait(10)
  3804. local lb = Instance.new("Part")
  3805. lb.Color = MAINRUINCOLOR.Color
  3806. lb.CanCollide = false
  3807. lb.Material = "Neon"
  3808. lb.Anchored = true
  3809. lb.TopSurface = 0
  3810. lb.BottomSurface = 0
  3811. lb.Transparency = 0
  3812. lb.Size = vt(1,1,1)
  3813. lb.CFrame = orb.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(-90 + math.random(-15,15)),0,math.rad(math.random(-15,15)))
  3814. lb.Anchored = false
  3815. lb.Parent = char
  3816. local thingery = Instance.new("SpecialMesh",lb)
  3817. thingery.MeshType = "Sphere"
  3818. thingery.Scale = vt(20,20,20)
  3819. game:GetService("Debris"):AddItem(lb, 10)
  3820. local bv = Instance.new("BodyVelocity")
  3821. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3822. bv.velocity = lb.CFrame.lookVector*math.random(75,250)
  3823. bv.Parent = lb
  3824. sphere(2.5,"Add",lb.CFrame,vt(50,50,0),0.25,MAINRUINCOLOR)
  3825. sphere(5,"Add",lb.CFrame,vt(50,50,0),0.5,MAINRUINCOLOR)
  3826. CFuncs["Sound"].Create("rbxassetid://633627961",lb, 5, 1)
  3827. CFuncs["Sound"].Create("rbxassetid://1002081188", lb, 5, 1)
  3828. CFuncs["Sound"].Create("rbxassetid://741272936", lb, 5, 1)
  3829. CFuncs["Sound"].Create("rbxassetid://1192402877", lb, 5, 1)
  3830. local hitted = false
  3831. coroutine.resume(coroutine.create(function()
  3832. while true do
  3833. swait(1)
  3834. if lb.Parent ~= nil and hitted == false then
  3835. PixelBlockNeg(5,math.random(1,2),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),10,10,10,0.1,MAINRUINCOLOR,-2)
  3836. elseif lb.Parent == nil then
  3837. break
  3838. end
  3839. end
  3840. end))
  3841.  
  3842. game:GetService("Debris"):AddItem(a, 0.1)
  3843.  
  3844. coroutine.resume(coroutine.create(function()
  3845. swait(5)
  3846. lb.Touched:connect(function(hit)
  3847. if hitted == false and not hit:IsDescendantOf(Character) then
  3848. hitted = true
  3849. lb.Transparency = 1
  3850. lb.Anchored = true
  3851. CFuncs["Sound"].Create("rbxassetid://1177785010", lb, 5, 1)
  3852. CFuncs["Sound"].Create("rbxassetid://192410089", lb, 5, 0.7)
  3853. CFuncs["Sound"].Create("rbxassetid://579687077", lb, 2.5, 0.75)
  3854. CFuncs["Sound"].Create("rbxassetid://1060191237", lb, 3, 0.75)
  3855. CFuncs["Sound"].Create("rbxassetid://164881112", lb, 5, 1)
  3856. CFuncs["Sound"].Create("rbxassetid://429123896", lb, 3.5, 0.85)
  3857. MagniDamage(lb, 45, 90,170, 0, "Normal")
  3858. CameraEnshaking(1,5)
  3859. sphere(8,"Add",lb.CFrame,vt(20,20,20),1,MAINRUINCOLOR)
  3860. sphere(16,"Add",lb.CFrame,vt(20,20,20),2,MAINRUINCOLOR)
  3861. for i = 0, 9 do
  3862. sphereMK(1,math.random(1,3),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,50,-0.1,MAINRUINCOLOR,0)
  3863. end
  3864. for i = 0, 49 do
  3865. swait()
  3866. MagniDamage(lb, 60, 20,40, 0, "Normal")
  3867. PixelBlock(4,math.random(1,30),"Add",lb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),16,16,16,0.16,MAINRUINCOLOR,0)
  3868. end
  3869. end
  3870. end)
  3871. end))
  3872. end
  3873. Overed = true
  3874. orb:Destroy()
  3875. end))
  3876.  
  3877. attack = false
  3878. end
  3879.  
  3880.  
  3881. function StarDivision()
  3882. attack = true
  3883. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2, 1.5)
  3884. for i = 0, 2, 0.1 do
  3885. swait()
  3886. PixelBlockNeg(1,math.random(1,2),"Add",sorb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1,1,1,0.02,MAINRUINCOLOR,0)
  3887. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.6)
  3888. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.6)
  3889. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(90)),.6)
  3890. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(-90)),.6)
  3891. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.6)
  3892. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.6)
  3893. end
  3894. local orb = Instance.new("Part", char)
  3895. orb.BrickColor = MAINRUINCOLOR
  3896. orb.CanCollide = false
  3897. orb.FormFactor = 3
  3898. orb.Name = "Ring"
  3899. orb.Material = "Neon"
  3900. orb.Size = Vector3.new(1, 1, 1)
  3901. orb.Transparency = 0
  3902. orb.TopSurface = 0
  3903. orb.BottomSurface = 0
  3904. local orbm = Instance.new("SpecialMesh", orb)
  3905. orbm.MeshType = "Sphere"
  3906. orbm.Name = "SizeMesh"
  3907. orbm.Scale = vt(2,2,2)
  3908. local a = Instance.new("Part",workspace)
  3909. a.Name = "Direction"
  3910. a.Anchored = true
  3911. a.BrickColor = bc("Bright red")
  3912. a.Material = "Neon"
  3913. a.Transparency = 1
  3914. a.CanCollide = false
  3915. local ray = Ray.new(
  3916. sorb.CFrame.p, -- origin
  3917. (mouse.Hit.p - sorb.CFrame.p).unit * 500 -- direction
  3918. )
  3919. local ignore = sorb
  3920. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  3921. a.BottomSurface = 10
  3922. a.TopSurface = 10
  3923. local distance = (sorb.CFrame.p - position).magnitude
  3924. a.Size = Vector3.new(0.1, 0.1, 0.1)
  3925. a.CFrame = CFrame.new(sorb.CFrame.p, position) * CFrame.new(0, 0, 0)
  3926. orb.CFrame = a.CFrame
  3927. a:Destroy()
  3928. local bv = Instance.new("BodyVelocity")
  3929. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  3930. bv.velocity = orb.CFrame.lookVector*100
  3931. bv.Parent = orb
  3932. local hitted = false
  3933. game:GetService("Debris"):AddItem(orb, 10)
  3934. CFuncs["Sound"].Create("rbxassetid://376970418",orb, 1.5, 1.15)
  3935. CFuncs["Sound"].Create("rbxassetid://633627961",orb, 1, 1.15)
  3936. CFuncs["Sound"].Create("rbxassetid://1002081188", orb, 1, 1.15)
  3937. CFuncs["Sound"].Create("rbxassetid://741272936", orb, 1, 1.15)
  3938. CFuncs["Sound"].Create("rbxassetid://1192402877", orb, 1, 1.15)
  3939. coroutine.resume(coroutine.create(function()
  3940. while true do
  3941. swait(1)
  3942. if orb.Parent ~= nil and hitted == false then
  3943. PixelBlockNeg(1,math.random(1,2),"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),1,1,1,0.02,MAINRUINCOLOR,-2)
  3944. elseif orb.Parent == nil then
  3945. break
  3946. end
  3947. end
  3948. end))
  3949. coroutine.resume(coroutine.create(function()
  3950. swait(1)
  3951. orb.Touched:connect(function(hit)
  3952. if hitted == false then
  3953. hitted = true
  3954. game:GetService("Debris"):AddItem(orb, 5)
  3955. orb.Transparency = 1
  3956. orb.Anchored = true
  3957. local elocacenter = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3958. elocacenter.Anchored = true
  3959. elocacenter.CFrame = orb.CFrame
  3960. elocacenter.Orientation = vt(0,0,0)
  3961. local eloca1 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3962. eloca1.Anchored = true
  3963. eloca1.CFrame = elocacenter.CFrame
  3964. local eloca2 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3965. eloca2.Anchored = true
  3966. eloca2.CFrame = elocacenter.CFrame
  3967. local eloca3 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3968. eloca3.Anchored = true
  3969. eloca3.CFrame = elocacenter.CFrame
  3970. local eloca4 = CreateParta(m,1,1,"SmoothPlastic",BrickColor.random())
  3971. eloca4.Anchored = true
  3972. eloca4.CFrame = elocacenter.CFrame
  3973. local lookavec = 0
  3974. local speeds = 0
  3975. CameraEnshaking(1,1)
  3976. CFuncs["Sound"].Create("rbxassetid://419447292", elocacenter, 10,1)
  3977. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3978. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3979. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3980. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3981. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  3982. for i = 0, 99 do
  3983. swait()
  3984. lookavec = lookavec + 1
  3985. speeds = speeds + 0.1
  3986. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  3987. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  3988. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3989.  
  3990. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  3991. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3992.  
  3993. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  3994. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3995.  
  3996. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  3997. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  3998. end
  3999.  
  4000. for i = 0, 149 do
  4001. swait()
  4002. speeds = speeds + 0.1
  4003. elocacenter.CFrame = elocacenter.CFrame*CFrame.Angles(0,math.rad(speeds),0)
  4004. eloca1.CFrame = elocacenter.CFrame*CFrame.new(lookavec,0,0)
  4005. PixelBlockNeg(2,math.random(1,2),"Add",eloca1.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4006.  
  4007. eloca2.CFrame = elocacenter.CFrame*CFrame.new(-lookavec,0,0)
  4008. PixelBlockNeg(2,math.random(1,2),"Add",eloca2.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4009.  
  4010. eloca3.CFrame = elocacenter.CFrame*CFrame.new(0,0,lookavec)
  4011. PixelBlockNeg(2,math.random(1,2),"Add",eloca3.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4012.  
  4013. eloca4.CFrame = elocacenter.CFrame*CFrame.new(0,0,-lookavec)
  4014. PixelBlockNeg(2,math.random(1,2),"Add",eloca4.CFrame*CFrame.Angles(math.rad(90 + math.random(-10,10)),math.rad(math.random(-10,10)),math.rad(math.random(-10,10))),5,5,5,0.05,MAINRUINCOLOR,-2)
  4015. end
  4016. for i, v in pairs(FindNearestHead(elocacenter.CFrame.p, 125)) do
  4017. if v:FindFirstChild('Head') then
  4018. dmg(v)
  4019. end
  4020. end
  4021. CameraEnshaking(7,30)
  4022. MagniDamage(elocacenter, 225, 50,75, 0, "Normal")
  4023. CFuncs["Sound"].Create("rbxassetid://468991944", char, 4, 1)
  4024. CFuncs["Sound"].Create("rbxassetid://533636230", char, 5, 0.75)
  4025. CFuncs["Sound"].Create("rbxassetid://419447292", char, 1,1)
  4026. CFuncs["Sound"].Create("rbxassetid://421328847", char, 1,1)
  4027. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),-0.25,MAINRUINCOLOR)
  4028. sphere(1,"Add",elocacenter.CFrame,vt(125,90000,125),0.5,MAINRUINCOLOR)
  4029. sphere(1,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4030. sphere(2,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4031. sphere(3,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4032. sphere(4,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4033. sphere(5,"Add",elocacenter.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  4034. for i = 0, 24 do
  4035. sphereMK(1,2,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,100,-0.5,MAINRUINCOLOR,0)
  4036. sphereMK(2,4,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,75,-0.25,MAINRUINCOLOR,0)
  4037. sphereMK(3,6,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,50,-0.25,MAINRUINCOLOR,0)
  4038. sphereMK(4,8,"Add",elocacenter.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25,25,25,-0.25,MAINRUINCOLOR,0)
  4039. end
  4040. coroutine.resume(coroutine.create(function()
  4041. for i = 0, 499 do
  4042. swait(1)
  4043. MagniDamage(elocacenter, 90, 1,5, 0, "Normal")
  4044. PixelBlockNeg(2,math.random(1,10),"Add",elocacenter.CFrame*CFrame.new(math.random(-75,75),0,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-30,30)),math.rad(math.random(-30,30)),math.rad(math.random(-30,30))),15,15,15,0.15,MAINRUINCOLOR,-5)
  4045. end
  4046. elocacenter:Destroy()
  4047. eloca1:Destroy()
  4048. eloca2:Destroy()
  4049. eloca3:Destroy()
  4050. eloca4:Destroy()
  4051. end))
  4052. end
  4053. end)
  4054. end))
  4055. attack = false
  4056. end
  4057.  
  4058.  
  4059. function UniversalCollapse()
  4060. attack = true
  4061. local speedearn = 0
  4062. hum.WalkSpeed = 0
  4063. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 1)
  4064. for i = 0, 10, 0.1 do
  4065. swait()
  4066. speedearn = speedearn + 0.1
  4067. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4068. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4069. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4070. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4071. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4072. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  4073. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  4074. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4075. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  4076. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  4077. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  4078. end
  4079. CameraEnshaking(5,45)
  4080. sphere(5,"Add",root.CFrame,vt(0,0,0),25,MAINRUINCOLOR)
  4081. CFuncs["Sound"].Create("rbxassetid://1177785010", char, 10, 1)
  4082. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4083. if v:FindFirstChild('Head') then
  4084. dmg(v)
  4085. end
  4086. end
  4087. hum.WalkSpeed = storehumanoidWS
  4088. attack = false
  4089. end
  4090. function ChaosBegone()
  4091. attack = true
  4092. local speedearn = 0
  4093. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 10, 0.75)
  4094. for i = 0, 10, 0.1 do
  4095. swait()
  4096. speedearn = speedearn + 0.1
  4097. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4098. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4099. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4100. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4101. sphereMK(1+speedearn,speedearn,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),5,5,10*speedearn,-0.05,MAINRUINCOLOR,0)
  4102. 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)
  4103. 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)
  4104. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4105. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4106. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(-20)),.2)
  4107. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(140),math.rad(0),math.rad(20)),.2)
  4108. end
  4109. CFuncs["Sound"].Create("rbxassetid://438666141", char, 7.5,1)
  4110. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 7.5, 1)
  4111. CameraEnshaking(5,25)
  4112. for i, v in pairs(FindNearestHead(Torso.CFrame.p, 1234567890)) do
  4113. if v:FindFirstChild('Head') then
  4114. dmg(v)
  4115. end
  4116. end
  4117. sphere(5,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),1*1000,BrickColor.random())
  4118. sphere(10,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(0,0,0),2*1000,BrickColor.random())
  4119. sphere(1,"Add",root.CFrame*CFrame.new(0,-2.9,0),vt(100*1000,0.1,100*1000),0.01,BrickColor.random())
  4120. for i = 0, 3, 0.1 do
  4121. swait()
  4122. 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)
  4123. 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)
  4124. 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)
  4125. 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)
  4126. 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)
  4127. 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)
  4128. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0)*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4129. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10),math.rad(0),math.rad(0)),.4)
  4130. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(30)),.4)
  4131. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-50),math.rad(0),math.rad(-30)),.4)
  4132. end
  4133. attack = false
  4134. end
  4135.  
  4136. function orb_spawn_norm(positted,timer,color,MagniBoost,min,max,volEx,ShakePower,volSummon)
  4137. local orb = Instance.new("Part", char)
  4138. orb.Anchored = true
  4139. orb.BrickColor = color
  4140. orb.CanCollide = false
  4141. orb.FormFactor = 3
  4142. orb.Name = "Ring"
  4143. orb.Material = "Neon"
  4144. orb.Size = Vector3.new(1, 1, 1)
  4145. orb.Transparency = 0
  4146. orb.TopSurface = 0
  4147. orb.BottomSurface = 0
  4148. local orbm = Instance.new("SpecialMesh", orb)
  4149. orbm.MeshType = "Sphere"
  4150. orb.CFrame = positted
  4151. orbm.Name = "SizeMesh"
  4152. orbm.Scale = vt(1,1,1)
  4153. coroutine.wrap(function()
  4154. while orb and orb.Parent do
  4155. if glitchymode then
  4156. local val = math.random(1,255)
  4157. local color = Color3.fromRGB(val,val,val)
  4158. orb.Color = color
  4159. end
  4160. swait()
  4161. end
  4162. end)()
  4163. CFuncs["Sound"].Create("rbxassetid://183763506", orb, volSummon, 1)
  4164. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.05,orb.BrickColor)
  4165. --[[for i = 0, 2 do
  4166. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4167. end]]--
  4168. coroutine.resume(coroutine.create(function()
  4169. wait(timer)
  4170. CameraEnshaking(3,ShakePower)
  4171. orb.Transparency = 1
  4172. MagniDamage(orb, 3.5*MagniBoost, min,max, 0, "Normal")
  4173. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.1*MagniBoost,orb.BrickColor)
  4174. --[[for i = 0, 4 do
  4175. sphereMK(5,0.15*MagniBoost,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4176. end]]--
  4177. CFuncs["Sound"].Create("rbxassetid://192410089", orb, volEx, 0.7)
  4178. wait(3)
  4179. orb:Destroy()
  4180. end))
  4181. end
  4182.  
  4183. function orb_spawn(positted,timer)
  4184. local orb = Instance.new("Part", char)
  4185. orb.Anchored = true
  4186. orb.BrickColor = BrickColor.new("White")
  4187.  
  4188. orb.CanCollide = false
  4189. orb.FormFactor = 3
  4190. orb.Name = "Ring"
  4191. orb.Material = "Neon"
  4192. orb.Size = Vector3.new(1, 1, 1)
  4193. orb.Transparency = 0
  4194. orb.TopSurface = 0
  4195. orb.BottomSurface = 0
  4196. local orbm = Instance.new("SpecialMesh", orb)
  4197. orbm.MeshType = "Sphere"
  4198. orb.CFrame = positted
  4199. orbm.Name = "SizeMesh"
  4200. orbm.Scale = vt(1,1,1)
  4201. CFuncs["Sound"].Create("rbxassetid://183763506", orb, 1.5, 1)
  4202. sphere(2.5,"Add",orb.CFrame,vt(1,1,1),0.025,orb.BrickColor)
  4203. coroutine.wrap(function()
  4204. while orb and orb.Parent do
  4205. if glitchymode then
  4206. local val = math.random(1,255)
  4207. local color = Color3.fromRGB(val,val,val)
  4208. orb.Color = color
  4209. end
  4210. swait()
  4211. end
  4212. end)()
  4213. for i = 0, 2 do
  4214. sphereMK(5,0.15,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),1.5,1.5,7.5,-0.015,orb.BrickColor,0)
  4215. end
  4216.  
  4217. coroutine.resume(coroutine.create(function()
  4218. wait(timer)
  4219. CameraEnshaking(3,2)
  4220. orb.Transparency = 1
  4221. MagniDamage(orb, 17.5, 10,50, 0, "Normal")
  4222. sphere(5,"Add",orb.CFrame,vt(1,1,1),0.5,orb.BrickColor)
  4223. for i = 0, 4 do
  4224. sphereMK(5,0.65,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,orb.BrickColor,0)
  4225. end
  4226. CFuncs["Sound"].Create("rbxassetid://192410089", orb, 2, 0.7)
  4227. wait(3)
  4228. orb:Destroy()
  4229. end))
  4230. end
  4231.  
  4232. function scattercorrupt()
  4233. attack = true
  4234. local rot = 0
  4235. local randomrotations = math.random(1,2)
  4236. local lookv = 2.5
  4237. local power = 5
  4238. sphere(1,"Add",root.CFrame,vt(1,100000,1),0.5,BrickColor.new("Royal purple"))
  4239. sphere(1,"Add",root.CFrame,vt(1,1,1),0.75,BrickColor.new("Royal purple"))
  4240. for i = 0, 9 do
  4241. sphereMK(1,1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),10,10,45,-0.1,BrickColor.new("Royal purple"),0)
  4242. end
  4243. CFuncs["Sound"].Create("rbxassetid://180204650", char, 2.5, 0.6)
  4244. CFuncs["Sound"].Create("rbxassetid://233856079", char, 1, 0.5)
  4245. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 2.5, 1)
  4246. CFuncs["Sound"].Create("rbxassetid://239000203", char, 0.5,0.75)
  4247. CFuncs["Sound"].Create("rbxassetid://579687077", char, 0.5,0.5)
  4248. local hite = Instance.new("Part", char)
  4249. hite.Anchored = true
  4250. hite.CanCollide = false
  4251. hite.FormFactor = 3
  4252. hite.Name = "Ring"
  4253. hite.Material = "Neon"
  4254. hite.Size = Vector3.new(1, 1, 1)
  4255. hite.Transparency = 1
  4256. hite.TopSurface = 0
  4257. hite.BottomSurface = 0
  4258. hite.CFrame = root.CFrame*CFrame.new(0,-2.5,0)
  4259. local rem = Instance.new("Part", char)
  4260. rem.Anchored = true
  4261. rem.CanCollide = false
  4262. rem.FormFactor = 3
  4263. rem.Name = "Ring"
  4264. rem.Material = "Neon"
  4265. rem.Size = Vector3.new(1, 1, 1)
  4266. rem.Transparency = 1
  4267. rem.TopSurface = 0
  4268. rem.BottomSurface = 0
  4269. rem.CFrame = hite.CFrame
  4270. local rem2 = rem:Clone()
  4271. rem2.Parent = char
  4272. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4273. local rem3 = rem:Clone()
  4274. rem3.Parent = char
  4275. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4276. local rem4 = rem:Clone()
  4277. rem4.Parent = char
  4278. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4279. hite:Destroy()
  4280. coroutine.resume(coroutine.create(function()
  4281. for i = 0, 24 do
  4282. swait(1)
  4283. if randomrotations == 1 then
  4284. rot = rot + 1
  4285. elseif randomrotations == 2 then
  4286. rot = rot - 1
  4287. end
  4288. power = power + 0.5
  4289. lookv = lookv + 7.5
  4290. rem.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(rot),0)
  4291. rem2.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(90),0)
  4292. rem3.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(180),0)
  4293. rem4.CFrame = rem.CFrame*CFrame.Angles(0,math.rad(270),0)
  4294. orb_spawn_norm(rem.CFrame + rem.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4295. orb_spawn_norm(rem2.CFrame + rem2.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4296. orb_spawn_norm(rem3.CFrame + rem3.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4297. orb_spawn_norm(rem4.CFrame + rem4.CFrame.lookVector*lookv,3,BrickColor.new("Royal purple"),power,25,75,10,power/5,7.5)
  4298. end
  4299. end))
  4300. attack = false
  4301. end
  4302. function yinyangi()
  4303. attack = true
  4304. for i = 0, 2, 0.1 do
  4305. swait()
  4306. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  4307. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  4308. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  4309. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  4310. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.2)
  4311. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.2)
  4312. end
  4313. local bv = Instance.new("BodyVelocity")
  4314. bv.maxForce = Vector3.new(1e9, 1e9, 1e9)
  4315. bv.velocity = root.CFrame.lookVector*175
  4316. bv.Parent = root
  4317. for Rotations = 0, 9 do
  4318.  
  4319. for i = 0, 1, 0.5 do
  4320. swait()
  4321. bv.velocity = root.CFrame.lookVector*175
  4322. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4323. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4324. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(90)),.5)
  4325. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4326. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4327. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4328. end
  4329.  
  4330. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4331. for i = 0, 1, 0.5 do
  4332. swait()
  4333. bv.velocity = root.CFrame.lookVector*175
  4334. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4335. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4336. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(180)),.5)
  4337. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4338. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4339. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4340. end
  4341.  
  4342. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4343. for i = 0, 1, 0.5 do
  4344. swait()
  4345. bv.velocity = root.CFrame.lookVector*175
  4346. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4347. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4348. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(270)),.5)
  4349. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4350. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4351. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4352. end
  4353.  
  4354. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4355. for i = 0, 1, 0.5 do
  4356. swait()
  4357. bv.velocity = root.CFrame.lookVector*175
  4358. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.5)
  4359. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.5)
  4360. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(90),math.rad(0),math.rad(360)),.5)
  4361. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.5)
  4362. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(90)),.5)
  4363. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0),math.rad(0),math.rad(-90)),.5)
  4364. end
  4365.  
  4366. orb_spawn(rarm.CFrame*CFrame.new(0,-1,0),2.5)
  4367. end
  4368. bv:Destroy()
  4369. attack = false
  4370. end
  4371.  
  4372. function JusticeBeam()
  4373. attack = true
  4374.  
  4375. local rngb = Instance.new("Part", char)
  4376. rngb.Anchored = true
  4377. rngb.BrickColor = origcolor
  4378. rngb.CanCollide = false
  4379. rngb.FormFactor = 3
  4380. rngb.Name = "Ring"
  4381. rngb.Material = "Neon"
  4382. rngb.Size = Vector3.new(1, 0.05, 1)
  4383. rngb.Transparency = 1
  4384. rngb.TopSurface = 0
  4385. rngb.BottomSurface = 0
  4386. local rngmb = Instance.new("SpecialMesh", rngb)
  4387. rngmb.MeshType = "Brick"
  4388. rngmb.Name = "SizeMesh"
  4389. rngmb.Scale = vt(0,1,0)
  4390.  
  4391. local orb = rngb:Clone()
  4392. orb.Parent = char
  4393. orb.Transparency = 0
  4394. orb.BrickColor = BrickColor.new("White")
  4395. orb.Size = vt(1,1,1)
  4396. local orbmish = orb.SizeMesh
  4397. orbmish.Scale = vt(0,0,0)
  4398. orbmish.MeshType = "Sphere"
  4399.  
  4400. local orbe = rngb:Clone()
  4401. orbe.Parent = char
  4402. orbe.Transparency = 0.5
  4403. orbe.BrickColor = BrickColor.new("New Yeller")
  4404. orbe.Size = vt(1,1,1)
  4405. local orbmish2 = orbe.SizeMesh
  4406. orbmish2.Scale = vt(0,0,0)
  4407. orbmish2.MeshType = "Sphere"
  4408. orbe.Color = Color3.new(1,1,1)
  4409.  
  4410. rngb:Destroy()
  4411. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4412. local scaled = 1
  4413. for i = 0,5,0.1 do
  4414. swait()
  4415. scaled = scaled - 0.02
  4416. if rainbowmode == true then
  4417. orbe.Color = Color3.new(r/255,g/255,b/255)
  4418. end
  4419. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4420. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4421. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4422. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4423. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4424. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4425. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4426. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4427. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4428. 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(0)),.3)
  4429. 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(10),math.rad(0)),.3)
  4430. RootPart.CFrame = FaceMouse()[1]
  4431. end]]--
  4432. for i = 0,5,0.1 do
  4433. swait()
  4434. if rainbowmode == true then
  4435. orbe.Color = Color3.new(r/255,g/255,b/255)
  4436. end
  4437. if glitchymode then
  4438. local val = math.random(1,255)
  4439. local color = Color3.fromRGB(val,val,val)
  4440. orbe.Color = color
  4441. end
  4442. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4443. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4444. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4445. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4446. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4447. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4448. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4449. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4450. end
  4451. orbe.Transparency = 1
  4452. orb.Transparency = 1
  4453. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4454. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4455. local a2 = Instance.new("Part",Character)
  4456. a2.Name = "Direction"
  4457. a2.Anchored = true
  4458. a2.BrickColor = bc("New Yeller")
  4459. a2.Color = Color3.new(1,1,1)
  4460. a2.Material = "Neon"
  4461. a2.Transparency = 0.5
  4462. a2.Shape = "Cylinder"
  4463. a2.CanCollide = false
  4464. local ba = Instance.new("Part",Character)
  4465. ba.Name = "HitDirect"
  4466. ba.Anchored = true
  4467. ba.BrickColor = bc("Cool yellow")
  4468. ba.Material = "Neon"
  4469. ba.Transparency = 1
  4470. ba.CanCollide = false
  4471. local ray = Ray.new(
  4472. orb.CFrame.p, -- origin
  4473. root.CFrame.lookVector.unit * 1000 -- direction
  4474. )
  4475. local ignore = Character
  4476. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4477. a2.Transparency = .75
  4478. a2.BottomSurface = 10
  4479. a2.TopSurface = 10
  4480. local distance = (orb.CFrame.p - position).magnitude
  4481. a2.Size = Vector3.new(distance, 1, 1)
  4482. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4483. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4484. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4485. game:GetService("Debris"):AddItem(a2, 20)
  4486. game:GetService("Debris"):AddItem(ba, 20)
  4487. local msh2 = Instance.new("SpecialMesh",a2)
  4488. msh2.MeshType = "Cylinder"
  4489. msh2.Scale = vt(1,6*5,6*5)
  4490.  
  4491. local snd = CFuncs.Sound.Create("rbxassetid://294188875", Torso, 10, 1)
  4492. for i = 1, 80*2 do
  4493. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  4494. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  4495. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  4496. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  4497. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(90),0,math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  4498. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(90),0,math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  4499. swait()
  4500. CameraEnshaking(1,5)
  4501. a2.Color = Color3.new(1,1,1)
  4502. a2.Transparency = .25
  4503. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4504. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4505. ray = Ray.new(
  4506. orb.CFrame.p, -- origin
  4507. root.CFrame.lookVector.unit * 1000 -- direction
  4508. )
  4509. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4510. distance = (orb.CFrame.p - position).magnitude
  4511. if typrot == 1 then
  4512. rotation = rotation + 2.5
  4513. elseif typrot == 2 then
  4514. rotation = rotation - 2.5
  4515. end
  4516. a2.Size = Vector3.new(distance, 1, 1)
  4517. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4518. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4519. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4520. msh2.Scale = msh2.Scale - vt(0,.19,.19)
  4521. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4522. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4523. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4524. end
  4525. a2:Destroy()
  4526. ba:Destroy()
  4527. orb:Destroy()
  4528. orbe:Destroy()
  4529. attack = false
  4530. end
  4531.  
  4532. function Wip()
  4533. attack = true
  4534.  
  4535. local rngb = Instance.new("Part", char)
  4536. rngb.Anchored = true
  4537. rngb.BrickColor = origcolor
  4538. rngb.CanCollide = false
  4539. rngb.FormFactor = 3
  4540. rngb.Name = "Ring"
  4541. rngb.Material = "Neon"
  4542. rngb.Size = Vector3.new(1, 0.05, 1)
  4543. rngb.Transparency = 1
  4544. rngb.TopSurface = 0
  4545. rngb.BottomSurface = 0
  4546. local rngmb = Instance.new("SpecialMesh", rngb)
  4547. rngmb.MeshType = "Brick"
  4548. rngmb.Name = "SizeMesh"
  4549. rngmb.Scale = vt(0,1,0)
  4550.  
  4551. local orb = rngb:Clone()
  4552. orb.Parent = char
  4553. orb.Transparency = 0
  4554. orb.BrickColor = BrickColor.new("White")
  4555. orb.Size = vt(1,1,1)
  4556. local orbmish = orb.SizeMesh
  4557. orbmish.Scale = vt(0,0,0)
  4558. orbmish.MeshType = "Sphere"
  4559.  
  4560. local orbe = rngb:Clone()
  4561. orbe.Parent = char
  4562. orbe.Transparency = 0.5
  4563. orbe.BrickColor = BrickColor.new("New Yeller")
  4564. orbe.Size = vt(1,1,1)
  4565. local orbmish2 = orbe.SizeMesh
  4566. orbmish2.Scale = vt(0,0,0)
  4567. orbmish2.MeshType = "Sphere"
  4568. orbe.Color = Color3.new(r/255,g/255,b/255)
  4569.  
  4570. hum.AutoRotate = false
  4571. rngb:Destroy()
  4572. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4573. local scaled = 1
  4574. for i = 0,5,0.1 do
  4575. swait()
  4576. scaled = scaled - 0.02
  4577. if rainbowmode == true then
  4578. orbe.Color = Color3.new(r/255,g/255,b/255)
  4579. end
  4580. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4581. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4582. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4583. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4584. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4585. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4586. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4587. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4588. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4589. 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(0)),.3)
  4590. 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(10),math.rad(0)),.3)
  4591. RootPart.CFrame = FaceMouse()[1]
  4592. end]]--
  4593. for i = 0,5,0.1 do
  4594. swait()
  4595. if rainbowmode == true then
  4596. orbe.Color = Color3.new(r/255,g/255,b/255)
  4597. end
  4598. if glitchymode then
  4599. local val = math.random(1,255)
  4600. local color = Color3.fromRGB(val,val,val)
  4601. orbe.Color = color
  4602. end
  4603. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4604. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4605. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4606. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4607. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4608. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4609. 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(0)),.3)
  4610. 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(10),math.rad(0)),.3)
  4611. RootPart.CFrame = FaceMouse()[1]
  4612. end
  4613. orbe.Transparency = 1
  4614. orb.Transparency = 1
  4615. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4616. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4617. local a = Instance.new("Part",Character)
  4618. a.Name = "Direction"
  4619. a.Anchored = true
  4620. a.BrickColor = bc("White")
  4621. a.Material = "Neon"
  4622. a.Transparency = 0
  4623. a.Shape = "Cylinder"
  4624. a.CanCollide = false
  4625. local a2 = Instance.new("Part",Character)
  4626. a2.Name = "Direction"
  4627. a2.Anchored = true
  4628. a2.BrickColor = bc("New Yeller")
  4629. a2.Color = Color3.new(r/255,g/255,b/255)
  4630. a2.Material = "Neon"
  4631. a2.Transparency = 0.5
  4632. a2.Shape = "Cylinder"
  4633. a2.CanCollide = false
  4634. local ba = Instance.new("Part",Character)
  4635. ba.Name = "HitDirect"
  4636. ba.Anchored = true
  4637. ba.BrickColor = bc("Cool yellow")
  4638. ba.Material = "Neon"
  4639. ba.Transparency = 1
  4640. ba.CanCollide = false
  4641. local ray = Ray.new(
  4642. orb.CFrame.p, -- origin
  4643. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4644. )
  4645. local ignore = Character
  4646. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4647. a.BottomSurface = 10
  4648. a.TopSurface = 10
  4649. a2.BottomSurface = 10
  4650. a2.TopSurface = 10
  4651. local distance = (orb.CFrame.p - position).magnitude
  4652. a.Size = Vector3.new(distance, 1, 1)
  4653. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4654. a2.Size = Vector3.new(distance, 1, 1)
  4655. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4656. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4657. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4658. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4659. game:GetService("Debris"):AddItem(a, 20)
  4660. game:GetService("Debris"):AddItem(a2, 20)
  4661. game:GetService("Debris"):AddItem(ba, 20)
  4662. local msh = Instance.new("SpecialMesh",a)
  4663. msh.MeshType = "Cylinder"
  4664. msh.Scale = vt(1,5*5,5*5)
  4665. local msh2 = Instance.new("SpecialMesh",a2)
  4666. msh2.MeshType = "Cylinder"
  4667. msh2.Scale = vt(1,6*5,6*5)
  4668.  
  4669. for i = 0,10,0.1 do
  4670. swait()
  4671. CameraEnshaking(1,5)
  4672. a2.Color = Color3.new(r/255,g/255,b/255)
  4673. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4674. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4675. ray = Ray.new(
  4676. orb.CFrame.p, -- origin
  4677. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4678. )
  4679. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4680. distance = (orb.CFrame.p - position).magnitude
  4681. if typrot == 1 then
  4682. rotation = rotation + 2.5
  4683. elseif typrot == 2 then
  4684. rotation = rotation - 2.5
  4685. end
  4686. RootPart.CFrame = FaceMouse()[1]
  4687. a.Size = Vector3.new(distance, 1, 1)
  4688. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4689. a2.Size = Vector3.new(distance, 1, 1)
  4690. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4691. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4692. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4693. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4694. msh.Scale = msh.Scale - vt(0,0.05*5,0.05*5)
  4695. msh2.Scale = msh2.Scale - vt(0,0.06*5,0.06*5)
  4696. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4697. sphereMK(5,1.5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),15,15,25,-0.15,MAINRUINCOLOR,0)
  4698. MagniDamage(ba, 30, 5,25, 0, "Normal")
  4699. end
  4700. a:Destroy()
  4701. a2:Destroy()
  4702. ba:Destroy()
  4703. orb:Destroy()
  4704. orbe:Destroy()
  4705. hum.AutoRotate = true
  4706. attack = false
  4707. end
  4708.  
  4709.  
  4710. function UniversalSpark()
  4711. attack = true
  4712.  
  4713. local rngb = Instance.new("Part", char)
  4714. rngb.Anchored = true
  4715. rngb.BrickColor = origcolor
  4716. rngb.CanCollide = false
  4717. rngb.FormFactor = 3
  4718. rngb.Name = "Ring"
  4719. rngb.Material = "Neon"
  4720. rngb.Size = Vector3.new(1, 0.05, 1)
  4721. rngb.Transparency = 1
  4722. rngb.TopSurface = 0
  4723. rngb.BottomSurface = 0
  4724. local rngmb = Instance.new("SpecialMesh", rngb)
  4725. rngmb.MeshType = "Brick"
  4726. rngmb.Name = "SizeMesh"
  4727. rngmb.Scale = vt(0,1,0)
  4728.  
  4729. local orb = rngb:Clone()
  4730. orb.Parent = char
  4731. orb.Transparency = 0
  4732. orb.BrickColor = BrickColor.new("White")
  4733. orb.Size = vt(1,1,1)
  4734. local orbmish = orb.SizeMesh
  4735. orbmish.Scale = vt(0,0,0)
  4736. orbmish.MeshType = "Sphere"
  4737.  
  4738. local orbe = rngb:Clone()
  4739. orbe.Parent = char
  4740. orbe.Transparency = 0.5
  4741. orbe.BrickColor = BrickColor.new("New Yeller")
  4742. orbe.Size = vt(1,1,1)
  4743. local orbmish2 = orbe.SizeMesh
  4744. orbmish2.Scale = vt(0,0,0)
  4745. orbmish2.MeshType = "Sphere"
  4746. orbe.Color = Color3.new(r/255,g/255,b/255)
  4747.  
  4748. rngb:Destroy()
  4749. --[[CFuncs["Sound"].Create("rbxassetid://136007472", orb, 1.5, 1)
  4750. local scaled = 1
  4751. for i = 0,5,0.1 do
  4752. swait()
  4753. scaled = scaled - 0.02
  4754. if rainbowmode == true then
  4755. orbe.Color = Color3.new(r/255,g/255,b/255)
  4756. end
  4757. orbmish.Scale = orbmish.Scale + vt(scaled/1.5,scaled/1.5,scaled/1.5)
  4758. orbmish2.Scale = orbmish2.Scale + vt(scaled*1.1/1.5,scaled*1.1/1.5,scaled*1.1/1.5)
  4759. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4760. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4761. sphereMKCharge(2.5,-0.5,"Add",orb.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,25)
  4762. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4763. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4764. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4765. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4766. 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(0)),.3)
  4767. 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(10),math.rad(0)),.3)
  4768. RootPart.CFrame = FaceMouse()[1]
  4769. end]]--
  4770. for i = 0,5,0.1 do
  4771. swait()
  4772. if rainbowmode == true then
  4773. orbe.Color = Color3.new(r/255,g/255,b/255)
  4774. end
  4775. if glitchymode then
  4776. local val = math.random(1,255)
  4777. local color = Color3.fromRGB(val,val,val)
  4778. orbe.Color = color
  4779. end
  4780. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4781. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*11.5
  4782. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(90)),0.3)
  4783. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-90)),.3)
  4784. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(90)), 0.3)
  4785. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  4786. 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(0)),.3)
  4787. 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(10),math.rad(0)),.3)
  4788. RootPart.CFrame = FaceMouse()[1]
  4789. end
  4790. orbe.Transparency = 1
  4791. orb.Transparency = 1
  4792. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*5
  4793. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  4794. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  4795. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4796.  
  4797. CFuncs["Sound"].Create("rbxassetid://294188875", char, 1, 1)
  4798. CFuncs["Sound"].Create("rbxassetid://741272936", char, 0.75, 1)
  4799. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  4800. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 0.75, 1)
  4801. CFuncs["Sound"].Create("rbxassetid://164881112", char, 0.75, 1)
  4802. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  4803. CFuncs["Sound"].Create("rbxassetid://164178927", char, 1, 1)
  4804. local xd= Instance.new("Sound",char)
  4805. xd.SoundId = "rbxassetid://479430786"
  4806. xd.Pitch = 0.75
  4807. xd.Looped = true
  4808. xd.Volume = 1.25
  4809. xd:Play()
  4810. local a = Instance.new("Part",Character)
  4811. a.Name = "Direction"
  4812. a.Anchored = true
  4813. a.BrickColor = bc("Alder")
  4814. a.Color = MAINRUINCOLOR.Color
  4815. a.Material = "Neon"
  4816. a.Transparency = 0.5
  4817. a.Shape = "Cylinder"
  4818. a.CanCollide = false
  4819. local a2 = Instance.new("Part",Character)
  4820. a2.Name = "Direction"
  4821. a2.Anchored = true
  4822. a2.BrickColor = bc("New Yeller")
  4823. a2.Color = MAINRUINCOLOR.Color
  4824. a2.Material = "Neon"
  4825. a2.Transparency = 0.5
  4826. a2.Shape = "Cylinder"
  4827. a2.CanCollide = false
  4828. local ba = Instance.new("Part",Character)
  4829. ba.Name = "HitDirect"
  4830. ba.Anchored = true
  4831. ba.BrickColor = bc("Cool yellow")
  4832. ba.Material = "Neon"
  4833. ba.Transparency = 1
  4834. ba.CanCollide = false
  4835. local ray = Ray.new(
  4836. orb.CFrame.p, -- origin
  4837. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4838. )
  4839. local ignore = Character
  4840. local hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4841. a.BottomSurface = 10
  4842. a.TopSurface = 10
  4843. a2.BottomSurface = 10
  4844. a2.TopSurface = 10
  4845. local distance = (orb.CFrame.p - position).magnitude
  4846. a.Size = Vector3.new(distance, 1, 1)
  4847. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4848. a2.Size = Vector3.new(distance, 1, 1)
  4849. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4850. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4851. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4852. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4853. game:GetService("Debris"):AddItem(a, 60)
  4854. game:GetService("Debris"):AddItem(a2, 60)
  4855. game:GetService("Debris"):AddItem(ba, 60)
  4856. local outerscale = 0
  4857. local msh = Instance.new("SpecialMesh",a)
  4858. msh.MeshType = "Cylinder"
  4859. msh.Scale = vt(1,0,0)
  4860. local msh2 = Instance.new("SpecialMesh",a2)
  4861. msh2.MeshType = "Cylinder"
  4862. msh2.Scale = vt(1,0,0)
  4863. for i = 0,2,0.1 do
  4864. swait()
  4865. CameraEnshaking(1,1)
  4866. msh2.Scale = msh2.Scale + vt(0,outerscale*20,outerscale*20)
  4867. msh.Scale = msh.Scale + vt(0,outerscale*15,outerscale*15)
  4868. outerscale = outerscale - 0.015
  4869. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4870. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4871. ray = Ray.new(
  4872. orb.CFrame.p, -- origin
  4873. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4874. )
  4875. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4876. distance = (orb.CFrame.p - position).magnitude
  4877. if typrot == 1 then
  4878. rotation = rotation + 2.5
  4879. elseif typrot == 2 then
  4880. rotation = rotation - 2.5
  4881. end
  4882. RootPart.CFrame = FaceMouse()[1]
  4883. a.Size = Vector3.new(distance, 1, 1)
  4884. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4885. a2.Size = Vector3.new(distance, 1, 1)
  4886. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4887. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4888. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4889. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4890. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4891. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4892. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4893. end
  4894. for z = 0, 2 do
  4895. for i = 0,4,0.1 do
  4896. swait()
  4897. CameraEnshaking(1,1)
  4898. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4899. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4900. outerscale = outerscale + 0.015
  4901. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4902. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4903. ray = Ray.new(
  4904. orb.CFrame.p, -- origin
  4905. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4906. )
  4907. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4908. distance = (orb.CFrame.p - position).magnitude
  4909. if typrot == 1 then
  4910. rotation = rotation + 2.5
  4911. elseif typrot == 2 then
  4912. rotation = rotation - 2.5
  4913. end
  4914. RootPart.CFrame = FaceMouse()[1]
  4915. a.Size = Vector3.new(distance, 1, 1)
  4916. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4917. a2.Size = Vector3.new(distance, 1, 1)
  4918. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4919. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4920. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4921. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4922. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4923. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4924. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4925. end
  4926. for i = 0,4,0.1 do
  4927. swait()
  4928. CameraEnshaking(1,1)
  4929. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4930. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4931. outerscale = outerscale - 0.015
  4932. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4933. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4934. ray = Ray.new(
  4935. orb.CFrame.p, -- origin
  4936. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4937. )
  4938. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4939. distance = (orb.CFrame.p - position).magnitude
  4940. if typrot == 1 then
  4941. rotation = rotation + 2.5
  4942. elseif typrot == 2 then
  4943. rotation = rotation - 2.5
  4944. end
  4945. RootPart.CFrame = FaceMouse()[1]
  4946. a.Size = Vector3.new(distance, 1, 1)
  4947. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4948. a2.Size = Vector3.new(distance, 1, 1)
  4949. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4950. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4951. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4952. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4953. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4954. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4955. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4956. end
  4957. end
  4958. for i = 0,4,0.1 do
  4959. swait()
  4960. CameraEnshaking(1,1)
  4961. msh2.Scale = msh2.Scale + vt(0,outerscale,outerscale)
  4962. msh.Scale = msh.Scale - vt(0,outerscale,outerscale)
  4963. xd.Volume = xd.Volume - 0.025
  4964. a.Transparency = a.Transparency + 0.025
  4965. a2.Transparency = a2.Transparency + 0.025
  4966. outerscale = outerscale - 0.015
  4967. orb.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4968. orbe.CFrame = root.CFrame*CFrame.new(0,0.5,0) + root.CFrame.lookVector*4
  4969. ray = Ray.new(
  4970. orb.CFrame.p, -- origin
  4971. (mouse.Hit.p - orb.CFrame.p).unit * 1000 -- direction
  4972. )
  4973. hit, position, normal = workspace:FindPartOnRay(ray, ignore)
  4974. distance = (orb.CFrame.p - position).magnitude
  4975. if typrot == 1 then
  4976. rotation = rotation + 2.5
  4977. elseif typrot == 2 then
  4978. rotation = rotation - 2.5
  4979. end
  4980. RootPart.CFrame = FaceMouse()[1]
  4981. a.Size = Vector3.new(distance, 1, 1)
  4982. a.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4983. a2.Size = Vector3.new(distance, 1, 1)
  4984. a2.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance/2)
  4985. ba.CFrame = CFrame.new(orb.CFrame.p, position) * CFrame.new(0, 0, -distance)
  4986. a.CFrame = a.CFrame*CFrame.Angles(0,math.rad(90),0)
  4987. a2.CFrame = a2.CFrame*CFrame.Angles(0,math.rad(90),0)
  4988. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4989. sphereMK(5,5,"Add",ba.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),25*3,25*3,75*3,-0.25*3,MAINRUINCOLOR,0)
  4990. MagniDamage(ba, 100, 500,60000, 0, "Normal")
  4991. end
  4992. xd:Destroy()
  4993. a:Destroy()
  4994. a2:Destroy()
  4995. ba:Destroy()
  4996. orb:Destroy()
  4997. orbe:Destroy()
  4998. attack = false
  4999. end
  5000.  
  5001.  
  5002.  
  5003. function attackone()
  5004. attack = true
  5005. for i = 0,1,0.1 do
  5006. swait()
  5007. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(-40)),0.2)
  5008. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(40)),.2)
  5009. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5010. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.2)
  5011. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  5012. 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(10)),.2)
  5013. end
  5014. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1.1)
  5015.  
  5016. local hitb = Instance.new("Part", char)
  5017. hitb.Anchored = true
  5018. hitb.CanCollide = false
  5019. hitb.FormFactor = 3
  5020. hitb.Name = "Ring"
  5021. hitb.Material = "Neon"
  5022. hitb.Size = Vector3.new(1, 1, 1)
  5023. hitb.Transparency = 1
  5024. hitb.TopSurface = 0
  5025. hitb.BottomSurface = 0
  5026. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5027. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5028. hitb:Destroy()
  5029. for i = 0,1,0.1 do
  5030. swait()
  5031. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(70)),0.4)
  5032. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-70)),.4)
  5033. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(70)), 0.4)
  5034. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.4)
  5035. RH.C0=clerp(RH.C0,cf(1,-1 - 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(-40)),.4)
  5036. 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(-10)),.4)
  5037. end
  5038.  
  5039. attack = false
  5040. end
  5041.  
  5042. function attacktwo()
  5043. attack = true
  5044. for i = 0,1,0.1 do
  5045. swait()
  5046. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(20),math.rad(0),math.rad(40)),0.2)
  5047. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(0),math.rad(0),math.rad(-40)),.2)
  5048. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5049. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(40)), 0.2)
  5050. RH.C0=clerp(RH.C0,cf(1,-1 - 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)),.2)
  5051. 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(10)),.2)
  5052. end
  5053. CFuncs["Sound"].Create("rbxassetid://200632136", root, 1, 1)
  5054. local hitb = Instance.new("Part", char)
  5055. hitb.Anchored = true
  5056. hitb.CanCollide = false
  5057. hitb.FormFactor = 3
  5058. hitb.Name = "Ring"
  5059. hitb.Material = "Neon"
  5060. hitb.Size = Vector3.new(1, 1, 1)
  5061. hitb.Transparency = 1
  5062. hitb.TopSurface = 0
  5063. hitb.BottomSurface = 0
  5064. hitb.CFrame = root.CFrame + root.CFrame.lookVector*2
  5065. MagniDamage(hitb, 3, 10,30, 0, "Normal")
  5066. hitb:Destroy()
  5067. for i = 0,1,0.1 do
  5068. swait()
  5069. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-5),math.rad(0),math.rad(-70)),0.4)
  5070. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(70)),.4)
  5071. RW.C0 = clerp(RW.C0, CFrame.new(1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-40)), 0.4)
  5072. LW.C0 = clerp(LW.C0, CFrame.new(-1.45, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-70)), 0.4)
  5073. 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(-5),math.rad(0),math.rad(-40)),.4)
  5074. 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(-10)),.4)
  5075. end
  5076. attack = false
  5077. end
  5078.  
  5079. function attackthree()
  5080. attack = true
  5081. for i = 0,1,0.1 do
  5082. swait()
  5083. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(0),math.rad(0),math.rad(80)),0.3)
  5084. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(20),math.rad(0),math.rad(-80)),.3)
  5085. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(80)), 0.3)
  5086. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(10), math.rad(0), math.rad(-20)), 0.3)
  5087. 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(0)),.3)
  5088. 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(10),math.rad(0)),.3)
  5089. end
  5090. local distlook = 5
  5091. for i = 0, 4 do
  5092. swait(2)
  5093. CameraEnshaking(2,3)
  5094. local hite = Instance.new("Part", char)
  5095. hite.Anchored = true
  5096. hite.CanCollide = false
  5097. hite.FormFactor = 3
  5098. hite.Name = "Ring"
  5099. hite.Material = "Neon"
  5100. hite.Size = Vector3.new(1, 1, 1)
  5101. hite.Transparency = 1
  5102. hite.TopSurface = 0
  5103. hite.BottomSurface = 0
  5104. hite.CFrame = root.CFrame + root.CFrame.lookVector*distlook
  5105. sphere(3,"Add",hite.CFrame,vt(0,0,0),0.15,MAINRUINCOLOR)
  5106. sphere(6,"Add",hite.CFrame,vt(0,0,0),0.3,MAINRUINCOLOR)
  5107. MagniDamage(hite, 10, 15,35, 0, "Normal")
  5108. for i = 0, 2 do
  5109. sphereMK(2,0.2,"Add",rarm.CFrame*CFrame.Angles(math.rad(-90+math.random(-20,20)),math.rad(math.random(-20,20)),math.rad(math.random(-20,20))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5110. sphereMK(3,0.2,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5111. sphereMK(6,0.35,"Add",hite.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),0.5,0.5,5,-0.005,MAINRUINCOLOR,0)
  5112. end
  5113. CFuncs["Sound"].Create("rbxassetid://183763506", hite, 2.5, 1)
  5114. CFuncs["Sound"].Create("rbxassetid://178452221", hite, 0.25, 0.6)
  5115. game:GetService("Debris"):AddItem(hite, 5)
  5116. distlook = distlook + 10
  5117. end
  5118. attack = false
  5119. end
  5120.  
  5121. function FinalCalamity()
  5122. end
  5123.  
  5124. function resetmode()
  5125. rainbowmode = false
  5126. chaosmode = false
  5127. glitchymode = false
  5128. tl1.Enabled = false
  5129. tl2.Enabled = false
  5130. tl3.Enabled = false
  5131. local lust = ModeOfGlitch == 69
  5132. ModeOfGlitch = 1
  5133. storehumanoidWS = 16
  5134. if(not lust)then
  5135. newTheme("rbxassetid://441091381",48.6,1,1)
  5136. end
  5137. coroutine.resume(coroutine.create(function()
  5138. attack = true
  5139. hum.WalkSpeed = 0
  5140. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5141. for i = 0,4,0.1 do
  5142. swait()
  5143. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5144. 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)
  5145. 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)
  5146. 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)
  5147. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5148. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5149. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5150. end
  5151. if(lust)then
  5152. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5153. sphere(2.5,"Add",root.CFrame*angles(0,0,0),vt(100,100,2),1.25,BrickColor.new'Pink',true,true)
  5154. for i = 0, 49 do
  5155. PixelBlock(1,15,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360)))*cf(0,0,-80),6,6,6,0.12,BrickColor.new("Pink"),0,true,true)
  5156. end
  5157.  
  5158. for i = 0,4,0.05 do
  5159. swait()
  5160. Pitch = 1-i/4
  5161. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5162. 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)
  5163. 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)
  5164. 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)
  5165. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5166. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5167. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5168. end
  5169. for i = 0,3,0.1 do
  5170. swait()
  5171. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5172. 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)
  5173. 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)
  5174. 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)
  5175. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5176. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5177. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5178. end
  5179. newTheme("rbxassetid://441091381",48.6,1,1)
  5180. end
  5181. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5182. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5183. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5184. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5185. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  5186. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  5187. RecolorTextAndRename("BOI",Color3.new(0,1,0),Color3.new(1,1,1))
  5188. CameraEnshaking(5,2.5)
  5189. MAINRUINCOLOR = BrickColor.new("Lime green")
  5190. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5191. for i = 0, 49 do
  5192. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5193. end
  5194. for i = 0,3,0.1 do
  5195. 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)
  5196. end
  5197. for i, v in pairs(mw2:GetChildren()) do
  5198. if v:IsA("Part") then
  5199. v.BrickColor = BrickColor.new("Lime green")
  5200. v.Material = "Neon"
  5201. end
  5202. end
  5203. for i, v in pairs(mw1:GetChildren()) do
  5204. if v:IsA("Part") then
  5205. v.Transparency = 1
  5206. v.BrickColor = BrickColor.new("Lime green")
  5207. v.Material = "Neon"
  5208. end
  5209. end
  5210. for i, v in pairs(m:GetChildren()) do
  5211. if v:IsA("Part") then
  5212. v.BrickColor = BrickColor.new("Lime green")
  5213. v.Material = "Glass"
  5214. end
  5215. end
  5216. for i, v in pairs(m2:GetChildren()) do
  5217. if v:IsA("Part") then
  5218. v.BrickColor = BrickColor.new("Dark stone Lime green")
  5219. v.Material = "Granite"
  5220. end
  5221. end
  5222. for i, v in pairs(m3:GetChildren()) do
  5223. if v:IsA("Part") then
  5224. v.BrickColor = BrickColor.new("Lime green")
  5225. v.Material = "Neon"
  5226. end
  5227. end
  5228. for i, v in pairs(extrawingmod1:GetChildren()) do
  5229. if v:IsA("Part") then
  5230. v.Transparency = 1
  5231. v.BrickColor = BrickColor.new("White")
  5232. v.Material = "Neon"
  5233. end
  5234. end
  5235. for i, v in pairs(extrawingmod2:GetChildren()) do
  5236. if v:IsA("Part") then
  5237. v.Transparency = 1
  5238. v.BrickColor = BrickColor.new("White")
  5239. v.Material = "Neon"
  5240. end
  5241. end
  5242. for i = 0,2,0.1 do
  5243. swait()
  5244. 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)
  5245. 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)
  5246. 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)
  5247. 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)
  5248. 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)
  5249. 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)
  5250. end
  5251. hum.WalkSpeed = storehumanoidWS
  5252. attack = false
  5253. end))
  5254. end
  5255.  
  5256. function lustmode()
  5257.  
  5258. ModeOfGlitch = 69
  5259. storehumanoidWS = 16
  5260. rainbowmode = false
  5261. chaosmode = false
  5262. glitchymode = false
  5263. tl1.Enabled = false
  5264. tl2.Enabled = false
  5265. tl3.Enabled = false
  5266. newTheme("rbxassetid://1203355187",0,1,1)
  5267. coroutine.wrap(function()
  5268. attack = true
  5269. hum.WalkSpeed = 0
  5270. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5271. for i = 0,4,0.1 do
  5272. swait()
  5273. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5274. 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)
  5275. 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)
  5276. 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)
  5277. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5278. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5279. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5280. end
  5281. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5282. sphere(2.5,"Add",root.CFrame*cf(0,0,0),vt(0,0,2),1.5,BrickColor.new'Pink',true)
  5283.  
  5284. for i = 0,4,0.1 do
  5285. swait()
  5286. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5287. 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)
  5288. 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)
  5289. 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)
  5290. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5291. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5292. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5293. end
  5294. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5295. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5296. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5297. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5298. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Pink' end)
  5299. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Pink' end)
  5300. CameraEnshaking(5,2.5)
  5301. MAINRUINCOLOR = BrickColor.new("Pink")
  5302. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5303. for i = 0, 49 do
  5304. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),6,6,6,0.12,MAINRUINCOLOR,0,true)
  5305. end
  5306. for i = 0,3,0.1 do
  5307. 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,true)
  5308. end
  5309. RecolorTextAndRename("LOVE MEH",Color3.new(1,1,1),BrickColor.new'Pink'.Color)
  5310. for i, v in pairs(mw2:GetChildren()) do
  5311. if v:IsA("Part") then
  5312. v.BrickColor = MAINRUINCOLOR
  5313. v.Material = "Neon"
  5314. end
  5315. end
  5316. for i, v in pairs(mw1:GetChildren()) do
  5317. if v:IsA("Part") then
  5318. v.Transparency = 1
  5319. v.BrickColor = MAINRUINCOLOR
  5320. v.Material = "Neon"
  5321. end
  5322. end
  5323. for i, v in pairs(m:GetChildren()) do
  5324. if v:IsA("Part") then
  5325. v.BrickColor = BrickColor.new("Pink")
  5326. v.Material = "Ice"
  5327. end
  5328. end
  5329. for i, v in pairs(m2:GetChildren()) do
  5330. if v:IsA("Part") then
  5331. v.BrickColor = BrickColor.new("Pink")
  5332. v.Material = "Glass"
  5333. end
  5334. end
  5335. for i, v in pairs(m3:GetChildren()) do
  5336. if v:IsA("Part") then
  5337. v.BrickColor = BrickColor.new("Pink")
  5338. v.Material = "Neon"
  5339. end
  5340. end
  5341. for i, v in pairs(extrawingmod1:GetChildren()) do
  5342. if v:IsA("Part") then
  5343. v.Transparency = 1
  5344. v.BrickColor = BrickColor.new("Pink")
  5345. v.Material = "Neon"
  5346. end
  5347. end
  5348. for i, v in pairs(extrawingmod2:GetChildren()) do
  5349. if v:IsA("Part") then
  5350. v.Transparency = 1
  5351. v.BrickColor = BrickColor.new("Pink")
  5352. v.Material = "Neon"
  5353. end
  5354. end
  5355. for i = 0,2,0.1 do
  5356. swait()
  5357. 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)
  5358. 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)
  5359. 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)
  5360. 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)
  5361. 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)
  5362. 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)
  5363. end
  5364. hum.WalkSpeed = storehumanoidWS
  5365. attack = false
  5366. end)()
  5367. end
  5368.  
  5369. function insanitymode()
  5370. storehumanoidWS = 16
  5371. hum.WalkSpeed = 0
  5372. rainbowmode = false
  5373. glitchymode = false
  5374. chaosmode = true
  5375. tl1.Enabled = true
  5376. tl2.Enabled = true
  5377. tl3.Enabled = true
  5378. local lust = ModeOfGlitch == 69
  5379. newTheme("rbxassetid://919231299",0,1,1)
  5380. coroutine.resume(coroutine.create(function()
  5381. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5382. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5383. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  5384. attack = true
  5385. hum.WalkSpeed = 0
  5386. CFuncs["Sound"].Create("rbxassetid://136007472", root, 2.5, 1.25)
  5387. for i = 0,4,0.1 do
  5388. swait()
  5389. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5390. 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)
  5391. 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)
  5392. 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)
  5393. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5394. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5395. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5396. end
  5397. for i = 0,8,0.1 do
  5398. swait()
  5399. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5400. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,.035,MAINRUINCOLOR,0)
  5401. 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)
  5402. 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)
  5403. 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)
  5404. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5405. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5406. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5407. end
  5408.  
  5409. for i = 0,3,0.1 do
  5410. swait()
  5411. sphereMK(2.5,-1.5,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),3.5,3.5,45,-0.035,MAINRUINCOLOR,100)
  5412. 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)
  5413. 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)
  5414. 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)
  5415. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(30),math.rad(0),math.rad(0 - 5 * math.cos(sine / 0.2))),.2)
  5416. RW.C0=clerp(RW.C0,cf(1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(-50)),.2)
  5417. LW.C0=clerp(LW.C0,cf(-1.05,0.4,-0.5)*angles(math.rad(140),math.rad(0),math.rad(50)),.2)
  5418. end
  5419. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5420. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5421. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5422. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5423. CameraEnshaking(5,2.5)
  5424. MAINRUINCOLOR = BrickColor.new("Lime green")
  5425. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5426. for i = 0, 49 do
  5427. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5428. end
  5429. for i = 0,3,0.1 do
  5430. 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)
  5431. end
  5432. ModeOfGlitch = 666666
  5433. for i, v in pairs(mw2:GetChildren()) do
  5434. if v:IsA("Part") then
  5435. v.BrickColor = MAINRUINCOLOR
  5436. v.Material = "Neon"
  5437. end
  5438. end
  5439. for i, v in pairs(mw1:GetChildren()) do
  5440. if v:IsA("Part") then
  5441. v.Transparency = 0.75
  5442. v.BrickColor = BrickColor.random()
  5443. v.Material = "Neon"
  5444. end
  5445. end
  5446. for i, v in pairs(m:GetChildren()) do
  5447. if v:IsA("Part") then
  5448. v.BrickColor = BrickColor.new("Lime green")
  5449. v.Material = "Neon"
  5450. end
  5451. end
  5452. for i, v in pairs(m2:GetChildren()) do
  5453. if v:IsA("Part") then
  5454. v.BrickColor = BrickColor.random()
  5455. v.Material = "Neon"
  5456. end
  5457. end
  5458. for i, v in pairs(m3:GetChildren()) do
  5459. if v:IsA("Part") then
  5460. v.BrickColor = BrickColor.new("Lime green")
  5461. v.Material = "Neon"
  5462. end
  5463. end
  5464. for i, v in pairs(extrawingmod1:GetChildren()) do
  5465. if v:IsA("Part") then
  5466. v.Transparency = .75
  5467. v.BrickColor = BrickColor.Random()
  5468. v.Material = "Neon"
  5469. end
  5470. end
  5471. for i, v in pairs(extrawingmod2:GetChildren()) do
  5472. if v:IsA("Part") then
  5473. v.Transparency = 0
  5474. v.BrickColor = BrickColor.new("Lime green")
  5475. v.Material = "Neon"
  5476. end
  5477. end
  5478. for i = 0,2,0.1 do
  5479. swait()
  5480. 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)
  5481. 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)
  5482. 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)
  5483. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-30),math.rad(0),math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5484. 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5485. 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)))*angles(0,0,math.rad(0 - 10 * math.cos(sine / 0.2))),.2)
  5486. end
  5487. hum.WalkSpeed = storehumanoidWS
  5488. attack = false
  5489. end))
  5490. end
  5491.  
  5492. local attacktype = 1
  5493. mouse.Button1Down:connect(function()
  5494. if attack == false and attacktype == 1 then
  5495. attacktype = 2
  5496. attackone()
  5497. elseif attack == false and attacktype == 2 then
  5498. attacktype = 3
  5499. attacktwo()
  5500. elseif attack == false and attacktype == 3 then
  5501. attacktype = 1
  5502. attackthree()
  5503. elseif attack == false and attacktype == 4 then
  5504. attacktype = 1
  5505. --attackfour()
  5506. end
  5507. end)
  5508.  
  5509. function Judgement()
  5510. attack = true
  5511. hum.WalkSpeed = 0
  5512. local p = Instance.new("Part",root)
  5513. p.Anchored = true
  5514. p.CanCollide = false
  5515. p.BrickColor = MAINRUINCOLOR
  5516. p.Material = Enum.Material.Neon
  5517. p.Size = Vector3.new(1,1,1)
  5518. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5519. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5520. local m = Instance.new("SpecialMesh",p)
  5521. m.MeshType = "Cylinder"
  5522. m.Scale = Vector3.new(2000,2,2)
  5523. local targ = Instance.new("Part",root)
  5524. targ.Transparency = 1
  5525. targ.CanCollide = false
  5526. targ.Size = Vector3.new(1,1,1)
  5527. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5528. CFuncs.Sound.Create("rbxassetid://164178927", targ, 5, 1)
  5529. CFuncs.Sound.Create("rbxassetid://1208650519", targ, 10, 1)
  5530. for i = 1,15 do
  5531. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5532. RootJoint.C0 = clerp(RootJoint.C0,RootCF*cf(0,0,0)* angles(math.rad(-20),math.rad(0),math.rad(0)),0.2)
  5533. Torso.Neck.C0 = clerp(Torso.Neck.C0,necko *angles(math.rad(-15),math.rad(0),math.rad(0)),.2)
  5534. RW.C0 = clerp(RW.C0, CFrame.new(1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(100)), 0.2)
  5535. LW.C0 = clerp(LW.C0, CFrame.new(-1.5, 0.5, 0) * angles(math.rad(90), math.rad(0), math.rad(-100)), 0.2)
  5536. 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(-20)),.2)
  5537. 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(10),math.rad(20)),.2)
  5538. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.05, MAINRUINCOLOR)
  5539. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 1, 1, 7, -0.005, MAINRUINCOLOR, 0)
  5540. m.Scale = m.Scale+Vector3.new(0,1,1)
  5541. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5542. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5543. swait()
  5544. end
  5545. sphereMK(3, 0.2, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 0.5, 0.5, 5, -0.005, MAINRUINCOLOR, 0)
  5546. for i = 1,200 do
  5547. targ.CFrame = p.CFrame-Vector3.new(0,1000,0)
  5548. sphereMK(3, 0.5, "Add", targ.CFrame * CFrame.Angles(math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360)), math.rad(math.random(-360, 360))), 3, 3, 15, -0.005, MAINRUINCOLOR, 0)
  5549. sphere(10, "Add", targ.CFrame, vt(15, 15, 15), 0.15, MAINRUINCOLOR)
  5550. p.CFrame = CFrame.new(mouse.Hit.p)+Vector3.new(0,1000,0)
  5551. p.CFrame = p.CFrame * CFrame.Angles(0,0,89.5354)
  5552. MagniDamage(targ, 25, 5, 8, 0, "Normal")
  5553. swait()
  5554. end
  5555. for i =1,15 do
  5556. m.Scale = m.Scale-Vector3.new(1,1,1)
  5557. p.Transparency = i / 15
  5558. swait()
  5559. end
  5560. p:Destroy()
  5561. hum.WalkSpeed = storehumanoidWS
  5562. attack = false
  5563. end
  5564.  
  5565. local ODerDB = false
  5566. function ChooseODer()
  5567. if(not ODerDB)then
  5568. coroutine.wrap(function()
  5569.  
  5570. local allowOD = true
  5571. local whom = (mouse.Target and mouse.Target.Parent)
  5572. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Head')then
  5573. ODerDB = true
  5574. for _,v in next, ODers do
  5575. if(v == whom)then
  5576. print'nO OD SELF'
  5577. allowOD = false
  5578. end
  5579. end
  5580. if(allowOD)then
  5581. local ref=CFuncs.Part.Create(m,Enum.Material.Neon,0,.4,(whom.Name == 'Nebula_Zorua' and 'Royal purple' or MAINRUINCOLOR),"ref",Vector3.new(0.05,0.05,0.05))
  5582. local refz = CFuncs.Mesh.Create("SpecialMesh",ref,"Sphere","",Vector3.new(0, 0, 0),Vector3.new(14, 14, 14))
  5583.  
  5584. ref.CFrame = Torso.CFrame
  5585. ref.Anchored = true
  5586. local e1 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.25) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5587. local e2 = Torso.CFrame:Lerp(whom.Head.CFrame, 0.75) * CFrame.new(math.random(-15, 15), math.random(0, 15), math.random(-15, 15))
  5588. local MPos = whom.Head.CFrame*cf(0,4,0)
  5589. for i = 0, 1, .05 do
  5590. swait()
  5591. ref.CFrame = newBezier(Torso.CFrame, e1, e2, MPos, i)
  5592.  
  5593. sphere(10,"Add",ref.CFrame,vt(6,6,3),0,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5594. if whom:FindFirstChild'Head' == nil then
  5595. break
  5596. end
  5597. end
  5598. ref:destroy()
  5599. if whom:FindFirstChild'Head' then
  5600. table.insert(ODers,whom)
  5601. if(#ODers > 2)then
  5602. table.remove(ODers,1)
  5603. end
  5604. sphere(1.5,"Add",whom.Head.CFrame * cf(0,4,0),vt(6,6,3),.15,(whom.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true)
  5605. end
  5606. end
  5607. ODerDB = false
  5608. end
  5609. end)()
  5610. end
  5611. end
  5612.  
  5613. function RiddleMeThisRiddleMeThat()-- Who's afraid of BOI IUSFGEYUI8TY8RUFETUYERFYAERFE7RFWAE9RASEVR7YTRWW65ERAY
  5614. attack = true
  5615. hum.WalkSpeed = 0
  5616. storehumanoidWS = 75
  5617. hum.JumpPower = 0
  5618. newThemeCust("rbxassetid://441091381",0,1,1)
  5619. kan.TimePosition = 0
  5620. ModeOfGlitch = 8376532578634534
  5621. repeat swait() until kan.IsLoaded
  5622. chatfunc("Riddle me this..",text.TextStrokeColor3)
  5623. for i = 0, 14, .1 do
  5624. swait()
  5625. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5626. 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)
  5627. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5628. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5629. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5630. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5631. end
  5632. chatfunc("Riddle me that..",text.TextStrokeColor3)
  5633. for i = 0, 12, .1 do
  5634. swait()
  5635. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5636. 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)
  5637. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5638. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,math.rad(25),0),.1)
  5639. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5640. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5641. end
  5642. chatfunc("Who's afraid of boi..",Color3.new(1,1,1))
  5643. for i = 0, 16, .1 do
  5644. swait()
  5645. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  5646. 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)
  5647. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  5648. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25),0,0),.1)
  5649. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  5650. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  5651. end
  5652. CFuncs["Sound"].Create("rbxassetid://206082327", root, 2.5,1)
  5653. CFuncs["Sound"].Create("rbxassetid://847061203", root, 5,1)
  5654. CFuncs["Sound"].Create("rbxassetid://239000203", root, 2.5,1)
  5655. CFuncs["Sound"].Create("rbxassetid://579687077", root, 2.5,0.75)
  5656. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Lime green' end)
  5657. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Lime green' end)
  5658. RecolorTextAndRename("BOI",Color3.new(0,0,0),Color3.new(1,1,1))
  5659. CameraEnshaking(5,2.5)
  5660. MAINRUINCOLOR = BrickColor.new("Lime green")
  5661. sphere(2.5,"Add",root.CFrame,vt(0,0,0),1,MAINRUINCOLOR)
  5662. tl1.Enabled = true
  5663. tl2.Enabled = true
  5664. tl3.Enabled = true
  5665. for i = 0, 49 do
  5666. PixelBlock(1,math.random(1,20),"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2,2,2,0.04,MAINRUINCOLOR,0)
  5667. end
  5668. for i = 0,3,0.1 do
  5669. 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)
  5670. end
  5671. for i, v in pairs(mw2:GetChildren()) do
  5672. if v:IsA("Part") then
  5673. v.BrickColor = BrickColor.new("Lime green")
  5674. v.Material = "Glass"
  5675. end
  5676. end
  5677. for i, v in pairs(mw1:GetChildren()) do
  5678. if v:IsA("Part") then
  5679. v.Transparency = 0
  5680. v.BrickColor = BrickColor.new("Lime green")
  5681. v.Material = "Glass"
  5682. end
  5683. end
  5684. for i, v in pairs(m:GetChildren()) do
  5685. if v:IsA("Part") then
  5686. v.BrickColor = BrickColor.new("Lime green")
  5687. v.Material = "Glass"
  5688. end
  5689. end
  5690. for i, v in pairs(m2:GetChildren()) do
  5691. if v:IsA("Part") then
  5692. v.BrickColor = BrickColor.new("Dark stone Lime green")
  5693. v.Material = "Granite"
  5694. end
  5695. end
  5696. for i, v in pairs(m3:GetChildren()) do
  5697. if v:IsA("Part") then
  5698. v.BrickColor = BrickColor.new("Lime green")
  5699. v.Material = "Glass"
  5700. end
  5701. end
  5702. for i, v in pairs(extrawingmod1:GetChildren()) do
  5703. if v:IsA("Part") then
  5704. v.Transparency = 0
  5705. v.BrickColor = BrickColor.new("Dark stone Lime green")
  5706. v.Material = "Glass"
  5707. end
  5708. end
  5709. for i, v in pairs(extrawingmod2:GetChildren()) do
  5710. if v:IsA("Part") then
  5711. v.Transparency = 0
  5712. v.BrickColor = BrickColor.new("Dark stone Lime green")
  5713. v.Material = "Glass"
  5714. end
  5715. end
  5716. for i = 0,2,0.1 do
  5717. swait()
  5718. 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)
  5719. 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)
  5720. 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)
  5721. 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)
  5722. 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)
  5723. 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)
  5724. end
  5725. hum.JumpPower = 50
  5726. hum.WalkSpeed = storehumanoidWS
  5727. attack = false
  5728. end
  5729.  
  5730. function FuckMeSidewaysAndCallMeGay()
  5731. local whom = (mouse.Target and mouse.Target.Parent)
  5732. --[[local fuckThisBoi = false
  5733. if(whom and whom:FindFirstChildOfClass'Humanoid')then
  5734. for _,v in next, ODers do
  5735. if(v == whom)then
  5736. fuckThisBoi = false
  5737. end
  5738. end
  5739. end
  5740. if(not fuckThisBoi)then
  5741. attack = false
  5742. warn'to fuck that boi you need to target them with z'
  5743. else]]
  5744. if(whom and whom:FindFirstChildOfClass'Humanoid' and whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso')then
  5745. local hed = whom:FindFirstChild'Torso' or whom:FindFirstChild'UpperTorso'
  5746. local hum = whom:FindFirstChildOfClass'Humanoid'
  5747. local ocf = RootPart.CFrame
  5748. hum.WalkSpeed = 0
  5749. hum.JumpPower = 0
  5750. hed.Anchored = true
  5751. RootPart.Anchored = true
  5752. Humanoid.WalkSpeed = 0
  5753. Humanoid.JumpPower = 0
  5754. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5755. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5756. for i = 0, 9 do
  5757. 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("Pink"),0)
  5758. end
  5759. for i = 0, 24 do
  5760. 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("Pink"),0)
  5761. end
  5762. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5763. attack = true
  5764. local speed = 1
  5765. local heck;
  5766. local stopitlol = false;
  5767. heck = mouse.KeyUp:connect(function(k)
  5768. if(k:lower() == 'm')then
  5769. stopitlol = true
  5770. heck:disconnect()
  5771. end
  5772. end)
  5773. local times = 0
  5774. repeat swait()
  5775. speed = speed - .01
  5776. times = times + 1
  5777. if(speed < .1)then
  5778. speed = .1
  5779. end
  5780. for i = 0, speed, .05 do
  5781. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5782. swait()
  5783. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5784. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5785. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5786. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5787. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5788. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5789. end
  5790. CameraEnshaking(5,5)
  5791.  
  5792. CFuncs["Sound"].Create("rbxassetid://836796971", Torso, 10,1)
  5793.  
  5794. for i = 0, speed, .05 do
  5795. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5796. swait()
  5797. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5798. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5799. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5800. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5801. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5802. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5803. end
  5804. until stopitlol and times >= 3
  5805. for i = 1, 3 do
  5806. for i = 0, 1.5, .05 do
  5807. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5808. swait()
  5809. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(50),0,0)*angles(0,math.rad(90),0),.4)
  5810. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5811. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(-25),0,0)*RootCF,.4)
  5812. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5813. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5814. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.4)
  5815. end
  5816. CameraEnshaking(5,25)
  5817.  
  5818. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5819.  
  5820.  
  5821. coroutine.resume(coroutine.create(function()
  5822. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5823. bld.LightEmission = 0.1
  5824. bld.Texture = "rbxassetid://284205403"
  5825. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5826. bld.Rate = 500
  5827. bld.Lifetime = NumberRange.new(1)
  5828. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5829. bld.Acceleration = vt(0,-25,0)
  5830. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5831. bld.Speed = NumberRange.new(10,50)
  5832. bld.EmissionDirection = "Back"
  5833. bld.VelocitySpread = 25
  5834. bld.Rotation = NumberRange.new(-500,500)
  5835. bld.RotSpeed = NumberRange.new(-500,500)
  5836. bld.Enabled = false
  5837. bld:Emit(250)
  5838. end))
  5839. coroutine.resume(coroutine.create(function()
  5840. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5841. bld.LightEmission = 0.1
  5842. bld.Texture = "rbxassetid://284205403"
  5843. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5844. bld.Rate = 500
  5845. bld.Lifetime = NumberRange.new(1)
  5846. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5847. bld.Acceleration = vt(0,-25,0)
  5848. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5849. bld.Speed = NumberRange.new(10,50)
  5850. bld.EmissionDirection = "Back"
  5851. bld.VelocitySpread = 25
  5852. bld.Rotation = NumberRange.new(-500,500)
  5853. bld.RotSpeed = NumberRange.new(-500,500)
  5854. bld.Enabled = false
  5855. bld:Emit(250)
  5856. end))
  5857. for i = 0, 1.5, .05 do
  5858. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5859. swait()
  5860. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-50),0,0)*angles(0,math.rad(90),0),.4)
  5861. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-50),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5862. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.1,0)*angles(math.rad(25),0,0)*RootCF,.4)
  5863. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5864. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5865. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5866. end
  5867. end
  5868. for i = 0, 4, .05 do
  5869. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5870. swait()
  5871. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(100),0,0)*angles(0,math.rad(90),0),.1)
  5872. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.1)
  5873. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(-50),0,0)*RootCF,.1)
  5874. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.1)
  5875. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5876. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(75),0,0),.1)
  5877. end
  5878. CameraEnshaking(5,25)
  5879. CFuncs["Sound"].Create("rbxassetid://429400881", hed, 3,1)
  5880. CFuncs["Sound"].Create("rbxassetid://1430568042", Torso, 10,.75)
  5881.  
  5882. dmg(whom)
  5883. coroutine.resume(coroutine.create(function()
  5884. bld = Instance.new("ParticleEmitter",whom:WaitForChild("Torso"))
  5885. bld.LightEmission = 0.1
  5886. bld.Texture = "rbxassetid://284205403"
  5887. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5888. bld.Rate = 500
  5889. bld.Lifetime = NumberRange.new(1)
  5890. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5891. bld.Acceleration = vt(0,-25,0)
  5892. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5893. bld.Speed = NumberRange.new(10,50)
  5894. bld.EmissionDirection = "Back"
  5895. bld.VelocitySpread = 25
  5896. bld.Rotation = NumberRange.new(-500,500)
  5897. bld.RotSpeed = NumberRange.new(-500,500)
  5898. bld.Enabled = true
  5899. end))
  5900. coroutine.resume(coroutine.create(function()
  5901. bld = Instance.new("ParticleEmitter",whom:WaitForChild("LowerTorso"))
  5902. bld.LightEmission = 0.1
  5903. bld.Texture = "rbxassetid://284205403"
  5904. bld.Color = ColorSequence.new(Color3.new(1,1,1))
  5905. bld.Rate = 500
  5906. bld.Lifetime = NumberRange.new(1)
  5907. bld.Size = NumberSequence.new({NumberSequenceKeypoint.new(0,2,0),NumberSequenceKeypoint.new(1,0,0)})
  5908. bld.Acceleration = vt(0,-25,0)
  5909. bld.Transparency = NumberSequence.new({NumberSequenceKeypoint.new(0,0,0),NumberSequenceKeypoint.new(1,0,0)})
  5910. bld.Speed = NumberRange.new(10,50)
  5911. bld.EmissionDirection = "Back"
  5912. bld.VelocitySpread = 25
  5913. bld.Rotation = NumberRange.new(-500,500)
  5914. bld.RotSpeed = NumberRange.new(-500,500)
  5915. bld.Enabled = true
  5916. end))
  5917. for i = 0, 3, .05 do
  5918. RootPart.CFrame = hed.CFrame*cf(0,0,1.35)
  5919. swait()
  5920. RH.C0=clerp(RH.C0,cf(1,-1,0)*angles(math.rad(-100),0,0)*angles(0,math.rad(90),0),.4)
  5921. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(-100),0,0)*angles(math.rad(0),math.rad(-90),math.rad(0)),.4)
  5922. RootJoint.C0=clerp(RootJoint.C0,cf(0,-.75,0)*angles(math.rad(50),0,0)*RootCF,.4)
  5923. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(0,0,0),.8)
  5924. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5925. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-75),0,0),.4)
  5926. end
  5927.  
  5928. RootPart.CFrame = ocf
  5929. CFuncs["Sound"].Create("rbxassetid://847061203", root, 2.5,1)
  5930. for i = 0, 9 do
  5931. 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("Pink"),0)
  5932. end
  5933. for i = 0, 24 do
  5934. 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("Pink"),0)
  5935. end
  5936. sphere(3,"Add",root.CFrame,vt(0,0,0),0.25,BrickColor.new("Pink"))
  5937. RootPart.Anchored = false
  5938. Humanoid.WalkSpeed = storehumanoidWS
  5939. Humanoid.JumpPower = 50
  5940. attack = false
  5941. end
  5942. end
  5943.  
  5944. local input = ""
  5945.  
  5946. mouse.KeyDown:connect(function(k)
  5947. if(k == "w" or k == "a" or k == "s" or k == "d")then
  5948. input = input .. k
  5949. local newInput = input
  5950. coroutine.wrap(function()
  5951. for i = 1, 25 do
  5952. if(newInput ~= input)then break end
  5953. swait()
  5954. end
  5955. if(newInput == input)then input = "" end
  5956. end)()
  5957. if(input == "wwssadad" and not AllowRape)then
  5958. AllowRape = true
  5959. warn("Rape unlocked! Have fun ;)")
  5960. elseif(input == "wwaassdd" and not AllowCata)then
  5961. AllowCata = true
  5962. warn("You unlocked CATASTROPHE.")
  5963. elseif(input == 'ddawas' and ModeOfGlitch == 4 and not attack)then
  5964. ChaosBegone()
  5965. end
  5966. end
  5967. end)
  5968.  
  5969. mouse.KeyDown:connect(function(k)
  5970. if k == "h" then
  5971.  
  5972. end
  5973.  
  5974. if k == "q" and attack == false and ModeOfGlitch ~= 2 then
  5975. ModeOfGlitch = 2
  5976. storehumanoidWS = 16
  5977. hum.WalkSpeed = 16
  5978. rainbowmode = false
  5979. chaosmode = false
  5980. glitchymode = false
  5981. tl1.Enabled = false
  5982. tl2.Enabled = false
  5983. tl3.Enabled = false
  5984. RecolorTextAndRename("UHHHHHHHHHHHHHHHHHHHHHHHHH...",Color3.new(1,1,1),Color3.new(0,1,1))
  5985. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Teal' end)
  5986. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Teal' end)
  5987. newTheme("rbxassetid://1720486224",0,1,1)
  5988. MAINRUINCOLOR = BrickColor.new("Toothpaste")
  5989. for i, v in pairs(mw2:GetChildren()) do
  5990. if v:IsA("Part") then
  5991. v.BrickColor = MAINRUINCOLOR
  5992. v.Material = "Neon"
  5993. end
  5994. end
  5995. for i, v in pairs(mw1:GetChildren()) do
  5996. if v:IsA("Part") then
  5997. v.Transparency = 1
  5998. v.BrickColor = MAINRUINCOLOR
  5999. v.Material = "Neon"
  6000. end
  6001. end
  6002. for i, v in pairs(m:GetChildren()) do
  6003. if v:IsA("Part") then
  6004. v.BrickColor = BrickColor.new("White")
  6005. v.Material = "Ice"
  6006. end
  6007. end
  6008. for i, v in pairs(m2:GetChildren()) do
  6009. if v:IsA("Part") then
  6010. v.BrickColor = BrickColor.new("Pastel light blue")
  6011. v.Material = "Glass"
  6012. end
  6013. end
  6014. for i, v in pairs(m3:GetChildren()) do
  6015. if v:IsA("Part") then
  6016. v.BrickColor = BrickColor.new("Toothpaste")
  6017. v.Material = "Neon"
  6018. end
  6019. end
  6020. for i, v in pairs(extrawingmod1:GetChildren()) do
  6021. if v:IsA("Part") then
  6022. v.Transparency = 1
  6023. v.BrickColor = BrickColor.new("White")
  6024. v.Material = "Neon"
  6025. end
  6026. end
  6027. for i, v in pairs(extrawingmod2:GetChildren()) do
  6028. if v:IsA("Part") then
  6029. v.Transparency = 1
  6030. v.BrickColor = BrickColor.new("White")
  6031. v.Material = "Neon"
  6032. end
  6033. end
  6034. elseif k == "q" and attack == false and ModeOfGlitch == 2 then
  6035. resetmode()
  6036. end
  6037. if k == "f" and attack == false and ModeOfGlitch ~= 69 then
  6038. lustmode()
  6039. elseif k == "f" and attack == false and ModeOfGlitch == 69 then
  6040. resetmode()
  6041. end
  6042. if k == "m" and attack == false and ModeOfGlitch == 1 then
  6043. RiddleMeThisRiddleMeThat()
  6044. elseif k == "m" and attack == false and ModeOfGlitch == 8376532578634534 then
  6045. resetmode()
  6046. end
  6047. if k == "e" and attack == false and ModeOfGlitch ~= 3 then
  6048. ModeOfGlitch = 3
  6049. storehumanoidWS = 16
  6050. hum.WalkSpeed = 16
  6051. rainbowmode = false
  6052. chaosmode = false
  6053. glitchymode = true
  6054. tl1.Enabled = true
  6055. tl2.Enabled = true
  6056. tl3.Enabled = true
  6057. RecolorTextAndRename("SeiZuRE",Color3.new(0,0,0),Color3.new(0.35,0,1))
  6058. newTheme("rbxassetid://1274310715",0,.93,1.25) -- 474074203
  6059. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6060. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6061. MAINRUINCOLOR = BrickColor.new("White")
  6062. for i, v in pairs(mw2:GetChildren()) do
  6063. if v:IsA("Part") then
  6064. v.BrickColor = MAINRUINCOLOR
  6065. v.Material = "Neon"
  6066. end
  6067. end
  6068. for i, v in pairs(mw1:GetChildren()) do
  6069. if v:IsA("Part") then
  6070. v.Transparency = 0
  6071. v.BrickColor = MAINRUINCOLOR
  6072. v.Material = "Neon"
  6073. end
  6074. end
  6075. for i, v in pairs(m:GetChildren()) do
  6076. if v:IsA("Part") then
  6077. v.BrickColor = BrickColor.new("Lime green")
  6078. v.Material = "Ice"
  6079. end
  6080. end
  6081. for i, v in pairs(m2:GetChildren()) do
  6082. if v:IsA("Part") then
  6083. v.BrickColor = BrickColor.new("Dark indigo")
  6084. v.Material = "Glass"
  6085. end
  6086. end
  6087. for i, v in pairs(m3:GetChildren()) do
  6088. if v:IsA("Part") then
  6089. v.Transparency = 1
  6090. v.BrickColor = BrickColor.new("Royal purple")
  6091. v.Material = "Neon"
  6092. end
  6093. end
  6094. for i, v in pairs(extrawingmod1:GetChildren()) do
  6095. if v:IsA("Part") then
  6096. v.Transparency = 1
  6097. v.BrickColor = BrickColor.new("White")
  6098. v.Material = "Neon"
  6099. end
  6100. end
  6101. for i, v in pairs(extrawingmod2:GetChildren()) do
  6102. if v:IsA("Part") then
  6103. v.Transparency = 1
  6104. v.BrickColor = BrickColor.new("White")
  6105. v.Material = "Neon"
  6106. end
  6107. end
  6108. elseif k == "e" and attack == false and ModeOfGlitch == 3 then
  6109. resetmode()
  6110. end
  6111. if k == "r" and attack == false and ModeOfGlitch ~= 4 then
  6112. ModeOfGlitch = 4
  6113. storehumanoidWS = 16
  6114. hum.WalkSpeed = 16
  6115. rainbowmode = false
  6116. glitchymode = false
  6117. chaosmode = true
  6118. tl1.Enabled = true
  6119. tl2.Enabled = true
  6120. tl3.Enabled = true
  6121. RecolorTextAndRename("why...",Color3.new(0,0,0),BrickColor.random().Color)
  6122. newTheme("rbxassetid://1369263130",0,1,1)
  6123. MAINRUINCOLOR = BrickColor.new("Lime green")
  6124. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6125. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6126. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6127. for i, v in pairs(mw2:GetChildren()) do
  6128. if v:IsA("Part") then
  6129. v.BrickColor = MAINRUINCOLOR
  6130. v.Material = "Neon"
  6131. end
  6132. end
  6133. for i, v in pairs(mw1:GetChildren()) do
  6134. if v:IsA("Part") then
  6135. v.Transparency = 0.75
  6136. v.BrickColor = BrickColor.random()
  6137. v.Material = "Neon"
  6138. end
  6139. end
  6140. for i, v in pairs(m:GetChildren()) do
  6141. if v:IsA("Part") then
  6142. v.BrickColor = BrickColor.new("Lime green")
  6143. v.Material = "Neon"
  6144. end
  6145. end
  6146. for i, v in pairs(m2:GetChildren()) do
  6147. if v:IsA("Part") then
  6148. v.BrickColor = BrickColor.random()
  6149. v.Material = "Neon"
  6150. end
  6151. end
  6152. for i, v in pairs(m3:GetChildren()) do
  6153. if v:IsA("Part") then
  6154. v.BrickColor = BrickColor.new("Lime green")
  6155. v.Material = "Neon"
  6156. end
  6157. end
  6158. for i, v in pairs(extrawingmod1:GetChildren()) do
  6159. if v:IsA("Part") then
  6160. v.Transparency = 1
  6161. v.BrickColor = BrickColor.new("White")
  6162. v.Material = "Neon"
  6163. end
  6164. end
  6165. for i, v in pairs(extrawingmod2:GetChildren()) do
  6166. if v:IsA("Part") then
  6167. v.Transparency = 1
  6168. v.BrickColor = BrickColor.new("White")
  6169. v.Material = "Neon"
  6170. end
  6171. end
  6172. elseif k == "r" and attack == false and ModeOfGlitch == 4 then
  6173. resetmode()
  6174. end
  6175.  
  6176. if k == "m" and attack == false and ModeOfGlitch == 4 then
  6177. insanitymode()
  6178. elseif k == "m" and attack == false and ModeOfGlitch == 666666 then
  6179. resetmode()
  6180. end
  6181. if k == "t" and attack == false and ModeOfGlitch ~= 5 then
  6182. ModeOfGlitch = 5
  6183. storehumanoidWS = 16
  6184. hum.WalkSpeed = 16
  6185. rainbowmode = false
  6186. chaosmode = false
  6187. glitchymode = false
  6188. tl1.Enabled = true
  6189. tl2.Enabled = true
  6190. tl3.Enabled = true
  6191. RecolorTextAndRename("Pee",Color3.new(1,1,1),Color3.new(1,1,0.5))
  6192. newTheme("rbxassetid://661079869",0,1.02,1)
  6193. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'New Yeller' end)
  6194. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'New Yeller' end)
  6195. MAINRUINCOLOR = BrickColor.new("Bright yellow")
  6196. for i, v in pairs(mw2:GetChildren()) do
  6197. if v:IsA("Part") then
  6198. v.BrickColor = MAINRUINCOLOR
  6199. v.Material = "Neon"
  6200. end
  6201. end
  6202. for i, v in pairs(mw1:GetChildren()) do
  6203. if v:IsA("Part") then
  6204. v.Transparency = 0
  6205. v.BrickColor = MAINRUINCOLOR
  6206. v.Material = "Neon"
  6207. end
  6208. end
  6209. for i, v in pairs(m:GetChildren()) do
  6210. if v:IsA("Part") then
  6211. v.BrickColor = BrickColor.new("Cool yellow")
  6212. v.Material = "Ice"
  6213. end
  6214. end
  6215. for i, v in pairs(m2:GetChildren()) do
  6216. if v:IsA("Part") then
  6217. v.BrickColor = BrickColor.new("Bright yellow")
  6218. v.Material = "Ice"
  6219. end
  6220. end
  6221. for i, v in pairs(m3:GetChildren()) do
  6222. if v:IsA("Part") then
  6223. v.BrickColor = BrickColor.new("Bright yellow")
  6224. v.Material = "Neon"
  6225. end
  6226. end
  6227. for i, v in pairs(extrawingmod1:GetChildren()) do
  6228. if v:IsA("Part") then
  6229. v.Transparency = 1
  6230. v.BrickColor = BrickColor.new("White")
  6231. v.Material = "Neon"
  6232. end
  6233. end
  6234. for i, v in pairs(extrawingmod2:GetChildren()) do
  6235. if v:IsA("Part") then
  6236. v.Transparency = 1
  6237. v.BrickColor = BrickColor.new("White")
  6238. v.Material = "Neon"
  6239. end
  6240. end
  6241. elseif k == "t" and attack == false and ModeOfGlitch == 5 then
  6242. resetmode()
  6243. end
  6244. if k == "y" and attack == false and ModeOfGlitch ~= 6 then
  6245. ModeOfGlitch = 6
  6246. storehumanoidWS = 75
  6247. hum.WalkSpeed = 75
  6248. rainbowmode = false
  6249. chaosmode = false
  6250. glitchymode = false
  6251. tl1.Enabled = true
  6252. tl2.Enabled = true
  6253. tl3.Enabled = true
  6254. RecolorTextAndRename("Justice of your mom",Color3.new(0,0,0),Color3.new(1,1,1))
  6255. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'White' end)
  6256. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'White' end)
  6257. newTheme("rbxassetid://1102271169",0,1,1)
  6258. MAINRUINCOLOR = BrickColor.new("White")
  6259. for i, v in pairs(mw2:GetChildren()) do
  6260. if v:IsA("Part") then
  6261. v.BrickColor = MAINRUINCOLOR
  6262. v.Material = "Neon"
  6263. end
  6264. end
  6265. for i, v in pairs(mw1:GetChildren()) do
  6266. if v:IsA("Part") then
  6267. v.Transparency = 0
  6268. v.BrickColor = MAINRUINCOLOR
  6269. v.Material = "Neon"
  6270. end
  6271. end
  6272. for i, v in pairs(m:GetChildren()) do
  6273. if v:IsA("Part") then
  6274. v.BrickColor = BrickColor.new("White")
  6275. v.Material = "Ice"
  6276. end
  6277. end
  6278. for i, v in pairs(m2:GetChildren()) do
  6279. if v:IsA("Part") then
  6280. v.BrickColor = BrickColor.new("White")
  6281. v.Material = "Ice"
  6282. end
  6283. end
  6284. for i, v in pairs(m3:GetChildren()) do
  6285. if v:IsA("Part") then
  6286. v.BrickColor = BrickColor.new("White")
  6287. v.Material = "Neon"
  6288. end
  6289. end
  6290. for i, v in pairs(extrawingmod1:GetChildren()) do
  6291. if v:IsA("Part") then
  6292. v.Transparency = 1
  6293. v.BrickColor = BrickColor.new("White")
  6294. v.Material = "Neon"
  6295. end
  6296. end
  6297. for i, v in pairs(extrawingmod2:GetChildren()) do
  6298. if v:IsA("Part") then
  6299. v.Transparency = 1
  6300. v.BrickColor = BrickColor.new("White")
  6301. v.Material = "Neon"
  6302. end
  6303. end
  6304. elseif k == "y" and attack == false and ModeOfGlitch == 6 then
  6305. resetmode()
  6306. end
  6307. if k == "u" and attack == false then
  6308.  
  6309. storehumanoidWS = 50
  6310. hum.WalkSpeed = 50
  6311. rainbowmode = true
  6312. chaosmode = false
  6313. glitchymode = false
  6314. tl1.Enabled = true
  6315. tl2.Enabled = true
  6316. tl3.Enabled = true
  6317.  
  6318. if(ModeOfGlitch == 6127843)then
  6319. vaporwave = not vaporwave
  6320. end
  6321.  
  6322. if(not vaporwave)then
  6323. RecolorTextAndRename("RAINBOW!!! =3",Color3.new(1,1,1),Color3.new(1,1,1))
  6324. newTheme("rbxassetid://147930134",0,1,1)
  6325. else
  6326. RecolorTextAndRename("Idk anymore...",Color3.new(1,1,1),Color3.new(1,1,1))
  6327. newTheme("rbxassetid://1308711379",0,1,1)
  6328. end
  6329.  
  6330.  
  6331. ModeOfGlitch = 6127843
  6332. MAINRUINCOLOR = BrickColor.new("White")
  6333. for i, v in pairs(mw2:GetChildren()) do
  6334. if v:IsA("Part") then
  6335. v.BrickColor = MAINRUINCOLOR
  6336. v.Material = "Neon"
  6337. end
  6338. end
  6339. for i, v in pairs(mw1:GetChildren()) do
  6340. if v:IsA("Part") then
  6341. v.Transparency = 0
  6342. v.BrickColor = MAINRUINCOLOR
  6343. v.Material = "Neon"
  6344. end
  6345. end
  6346. for i, v in pairs(m:GetChildren()) do
  6347. if v:IsA("Part") then
  6348. v.BrickColor = BrickColor.new("White")
  6349. v.Material = "Neon"
  6350. end
  6351. end
  6352. for i, v in pairs(m2:GetChildren()) do
  6353. if v:IsA("Part") then
  6354. v.BrickColor = BrickColor.new("White")
  6355. v.Material = "Neon"
  6356. end
  6357. end
  6358. for i, v in pairs(m3:GetChildren()) do
  6359. if v:IsA("Part") then
  6360. v.BrickColor = BrickColor.new("White")
  6361. v.Material = "Neon"
  6362. end
  6363. end
  6364. for i, v in pairs(extrawingmod1:GetChildren()) do
  6365. if v:IsA("Part") then
  6366. v.Transparency = 1
  6367. v.BrickColor = BrickColor.new("White")
  6368. v.Material = "Neon"
  6369. end
  6370. end
  6371. for i, v in pairs(extrawingmod2:GetChildren()) do
  6372. if v:IsA("Part") then
  6373. v.Transparency = 1
  6374. v.BrickColor = BrickColor.new("White")
  6375. v.Material = "Neon"
  6376. end
  6377. end
  6378. elseif k == "u" and attack == false and ModeOfGlitch == 6127843 then
  6379. resetmode()
  6380. end
  6381. if k == "p" and attack == false and ModeOfGlitch ~= 1000000 then
  6382. ModeOfGlitch = 1000000
  6383. storehumanoidWS = 100
  6384. hum.WalkSpeed = 100
  6385. rainbowmode = false
  6386. chaosmode = false
  6387. glitchymode = false
  6388. tl1.Enabled = true
  6389. tl2.Enabled = true
  6390. tl3.Enabled = true
  6391. RecolorTextAndRename("Colorful memer",Color3.new(0.25,0,1),Color3.new(0.5,0,1))
  6392. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  6393. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really green' end)
  6394. newTheme("rbxassetid://1504604335",0,1,1)
  6395. MAINRUINCOLOR = BrickColor.new("Really blue")
  6396. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6397. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6398. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6399. for i, v in pairs(mw2:GetChildren()) do
  6400. if v:IsA("Part") then
  6401. v.BrickColor = MAINRUINCOLOR
  6402. v.Material = "Neon"
  6403. end
  6404. end
  6405. for i, v in pairs(mw1:GetChildren()) do
  6406. if v:IsA("Part") then
  6407. v.Transparency = 0
  6408. v.BrickColor = MAINRUINCOLOR
  6409. v.Material = "Neon"
  6410. end
  6411. end
  6412. for i, v in pairs(m:GetChildren()) do
  6413. if v:IsA("Part") then
  6414. v.Color = Color3.new(1,1,1)
  6415. v.Material = "Neon"
  6416. end
  6417. end
  6418. for i, v in pairs(m2:GetChildren()) do
  6419. if v:IsA("Part") then
  6420. v.Color = Color3.new(1,1,0)
  6421. v.Material = "Neon"
  6422. end
  6423. end
  6424. for i, v in pairs(m3:GetChildren()) do
  6425. if v:IsA("Part") then
  6426. v.Color = Color3.new(1,0,1)
  6427. v.Material = "Neon"
  6428. end
  6429. end
  6430. for i, v in pairs(extrawingmod1:GetChildren()) do
  6431. if v:IsA("Part") then
  6432. v.Transparency = 0.75
  6433. v.Color = Color3.new(0,1,1)
  6434. v.Material = "Neon"
  6435. end
  6436. end
  6437. for i, v in pairs(extrawingmod2:GetChildren()) do
  6438. if v:IsA("Part") then
  6439. v.Transparency = 0.75
  6440. v.Color = Color3.new(0,1,0)
  6441. v.Material = "Neon"
  6442. end
  6443. end
  6444. elseif k == "p" and attack == false and ModeOfGlitch == 1000000 then
  6445. resetmode()
  6446. end
  6447. if k == "m" and attack == false and ModeOfGlitch == 1000000 and ModeOfGlitch ~= 12345678987654321 and (plr.Name == 'Noobygames12' or plr.UserId == 5719877 or AllowCata) then
  6448. newThemeCust("rbxassetid://716909925",0,1,1)
  6449. attack = true
  6450. hum.WalkSpeed = 0
  6451. MAINRUINCOLOR = BrickColor.new("Really red")
  6452. for i = 0, 24, 0.1 do
  6453. swait()
  6454. sphereMK(1,-2,"Add",tors.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),2.5,2.5,15,-0.025,MAINRUINCOLOR,100)
  6455. RH.C0=clerp(RH.C0,cf(1,-0.05,-0.75)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-30)),.1)
  6456. LH.C0=clerp(LH.C0,cf(-1,-0.5,-0.25)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(30)),.1)
  6457. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(20 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6458. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(55),math.rad(0),math.rad(0)),.1)
  6459. RW.C0=clerp(RW.C0,cf(0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(-20 + 2.5 * math.cos(sine / 28))),.1)
  6460. LW.C0=clerp(LW.C0,cf(-0.75,0.5,-0.25)*angles(math.rad(140),math.rad(0),math.rad(20 - 2.5 * math.cos(sine / 28))),.1)
  6461. end
  6462. CameraEnshaking(1,1)
  6463. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6464. CFuncs["Sound"].Create("rbxassetid://847061203", char, 0.5,1)
  6465. wait(0.55)
  6466. CameraEnshaking(1,2)
  6467. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6468. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6469. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6470. CFuncs["Sound"].Create("rbxassetid://847061203", char, 1,1)
  6471. wait(0.55)
  6472. CameraEnshaking(1,3)
  6473. sphere(5,"Add",root.CFrame,vt(0,0,0),12.5,MAINRUINCOLOR)
  6474. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6475. sphere(5,"Add",root.CFrame,vt(0,0,0),7.5,MAINRUINCOLOR)
  6476. sphere(5,"Add",root.CFrame,vt(0,0,0),5,MAINRUINCOLOR)
  6477. sphere(5,"Add",root.CFrame,vt(0,0,0),2.5,MAINRUINCOLOR)
  6478. CFuncs["Sound"].Create("rbxassetid://847061203", char, 2,1)
  6479. wait(0.55)
  6480. CameraEnshaking(10,5)
  6481. CFuncs["Sound"].Create("rbxassetid://741272936", char, 1, 1)
  6482. CFuncs["Sound"].Create("rbxassetid://164881112", char, 1, 1)
  6483. CFuncs["Sound"].Create("rbxassetid://1192402877", char, 1, 1)
  6484. CFuncs["Sound"].Create("rbxassetid://429123896", char, 1, 0.85)
  6485. CFuncs["Sound"].Create("rbxassetid://1208650519", char, 1, 1)
  6486. sphere(1,"Add",root.CFrame,vt(0,0,0),2,MAINRUINCOLOR)
  6487. sphere(2,"Add",root.CFrame,vt(0,0,0),4,MAINRUINCOLOR)
  6488. sphere(3,"Add",root.CFrame,vt(0,0,0),6,MAINRUINCOLOR)
  6489. sphere(4,"Add",root.CFrame,vt(0,0,0),8,MAINRUINCOLOR)
  6490. sphere(5,"Add",root.CFrame,vt(0,0,0),10,MAINRUINCOLOR)
  6491. sphere(6,"Add",root.CFrame,vt(0,0,0),12,MAINRUINCOLOR)
  6492. sphere(7,"Add",root.CFrame,vt(0,0,0),14,MAINRUINCOLOR)
  6493. sphere(8,"Add",root.CFrame,vt(0,0,0),16,MAINRUINCOLOR)
  6494. sphere(9,"Add",root.CFrame,vt(0,0,0),18,MAINRUINCOLOR)
  6495. sphere(10,"Add",root.CFrame,vt(0,0,0),20,MAINRUINCOLOR)
  6496. for i = 0, 49 do
  6497. sphereMK(1,3,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,200,-1,MAINRUINCOLOR,0)
  6498. sphereMK(2,6,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,150,-0.5,MAINRUINCOLOR,0)
  6499. sphereMK(3,9,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,100,-0.5,MAINRUINCOLOR,0)
  6500. sphereMK(4,12,"Add",root.CFrame*CFrame.Angles(math.rad(math.random(-360,360)),math.rad(math.random(-360,360)),math.rad(math.random(-360,360))),50,50,50,-0.5,MAINRUINCOLOR,0)
  6501. end
  6502. ModeOfGlitch = 12345678987654321
  6503. storehumanoidWS = 200
  6504. hum.WalkSpeed = 200
  6505. rainbowmode = false
  6506. chaosmode = false
  6507. glitchymode = false
  6508. tl1.Enabled = true
  6509. tl2.Enabled = true
  6510. tl3.Enabled = true
  6511. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.new'Really red' end)
  6512. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.new'Really red' end)
  6513. RecolorTextAndRename("SOVIET!!!",Color3.new(1,0,0),Color3.new(1,0,0))
  6514. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6515. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6516. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6517. for i, v in pairs(mw2:GetChildren()) do
  6518. if v:IsA("Part") then
  6519. v.BrickColor = MAINRUINCOLOR
  6520. v.Material = "Neon"
  6521. end
  6522. end
  6523. for i, v in pairs(mw1:GetChildren()) do
  6524. if v:IsA("Part") then
  6525. v.Transparency = 0
  6526. v.BrickColor = MAINRUINCOLOR
  6527. v.Material = "Neon"
  6528. end
  6529. end
  6530. for i, v in pairs(m:GetChildren()) do
  6531. if v:IsA("Part") then
  6532. v.Color = Color3.new(1,0,0)
  6533. v.Material = "Neon"
  6534. end
  6535. end
  6536. for i, v in pairs(m2:GetChildren()) do
  6537. if v:IsA("Part") then
  6538. v.Color = Color3.new(1,0,0)
  6539. v.Material = "Neon"
  6540. end
  6541. end
  6542. for i, v in pairs(m3:GetChildren()) do
  6543. if v:IsA("Part") then
  6544. v.Color = Color3.new(1,0,0)
  6545. v.Material = "Neon"
  6546. end
  6547. end
  6548. for i, v in pairs(extrawingmod1:GetChildren()) do
  6549. if v:IsA("Part") then
  6550. v.Transparency = 0
  6551. v.Color = Color3.new(1,0,0)
  6552. v.Material = "Neon"
  6553. end
  6554. end
  6555. for i, v in pairs(extrawingmod2:GetChildren()) do
  6556. if v:IsA("Part") then
  6557. v.Transparency = 0
  6558. v.Color = Color3.new(1,0,0)
  6559. v.Material = "Neon"
  6560. end
  6561. attack = false
  6562. end
  6563. elseif k == "m" and attack == false and ModeOfGlitch == 12345678987654321 then
  6564. resetmode()
  6565. end
  6566. if k == "l" and toggleTag == false then
  6567. toggleTag = true
  6568. text.TextTransparency = 0
  6569. text.TextStrokeTransparency = 0
  6570. elseif k == "l" and toggleTag == true then
  6571. toggleTag = false
  6572. text.TextTransparency = 1
  6573. text.TextStrokeTransparency = 1
  6574. end
  6575. if k == "z" and attack == false and (ModeOfGlitch == 1 or ModeOfGlitch == 8376532578634534) then
  6576. ExtinctiveHeartbreak()
  6577. elseif k == "z" and attack == false and ModeOfGlitch == 2 then
  6578. PureBomb()
  6579. elseif k == "z" and attack == false and ModeOfGlitch == 3 then
  6580. scattercorrupt()
  6581. elseif k == "z" and attack == false and ModeOfGlitch == 5 then
  6582. Judgement()
  6583. elseif k == "z" and attack == false and ModeOfGlitch == 4 then
  6584. ChaosGroundStrike()
  6585. elseif k == "z" and attack == false and ModeOfGlitch == 666666 then
  6586. InsaneGroundStrike()
  6587.  
  6588. elseif k == "z" and attack == false and ModeOfGlitch == 69 then
  6589. ChooseODer()
  6590. elseif k == "z" and attack == false and ModeOfGlitch == 1000000 then
  6591. Starfall()
  6592. elseif k == "z" and attack == false and ModeOfGlitch == 6 then
  6593. yinyangi()
  6594. elseif k == "z" and attack == false and ModeOfGlitch == 6127843 then
  6595. Wip()
  6596. elseif k == "z" and attack == false and ModeOfGlitch == 12345678987654321 then
  6597. StarfallEX()
  6598. end
  6599. if k == "x" and attack == false and ModeOfGlitch == 1000000 then
  6600. StarDivision()
  6601. elseif k == "x" and attack == false and ModeOfGlitch == 6 then
  6602. JusticeBeam()
  6603. end
  6604. if k == "v" and attack == false and ModeOfGlitch == 12345678987654321 then
  6605. UniversalCollapse()
  6606. end
  6607. if k == "b" and attack == false and ModeOfGlitch == 4 then
  6608.  
  6609. end
  6610. if k == "n" and attack == false then
  6611. CorruptBlink()
  6612. end
  6613. if k == "m" and attack == false and ModeOfGlitch == 69 and AllowRape then
  6614. FuckMeSidewaysAndCallMeGay()
  6615. end
  6616. end)
  6617. coroutine.resume(coroutine.create(function()
  6618. while true do
  6619. swait(2)
  6620. if rainbowmode == true or ModeOfGlitch == 6 or glitchymode then
  6621. sphereMK(5,0.15,"Add",root.CFrame*CFrame.new(math.random(-5,5),-6,math.random(-5,5))*CFrame.Angles(math.rad(90),0,0),1.5,1.5,10,-0.015,MAINRUINCOLOR,0)
  6622. end
  6623.  
  6624. end
  6625. end))
  6626.  
  6627.  
  6628. coroutine.resume(coroutine.create(function()
  6629. while true do
  6630. if ModeOfGlitch == 1000000 then
  6631. swait(0.5)
  6632. end
  6633. swait()
  6634. if ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 then
  6635. sphereMK(5,0.5,"Add",root.CFrame*CFrame.new(math.random(-25,25),-10,math.random(-25,25))*CFrame.Angles(math.rad(90 + math.random(-15,15)),math.rad(math.random(-15,15)),0),1,1,15,-0.01,MAINRUINCOLOR,0)
  6636. end
  6637. if ModeOfGlitch == 12345678987654321 then
  6638. sphereMK(5,math.random(1,2),"Add",root.CFrame*CFrame.new(math.random(-75,75),-25,math.random(-75,75))*CFrame.Angles(math.rad(90 + math.random(-25,25)),math.rad(math.random(-25,25)),0),1,1,50,-0.01,MAINRUINCOLOR,0)
  6639. end
  6640. end
  6641. end))
  6642.  
  6643.  
  6644. function RandomMaterial()
  6645. local getRandom;
  6646. local material;
  6647. local function IsTerrainMaterial(mat)
  6648. local isMaterial = pcall(function() workspace:FindFirstChildOfClass'Terrain':GetMaterialColor(mat) end)
  6649. return isMaterial
  6650. end
  6651. getRandom = function()
  6652. local mat = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())]
  6653. if(not IsTerrainMaterial(mat))then material = mat else getRandom() end
  6654. end
  6655. getRandom()
  6656. repeat wait() until material
  6657. return material
  6658. end
  6659. function RandomCaps(str)
  6660. local new = ""
  6661. for i = 1, #str do
  6662. if(math.random(1,2) == 1)then
  6663. new = new .. (str:sub(i,i):upper())
  6664. else
  6665. new = new .. str:sub(i,i)
  6666. end
  6667. end
  6668. return new
  6669. end
  6670.  
  6671. coroutine.resume(coroutine.create(function()
  6672. while true do
  6673. for i = 1, #ODers do
  6674. local ODer = ODers[i]
  6675. if(ODer)then
  6676. local hed = ODer:FindFirstChild'Head'
  6677. if(ODer.Parent and hed)then
  6678. sphere(10,"Add",hed.CFrame * cf(0,4,0),vt(6,6,3),0,(ODer.Name == 'Nebula_Zorua' and BrickColor.new'Royal purple' or MAINRUINCOLOR),true,false,true)
  6679. else
  6680. table.remove(ODers,i)
  6681. end
  6682. else
  6683. table.remove(ODers,i)
  6684. end
  6685. end
  6686. if(not kan)then
  6687. kan = Instance.new("Sound",char)
  6688. end
  6689. kan.Parent = char
  6690. if(plr.UserId == 5719877)then kan.Volume = 3 else kan.Volume = 1 end
  6691. kan.Pitch = Pitch
  6692. kan.SoundId = MID
  6693. kan.Name = "wrecked"
  6694. kan.Looped = true
  6695. kan:Resume()
  6696. swait()
  6697. if glitchymode == true then
  6698. local val = math.random(1,255)
  6699. local color = Color3.fromRGB(val,val,val)
  6700. pcall(function() Character.ReaperShadowHead.Eye1.Color = color end)
  6701. pcall(function() Character.ReaperShadowHead.Eye2.Color = color end)
  6702. tl1.Color = ColorSequence.new(color)
  6703. tl2.Color = ColorSequence.new(color)
  6704. tl3.Color = ColorSequence.new(color)
  6705. tr1.Color = ColorSequence.new(color)
  6706. tr2.Color = ColorSequence.new(color)
  6707. tr3.Color = ColorSequence.new(color)
  6708. for i, v in pairs(mw1:GetChildren()) do
  6709. if v:IsA("Part") then
  6710. v.Transparency = 0
  6711. v.Color = color
  6712. v.Material = "Neon"
  6713. end
  6714. end
  6715. for i, v in pairs(mw2:GetChildren()) do
  6716. if v:IsA("Part") then
  6717. v.Color = color
  6718. v.Material = "Neon"
  6719. end
  6720. end
  6721. for i, v in pairs(m2:GetChildren()) do
  6722. if v:IsA("Part") then
  6723. v.Color = color
  6724. v.Material = "Neon"
  6725. end
  6726. end
  6727. RecolorTextAndRename((ModeOfGlitch == 3 and RandomCaps"seizure"),Color3.new(0,0,0),color)
  6728. end
  6729. if chaosmode or glitchymode then
  6730. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6731. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material:GetEnumItems()[math.random(1,#Enum.Material:GetEnumItems())] end)
  6732. else
  6733. pcall(function() Character.ReaperShadowHead.Eye1.Material = Enum.Material.Neon end)
  6734. pcall(function() Character.ReaperShadowHead.Eye2.Material = Enum.Material.Neon end)
  6735. end
  6736. if chaosmode == true then
  6737. tl1.Color = ColorSequence.new(BrickColor.random().Color)
  6738. tl2.Color = ColorSequence.new(BrickColor.random().Color)
  6739. tl3.Color = ColorSequence.new(BrickColor.random().Color)
  6740. RecolorTextAndRename((ModeOfGlitch == 666666 and "WHY!!!!!!!" or "why..."),Color3.new(0,0,0),BrickColor.random().Color)
  6741. pcall(function() Character.ReaperShadowHead.Eye1.BrickColor = BrickColor.random() end)
  6742. pcall(function() Character.ReaperShadowHead.Eye2.BrickColor = BrickColor.random() end)
  6743. for i, v in pairs(mw1:GetChildren()) do
  6744. if v:IsA("Part") then
  6745. v.Transparency = 0.75
  6746. v.BrickColor = BrickColor.random()
  6747. v.Material = "Neon"
  6748. end
  6749. end
  6750. for i, v in pairs(extrawingmod1:GetChildren()) do
  6751. if v:IsA("Part") and ModeOfGlitch == 666666 then
  6752. v.Transparency = 0.75
  6753. v.BrickColor = BrickColor.random()
  6754. v.Material = "Neon"
  6755. elseif v:IsA("Part") then
  6756. v.Transparency = 1
  6757. end
  6758. end
  6759. for i, v in pairs(m2:GetChildren()) do
  6760. if v:IsA("Part") then
  6761. v.BrickColor = BrickColor.random()
  6762. v.Material = "Neon"
  6763. end
  6764. end
  6765. end
  6766. end
  6767. end))
  6768. Humanoid.Name = "STARGLITCHER"
  6769. Humanoid.MaxHealth = math.huge
  6770. Humanoid.Health = math.huge
  6771. Instance.new("ForceField",char).Visible = false
  6772. Humanoid.Animator.Parent = nil
  6773. idleanim=.4
  6774. while true do
  6775. if rainbowmode == false and chaosmode == false and glitchymode == false then
  6776. tr1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6777. tr2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6778. tr3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6779. tl1.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6780. tl2.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6781. tl3.Color = ColorSequence.new(MAINRUINCOLOR.Color)
  6782. end
  6783. if rainbowmode == true then
  6784. pcall(function() Character.ReaperShadowHead.Eye1.Color = Color3.new(r/255,g/255,b/255) end)
  6785. pcall(function() Character.ReaperShadowHead.Eye2.Color = Color3.new(r/255,g/255,b/255) end)
  6786. if(not vaporwave)then
  6787. RecolorTextAndRename("RAINBOW!!! =3",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6788. else
  6789. RecolorTextAndRename("idk anymore...",Color3.new(r/255,g/255,b/255),Color3.new(r/500,g/500,b/500))
  6790. end
  6791. MAINRUINCOLOR = BrickColor.new("White")
  6792. tr1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6793. tr2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6794. tr3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6795. tl1.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6796. tl2.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6797. tl3.Color = ColorSequence.new(Color3.new(r/255,g/255,b/255))
  6798. for i, v in pairs(m:GetChildren()) do
  6799. if v:IsA("Part") then
  6800. v.Color = Color3.new(r/255,g/255,b/255)
  6801. end
  6802. end
  6803. for i, v in pairs(m2:GetChildren()) do
  6804. if v:IsA("Part") then
  6805. v.Color = Color3.new(r/255,g/255,b/255)
  6806. end
  6807. end
  6808. for i, v in pairs(m3:GetChildren()) do
  6809. if v:IsA("Part") then
  6810. v.Color = Color3.new(r/255,g/255,b/255)
  6811. end
  6812. end
  6813. for i, v in pairs(mw1:GetChildren()) do
  6814. if v:IsA("Part") then
  6815. v.Color = Color3.new(r/255,g/255,b/255)
  6816. v.Material = "Neon"
  6817. end
  6818. end
  6819. for i, v in pairs(mw2:GetChildren()) do
  6820. if v:IsA("Part") then
  6821. v.Color = Color3.new(r/255,g/255,b/255)
  6822. v.Material = "Neon"
  6823. end
  6824. end
  6825. end
  6826. CameraManager()
  6827. swait()
  6828. lwing1weld.C1=clerp(lwing1weld.C1,cf(2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(12.5 + 5 * math.cos(sine / 32))),.3)
  6829. lwing2weld.C1=clerp(lwing2weld.C1,cf(3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(25 + 7.5 * math.cos(sine / 32))),.3)
  6830. lwing3weld.C1=clerp(lwing3weld.C1,cf(3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(37.5 + 10 * math.cos(sine / 32))),.3)
  6831. lwing4weld.C1=clerp(lwing4weld.C1,cf(4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(50 + 12.5 * math.cos(sine / 32))),.3)
  6832. lwing5weld.C1=clerp(lwing5weld.C1,cf(5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(62.5 + 15 * math.cos(sine / 32))),.3)
  6833. lwing6weld.C1=clerp(lwing6weld.C1,cf(6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(75 + 17.5 * math.cos(sine / 32))),.3)
  6834.  
  6835. rwing1weld.C1=clerp(rwing1weld.C1,cf(-2,0,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(5 + 10 * math.cos(sine / 32)),math.rad(0),math.rad(-12.5 - 5 * math.cos(sine / 32))),.3)
  6836. rwing2weld.C1=clerp(rwing2weld.C1,cf(-3,1,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(10 + 15 * math.cos(sine / 32)),math.rad(0),math.rad(-25 - 7.5 * math.cos(sine / 32))),.3)
  6837. rwing3weld.C1=clerp(rwing3weld.C1,cf(-3.75,2,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(15 + 20 * math.cos(sine / 32)),math.rad(0),math.rad(-37.5 - 10 * math.cos(sine / 32))),.3)
  6838. rwing4weld.C1=clerp(rwing4weld.C1,cf(-4.75,3,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(20 + 25 * math.cos(sine / 32)),math.rad(0),math.rad(-50 - 12.5 * math.cos(sine / 32))),.3)
  6839. rwing5weld.C1=clerp(rwing5weld.C1,cf(-5.75,4,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(25 + 30 * math.cos(sine / 32)),math.rad(0),math.rad(-62.5 - 15 * math.cos(sine / 32))),.3)
  6840. rwing6weld.C1=clerp(rwing6weld.C1,cf(-6.75,5,0)*angles(math.rad(0),math.rad(0),math.rad(0))*angles(math.rad(30 + 35 * math.cos(sine / 32)),math.rad(0),math.rad(-75 - 17.5 * math.cos(sine / 32))),.3)
  6841. sine = sine + change
  6842. local torvel=(RootPart.Velocity*Vector3.new(1,0,1)).magnitude
  6843. local velderp=RootPart.Velocity.y
  6844. hitfloor,posfloor=rayCast(RootPart.Position,(CFrame.new(RootPart.Position,RootPart.Position - Vector3.new(0,1,0))).lookVector,4,Character)
  6845. if equipped==true or equipped==false then
  6846. if attack==false then
  6847. idle=idle+1
  6848. else
  6849. idle=0
  6850. end
  6851. if idle>=500 then
  6852. if attack==false then
  6853. --Sheath()
  6854. end
  6855. end
  6856. if RootPart.Velocity.y > 1 and hitfloor==nil then
  6857. Anim="Jump"
  6858. if attack==false then
  6859. 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(-5),math.rad(0),math.rad(-20)),.1)
  6860. 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)
  6861. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(-10),math.rad(0),math.rad(0)),.1)
  6862. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-2.5),math.rad(0),math.rad(0)),.1)
  6863. 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)
  6864. 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)
  6865. end
  6866. elseif RootPart.Velocity.y < -1 and hitfloor==nil then
  6867. Anim="Fall"
  6868. if attack==false then
  6869. 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(-5),math.rad(0),math.rad(-20)),.1)
  6870. 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)
  6871. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 25))*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6872. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(0),math.rad(0),math.rad(0)),.1)
  6873. RW.C0=clerp(RW.C0,cf(1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(50)),.1)
  6874. LW.C0=clerp(LW.C0,cf(-1.45,0.5 + 0.1 * math.cos(sine / 25),0)*angles(math.rad(-20),math.rad(0),math.rad(-50)),.1)
  6875. end
  6876. elseif torvel<1 and hitfloor~=nil then
  6877. Anim="Idle"
  6878. if attack==false then
  6879. if ModeOfGlitch == 1 then
  6880. RH.C0=clerp(RH.C0,cf(1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-10 - 2.5 * math.cos(sine / 32)),math.rad(-20),math.rad(0)),.1)
  6881. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.1 * math.cos(sine / 32),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(-10 + 2.5 * math.cos(sine / 32))),.1)
  6882. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.1 * math.cos(sine / 32))*angles(math.rad(10 - 2 * math.cos(sine / 32)),math.rad(0),math.rad(20)),.1)
  6883. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(25 - 2.5 * math.cos(sine / 32)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(-20 - 5 * math.cos(sine / 0.465))),.1)
  6884. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(-20),math.rad(30 + 2.5 * math.cos(sine / 25))),.1)
  6885. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6886.  
  6887. elseif ModeOfGlitch == 2 or ModeOfGlitch == 6127843 then
  6888. 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)
  6889. 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)
  6890. 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)
  6891. 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)
  6892. 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)
  6893. 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)
  6894.  
  6895. elseif ModeOfGlitch == 3 then
  6896. 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)
  6897. LH.C0=clerp(LH.C0,cf(-1,-1 - 0.05 * math.cos(sine / 28),0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(20),math.rad(0 + 1 * math.cos(sine / 34))),.1)
  6898. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0 + 0.05 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-20)),.1)
  6899. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(10 - 2.5 * math.cos(sine / 28)),math.rad(0),math.rad(20)),.1)
  6900. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(-5),math.rad(15 + 7.5 * math.cos(sine / 12.5))),.1)
  6901. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(15 - 15 * math.cos(sine / 0.5265)),math.rad(0 - 15 * math.cos(sine / 0.25)),math.rad(0 - 15 * math.cos(sine / 0.465)))*angles(math.rad(math.random(5,15)),math.rad(5),math.rad(-15 - 7.5 * math.cos(sine / 12.5))),.1)
  6902. elseif ModeOfGlitch == 4 then
  6903. 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)
  6904. 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)
  6905. 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)
  6906. 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)
  6907. RW.C0=clerp(RW.C0,cf(1.5,0.5,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))),.1)
  6908. LW.C0=clerp(LW.C0,cf(-1.5,0.5,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))),.1)
  6909. elseif ModeOfGlitch == 69 then
  6910. RootJoint.C0 = RootJoint.C0:lerp(cf(0,0,0)*angles(0,0,math.rad(0+5*math.cos(sine/16)))*RootCF,.1)
  6911. Torso.Neck.C0 = Torso.Neck.C0:lerp(necko*angles(0,0,-math.rad(0+5*math.cos(sine/16))),.1)
  6912. 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)
  6913. 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)
  6914. LW.C0 = LW.C0:lerp(cf(-1.5,0.5,0)*cf(0,-.15,0)*angles(math.rad(15),0,math.rad(20)),.1)
  6915. RW.C0 = RW.C0:lerp(cf(1.5,0.5,0)*angles(0,0,math.rad(5+5*math.sin(sine/16))),.1)
  6916. elseif ModeOfGlitch == 8376532578634534 then
  6917. RH.C0=clerp(RH.C0,cf(1,-1-.2*math.cos(sine/16),0)*angles(0,math.rad(90),0),.1)
  6918. 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)
  6919. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,0+.2*math.cos(sine/16)),.1)
  6920. 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)
  6921. RW.C0=clerp(RW.C0,cf(1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(45),0,math.rad(-90)),.1)
  6922. LW.C0=clerp(LW.C0,cf(-1,0.5+.2*math.cos(sine/16),-.65)*angles(math.rad(-45),0,math.rad(100)),.1)
  6923.  
  6924. elseif ModeOfGlitch == 666666 then
  6925. 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)
  6926. 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)
  6927. 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)
  6928. 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)
  6929. 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)
  6930. 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)
  6931.  
  6932. elseif ModeOfGlitch == 5 then
  6933. 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)
  6934. 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)
  6935. 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)
  6936. 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)
  6937. 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)
  6938. 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)
  6939.  
  6940. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 6 then
  6941. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6942. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  6943. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(0)),.1)
  6944. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(0)),.1)
  6945. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(20 + 2.5 * math.cos(sine / 28))),.1)
  6946. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10),math.rad(0),math.rad(-20 - 2.5 * math.cos(sine / 28))),.1)
  6947.  
  6948. elseif ModeOfGlitch == 12345678987654321 then
  6949. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-10)),.1)
  6950. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(10)),.1)
  6951. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,1.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(0 - 1 * math.cos(sine / 34)),math.rad(0),math.rad(-40)),.1)
  6952. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(15),math.rad(0),math.rad(40)),.1)
  6953. 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)
  6954. 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)
  6955. end
  6956. end
  6957. elseif torvel>2 and torvel<22 and hitfloor~=nil then
  6958. Anim="Walk"
  6959. if attack==false then
  6960. if ModeOfGlitch == 1 then
  6961. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6962. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6963. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.1 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6964. 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)
  6965. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6966. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(160),math.rad(0),math.rad(25)),.1)
  6967. elseif ModeOfGlitch == 4 then
  6968. RH.C0=clerp(RH.C0,cf(1,-.9-.4*math.cos(sine/8)/2,.4*math.cos(sine/4)/2)*angles(math.rad(2-4*math.cos(sine/10))-math.sin(sine/10)/2,0,0)*angles(0,math.rad(90),0),.1)
  6969. LH.C0=clerp(LH.C0,cf(-1,-.9+.4*math.cos(sine/8)/2,-.4*math.cos(sine/4)/2)*angles(math.rad(2+3*math.cos(sine/10))+math.sin(sine/10)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6970. 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)
  6971. 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)
  6972. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(10 - 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.123)),math.rad(5 + 2.5 * math.cos(sine / 0.6))),.1)
  6973. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(10 + 15 * math.cos(sine / 12)),math.rad(0 + 2.5 * math.cos(sine / 0.664)),math.rad(-5 + 2.5 * math.cos(sine / 0.23))),.1)
  6974. elseif ModeOfGlitch == 666666 then
  6975. 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)
  6976. 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)
  6977. 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)
  6978. 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)
  6979. 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)
  6980. 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)
  6981.  
  6982. elseif ModeOfGlitch ~= 1 or ModeOfGlitch ~= 4 then
  6983. RH.C0=clerp(RH.C0,cf(1,-.85-.4*math.cos(sine/8)/1.5,.4*math.cos(sine/8)/2)*angles(math.rad(2-2*math.cos(sine/8))-math.sin(sine/8)/2,0,0)*angles(0,math.rad(90),0),.1)
  6984. LH.C0=clerp(LH.C0,cf(-1,-.85+.4*math.cos(sine/8)/1.5,-.4*math.cos(sine/8)/2)*angles(math.rad(2+2*math.cos(sine/8))+math.sin(sine/8)/2,0,0)*angles(0,math.rad(-90),0),.1)
  6985. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.15 - 0.1 * math.cos(sine / 4))*angles(math.rad(5),math.rad(0),math.rad(0 - 5 * math.cos(sine / 8))),.1)
  6986. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 5 * math.cos(sine / 8))),.1)
  6987. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 45 * math.cos(sine / 8)),math.rad(0),math.rad(10 - 10 * math.cos(sine / 4))),.1)
  6988. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 45 * math.cos(sine / 8)),math.rad(0),math.rad(-10 + 10 * math.cos(sine / 4))),.1)
  6989. end
  6990. end
  6991. elseif torvel>=22 and hitfloor~=nil then
  6992. Anim="Run"
  6993. if attack==false then
  6994. if ModeOfGlitch ~= 1000000 and ModeOfGlitch ~= 12345678987654321 and ModeOfGlitch ~= 4 and ModeOfGlitch ~= 6 and ModeOfGlitch ~= 8376532578634534 then
  6995. RH.C0=clerp(RH.C0,cf(1,-1-.4*math.cos(sine/6)/2,.8*math.cos(sine/6)/2)*angles(math.rad(0-65*math.cos(sine/6))-math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(90),0),.1)
  6996. LH.C0=clerp(LH.C0,cf(-1,-1+.4*math.cos(sine/6)/2,-.8*math.cos(sine/6)/2)*angles(math.rad(0+65*math.cos(sine/6))+math.sin(sine/6)/1.5,0,0)*angles(0,math.rad(-90),0),.1)
  6997. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + 0.125 * math.cos(sine / 3))*angles(math.rad(20),math.rad(0),math.rad(0 - 15 * math.cos(sine / 6))),.1)
  6998. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-10 + 2.5 * math.cos(sine / 100)),math.rad(0),math.rad(0 + 15 * math.cos(sine / 6))),.1)
  6999. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(0 + 105 * math.cos(sine / 6)),math.rad(0),math.rad(5 - 10 * math.cos(sine / 3))),.1)
  7000. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(0 - 105 * math.cos(sine / 6)),math.rad(0),math.rad(-5 + 10 * math.cos(sine / 3))),.1)
  7001. elseif ModeOfGlitch == 666666 then
  7002. RH.C0=clerp(RH.C0,cf(1,-0.75 - 0.25 * math.cos(sine / 3),-0.25 - 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  7003. LH.C0=clerp(LH.C0,cf(-1,-0.75 + 0.25 * math.cos(sine / 3),-0.25 + 0.25 * math.cos(sine / 3))*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(0),math.rad(0),math.rad(0 + 95 * math.cos(sine / 6))),.1)
  7004. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,0,-0.125 + .125 * math.cos(sine / 3))*angles(math.rad(25),math.rad(0),math.rad(0 - 5 * math.cos(sine / 6))),.1)
  7005. 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)
  7006. 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)
  7007. 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)
  7008.  
  7009. elseif ModeOfGlitch == 1000000 or ModeOfGlitch == 12345678987654321 or ModeOfGlitch == 4 or ModeOfGlitch == 6 or ModeOfGlitch == 8376532578634534 then
  7010. RH.C0=clerp(RH.C0,cf(1,-0.25,-0.5)*angles(math.rad(0),math.rad(90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(-20)),.2)
  7011. LH.C0=clerp(LH.C0,cf(-1,-1,0)*angles(math.rad(0),math.rad(-90),math.rad(0))*angles(math.rad(-2.5),math.rad(0),math.rad(20)),.2)
  7012. RootJoint.C0=clerp(RootJoint.C0,RootCF*cf(0,-0.5,0.5 + 0.1 * math.cos(sine / 28))*angles(math.rad(75),math.rad(0),math.rad(0)),.2)
  7013. Torso.Neck.C0=clerp(Torso.Neck.C0,necko*angles(math.rad(-20),math.rad(0),math.rad(0)),.2)
  7014. RW.C0=clerp(RW.C0,cf(1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(30 + 2.5 * math.cos(sine / 28))),.2)
  7015. LW.C0=clerp(LW.C0,cf(-1.5,0.5,0)*angles(math.rad(-30),math.rad(0),math.rad(-30 - 2.5 * math.cos(sine / 28))),.2)
  7016. end
  7017. end
  7018. end
  7019. end
  7020. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement