dognore

Auto Appraise Fisch

Nov 3rd, 2024 (edited)
5,676
0
Never
1
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.72 KB | None | 0 0
  1. --use near appraiser and try to appraise one time before using it
  2.  
  3. filterData = {
  4. Weight = 100, -- 100kg, Change to your weight target, set to 0 disable weight filter
  5. Sparkling = false, -- Set to true if you want Sparkling
  6. Shiny = false, -- Set to true if you want Shiny
  7. Mutation = "", -- Set to "" to disable Mutation filter/put your mutation target, ex "Mythical"/"Ghastly"/"Glossy"/etc
  8. delay = 0.8 -- i dont really know the right delay, it breaks if it too fast.
  9. }
  10.  
  11. _G.AA = false
  12.  
  13. local player = game.Players.LocalPlayer
  14. local statFolder,Filtered,tools
  15.  
  16.  
  17. function getTools()
  18. for i,v in pairs(player.Character:GetChildren()) do
  19. if v:isA("Tool") then
  20. return v
  21. end
  22. end
  23. return nil
  24. end
  25.  
  26. function applyFilter(statFolder)
  27. if filterData.Weight > 0 then
  28. if statFolder.Weight.Value < filterData.Weight then
  29. return false
  30. end
  31. end
  32. if filterData.Sparkling ~= false then
  33. if not statFolder:FindFirstChild("Sparkling") then
  34. return false
  35. end
  36. end
  37. if filterData.Shiny ~= false then
  38. if not statFolder:FindFirstChild("Shiny") then
  39. return false
  40. end
  41. end
  42. if filterData.Mutation ~= "" then
  43. local Mutation = statFolder:FindFirstChild("Mutation")
  44. if not Mutation then return false end
  45.  
  46. if Mutation.Value ~= filterData.Mutation then
  47. return false
  48. end
  49. end
  50. return true
  51. end
  52.  
  53.  
  54.  
  55. local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
  56.  
  57. local Window = Rayfield:CreateWindow({
  58. Name = "Fisch Script V.1 by mickey6_9",
  59. LoadingTitle = "Fisch Script V.1 ",
  60. LoadingSubtitle = "by mickey6_9",
  61. ConfigurationSaving = {
  62. Enabled = true,
  63. FolderName = nil, -- Create a custom folder for your hub/game
  64. FileName = "Big Hub"
  65. },
  66. Discord = {
  67. Enabled = false,
  68. Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
  69. RememberJoins = true -- Set this to false to make them join the discord every time they load it up
  70. },
  71. KeySystem = false, -- Set this to true to use our key system
  72. KeySettings = {
  73. Title = "Untitled",
  74. Subtitle = "Key System",
  75. Note = "No method of obtaining the key is provided",
  76. FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
  77. SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
  78. GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
  79. Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
  80. }
  81. })
  82.  
  83. local Tab = Window:CreateTab("Main", 4483362458)
  84.  
  85. local TS1 = Tab:CreateSection("Input Values")
  86.  
  87. local Input = Tab:CreateInput({
  88. Name = "Weight",
  89. PlaceholderText = "Input Weight value",
  90. RemoveTextAfterFocusLost = false,
  91. Callback = function(Text)
  92. filterData.Weight = tonumber(Text)
  93. end,
  94. })
  95.  
  96. local Toggle = Tab:CreateToggle({
  97. Name = "Sparkling",
  98. CurrentValue = false,
  99. Flag = "Toggle2", -- 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
  100. Callback = function(Value)
  101. filterData.Sparkling = Value
  102. end,
  103. })
  104.  
  105. local Toggle = Tab:CreateToggle({
  106. Name = "Shiny",
  107. CurrentValue = false,
  108. Flag = "Toggle3", -- 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
  109. Callback = function(Value)
  110. filterData.Shiny = Value
  111. end,
  112. })
  113.  
  114. local Input = Tab:CreateInput({
  115. Name = "Mutation",
  116. PlaceholderText = "Input Mutation value",
  117. RemoveTextAfterFocusLost = false,
  118. Callback = function(Text)
  119. filterData.Mutation = Text
  120. end,
  121. })
  122.  
  123. local Slider = Tab:CreateSlider({
  124. Name = "Delay",
  125. Range = {0.8, 5},
  126. Increment = 0.1,
  127. Suffix = "Second",
  128. CurrentValue = filterData.delay,
  129. 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
  130. Callback = function(Value)
  131. filterData.delay = Value
  132. end,
  133. })
  134.  
  135. local TS1 = Tab:CreateSection("Toggle")
  136.  
  137. local Toggle = Tab:CreateToggle({
  138. Name = "Auto Appraise",
  139. CurrentValue = false,
  140. Flag = "Toggle1", -- 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
  141. Callback = function(Value)
  142. _G.AA = Value
  143. player.Backpack.ChildAdded:Connect(function(instance)
  144. if instance:isA("Tool") and not instance:FindFirstChild("link") then
  145. repeat task.wait() until instance:FindFirstChild("link") or _G.AA
  146. local oldtools = getTools()
  147. if oldtools then oldtools.Parent = player.Backpack end
  148. if _G.AA then
  149. player.PlayerGui.hud.safezone.backpack.events.equip:FireServer(instance)
  150. end
  151. end
  152. end)
  153.  
  154.  
  155. repeat task.wait()
  156. if _G.AA then
  157. tools = getTools()
  158.  
  159. if tools ~= nil then
  160. statFolder = tools.link.Value
  161. Filtered = applyFilter(statFolder)
  162. if Filtered then break end
  163. workspace.world.npcs.Appraiser.appraiser.appraise:InvokeServer()
  164. task.wait(filterData.delay)
  165. end
  166. elseif not _G.AA then
  167. break
  168. end
  169. until Filtered or not _G.AA
  170. end,
  171. })
  172.  
  173.  
  174. local Button = Tab:CreateButton({
  175. Name = "Destroy GUI",
  176. Callback = function()
  177. Rayfield:Destroy()
  178. end,
  179. })
  180.  
Advertisement
Comments
Add Comment
Please, Sign In to add comment