Facebook
From Funky Parakeet, 5 Years ago, written in Plain Text.
Embed
Download Paste or View Raw
Hits: 618
  1. if game.PlaceId == 112420803 then
  2.     warn('oofkolhs: Loading...')
  3.     local library = loadstring(game:HttpGet("https://pastebin.pl/view/raw/fafb6a2f", true))()
  4.     library.options.underlinecolor = "rainbow"
  5.     local admin = library:CreateWindow('Admin')
  6.     local serverd = library:CreateWindow('Server OOF')
  7.     local soundoof = library:CreateWindow('Sound Abuse')
  8.     local extra = library:CreateWindow('Extra')
  9.     local credits = library:CreateWindow("Credits")
  10.     credits:Section('pls no leech')
  11.     credits:Button("Made By Stefanuk12#5820", function()
  12.         print("Made By Stefanuk12#5820")
  13.     end)
  14.  
  15.     fireclickdetector = fireclickdetector or click_detector
  16.     --
  17.     banned = {""}
  18.     local character = game:GetService("Players").LocalPlayer.Character
  19.     local AdminFolder = game:GetService("Workspace")["Terrain"]["_Game"]["Admin"]
  20.     local plr = game:GetService("Players").LocalPlayer
  21.     function isPerm()
  22.         return game:GetService("MarketplaceService"):UserOwnsGamePassAsync(tonumber(game:GetService("Players").LocalPlayer.UserId), 66254)
  23.     end
  24.     _G.chatt = true
  25.     local chatloop = function(chat1, chat2)
  26.         local chatloopcoroutine = coroutine.wrap(function()
  27.             while wait() do
  28.                 if _G.chatt == true then break end
  29.                 game:GetService("Players"):Chat(chat1)
  30.                 game:GetService("Players"):Chat(chat2)
  31.             end
  32.         end)()
  33.     end
  34.  
  35.     local crashhser = function()
  36.         local crashservercoroutine = coroutine.wrap(function()
  37.             while wait() do
  38.                 game:GetService("Players"):Chat("swagify all")
  39.             end
  40.         end)()
  41.     end
  42.  
  43.     local function ServerCheck()
  44.         if AdminFolder:FindFirstChild("Regen") and AdminFolder.Regen:FindFirstChild("ClickDetector") then
  45.           fireclickdetector(AdminFolder.Regen.ClickDetector, 0)
  46.           wait(0.1)
  47.           if AdminFolder.Pads:FindFirstChild("Touch to get admin") then
  48.             if AdminFolder.Pads["Touch to get admin"]:FindFirstChild("Head") then
  49.               return true
  50.             else
  51.               return false
  52.             end
  53.           else
  54.             return false
  55.           end
  56.         else
  57.           return false
  58.         end
  59.       end
  60.  
  61.     local function SendNotification(title,text,duration,...)
  62.         game.StarterGui:SetCore("SendNotification", {
  63.           Title = title;
  64.           Text = text;
  65.           Icon = "";
  66.           Duration = duration;
  67.         })
  68.     end
  69.     if isPerm() == false then do
  70.         if ServerCheck() then
  71.                         print('oofkolhs: Got Admin!')
  72.             local pad = AdminFolder.Pads["Touch to get admin"].Head
  73.             local currentpos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
  74.             game:GetService("Players").LocalPlayer.Character:MoveTo(pad.Position)
  75.             wait(1)
  76.             game:GetService("Players").LocalPlayer.Character:MoveTo(currentpos) -- Gives you Admin
  77.         else
  78.             SendNotification("Unable to Teleport","No Admin Pads available")
  79.         end
  80.     end
  81.     end
  82.    
  83.     game:GetService("Players"):Chat("clr")
  84.     -- admin menu
  85.     admin:Section('General')
  86.     -- admin menu: general
  87.     local tpadmin = admin:Button("Get Admin", function()
  88.         if ServerCheck() then
  89.           local pad = AdminFolder.Pads["Touch to get admin"].Head
  90.           local currentpos = game:GetService("Players").LocalPlayer.Character.HumanoidRootPart.Position
  91.           game:GetService("Players").LocalPlayer.Character:MoveTo(pad.Position)
  92.           wait(1)
  93.           game:GetService("Players").LocalPlayer.Character:MoveTo(currentpos) -- Gives you Admin
  94.         else
  95.           SendNotification("Unable to Teleport","No Admin Pads available")
  96.         end
  97.     end)
  98.     local regenadmin = admin:Button("Regen Admin Pads", function()
  99.         if ServerCheck() then else SendNotification("Regen Failed", "Regen Pad unavailble.") end
  100.     end)
  101.  
  102.     --[[local shutdown = admin:Button("Shutdown", function()
  103.         local times = 10
  104.         for i = 1, times do
  105.             for i,v in pairs(game.Players:GetChildren()) do
  106.                 if v.Name ~= plr.Name then
  107.                     local remote = plr.Backpack:WaitForChild("Delete"):WaitForChild("delete")
  108.                     wait(0.1)
  109.                     remote:FireServer(v)
  110.                 end
  111.             end
  112.         plr:Kick("Game has shutdown.")
  113.     end
  114.     end)]]
  115.  
  116.     visiblespawnpadstoggle = false
  117.     local visiblespawnpads = admin:Toggle('Visible Spawn Pads', {flag = "visiblespawnpads"}, function()
  118.         if visiblespawnpadstoggle == false then
  119.             visiblespawnpadstoggle = true
  120.         else
  121.             visiblespawnpadstoggle = false
  122.         end
  123.  
  124.         if visiblespawnpadstoggle == true then do
  125.             print('Visible Spawn Pads: Enabled')
  126.             for i,v in pairs(game["Workspace"]["Terrain"]["_Game"]["Workspace"]:GetChildren()) do
  127.                     for i = 1, 1 do
  128.                         if v:IsA("SpawnLocation") then do
  129.                             v.Transparency = 0
  130.                         end end
  131.                     end
  132.                 end
  133.             end
  134.         end
  135.  
  136.         if visiblespawnpadstoggle == false then do
  137.             print('Visible Spawn Pads: Disabled')
  138.             for i,v in pairs(game["Workspace"]["Terrain"]["_Game"]["Workspace"]:GetChildren()) do
  139.                     for i = 1, 1 do
  140.                         if v:IsA("SpawnLocation") then do
  141.                             v.Transparency = 1
  142.                         end end
  143.                     end
  144.                 end
  145.             end
  146.                 end
  147.     end)
  148.  
  149.     slocktoggle = false
  150.     --[[local slock = admin:Toggle('Slock', {flag = "slock"}, function()
  151.         if slocktoggle == false then
  152.             slocktoggle = true
  153.         else
  154.             slocktoggle = false
  155.         end
  156.  
  157.         if slocktoggle == true then do
  158.             print('Slock: Enabled')
  159.             game:GetService("Players").PlayersAdded:connect(function(slockedplr)
  160.                 local remote = plr:WaitForChild("Backpack"):WaitForChild("Delete"):WaitForChild("delete")
  161.                 remote:FireServer(slockedplr)
  162.                 warn("Slock:", slockedplr.Name, " - Slocked")
  163.             end)
  164.         end
  165.         end
  166.        
  167.         if slocktoggle == false then do
  168.             print('Slock: Disabled')
  169.         end
  170.         end
  171.     end)]]
  172.  
  173.     workspaceunlocktoggle = false
  174.     local workspaceunlock = admin:Toggle('Workspace Unlock', {flag = "workspaceunlock"}, function()
  175.         if workspaceunlocktoggle == false then
  176.             workspaceunlocktoggle = true
  177.         else
  178.             workspaceunlocktoggle = false
  179.         end
  180.  
  181.         if workspaceunlocktoggle == true then do
  182.             function unlockall(root)
  183.                 for _,v in pairs(root:GetChildren()) do
  184.                     if v:IsA("Part") then
  185.                         v.Locked = false
  186.                     end
  187.                     unlockall(v)
  188.                 end
  189.                 end
  190.             unlockall(game.Workspace)
  191.             print('Workspace Unlock: Enabled')
  192.             end
  193.                         end  
  194.  
  195.         if workspaceunlocktoggle == false then do
  196.             function lockall(root)
  197.                 for _,v in pairs(root:GetChildren()) do
  198.                     if v:IsA("Part") then
  199.                         v.Locked = true
  200.                     end
  201.                 lockall(v)
  202.                 end
  203.                 end
  204.                 lockall(game.Workspace)
  205.                 print('Workspace Unlock: Disabled')
  206.                end
  207.                            end
  208.     end)
  209.            
  210.  
  211.     autobtoolstoggle = false
  212.     --[[local autobtools = admin:Toggle('Auto Btools', {flag = "autobtools"}, function()
  213.         if autobtoolstoggle == false then
  214.             autobtoolstoggle = true
  215.                         print('AutoBtools: Enabled')
  216.         else
  217.             autobtoolstoggle = false
  218.                         print('AutoBtools: Disabled')
  219.         end
  220.  
  221.         if autobtoolstoggle == true then do
  222.             game.Players:Chat("btools me")
  223.                         print('AutoBtools: Gave Btools')
  224.             game.Players.LocalPlayer.CharacterAdded:connect(function(player)
  225.                 if player.Name == game.Players.LocalPlayer.Name then
  226.                     game.Players:Chat("btools me")
  227.                                         print('AutoBtools: Gave Btools')
  228.                 end
  229.             end)
  230.         end
  231.                 end
  232.     end)]]
  233.  
  234.     persistantadmintoggle = false
  235.     local persistantadmin = admin:Toggle('Persistant Admin', {flag = "persistantadmin"}, function()
  236.         if persistantadmintoggle == false then
  237.             persistantadmintoggle = true
  238.         else
  239.             persistantadmintoggle = false
  240.         end
  241.  
  242.         if persistantadmintoggle == true then do
  243.             local persistantadmincoroutine = coroutine.wrap(function()
  244.                 print('Persistant Admin: Enabled')
  245.                 if ServerCheck() then
  246.                     local pad = game:GetService("Workspace")["Terrain"]["_Game"]["Admin"]["Pads"]["Touch to get admin"]
  247.                     if pad:FindFirstChild(" ") then
  248.                         pad[" "]:destroy()
  249.                     end
  250.                     while wait() do
  251.                         if persistantadmintoggle == true then break end
  252.                         pad.Head.Size = Vector3.new(0.1,0.1,0.1)
  253.                         pad.Head.CanCollide = false
  254.                         pad.Head.CFrame = CFrame.new(character["Left Leg"].Position)
  255.                     end
  256.                 end
  257.             end)()
  258.         end
  259.         end
  260.    
  261.  
  262.         if persistantadmintoggle == false then do
  263.             print('Persistant Admin: Disabled')
  264.         end
  265.         end
  266.     end)
  267.  
  268.     -- admin menu: player menu
  269.     admin:Section('Player Menu')
  270.     local plrarray = game.Players:GetPlayers()
  271.     local Players = game:GetService("Players")
  272.     list1 = {}
  273.  
  274.     for i=1, #plrarray do
  275.         table.insert(list1, plrarray[i].Name)
  276.     end
  277.  
  278.     Players.PlayerAdded:Connect(function(player)
  279.         table.insert(list1, player.Name)
  280.         print(player, "has joined and added to the Dropdown")
  281.     end)
  282.  
  283.     Players.PlayerRemoving:Connect(function(player)
  284.         for i,v in pairs(list1) do
  285.             if v == player.Name then
  286.                 table.remove(list1, i)
  287.                 print(v, "has been removed from the Dropdown")
  288.             end
  289.         end
  290.     end)
  291.  
  292.     local PlayerList = admin:Dropdown("Players", {
  293.     location = _G;
  294.     flag = "selectplr";
  295.     list = list1;
  296.     }, function(new)
  297.     print(_G.selectplr, "selected.")
  298.     end)
  299.  
  300.     --[[local kick1button = admin:Button("Kick Player", function()
  301.         local remote = plr:WaitForChild("Backpack"):WaitForChild("Delete"):WaitForChild("delete")
  302.         remote:FireServer(game:GetService("Players")[_G.selectplr])
  303.         print(_G.selectplr, "has been kicked.")
  304.     end)
  305.  
  306.     local kickallbutton = admin:Button("Kick All", function()
  307.         for i,v in pairs(game.Players:GetPlayers()) do
  308.             if v.Name ~= plr.Name then
  309.                 local remote = plr:WaitForChild("Backpack"):WaitForChild("Delete"):WaitForChild("delete")
  310.                 remote:FireServer(v)
  311.             end        
  312.         end
  313.         print("Everyone has been kicked.")
  314.     end)
  315.  
  316.     local ban1button = admin:Button("Ban Player", function()
  317.         table.insert(banned, _G.selectplr)
  318.         local remote = plr:WaitForChild("Backpack"):WaitForChild("Delete"):WaitForChild("delete")
  319.         remote:FireServer(game:GetService("Players")[_G.selectplr])
  320.         print(_G.selectplr, "has been banned.")
  321.     end)]]
  322.  
  323.     respawnexplodeplayertoggle = false
  324.     local respawnexplodeplayertoggle = admin:Toggle("Respawn + Explode Player", {flag = 'respawnexplodeplayer'}, function()
  325.         if respawnexplodeplayertoggle == false then
  326.             respawnexplodeplayertoggle = true
  327.         else
  328.             respawnexplodeplayertoggle = false
  329.         end
  330.  
  331.         if respawnexplodeplayertoggle == true then do
  332.             local respawnexplodeplayercoroutine = coroutine.wrap(function()
  333.                 print('Respawn + Explode: Enabled for', _G.selectplr)
  334.                 while wait() do
  335.                     if respawnexplodeplayertoggle == false then break end
  336.                     game:GetService("Players"):Chat("explode "..tostring(_G.selectplr))
  337.                                     wait()
  338.                     game:GetService("Players"):Chat("respawn "..tostring(_G.selectplr))
  339.                 end
  340.             end)()
  341.         end
  342.         end
  343.  
  344.                 if respawnexplodeplayertoggle == false then do
  345.                         print('Respawn + Explode: Disabled for', _G.selectplr)
  346.                 end
  347.                 end
  348.         end)
  349.     -- extra menu
  350.     extra:Section('epic')
  351.     -- extra menu: epic
  352.     antipunishtoggle = false
  353.     local antipunish = extra:Toggle('Anti Punish', {flag = 'antipunish'}, function()
  354.         if antipunishtoggle == false then
  355.             antipunishtoggle = true
  356.         else
  357.             antipunishtoggle = false
  358.         end
  359.  
  360.         if antipunishtoggle == true then do
  361.             print('Anti Punish: Enabled')
  362.             local antipunishcoroutine = coroutine.wrap(function()
  363.                 while wait() do
  364.                     if antipunishtoggle == false then break end
  365.                     if game:GetService("Workspace"):FindFirstChild(tostring(game:GetService("Players").LocalPlayer.Name)) == nil then
  366.                         game:GetService("Players"):Chat("reset me")
  367.                         wait(0.2)
  368.                     end
  369.                 end
  370.             end)()
  371.         end
  372.         end
  373.        
  374.         if antipunishtoggle == false then do
  375.             print('Anti Punish: Disabled')
  376.         end
  377.         end
  378.     end)
  379.  
  380.     local antikilltoggle = false
  381.     local antikill = extra:Toggle('Anti Kill', {flag = 'antikill'}, function()
  382.         if antikilltoggle == false then
  383.             antikilltoggle = true
  384.         else
  385.             antikilltoggle = false
  386.         end
  387.         local connection
  388.         if antikilltoggle == true then do
  389.             print('Anti Kill: Enabled')
  390.             characteraddedconnect = game:GetService("Players").LocalPlayer.CharacterAdded:Connect(function(character)
  391.                 humanoiddiedconnect = character:WaitForChild("Humanoid").Died:Connect(function()
  392.                     game:GetService("Players"):Chat("reset me")
  393.                 end)
  394.             end)
  395.         end
  396.         end
  397.  
  398.         if antikilltoggle == false then do
  399.             print('Anti Kill: Disabled')
  400.                         characteraddedconnect:Disconnect()
  401.         end
  402.         end
  403.         end)
  404.    
  405.     local antiblindtoggle = false
  406.     local antiblind = extra:Toggle('Anti Blind', {flag = 'antiblind'}, function()
  407.         if antiblindtoggle == false then
  408.             antiblindtoggle = true
  409.         else
  410.             antiblindtoggle = false
  411.         end
  412.  
  413.         if antiblindtoggle == true then do
  414.             print('Anti Blind: Enabled')
  415.             local antiblindcoroutine = coroutine.wrap(function()
  416.                 while wait() do
  417.                     if antiblindtoggle == false then break end
  418.                     for _,v in pairs(game:GetService("Players").LocalPlayer.PlayerGui:GetChildren()) do
  419.                         if v.Name == "EFFECTGUIBLIND" then
  420.                             game:GetService("Players"):Chat("unblind all")
  421.                         end
  422.                     end
  423.                 end
  424.             end)()
  425.         end
  426.         end
  427.  
  428.         if antiblindtoggle == false then
  429.             print('Anti Blind: Disabled')
  430.         end
  431.     end)
  432.  
  433.     local silentcmd = extra:Button("Silent Commands", function()
  434.         loadstring(game:HttpGet('https://pastebin.com/raw/dV9qycU5', true))()
  435.     end)
  436.  
  437.     local geargiver = extra:Button("Gear Giver", function()
  438.         loadstring(game:HttpGet('https://pastebin.com/raw/9x3yet05', true))()
  439.         SendNotification("Gear Giver", ":givehelp for available gears")
  440.     end)
  441.     local musicgui = extra:Button("Music CMDs", function()
  442.         loadstring(game:HttpGet('https://pastebin.com/raw/D0ahpMa9', true))()
  443.         SendNotification("Music CMDs", ":getmusichelp for help")
  444.     end)
  445.     extra:Section("Music GUI")
  446.     music = {}
  447.     local HS = game:GetService('HttpService')
  448.     local musicTable = HS:JSONDecode(game:HttpGetAsync('https://epicgameronmylevel696969.000webhostapp.com/Data.json'))
  449.     function testContentDeleted(songid)
  450.         local sound = Instance.new("Sound", game:GetService("Lighting"))
  451.         sound.SoundId = "rbxassetid://"..songid
  452.         sound.Volume = 0
  453.         sound:Play()
  454.         wait(0.1)
  455.         if sound.TimeLength < 0.05 then
  456.             sound:Destroy()            
  457.             return false
  458.         else
  459.             sound:Destroy()            
  460.             return true
  461.         end
  462.     end
  463.  
  464.     function updateMusicTable()
  465.         for i,v in pairs(musicTable) do
  466.             if testContentDeleted(musicTable[i].SoundId) == false then
  467.                 musicTable[i] = nil
  468.             end
  469.         end
  470.     end
  471.  
  472.     updateMusicTable()
  473.     for i = 1, #musicTable do
  474.         if musicTable[i] then
  475.             table.insert(music, musicTable[i].Name)
  476.         end
  477.     end
  478.  
  479.     function getSong()
  480.         for i = 1, #musicTable do
  481.             if musicTable[i] then
  482.                 if musicTable[i].Name == _G.selectmusic then           
  483.                     return musicTable[i].SoundId
  484.                 end
  485.             end
  486.         end
  487.     end
  488.     local selectMusicDropdown = extra:Dropdown("Select Music", {
  489.         location = _G;
  490.         flag = "selectmusic";
  491.         list = music;
  492.         }, function(new)
  493.             print(_G.selectmusic, "selected.")
  494.         end)
  495.     local playbutton = extra:Button("Play", function()
  496.         game:GetService("Players"):Chat(":music "..tostring(getSong()))
  497.         print('oofkohls: Now playing -', _G.selectmusic)
  498.     end)
  499.     local updatebutton = extra:Button("Update", function()
  500.         music = {}
  501.         print('oofkohls: Emptied Music Table')
  502.         for i = 1, #musicTable do
  503.             if musicTable[i] then
  504.                 table.insert(music, musicTable[i].Name)
  505.             end
  506.         end
  507.         print('oofkohls: Music List Updated!')
  508.     end)
  509.     -- serverd menu
  510.     serverd:Section('Abusive Menu')
  511.     -- serverd menu: server crashing
  512.     --[[local clipm = serverd:Button("Crash Server", function()
  513.         crashhser()
  514.     end)]]
  515.  
  516.     local gamefolder = game:GetService("Workspace").Terrain["_Game"]
  517.     local spawn1 = gamefolder.Workspace.Spawn1
  518.     function movePart(part)
  519.         local newcframe = part.CFrame * CFrame.new(0, 2, 0)
  520.         local players = game:GetService("Players")
  521.         local character = players.LocalPlayer.Character
  522.  
  523.         character:WaitForChild("HumanoidRootPart").CFrame = newcframe
  524.         wait(1)
  525.         character:WaitForChild("Humanoid").Sit = true
  526.         wait(0.5)
  527.         players:Chat("punish me")
  528.         wait(4)
  529.         players:Chat("unpunish me")
  530.     end
  531.  
  532.    
  533.  
  534.  
  535.     partspamtoggle = false
  536.     local partspam = serverd:Toggle("Part Spam", {flag = 'partspam'}, function()
  537.         if partspamtoggle == false then
  538.             partspamtoggle = true
  539.         else
  540.             partspamtoggle = false
  541.         end
  542.  
  543.         if partspamtoggle == true then do
  544.             print('Part Spam: Enabled')
  545.             local partspamcoroutine = coroutine.wrap(function()
  546.                 while wait(0.2) do
  547.                     if partspamtoggle == false then break end
  548.                     game:GetService("Players"):Chat("part/10/10/10")
  549.                 end
  550.             end)()
  551.         end
  552.         end
  553.  
  554.         if partspamtoggle == false then
  555.             print('Part Spam: Disabled')
  556.         end
  557.     end)
  558.    
  559.     respawnexplodetoggle = false
  560.     local respawnexplode = serverd:Toggle("Respawn + Explode", {flag = 'respawnexplode'}, function()
  561.         if respawnexplodetoggle == false then
  562.             respawnexplodetoggle = true
  563.         else
  564.             respawnexplodetoggle = false
  565.         end
  566.  
  567.         if respawnexplodetoggle == true then do
  568.             local respawnexplodecoroutine = coroutine.wrap(function()
  569.                 print('Respawn + Explode: Enabled')
  570.                 while wait() do
  571.                     if respawnexplodetoggle == false then break end
  572.                     game:GetService("Players"):Chat("respawn others")
  573.                                     wait()
  574.                     game:GetService("Players"):Chat("explode others")
  575.                 end
  576.             end)()
  577.         end
  578.         end
  579.        
  580.         if respawnexplodetoggle == false then do
  581.             print('Respawn + Explode: Disabled')
  582.         end
  583.         end
  584.     end)
  585.  
  586.     serverd:Button("Move Baseplate", function()
  587.         movePart(spawn1)
  588.         wait(0.5)
  589.         game:GetService("Players"):Chat("skydive me")
  590.     end)
  591.    
  592.     serverd:Section("Colour Change")
  593.     serverd:Dropdown("Colours", {
  594.         location = _G;
  595.         flag = "selectcolour";
  596.         list = {
  597.             "";
  598.             "Rainbow";
  599.             "Random";
  600.             "White";
  601.             "Gray";
  602.             "Dark gray";
  603.             "Black";
  604.             "Bright red";
  605.             "Bright yellow";
  606.             "Bright green";
  607.             "Bright blue";
  608.         }
  609.     }, function(new)
  610.         print("oofkohls: Selected Colour:",_G.selectcolour)
  611.     end)
  612.  
  613.     rainbowcolour = Color3.fromHSV(1, 1, 1)
  614.     local rainbowroad = coroutine.wrap(function()
  615.         while wait() do
  616.             local hue = tick() % 5 / 5
  617.             rainbowcolour = Color3.fromHSV(hue, 1, 1)
  618.         end
  619.     end)()
  620.    
  621.    
  622.  
  623.     local v1 = "PaintPart"
  624.     serverd:Button("Start", function()
  625.         function transformToColor3(col) --Function to convert, just cuz c;
  626.             local r = col.r --Red value
  627.             local g = col.g --Green value
  628.             local b = col.b --Blue value
  629.             return Color3.new(r,g,b); --Color3 datatype, made of the RGB inputs
  630.         end
  631.  
  632.         game:GetService("Players"):Chat(":gear me 18474459")
  633.         wait(0.5)
  634.         game:GetService("Players").LocalPlayer.Character.Humanoid:EquipTool(game:GetService("Players").LocalPlayer.Backpack.PaintBucket)
  635.         local remote = game:GetService("Workspace")[game:GetService("Players").LocalPlayer.Name].PaintBucket:WaitForChild("Remotes").ServerControls
  636.  
  637.         if _G.selectcolour == "Rainbow" then do
  638.             for i,v in pairs(game:GetService("Workspace").Terrain:GetDescendants()) do
  639.                 if v:IsA("Part") then
  640.                     local v2 =
  641.                     {
  642.                         ["Part"] = v,
  643.                         ["Color"] = rainbowcolour
  644.                     }
  645.                     remote:InvokeServer(v1, v2)
  646.                 end
  647.             end
  648.         end
  649.         end
  650.  
  651.         if _G.selectcolour == "Random" then do
  652.             for i,v in pairs(game:GetService("Workspace").Terrain:GetDescendants()) do
  653.                 if v:IsA("Part") then
  654.                     local v2 =
  655.                     {
  656.                         ["Part"] = v,
  657.                         ["Color"] = Color3.new(math.random(0, 255), math.random(0, 255), math.random(0, 255))
  658.                     }
  659.                     remote:InvokeServer(v1, v2)
  660.                 end
  661.             end
  662.         end
  663.         end
  664.  
  665.         if _G.selectcolour ~= "Random" and _G.selectcolour ~= "Rainbow" then do
  666.             for i,v in pairs(game:GetService("Workspace").Terrain:GetDescendants()) do
  667.                 if v:IsA("Part") then
  668.                     local v2 =
  669.                     {
  670.                         ["Part"] = v,
  671.                         ["Color"] = transformToColor3(BrickColor.new(tostring(_G.selectcolour)))
  672.                     }
  673.                     remote:InvokeServer(v1, v2)
  674.                 end
  675.             end
  676.         end
  677.         end
  678.         print("Painted everything as:", _G.selectcolour)
  679.         end)
  680.  
  681.  
  682.         soundoof:Section('General')
  683.  
  684.         soundoof:Button("Play All Sounds", function()
  685.             print('oofkohls: Played All Sounds.')
  686.             for i,v in pairs(game:GetDescendants()) do
  687.                 if v:IsA("Sound") then
  688.                     v:Play()
  689.                 end
  690.             end
  691.         end)
  692.  
  693.         soundoof:Button("Stop All Sounds", function()
  694.             print('oofkohls: Stopped All Sounds.')
  695.             for i,v in pairs(game:GetDescendants()) do
  696.                 if v:IsA("Sound") then
  697.                     v:Stop()
  698.                 end
  699.             end
  700.         end)
  701.  
  702.         soundoof:Button("Play Music", function()
  703.             print('oofkohls: Played Music.')
  704.             for i,v in pairs(game:GetService("Workspace").Terrain["_Game"].Folder:GetDescendants()) do
  705.                 if v:IsA("Sound") then
  706.                     v:Play()
  707.                 end
  708.             end
  709.         end)
  710.  
  711.         soundoof:Button("Stop Music", function()
  712.             print('oofkohls: Stopped Music.')
  713.             for i,v in pairs(game:GetService("Workspace").Terrain["_Game"].Folder:GetDescendants()) do
  714.                 if v:IsA("Sound") then
  715.                     v:Stop()
  716.                 end
  717.             end
  718.         end)
  719.  
  720.         soundoof:Section('Fun')
  721.  
  722.         earrapesound = false
  723.         local Earrapetoggle = soundoof:Toggle("Earrape", {flag = 'Earrapetoggle'}, function()
  724.             if earrapesound == false then
  725.                 earrapesound = true
  726.             else
  727.                 earrapesound = false
  728.             end
  729.  
  730.             if earrapesound == true then do
  731.                 print('oofkohls: Earrape Enabled')
  732.                 local earrapesoundcoroutine = coroutine.wrap(function()
  733.                     while wait(0.25) do
  734.                         if earrapesound == false then break end
  735.                         for i,v in pairs(game:GetDescendants()) do
  736.                             if v:IsA("Sound") then
  737.                                 v:Play()
  738.                             end
  739.                         end
  740.                     end
  741.                 end)()
  742.             end
  743.             end
  744.  
  745.             if earrapesound == false then
  746.                 print('oofkohls: Earrape Disabled')
  747.             end
  748.         end)
  749.        
  750.     print('oofkohls: Loaded!')
  751.     print('Made by Stefanuk12#5820!')
  752. end