Advertisement
sudhanshuprasad

raise a floppa 2: Auto Click Floppa, Auto Collect Cash, Auto Claim Rent

Nov 21st, 2022
565
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 15.35 KB | None | 0 0
  1. --  Extorius Hub - Raise a Floppa 2
  2.  
  3. if not game:IsLoaded() then
  4.     game.Loaded:Wait()
  5. end
  6. repeat
  7.     task.wait()
  8. until game:GetService("Players") and game:GetService("Workspace") and game:GetService("ReplicatedStorage") and
  9.     game:GetService("UserInputService")
  10.  
  11. getgenv().SecureMode = false
  12. local LocalPlayer = game:GetService("Players").LocalPlayer
  13. local At_Feed = 75
  14. local At_Pet = 50
  15. loadstring(game:HttpGet("https://pastebin.com/raw/tUUGAeaH", true))()
  16. local Rayfield = loadstring(game:HttpGet("https://raw.githubusercontent.com/shlexware/Rayfield/main/source"))()
  17.  
  18. local function returnHRP()
  19.     if not LocalPlayer.Character then
  20.         return
  21.     end
  22.     if not LocalPlayer.Character:FindFirstChild("HumanoidRootPart") then
  23.         return
  24.     else
  25.         return LocalPlayer.Character:FindFirstChild("HumanoidRootPart")
  26.     end
  27. end
  28. local function returnHUM()
  29.     if not LocalPlayer.Character then
  30.         return
  31.     end
  32.     if not LocalPlayer.Character:FindFirstChild("Humanoid") then
  33.         return
  34.     else
  35.         return LocalPlayer.Character:FindFirstChild("Humanoid")
  36.     end
  37. end
  38. repeat
  39.     task.wait()
  40. until returnHRP() and returnHUM()
  41.  
  42. local Window =
  43.     Rayfield:CreateWindow(
  44.     {
  45.         Name = "Raise a Floppa 2",
  46.         LoadingTitle = "Extorius Hub",
  47.         LoadingSubtitle = "by Extorius Scripts",
  48.         ConfigurationSaving = {
  49.             Enabled = true,
  50.             FolderName = "Extorius Hub", -- Create a custom folder for your hub/game
  51.             FileName = "Raise a Floppa 2"
  52.         },
  53.         Discord = {
  54.             Enabled = false,
  55.             Invite = "sirius", -- The Discord invite code, do not include discord.gg/
  56.             RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  57.         },
  58.         KeySystem = false, -- Set this to true to use our key system
  59.         KeySettings = {
  60.             Title = "Sirius Hub",
  61.             Subtitle = "Key System",
  62.             Note = "Join the discord (discord.gg/sirius)",
  63.             FileName = "SiriusKey",
  64.             SaveKey = false,
  65.             GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  66.             Key = "Hello"
  67.         }
  68.     }
  69. )
  70.  
  71. local Tab = Window:CreateTab("Auto Farm", 4483362458)
  72. local Section = Tab:CreateSection("Cash / Money")
  73. local Toggle =
  74.     Tab:CreateToggle(
  75.     {
  76.         Name = "Auto Click Floppa",
  77.         CurrentValue = false,
  78.         Flag = "Toggle1",
  79.         Callback = function(Value)
  80.             Toggle_AutoClick = Value
  81.             while Toggle_AutoClick and task.wait() do
  82.                 fireclickdetector(workspace.Floppa.ClickDetector)
  83.             end
  84.         end
  85.     }
  86. )
  87. local Toggle =
  88.     Tab:CreateToggle(
  89.     {
  90.         Name = "Auto Collect Cash",
  91.         CurrentValue = false,
  92.         Flag = "Toggle1",
  93.         Callback = function(Value)
  94.             Toggle_AutoCollectCash = Value
  95.             while Toggle_AutoCollectCash and task.wait() do
  96.                 for _,v in ipairs(workspace:GetChildren()) do
  97.                     if v.Name == "Money" or v.Name == "Money Bag" then
  98.                         firetouchinterest(v, returnHRP(), 0)
  99.                         wait()
  100.                         firetouchinterest(v, returnHRP(), 1)
  101.                     end
  102.                 end
  103.             end
  104.         end
  105.     }
  106. )
  107. local Toggle =
  108.     Tab:CreateToggle(
  109.     {
  110.         Name = "Auto Claim Rent",
  111.         CurrentValue = false,
  112.         Flag = "Toggle1",
  113.         Callback = function(Value)
  114.             Toggle_AutoClaimRent = Value
  115.             while Toggle_AutoClaimRent and task.wait() do
  116.                 game:GetService("ReplicatedStorage").Events["Collect Rent"]:FireServer()
  117.                 task.wait(2)
  118.                 if workspace:FindFirstChild("Rent") then
  119.                     firetouchinterest(workspace:FindFirstChild("Rent"), returnHRP(), 0)
  120.                     firetouchinterest(workspace:FindFirstChild("Rent"), returnHRP(), 1)
  121.                 end
  122.             end
  123.         end
  124.     }
  125. )
  126. local Toggle =
  127.     Tab:CreateToggle(
  128.     {
  129.         Name = "Auto Unlock Items",
  130.         CurrentValue = false,
  131.         Flag = "Toggle1",
  132.         Callback = function(Value)
  133.             Toggle_AutoUnlockItems = Value
  134.             while Toggle_AutoUnlockItems and task.wait() do
  135.                 for _,v in ipairs(LocalPlayer.PlayerGui.PlayerUI["the_interwebs"].Unlocks:GetChildren()) do
  136.                     if v:IsA("Frame") and not v.Name:match("Food") and not v.Name:match("food") then
  137.                         task.wait(.2)
  138.                         game:GetService("ReplicatedStorage").Events.Unlock:FireServer(table.unpack({
  139.                             [1] = v.Name,
  140.                             [2] = "the_interwebs",
  141.                         }))
  142.                     end
  143.                 end
  144.             end
  145.         end
  146.     }
  147. )
  148.  
  149. local Section = Tab:CreateSection("Caring For Floppa")
  150. local Toggle =
  151.     Tab:CreateToggle(
  152.     {
  153.         Name = "Auto Feed Floppa",
  154.         CurrentValue = false,
  155.         Flag = "Toggle1",
  156.         Callback = function(Value)
  157.             Toggle_AutoFeedFloppa = Value
  158.             while Toggle_AutoFeedFloppa and task.wait() do
  159.                 Hunger = string.gsub(workspace.Floppa.Display.Frame.Hunger.Text, "%D", "")
  160.                 Hunger = tonumber(Hunger)
  161.                 if Hunger <= 20 then
  162.                     game:GetService("ReplicatedStorage").Events.Unlock:FireServer(table.unpack({
  163.                         [1] = "Floppa Food",
  164.                         [2] = "the_interwebs",
  165.                     }))
  166.                     task.wait(2)
  167.                     for i =1,10 do
  168.                         task.wait()
  169.                         returnHRP().CFrame = workspace["Key Parts"].Bowl.Part.CFrame
  170.                         fireproximityprompt(workspace["Key Parts"].Bowl.Part.ProximityPrompt)
  171.                     end
  172.                 end
  173.             end
  174.         end
  175.     }
  176. )
  177. local Toggle =
  178.     Tab:CreateToggle(
  179.     {
  180.         Name = "Auto Clean Poop",
  181.         CurrentValue = false,
  182.         Flag = "Toggle1",
  183.         Callback = function(Value)
  184.             Toggle_AutoCleanPoop = Value
  185.             while Toggle_AutoCleanPoop and task.wait() do
  186.                 for _,v in ipairs(workspace["Key Parts"]["Litter Box"]:GetChildren()) do
  187.                     if v.Name == "Poop" then
  188.                         returnHRP().CFrame = v.PoopPart.CFrame
  189.                         fireproximityprompt(v.ProximityPrompt)
  190.                     end
  191.                 end
  192.             end
  193.         end
  194.     }
  195. )
  196.  
  197. local Section = Tab:CreateSection("Floppa Happiness")
  198. local Slider = Tab:CreateSlider({
  199.     Name = "Pet At",
  200.     Range = {0, 75},
  201.     Increment = 5,
  202.     Suffix = "%",
  203.     CurrentValue = 50,
  204.     Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  205.     Callback = function(Value)
  206.         At_Pet = Value
  207.     end,
  208. })
  209. local Slider = Tab:CreateSlider({
  210.     Name = "Feed Grilled Cheese At",
  211.     Range = {0, 100},
  212.     Increment = 5,
  213.     Suffix = "%",
  214.     CurrentValue = 75,
  215.     Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
  216.     Callback = function(Value)
  217.         At_Feed = Value
  218.     end,
  219. })
  220. local Toggle =
  221.     Tab:CreateToggle(
  222.     {
  223.         Name = "Auto Pet Floppa",
  224.         CurrentValue = false,
  225.         Flag = "Toggle1",
  226.         Callback = function(Value)
  227.             Toggle_AutoPetFloppaGC = Value
  228.             while Toggle_AutoPetFloppaGC and task.wait() do
  229.                 Happiness = string.gsub(LocalPlayer.PlayerGui.FloppaUI.Frame.Floppa.Happiness.Percentage.Text, "%D", "")
  230.                 Happiness = tonumber(Happiness)
  231.                 if Happiness <= At_Pet then
  232.                     for i=1,20 do
  233.                         returnHRP().CFrame = workspace.Floppa.HumanoidRootPart.CFrame
  234.                         task.wait()
  235.                         fireproximityprompt(workspace.Floppa.HumanoidRootPart.ProximityPrompt)
  236.                     end
  237.                 end
  238.             end
  239.         end
  240.     }
  241. )
  242. local Toggle =
  243.     Tab:CreateToggle(
  244.     {
  245.         Name = "Auto Feed Floppa Grilled Cheese",
  246.         CurrentValue = false,
  247.         Flag = "Toggle1",
  248.         Callback = function(Value)
  249.             Toggle_AutoFeedFloppa = Value
  250.             while Toggle_AutoFeedFloppa and task.wait() do
  251.                 Happiness = string.gsub(LocalPlayer.PlayerGui.FloppaUI.Frame.Floppa.Happiness.Percentage.Text, "%D", "")
  252.                 Happiness = tonumber(Happiness)
  253.                 if Happiness <= At_Feed then
  254.                     task.wait(4)
  255.                     Bread = workspace.Village.FoodMarket["Bread Crate"].Crate["Empty Display Crate"].Primary
  256.                     Cheese = workspace.Village.FoodMarket.Cheese
  257.                     returnHRP().CFrame = Bread.CFrame*CFrame.new(0,4,0)
  258.                     task.wait(.2)
  259.                     fireproximityprompt(Bread.ProximityPrompt)
  260.                     returnHRP().CFrame = Cheese.CFrame*CFrame.new(0,4,0)
  261.                     task.wait(.2)
  262.                     fireproximityprompt(Cheese.ProximityPrompt)
  263.                     task.wait(1)
  264.                     game:GetService("ReplicatedStorage").Events.Cooking:FireServer(table.unpack({
  265.                         [1] = "Add Ingredient",
  266.                         [2] = "Bread",
  267.                     }))
  268.                     game:GetService("ReplicatedStorage").Events.Cooking:FireServer(table.unpack({    [1] = "Add Ingredient",    [2] = "Cheese",}))
  269.                     game:GetService("ReplicatedStorage").Events.Cooking:FireServer(table.unpack({    [1] = "Change Temperature",    [2] = 3,}))
  270.                     game:GetService("ReplicatedStorage").Events.Cooking:FireServer("Cook")
  271.                    
  272.                     task.wait(20)
  273.                     firetouchinterest(workspace:WaitForChild("Grilled Cheese").Handle, returnHRP(), 0)
  274.                     firetouchinterest(workspace:WaitForChild("Grilled Cheese").Handle, returnHRP(), 1)
  275.                     task.wait(0.5)
  276.                    
  277.                     for i=1,20 do
  278.                         returnHRP().CFrame = workspace.Floppa.HumanoidRootPart.CFrame
  279.                         task.wait()
  280.                         fireproximityprompt(workspace.Floppa.HumanoidRootPart.ProximityPrompt)
  281.                     end
  282.                 end
  283.             end
  284.         end
  285.     }
  286. )
  287.  
  288. local Section = Tab:CreateSection("Gardening")
  289. local Toggle =
  290.     Tab:CreateToggle(
  291.     {
  292.         Name = "Auto Grab Seeds",
  293.         CurrentValue = false,
  294.         Flag = "Toggle1",
  295.         Callback = function(Value)
  296.             Toggle_AutoGrabSeeds = Value
  297.             while Toggle_AutoGrabSeeds and task.wait() do
  298.                 for _,v in ipairs(workspace.Seeds:GetChildren()) do
  299.                     returnHRP().CFrame = v.CFrame
  300.                     task.wait(0.2)
  301.                     if v:FindFirstChild("ProximityPrompt") then
  302.                         fireproximityprompt(v:FindFirstChild("ProximityPrompt"))
  303.                     end
  304.                 end
  305.             end
  306.         end
  307.     }
  308. )
  309. local PlantSeedsToggle
  310. PlantSeedsToggle =
  311.     Tab:CreateToggle(
  312.     {
  313.         Name = "Auto Plant Seeds",
  314.         CurrentValue = false,
  315.         Flag = "Toggle1",
  316.         Callback = function(Value)
  317.             Toggle_AutoPlantSeeds = Value
  318.             while Toggle_AutoPlantSeeds and task.wait() do
  319.                 local Seeds = {}
  320.                 local function FindSeeds()
  321.                     for _,v in ipairs(returnHRP().Parent:GetChildren()) do
  322.                         if v.Name:match("Seed") or v.Name:match("Spore") then
  323.                             table.insert(Seeds, v)
  324.                         end
  325.                     end
  326.                     for _,v in ipairs(LocalPlayer.Backpack:GetChildren()) do
  327.                         if v.Name:match("Seed") or v.Name:match("Spore") then
  328.                             table.insert(Seeds, v)
  329.                         end
  330.                     end
  331.                 end
  332.                 local function FindPot()
  333.                     for _,v in ipairs(workspace.Unlocks:GetChildren()) do
  334.                         if v.Name:match("Planter") and #Seeds ~= 0 then
  335.                             if v.Plant.Value == nil or v.Plant.Value == "" then
  336.                                 return v
  337.                             end
  338.                         end
  339.                     end
  340.                 end
  341.                 FindSeeds()
  342.                 for _,v in ipairs(Seeds) do
  343.                     v.Parent = returnHRP().Parent
  344.                 end
  345.                 for i=1,#Seeds do
  346.                     if FindPot() ~= nil then
  347.                         returnHRP().CFrame = FindPot().Soil.CFrame*CFrame.new(0,4,0)
  348.                         task.wait(.2)
  349.                         fireproximityprompt(FindPot().Soil.ProximityPrompt)
  350.                     end
  351.                 end
  352.             end
  353.         end
  354.     }
  355. )
  356. local PlantSeedsToggle
  357. PlantSeedsToggle =
  358.     Tab:CreateToggle(
  359.     {
  360.         Name = "Auto Harvest Plants",
  361.         CurrentValue = false,
  362.         Flag = "Toggle1",
  363.         Callback = function(Value)
  364.             Toggle_AutoHarvestPlants = Value
  365.             while Toggle_AutoHarvestPlants and task.wait() do
  366.                 local function FindPot()
  367.                     for _,v in ipairs(workspace.Unlocks:GetChildren()) do
  368.                         if v.Name:match("Planter") then
  369.                             if v.Plant.Value ~= nil and v.Growth.Value == 100 then
  370.                                 return v
  371.                             end
  372.                         end
  373.                     end
  374.                 end
  375.                
  376.                 Pot = FindPot()
  377.                 if Pot ~= nil then
  378.                     returnHRP().CFrame = Pot.Soil.CFrame*CFrame.new(0,4,0)
  379.                     task.wait(.2)
  380.                     fireproximityprompt(Pot.Soil.ProximityPrompt)
  381.                 end
  382.             end
  383.         end
  384.     }
  385. )
  386. local Toggle =
  387.     Tab:CreateToggle(
  388.     {
  389.         Name = "Auto Feed Floppa Catnip",
  390.         CurrentValue = false,
  391.         Flag = "Toggle1",
  392.         Callback = function(Value)
  393.             Toggle_AutoFeedCatnip = Value
  394.             while Toggle_AutoFeedCatnip and task.wait() do
  395.                 local Catnip = nil
  396.                 local function FindCatnip()
  397.                     for _,v in ipairs(returnHRP().Parent:GetChildren()) do
  398.                         if v.Name:match("Catnip") then
  399.                             Catnip = v
  400.                         end
  401.                     end
  402.                     for _,v in ipairs(LocalPlayer.Backpack:GetChildren()) do
  403.                         if v.Name:match("Catnip") then
  404.                             Catnip = v
  405.                         end
  406.                     end
  407.                    
  408.                     return Catnip
  409.                 end
  410.                
  411.                 Catnip = FindCatnip()
  412.                 if Catnip ~= nil then
  413.                     Catnip.Parent = returnHRP()
  414.                     for i=1,20 do
  415.                         returnHRP().CFrame = workspace.Floppa.HumanoidRootPart.CFrame
  416.                         task.wait()
  417.                         fireproximityprompt(workspace.Floppa.HumanoidRootPart.ProximityPrompt)
  418.                     end
  419.                 end
  420.             end
  421.         end
  422.     }
  423. )
  424.  
  425. local Section = Tab:CreateSection("Space")
  426. local Toggle =
  427.     Tab:CreateToggle(
  428.     {
  429.         Name = "Auto Farm Space Crystals",
  430.         CurrentValue = false,
  431.         Flag = "Toggle1",
  432.         Callback = function(Value)
  433.             Toggle_AutoGrabCrystals = Value
  434.             while Toggle_AutoGrabCrystals and task.wait() do
  435.                 if workspace:FindFirstChild("Gold Bar") then
  436.                     firetouchinterest(workspace:FindFirstChild("Gold Bar"), returnHRP(), 0)
  437.                     firetouchinterest(workspace:FindFirstChild("Gold Bar"), returnHRP(), 1)
  438.                 end
  439.                 if workspace.Unlocks:FindFirstChild("Wormhole Machine") and workspace.Unlocks:FindFirstChild("Crystal Converter") then
  440.                     for _,v in ipairs(workspace.Unlocks:FindFirstChild("Wormhole Machine").Crystal:GetChildren()) do
  441.                         returnHRP().CFrame = v.CFrame
  442.                         task.wait(0.2)
  443.                         fireproximityprompt(v.ProximityPrompt)
  444.                         task.wait()
  445.                         returnHRP().CFrame = workspace.Unlocks:FindFirstChild("Crystal Converter").Primary.CFrame
  446.                         task.wait(0.2)
  447.                         fireproximityprompt(workspace.Unlocks:FindFirstChild("Crystal Converter").Primary.ProximityPrompt)
  448.                     end
  449.                 end
  450.             end
  451.         end
  452.     }
  453. )
  454.  
  455. local Tab = Window:CreateTab("Stability", 4483362458)
  456. local AntiIdleToggle =
  457.     Tab:CreateToggle(
  458.     {
  459.         Name = "Anti Idle / Afk",
  460.         CurrentValue = false,
  461.         Flag = "Toggle1",
  462.         Callback = function(Value)
  463.             for i, connection in pairs(getconnections(LocalPlayer.Idled)) do
  464.                 if Value then
  465.                     connection:Disable()
  466.                 else
  467.                     connection:Enable()
  468.                 end
  469.             end
  470.         end
  471.     }
  472. )
  473. local Toggle =
  474.     Tab:CreateToggle(
  475.     {
  476.         Name = "Cap FPS",
  477.         CurrentValue = false,
  478.         Flag = "Toggle1",
  479.         Callback = function(Value)
  480.             if Value then
  481.                 setfpscap(30)
  482.             else
  483.                 setfpscap(60)
  484.             end
  485.         end
  486.     }
  487. )
  488. local Toggle =
  489.     Tab:CreateToggle(
  490.     {
  491.         Name = "Rendering Enabled",
  492.         CurrentValue = true,
  493.         Flag = "Toggle1",
  494.         Callback = function(Value)
  495.             game:GetService("RunService"):Set3dRenderingEnabled(Value)
  496.         end
  497.     }
  498. )
  499.  
  500. AntiIdleToggle:Set(true)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement