Advertisement
SuroYT

Rainbow friends script

Aug 12th, 2022
19,591
0
Never
3
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 9.59 KB | None | 1 1
  1. local OrionLib = loadstring(game:HttpGet(('https://raw.githubusercontent.com/shlexware/Orion/main/source')))()
  2.  
  3. getgenv().BlueESP = false
  4. getgenv().GreenESP = false
  5. getgenv().OrangeESP = false
  6. getgenv().BlockESP = false
  7. getgenv().FuseESP = false
  8. getgenv().FoodESP = false
  9. getgenv().AlwaysInBox = false
  10. getgenv().BatteryESP = false
  11.  
  12. function BlueESP()
  13.     if getgenv().BlueESP then
  14.         local blue = game:GetService("Workspace").Monsters.Blue
  15.         if blue then
  16.             local BlueEsp = Instance.new("Highlight", blue)
  17.             BlueEsp.Adornee = blue
  18.             BlueEsp.Enabled = true
  19.             BlueEsp.FillColor = Color3.fromRGB(0, 0, 255)
  20.         elseif not blue or not getgenv().BlueESP then
  21.             return
  22.         end
  23.     end
  24. end
  25.  
  26. function noBlueEsp()
  27.     local blue = game:GetService("Workspace").Monsters.Blue
  28.     if not getgenv().BlueESP and blue then
  29.         for _,v in pairs(blue:GetChildren()) do
  30.             if v.Name == "Highlight" then
  31.                 v:Destroy()
  32.             end
  33.         end
  34.     end
  35. end
  36.  
  37.  
  38.  
  39.  
  40. function GreenESP()
  41.     if getgenv().GreenESP then
  42.         local green = game:GetService("Workspace").Monsters.Green
  43.         if green then
  44.             local GreenEsp = Instance.new("Highlight", green)
  45.             GreenEsp.Adornee = green
  46.             GreenEsp.Enabled = true
  47.             GreenEsp.FillColor = Color3.fromRGB(0, 255, 0)
  48.         elseif not green or getgenv().GreenESP == false then
  49.             return
  50.         end
  51.     end
  52. end
  53.  
  54. function noGreenEsp()
  55.     local green = game:GetService("Workspace").Monsters:FindFirstChild("Green")
  56.     if not getgenv().GreenESP and green then
  57.         for _,v in pairs(green:GetChildren()) do
  58.             if v.Name == "Highlight" then
  59.                 v:Destroy()
  60.             end
  61.         end
  62.     end
  63. end
  64.  
  65.  
  66.  
  67. function OrangeESP()
  68.     if getgenv().OrangeESP then
  69.         local orange = game:GetService("Workspace").Monsters:FindFirstChild("Orange")
  70.         if orange then
  71.             local OrangeEsp = Instance.new("Highlight", orange)
  72.             OrangeEsp.Adornee = orange
  73.             OrangeEsp.Enabled = true
  74.             OrangeEsp.FillColor = Color3.fromRGB(255, 170, 0)
  75.         elseif not orange or getgenv().OrangeESP == false then
  76.             return
  77.         end
  78.     end
  79. end
  80.  
  81. function noOrangeEsp()
  82.     local orange = game:GetService("Workspace").Monsters:FindFirstChild("Orange")
  83.     if not getgenv().OrangeESP and orange then
  84.         for _,v in pairs(orange:GetChildren()) do
  85.             if v.Name == "Highlight" then
  86.                 v:Destroy()
  87.             end
  88.         end
  89.     end
  90. end
  91.  
  92.  
  93.  
  94. function BlockESP()
  95.     if getgenv().BlockESP then
  96.         for _,v in pairs(workspace:GetChildren()) do
  97.             if v.Name == "Block1" or v.Name == "Block2" or v.Name == "Block3" or v.Name == "Block4" or v.Name == "Block5" or v.Name == "Block6" or v.Name == "Block7" or v.Name == "Block8" or v.Name == "Block9" or v.Name == "Block10" or v.Name == "Block11" or v.Name == "Block12" or v.Name == "Block13" or v.Name == "Block14" or v.Name == "Block15" or v.Name == "Block16" or v.Name == "Block17" or v.Name == "Block18" or v.Name == "Block19" or v.Name == "Block20" or v.Name == "Block21" or v.Name == "Block22" or v.Name == "Block23" or v.Name == "Block24" or v.Name == "Block25" or v.Name == "Block26" then
  98.                 local blockesp = Instance.new("Highlight",v)
  99.                 blockesp.Adornee = v
  100.                 blockesp.Enabled = true
  101.                 blockesp.FillColor = Color3.fromRGB(255, 255, 255)
  102.             end
  103.         end
  104.     end
  105. end
  106.  
  107.  
  108. function notBlockESP()
  109.     if not getgenv().BlockESP then
  110.         for _,v in pairs(workspace:GetChildren()) do
  111.             if v.Name == "Block1" or v.Name == "Block2" or v.Name == "Block3" or v.Name == "Block4" or v.Name == "Block5" or v.Name == "Block6" or v.Name == "Block7" or v.Name == "Block8" or v.Name == "Block9" or v.Name == "Block10" or v.Name == "Block11" or v.Name == "Block12" or v.Name == "Block13" or v.Name == "Block14" or v.Name == "Block15" or v.Name == "Block16" or v.Name == "Block17" or v.Name == "Block18" or v.Name == "Block19" or v.Name == "Block20" or v.Name == "Block21" or v.Name == "Block22" or v.Name == "Block23" or v.Name == "Block24" or v.Name == "Block25" or v.Name == "Block26" then
  112.                 local highlight = v:FindFirstChild("Highlight")
  113.                 if highlight then
  114.                     highlight:Destroy()
  115.                 end
  116.             end
  117.         end
  118.     end
  119. end
  120.  
  121.  
  122. function FoodEsp()
  123.     if getgenv().FoodESP then
  124.         for _,v in pairs(workspace:GetChildren()) do
  125.             if v.Name == "FoodGreen" or v.Name == "FoodOrange" or v.Name == "FoodPink" then
  126.                 local foodesp = Instance.new("Highlight",v)
  127.                 foodesp.Adornee = v
  128.                 foodesp.Enabled = true
  129.                 if v.Name == "FoodGreen" then
  130.                     foodesp.FillColor = Color3.fromRGB(0, 170, 0)
  131.                 else
  132.                     foodesp.FillColor = Color3.fromRGB(255, 255, 255)
  133.                 end
  134.  
  135.                 if v.Name == "FoodOrange" then
  136.                     foodesp.FillColor = Color3.fromRGB(255, 85, 0)
  137.                 else
  138.                     foodesp.FillColor = Color3.fromRGB(255, 255, 255)
  139.                 end
  140.  
  141.                 if v.Name == "FoodPink" then
  142.                     foodesp.FillColor = Color3.fromRGB(255, 0, 255)
  143.                 else
  144.                     foodesp.FillColor = Color3.fromRGB(255, 255, 255)
  145.                 end
  146.             end
  147.         end
  148.     end
  149. end
  150.  
  151. function notFoodEsp()
  152.     for _,v in pairs(workspace:GetChildren()) do
  153.         if v.Name == "FoodGreen" or v.Name == "FoodOrange" or v.Name == "FoodPink" then
  154.             local highlight = v:FindFirstChild("Highlight")
  155.             if highlight then
  156.                 highlight:Destroy()
  157.             end
  158.         end
  159.     end
  160. end
  161.  
  162.  
  163. function FuseEsp()
  164.     if getgenv().FuseESP then
  165.         for _,v in pairs(workspace:GetChildren()) do
  166.             if v.Name == "Fuse1" or v.Name == "Fuse2" or v.Name == "Fuse3" or v.Name == "Fuse4" or v.Name == "Fuse5" or v.Name == "Fuse6" or v.Name == "Fuse7" or v.Name == "Fuse8" or v.Name == "Fuse9" or v.Name == "Fuse10" or v.Name == "Fuse11" or v.Name == "Fuse12" or v.Name == "Fuse13" or v.Name == "Fuse14" then
  167.                 local blockesp = Instance.new("Highlight",v)
  168.                 blockesp.Adornee = v
  169.                 blockesp.Enabled = true
  170.                 blockesp.FillColor = Color3.fromRGB(255, 255, 255)
  171.             end
  172.         end
  173.     end
  174. end
  175.  
  176. function notFuseEsp()
  177.     if not getgenv().FuseESP then
  178.         for _,v in pairs(workspace:GetChildren()) do
  179.             if v.Name == "Fuse1" or v.Name == "Fuse2" or v.Name == "Fuse3" or v.Name == "Fuse4" or v.Name == "Fuse5" or v.Name == "Fuse6" or v.Name == "Fuse7" or v.Name == "Fuse8" or v.Name == "Fuse9" or v.Name == "Fuse10" or v.Name == "Fuse11" or v.Name == "Fuse12" or v.Name == "Fuse13" or v.Name == "Fuse14" then
  180.                 local highlight = v:FindFirstChild("Highlight")
  181.                 if highlight then
  182.                     highlight:Destroy()
  183.                 end
  184.             end
  185.         end
  186.     end
  187. end
  188.  
  189. function BatteryEsp()
  190.     if getgenv().BatteryESP then
  191.         for _,v in pairs(workspace:GetChildren()) do
  192.             if v.Name == "Battery" then
  193.                 local batteryesp = Instance.new("Highlight",v)
  194.                 batteryesp.Adornee = v
  195.                 batteryesp.Enabled = true
  196.                 batteryesp.FillColor = Color3.fromRGB(255, 255, 255)
  197.             end
  198.         end
  199.     end
  200. end
  201.  
  202. function noBatteryEsp()
  203.     if not getgenv().BatteryESP then
  204.         for _,v in pairs(workspace:GetChildren()) do
  205.             if v.Name == "Battery" then
  206.                 local highlight = v:FindFirstChild("Highlight")
  207.                 if highlight then
  208.                     highlight:Destroy()
  209.                 end
  210.             end
  211.         end
  212.     end
  213. end
  214.  
  215. function intheBox()
  216.     if getgenv().AlwaysInBox then
  217.         local args = {
  218.             [1] = "Equip"
  219.         }
  220.  
  221.         game:GetService("ReplicatedStorage").communication.boxes.cl.BoxUpdated:FireServer(unpack(args))
  222.     end
  223. end
  224.  
  225. function notintheBox()
  226.     if not getgenv().AlwaysInBox then
  227.         local args = {
  228.             [1] = "Unequip"
  229.         }
  230.  
  231.         game:GetService("ReplicatedStorage").communication.boxes.cl.BoxUpdated:FireServer(unpack(args))
  232.     end
  233. end
  234.  
  235.  
  236. local CheatWindow = OrionLib:MakeWindow({Name = "PidorasHack", HidePremium = true, SaveConfig = false, ConfigFolder = "PidorasHack"})
  237.  
  238. local ESPTab = CheatWindow:MakeTab({
  239.     Name = "NPC",
  240.     Icon = "rbxassetid://4483345998",
  241.     PremiumOnly = false
  242. })
  243.  
  244. local PlayerTab = CheatWindow:MakeTab({
  245.     Name = "Player",
  246.     Icon = "rbxassetid://4483345998",
  247.     PremiumOnly = false
  248. })
  249.  
  250. local ItemsTab = CheatWindow:MakeTab({
  251.     Name = "Items",
  252.     Icon = "rbxassetid://4483345998",
  253.     PremiumOnly = false
  254. })
  255.  
  256. ESPTab:AddToggle({
  257.     Name = "BlueESP",
  258.     Default = false,
  259.     Callback = function(bool)
  260.         getgenv().BlueESP = bool
  261.         if bool then
  262.             BlueESP()
  263.         end
  264.        
  265.         if not bool then
  266.             noBlueEsp()
  267.         end
  268.     end    
  269. })
  270.  
  271. ESPTab:AddToggle({
  272.     Name = "GreenESP",
  273.     Default = false,
  274.     Callback = function(bool)
  275.         getgenv().GreenESP = bool
  276.         if bool then
  277.             GreenESP()
  278.         end
  279.        
  280.         if not bool then
  281.             noGreenEsp()
  282.         end
  283.     end    
  284. })
  285.  
  286. ESPTab:AddToggle({
  287.     Name = "OrangeESP",
  288.     Default = false,
  289.     Callback = function(bool)
  290.         getgenv().OrangeESP = bool
  291.         if bool then
  292.             OrangeESP()
  293.         end
  294.        
  295.         if not bool then
  296.             noOrangeEsp()
  297.         end
  298.     end    
  299. })
  300.  
  301. PlayerTab:AddSlider({
  302.     Name = "WalkSpeed",
  303.     Min = 16,
  304.     Max = 256,
  305.     Default = 16,
  306.     Color = Color3.fromRGB(255,255,255),
  307.     Increment = 1,
  308.     ValueName = "Speed",
  309.     Callback = function(speed)
  310.         game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = speed
  311.     end    
  312. })
  313.  
  314. PlayerTab:AddToggle({
  315.     Name = "Invisible",
  316.     Default = false,
  317.     Callback = function(bool)
  318.         getgenv().AlwaysInBox = bool
  319.         if bool then
  320.             intheBox()
  321.         end
  322.        
  323.         if not bool then
  324.             notintheBox()
  325.         end
  326.     end    
  327. })
  328.  
  329. ItemsTab:AddToggle({
  330.     Name = "BlocksESP",
  331.     Default = false,
  332.     Callback = function(bool)
  333.         getgenv().BlockESP = bool
  334.         if bool then
  335.             BlockESP()
  336.         end
  337.  
  338.         if not bool then
  339.             notBlockESP()
  340.         end
  341.     end    
  342. })
  343.  
  344. ItemsTab:AddToggle({
  345.     Name = "FoodESP",
  346.     Default = false,
  347.     Callback = function(bool)
  348.         getgenv().FoodESP = bool
  349.         if bool then
  350.             FoodEsp()
  351.         end
  352.  
  353.         if not bool then
  354.             notFoodEsp()
  355.         end
  356.     end    
  357. })
  358.  
  359. ItemsTab:AddToggle({
  360.     Name = "FuseESP",
  361.     Default = false,
  362.     Callback = function(bool)
  363.         getgenv().FuseESP = bool
  364.         if bool then
  365.             FuseEsp()
  366.         end
  367.  
  368.         if not bool then
  369.             notFuseEsp()
  370.         end
  371.     end    
  372. })
  373.  
  374. ItemsTab:AddToggle({
  375.     Name = "BatteryESP",
  376.     Default = false,
  377.     Callback = function(bool)
  378.         getgenv().BatteryESP = bool
  379.         if bool then
  380.             BatteryEsp()
  381.         end
  382.  
  383.         if not bool then
  384.             noBatteryEsp()
  385.         end
  386.     end    
  387. })
Advertisement
Comments
Add Comment
Please, Sign In to add comment
Advertisement