Advertisement
Urbanpower

Demon Soul. Soul Autofarm

Mar 10th, 2022
3,223
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.95 KB | None | 0 0
  1. --// Exploit Fix \\--
  2. if not pcall(function() return syn.protect_gui end) then
  3. syn = {}
  4. syn.protect_gui = function(A_1)
  5. A_1.Parent = CoreGui
  6. end
  7. end
  8.  
  9. --// Services \\--
  10. local ReplicatedStorage = game:GetService("ReplicatedStorage")
  11. local Players = game:GetService("Players")
  12.  
  13. --// Variables \\--
  14. local Player = Players.LocalPlayer
  15. local Gui = Player:WaitForChild("PlayerGui")
  16. local Waiting = Player:WaitForChild("WaitingSoul")
  17. local Total = Player:WaitForChild("leaderstats"):WaitForChild("Soul")
  18. local Count = Gui:FindFirstChild("SoulCount", true) or false
  19. local Soul = ReplicatedStorage:WaitForChild("RemoteEvents"):WaitForChild("DropSoul")
  20.  
  21. --// UI Library \\--
  22. local Library = loadstring(game:HttpGetAsync('https://raw.githubusercontent.com/Just-Egg-Salad/roblox-scripts/main/uwuware'))()
  23. local Window = Library:CreateWindow("Souls by Ezpi#0474")
  24. Window:AddLabel({
  25. text = "discord.gg/nxHQEk2kEt"
  26. })
  27. Window:AddToggle({
  28. text = "Soul Farm",
  29. flag = "Soul",
  30. callback = function(A_1)
  31. -- Check
  32. if Total.Value == "0" then
  33. return
  34. end
  35. -- Soul Animation Fix
  36. Gui:FindFirstChild("HallUiCtrl", true).Disabled = A_1
  37. -- AutoFarm
  38. while Library.flags.Soul == true and task.wait() do
  39. if Waiting.Value < 1 then
  40. Soul:FireServer(-1)
  41. Waiting:GetPropertyChangedSignal("Value"):wait()
  42. else
  43. Soul:FireServer(0.5)
  44. end
  45. end
  46. end
  47. })
  48. Library:Init()
  49.  
  50. --// Soul Animation Fix \\--
  51. Gui.DescendantAdded:Connect(function(A_1)
  52. task.wait()
  53. if A_1.Name == "SoulCount" then
  54. Count = A_1
  55. elseif A_1.Name == "HallUiCtrl" then
  56. A_1.Disabled = true
  57. end
  58. end)
  59. Total:GetPropertyChangedSignal("Value"):Connect(function()
  60. if Count ~= false and Count.Parent ~= nil and Library.flags.Soul == true then
  61. Count.Text = Total.Value
  62. end
  63. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement