Advertisement
DefeatedPurpose

[IY] Plugin Library

Apr 17th, 2020
910
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 17.11 KB | None | 0 0
  1. -- ______  _      _   _  _____  _____  _   _     _      _____ ______ ______   ___  ______ __   __
  2. -- | ___ \| |    | | | ||  __ \|_   _|| \ | |   | |    |_   _|| ___ \| ___ \ / _ \ | ___ \\ \ / /
  3. -- | |_/ /| |    | | | || |  \/  | |  |  \| |   | |      | |  | |_/ /| |_/ // /_\ \| |_/ / \ V /
  4. -- |  __/ | |    | | | || | __   | |  | . ` |   | |      | |  | ___ \|    / |  _  ||    /   \ /  
  5. -- | |    | |____| |_| || |_\ \ _| |_ | |\  |   | |____ _| |_ | |_/ /| |\ \ | | | || |\ \   | |  
  6. -- \_|    \_____/ \___/  \____/ \___/ \_| \_/   \_____/ \___/ \____/ \_| \_|\_| |_/\_| \_|  \_/  
  7.  
  8. -- \\Tohru\\PneumaOffical\\Luminous\\
  9. local Plugin_Library = {
  10.   ["Functions"] = {
  11.     ["Notify"] = (function(Text)
  12.       Text = Text or "Return: nil"
  13.       game.StarterGui:SetCore("SendNotification", {Title = "Plugin Library"; Text = Text})
  14.     end),
  15.   },
  16.   ["Utility Plugins"] = {
  17.     ["Description"] = "These plugins are focused on boosting your playing experience",
  18.     ["U Plugins"] = {
  19.       ["No Root"] = {
  20.         ["Author"] = "tostring#1337",
  21.         ["Commands"] = {"noroot"},
  22.         ["Description"] = "This plugin destroys your humanoidrootpart causing many game scripts to break such as you being teleported and other players teleporting to you",
  23.         ["Aliases"] = { ["noroot"] = {"breakroot"} },
  24.         ["Plugin"] = [[
  25.           local Plugin = {
  26.            ["PluginName"] = "noroot",
  27.            ["PluginDescription"] = "Destroys your humanoidrootpart",
  28.            ["Commands"] = {
  29.              ["noroot"] = {
  30.                ["ListName"] = "noroot",
  31.                ["Description"] = "Destroys your humanoidrootpart",
  32.                ["Aliases"] = {"breakroot"},
  33.                ["Function"] = function(args,speaker)
  34.                  local char = game:GetService("Players").LocalPlayer.Character
  35.                  char.Parent = game
  36.                  char.HumanoidRootPart:Destroy()
  37.                  char.Parent = workspace
  38.                end
  39.              }
  40.            }
  41.          }
  42.        return Plugin
  43.        ]]
  44.       },
  45.       ["FPS Booster"] = {
  46.         ["Author"] = "Tohru~ (γƒˆγƒΌγƒ« )#0001",
  47.         ["Commands"] = {"boostfps", "save", "restore"},
  48.         ["Description"] = "This plugin lowers the graphics of your game to boost your FPS",
  49.         ["Aliases"] = { ["boostfps"] = {"boost", "fps"} },
  50.         ["Plugin"] = [[
  51.         local ws = game:GetService("Workspace")
  52.         local Lighting = game:GetService("Lighting")
  53.         local Terrain = ws.Terrain
  54.         Saved = false
  55.         Boosted = false
  56.         function Save_Settings()
  57.           Saved = true
  58.           P_WaterWaveSize = Terrain.WaterWaveSize
  59.           P_WaterWaveSpeed = Terrain.WaterWaveSpeed
  60.           P_WaterReflectance = Terrain.WaterReflectance
  61.           P_GlobalShadows = Lighting.GlobalShadows
  62.           P_FogEnd = Lighting.FogEnd
  63.           P_Brightness = Lighting.Brightness
  64.           P_QualityLevel = settings().Rendering.QualityLevel
  65.           for k,v in pairs(game:GetDescendants()) do
  66.             if v:IsA("Part") then
  67.               P_Part_Material = v.Material
  68.               P_Part_Reflectance = v.Reflectance
  69.             elseif v:IsA("Union") then
  70.               P_Union_Material = v.Material
  71.               P_Union_Reflectance = v.Reflectance
  72.             elseif v:IsA("MeshPart") then
  73.               P_MeshPart_Material = v.Material
  74.               P_MeshPart_Reflectance = v.Reflectance
  75.             elseif v:IsA("CornerWedgePart") then
  76.               P_CornerWedgePart_Material = v.Material
  77.               P_CornerWedgePart_Reflectance = v.Reflectance
  78.             elseif v:IsA("TrussPart") then
  79.               P_TrussPart_Material = v.Material
  80.               P_TrussPart_Reflectance = v.Reflectance
  81.             elseif v:IsA("Decal") then
  82.               P_Decal_Transparency = v.Transparency
  83.             elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  84.               P_Lifetime = v.Lifetime
  85.             elseif v:IsA("Explosion") then
  86.               P_BlastPressure = v.BlastPressure
  87.               P_BlastRadius = v.BlastRadius
  88.             end
  89.           end
  90.           for k,v in pairs(Lighting:GetDescendants()) do
  91.             if v:IsA("BlurEffect") then
  92.               P_BlurEffect_Enabled = v.Enabled
  93.             elseif v:IsA("SunRaysEffect") then
  94.               P_SunRaysEffect_Enabled = v.Enabled
  95.             elseif v:IsA("ColorCorrectionEffect") then
  96.               P_ColorCorrectionEffect_Enabled = v.Enabled
  97.             elseif v:IsA("BloomEffect") then
  98.               P_BloomEffect_Enabled = v.Enabled
  99.             elseif v:IsA("DepthOfFieldEffect") then
  100.               P_DepthOfFieldEffect_Enabled = v.Enabled
  101.             end
  102.           end
  103.         end
  104.         function Restore_Settings()
  105.           if Saved then
  106.             Boosted = false
  107.             Terrain.WaterWaveSize = P_WaterWaveSize
  108.             Terrain.WaterWaveSpeed = P_WaterWaveSpeed
  109.             Terrain.WaterReflectance = P_WaterReflectance
  110.             Lighting.GlobalShadows = P_GlobalShadows
  111.             Lighting.FogEnd = P_FogEnd
  112.             Lighting.Brightness = P_Brightness
  113.             settings().Rendering.QualityLevel = P_QualityLevel
  114.             for k,v in pairs(game:GetDescendants()) do
  115.               if v:IsA("Part") then
  116.                 v.Material = P_Part_Material
  117.                 v.Reflectance = P_Part_Reflectance
  118.               elseif v:IsA("Union") then
  119.                 v.Material = P_Union_Material
  120.                 v.Reflectance = P_Union_Reflectance
  121.               elseif v:IsA("MeshPart") then
  122.                 v.Material = P_MeshPart_Material
  123.                 v.Reflectance = P_MeshPart_Reflectance
  124.               elseif v:IsA("CornerWedgePart") then
  125.                 v.Material = P_CornerWedgePart_Material
  126.                 v.Reflectance = P_CornerWedgePart_Reflectance
  127.               elseif v:IsA("TrussPart") then
  128.                 v.Material = P_TrussPart_Material
  129.                 v.Reflectance = P_TrussPart_Reflectance
  130.               elseif v:IsA("Decal") then
  131.                 v.Transparency = P_Decal_Transparency
  132.               elseif v:IsA("ParticleEmitter") then
  133.                 v.Lifetime = P_Lifetime
  134.               elseif v:IsA("EXplosion") then
  135.                 v.BlastPressure = P_BlastPressure
  136.                 v.BlastRadius = P_BlastRadius
  137.               end
  138.             end
  139.             for k,v in pairs(Lighting:GetDescendants()) do
  140.               if v:IsA("BlurEffect") then
  141.                 v.Enabled = P_BlurEffect_Enabled
  142.               elseif v:IsA("SunRaysEffect") then
  143.                 v.Enabled = P_SunRaysEffect_Enabled
  144.               elseif v:IsA("ColorCorrectionEffect") then
  145.                 v.Enabled = P_ColorCorrectionEffect_Enabled
  146.               elseif v:IsA("BloomEffect") then
  147.                 v.Enabled = P_BloomEffect_Enabled
  148.               elseif v:IsA("DepthOfFieldEffect") then
  149.                 v.Enabled = P_DepthOfFieldEffect_Enabled
  150.               end
  151.             end
  152.           end
  153.         end
  154.         function Boost_FPS()
  155.           Boosted = true
  156.           Terrain.WaterWaveSize = 0
  157.           Terrain.WaterWaveSpeed = 0
  158.           Terrain.WaterReflectance = 0
  159.           Terrain.WaterTransparency = 0
  160.           Lighting.GlobalShadows = false
  161.           Lighting.FogEnd = 9e9
  162.           Lighting.Brightness = 0
  163.           settings().Rendering.QualityLevel = "Level01"
  164.           for i,v in pairs(game:GetDescendants()) do
  165.             if v:IsA("Part") or v:IsA("Union") or v:IsA("MeshPart") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
  166.               v.Material = "Plastic"
  167.               v.Reflectance = 0
  168.             elseif v:IsA("Decal") then
  169.               v.Transparency = 1
  170.             elseif v:IsA("ParticleEmitter") or v:IsA("Trail") then
  171.               v.Lifetime = NumberRange.new(0)
  172.             elseif v:IsA("Explosion") then
  173.               v.BlastPressure = 1
  174.               v.BlastRadius = 1
  175.             end
  176.           end
  177.           for i,v in pairs(Lighting:GetDescendants()) do
  178.             if v:IsA("BlurEffect") or v:IsA("SunRaysEffect") or v:IsA("ColorCorrectionEffect") or v:IsA("BloomEffect") or v:IsA("DepthOfFieldEffect") then
  179.               v.Enabled = false
  180.             end
  181.           end
  182.         end
  183.         local Plugin = {
  184.           ["PluginName"] = "FPS Booster",
  185.           ["PluginDescription"] = "Tones down the graphics of your game to boost FPS",
  186.           ["Commands"] = {
  187.             ["boostfps"] = {
  188.               ["ListName"] = "Boost FPS",
  189.               ["Description"] = "This command will boost your FPS",
  190.               ["Aliases"] = {"boost", "fps"},
  191.               ["Function"] = (function(args, speaker)
  192.                 if Boosted then
  193.                   notify("FPS Booster", "Already boosted your FPS")
  194.                 else
  195.                   if not Saved then
  196.                     Save_Settings()
  197.                   end
  198.                   Boost_FPS()
  199.                   notify("FPS Booster", "Boosted your FPS")
  200.                 end
  201.               end)
  202.             },
  203.             ["save"] = {
  204.               ["ListName"] = "Save Settings",
  205.               ["Description"] = "This command will save your games current settings",
  206.               ["Aliases"] = {"sg"},
  207.               ["Function"] = (function(args, speaker)
  208.                 Save_Settings()
  209.                 notify("FPS Booster", "Saved your games quality settings")
  210.               end)
  211.             },
  212.             ["restore"] = {
  213.               ["ListName"] = "Restore Settings",
  214.               ["Description"] = "This command will restore your games quality settings",
  215.               ["Aliases"] = {"rg"},
  216.               ["Function"] = (function(args, speaker)
  217.                 if not Saved then
  218.                   notify("FPS Booster", "You need to save the game's quality settings before you use this command")
  219.                 else
  220.                   Restore_Settings()
  221.                   notify("FPS Booster", "Restored your previous quality settings")
  222.                 end
  223.               end)
  224.             },
  225.           }
  226.         }
  227.        
  228.         return Plugin
  229.         ]]
  230.         },
  231.         ["Fast Respawn"] = {
  232.           ["Author"] = "Thomas_Cornez#0538",
  233.           ["Commands"] = {"fastrespawn", "fastrefresh"},
  234.           ["Description"] = "This plugin makes you respawn or refresh instantly",
  235.           ["Aliases"] = { ["fastrefresh"] = {"fastre"} },
  236.           ["Plugin"] = [[
  237.             Players = game:GetService("Players")
  238.             local refreshCmd2 = false
  239.             local Plugin = {
  240.               ["PluginName"] = "Fast Respawn / refresh",
  241.               ["PluginDescription"] = "a plugin that make you respawn/refresh more faster like between 1 and 4 seconds",
  242.               ["Commands"] = {
  243.                 ["fastrespawn"] = {
  244.                   ["ListName"] = "FastRespawn",
  245.                   ["Description"] = "Make you respawn you but more faster",
  246.                   ["Aliases"] = {""},
  247.                   ["Function"] = function(args,speaker)
  248.                     local cha = Players.LocalPlayer.Character
  249.                     local fastrespawn = Instance.new("Model", game.workspace)
  250.                     fastrespawn.Name = "FastRespawn"
  251.                     Players.LocalPlayer.Character = game.workspace.FastRespawn
  252.                     wait()
  253.                     Players.LocalPlayer.Character = cha
  254.                     wait(1.5)
  255.                     game:GetService("Players").LocalPlayer.Character.Humanoid.Health = 0
  256.                     repeat wait() until Players.LocalPlayer.Character.Humanoid.Health == 0
  257.                     wait()
  258.                     repeat wait() until Players.LocalPlayer.Character.Humanoid.Health > 0
  259.                     game:GetService("Workspace"):FindFirstChild("FastRespawn"):Destroy()
  260.                   end
  261.                 },
  262.                 ["fastrefresh"] = {
  263.                   ["ListName"] = "FastRefresh / FastRe",
  264.                   ["Description"] = "Make you refresh but more faster",
  265.                   ["Aliases"] = {"fastre"},
  266.                   ["Function"] = function(args,speaker)
  267.                     refreshCmd2 = true
  268.                     cpos = Players.LocalPlayer.Character.HumanoidRootPart.CFrame
  269.                     wait(0.001)
  270.                     local cha = Players.LocalPlayer.Character
  271.                     local fastrefresh = Instance.new("Model", game.workspace)
  272.                     fastrefresh.Name = "FastRefresh"
  273.                     Players.LocalPlayer.Character = game.workspace.FastRefresh
  274.                     wait()
  275.                     Players.LocalPlayer.Character = cha
  276.                     wait(1.5)
  277.                     game:GetService("Players").LocalPlayer.Character.Humanoid.Health = 0
  278.                     repeat wait() until Players.LocalPlayer.Character.Humanoid.Health == 0
  279.                     wait()
  280.                     repeat wait() until Players.LocalPlayer.Character ~= nil and Players.LocalPlayer.Character.Humanoid.Health > 0
  281.                     wait()
  282.                     Players.LocalPlayer.Character.HumanoidRootPart.CFrame = cpos
  283.                     game:GetService("Workspace"):FindFirstChild("FastRefresh"):Destroy()
  284.                     refreshCmd2 = false
  285.                   end
  286.                 }
  287.               }
  288.             }
  289.             return Plugin
  290.             ]]
  291.             },
  292.         }
  293.     },
  294.     ["Miscellaneous Plugins"] = {
  295.       ["Descrption"] = "These plugins serve no real purpose but can still be useful",
  296.       ["M Plugins"] = {
  297.         ["RAP"] = {
  298.           ["Author"] = "Butterfly3ffect#7960",
  299.           ["Commands"] = {"rap"},
  300.           ["Descrption"] = "This plugin allows you to calculate a users RAP (Recent Average Price)",
  301.           ["Aliases"] = {},
  302.           ["Plugin"] = [[
  303.             local Plugin = {
  304.             ["PluginName"] = "RAP calculator",
  305.             ["PluginDescription"] = "Tells a player RAP",
  306.             ["Commands"] = {
  307.               ["rap"] = {
  308.                 ["Description"] = "This script tells a player RAP(only if the target inventory is open)",
  309.                 ["Aliases"] = {""},
  310.                 ["Function"] = function(args,speaker)
  311.                   local player = game.Players.LocalPlayer
  312.                   local players = getPlayer(args[1], speaker)
  313.                   Players = game:GetService("Players")
  314.                   local HttpService = game:GetService("HttpService")
  315.                   local sum = 0
  316.                   for i,v in pairs(players) do
  317.                     local success = pcall(function()
  318.                       repCheck = game:HttpGet("https://inventory.rprxy.xyz/v1/users/"..Players[v].UserId.."/assets/collectibles?sortOrder=Asc&limit=100")
  319.                     end)
  320.                     local data2 = HttpService:JSONDecode(repCheck)
  321.                     if not success then
  322.                       notify(Players[v].Name.." inventory is private.")
  323.                     else
  324.                       for i,v in pairs(data2.data) do
  325.                         sum = sum + v.recentAveragePrice
  326.                       end
  327.                       notify(Players[v].Name.." RAP: "..sum.." Robux")
  328.                     end
  329.                   end
  330.                 end
  331.                 },
  332.               },
  333.             }
  334.             return Plugin
  335.           ]]
  336.         },
  337.       }
  338.     },
  339.     ["Fun Plugins"] = {
  340.       ["Description"] = "These plugins are focused on making your gameplay more fun",
  341.       ["F Plugins"] = {
  342.         ["FE Penis"] = {
  343.           ["Author"] = "Diemiers#4209",
  344.           ["Commands"] = {"penisito"},
  345.           ["Description"] = "This plugin turns you into a flying penis",
  346.           ["Aliases"] = { ["penisito"] = {"pp"} },
  347.           ["Plugin"] = [[
  348.             local Plugin = {
  349.               ["PluginName"] = "FE Penisito",
  350.               ["PluginDescription"] = "Turns you into a flying penis,Penisito [R6 only]",
  351.               ["Commands"] = {
  352.                 ["penisito"] = {
  353.                   ["ListName"] = "penisito",
  354.                   ["Description"] = "Im sexy and i know it",
  355.                   ["Aliases"] = {"pp"},
  356.                   ["Function"] = function(args,speaker)
  357.                     loadstring(game:HttpGet(('http://pastebin.com/raw/Bv7fMr4y'),true))()
  358.                   end    
  359.                 },
  360.               },
  361.             }
  362.             return Plugin
  363.           ]]
  364.         },
  365.       }
  366.     },
  367.   }
  368.  
  369. LibFuncs = Plugin_Library["Functions"]
  370.  
  371. function LibFuncs.AddPlugin(PluginChoice)
  372.   if PluginChoice then
  373.     m = false
  374.     u = false
  375.     f = false
  376.     for i,v in pairs(Plugin_Library["Utility Plugins"]["U Plugins"]) do
  377.       if tostring(i):lower() == tostring(PluginChoice):lower() then
  378.         u = true
  379.         writefile(tostring(i)..".iy", tostring(v.Plugin) )
  380.         Plugin_Library["Functions"].Notify("Downloaded "..tostring(i)..".iy")
  381.       end
  382.     end
  383.     for i,v in pairs(Plugin_Library["Miscellaneous Plugins"]["M Plugins"]) do
  384.       if tostring(i):lower() == tostring(PluginChoice):lower() then
  385.         m = true
  386.         writefile(tostring(i)..".iy", tostring(v.Plugin) )
  387.         Plugin_Library["Functions"].Notify("Downloaded "..tostring(i)..".iy")
  388.       end
  389.     end
  390.     for i,v in pairs(Plugin_Library["Fun Plugins"]["F Plugins"]) do
  391.       if tostring(i):lower() == tostring(PluginChoice):lower() then
  392.         f = true
  393.         writefile(tostring(i)..".iy", tostring(v.Plugin) )
  394.         Plugin_Library["Functions"].Notify("Downloaded "..tostring(i)..".iy")          
  395.       end
  396.     end
  397.   end
  398.   if not m and not u and not f then
  399.     Plugin_Library["Functions"].Notify("No plugins found!")
  400.   end
  401. end
  402. function LibFuncs.ListPlugins()
  403.   p1 = {}
  404.   for i,v in pairs(Plugin_Library["Utility Plugins"]["U Plugins"]) do
  405.     table.insert(p1, tostring(i))
  406.   end
  407.   for i,v in pairs(Plugin_Library["Miscellaneous Plugins"]["M Plugins"]) do
  408.     table.insert(p1, tostring(i))
  409.   end
  410.   for i,v in pairs(Plugin_Library["Fun Plugins"]["F Plugins"]) do
  411.     table.insert(p1, tostring(i))
  412.   end
  413.   p2 = {}
  414.   for i,v in pairs(p1) do
  415.     if i ~= #p2 then
  416.       table.insert(p2, p1[i]..", ")
  417.     else
  418.      table.insert(p2, p1[i])
  419.     end
  420.   end
  421.   Plugin_Library["Functions"].Notify(table.concat(p2))
  422. end
  423.  
  424. return Plugin_Library
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement