SpamDuk3

Creatures of Sonaria [Afk Auto Bells Farm]

Dec 10th, 2022
211
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | Gaming | 0 0
  1. -- Set everything to false to stop the farm
  2.  
  3. getgenv().BellFarm = true
  4. getgenv().Bells = true
  5. getgenv().Trivia_scrambler = true
  6.  
  7. local TriviaAnswer = "SubmitTriviaAnswer"
  8. local Answer = {
  9. ["answer"] = "None"
  10. }
  11. local Scrambler = "ScramblerAnswer"
  12. local Answer1 = "Ani"
  13.  
  14. -- Touching all the Presents
  15.  
  16. task.spawn(function()
  17. while getgenv().BellFarm == true do
  18. task.wait(0.5)
  19. for i, v in pairs(game:GetService("Workspace"):GetDescendants()) do
  20. if v.Name == "TouchInterest" and v.Parent.Name == "Present" then
  21. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Parent, 0)
  22. end
  23. end
  24. end
  25. end)
  26.  
  27. -- gives wrong answer to Trivia and Scrambler (you still get bells for wrong answers)
  28.  
  29. task.spawn(function()
  30. while getgenv().Trivia_scrambler == true do
  31. task.wait(0.5)
  32. for i, v in pairs(game:GetService("Players").LocalPlayer.PlayerGui:GetChildren()) do
  33. if v.Name == "Trivia" then
  34. game:GetService("Players").LocalPlayer.RemoteFunction:InvokeServer(TriviaAnswer, Answer)
  35. wait(1)
  36. v:Destroy()
  37. elseif v.Name == "Scramble" then
  38. game:GetService("Players").LocalPlayer.RemoteEvent:FireServer(Scrambler, Answer1)
  39. wait(1)
  40. v:Destroy()
  41. end
  42. end
  43. end
  44. end)
  45.  
  46. -- Touch all the bells, can also be used to steal people's bells on the ground
  47.  
  48. task.spawn(function()
  49. while getgenv().Bells == true do
  50. task.wait(0.5)
  51. for i,v in pairs(workspace.DroppedWisps:GetDescendants()) do
  52. if v:IsA("TouchTransmitter") then
  53. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Parent, 0)
  54. firetouchinterest(game.Players.LocalPlayer.Character.HumanoidRootPart, v.Parent, 1)
  55. end
  56. end
  57. end
  58. end)
Tags: Roblox Script
Add Comment
Please, Sign In to add comment