Advertisement
Anonymouse10101

The FInal Part Attack On Titan Freedom Awaits

Dec 13th, 2020
3,332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.40 KB | None | 0 0
  1. -- UI Library
  2. local library = loadstring(game:HttpGetAsync("https://pastebin.com/raw/dghxtPKn"))()
  3. local w = library:CreateWindow('auto spin')
  4. w:Section('by egg salad')
  5.  
  6. -- Variable
  7. local handle = game.ReplicatedStorage.Events.CharacterHandler
  8. local stats = require(game.ReplicatedStorage.Modules.GachaStats)
  9. local eye,blood = stats.EyeColors,stats.Bloodlines
  10.  
  11. -- Notify
  12. local function notify(title,text,dur)
  13. game:GetService("StarterGui"):SetCore("SendNotification",{
  14. Title = title,
  15. Text = text,
  16. Duration = dur or 5
  17. })
  18. end
  19.  
  20. -- Eye Spins
  21. w:Section('eyes')
  22. for i,v in pairs(eye) do
  23. w:Toggle(v.Name.." - "..v.Rarity,{flag=v.Name})
  24. end
  25. w:Button('spin eyes',function()
  26. local acquired = ""
  27. repeat
  28. local ok = handle:InvokeServer("EyeColorSpin")
  29. acquired = ok[#ok].Name
  30. notify("Spun and got:",acquired)
  31. until w.flags[acquired]
  32. notify("Auto spin done, you got:",acquired,15)
  33. end)
  34.  
  35. -- Bloodline Spins
  36. w:Section('bloodline')
  37. for i,v in pairs(blood) do
  38. if v.Rarity < 0.5 then
  39. w:Toggle(v.Name.." - "..v.Rarity,{flag=v.Name})
  40. end
  41. end
  42. w:Button('spin blood',function()
  43. local acquired = ""
  44. repeat
  45. local ok = handle:InvokeServer("BloodlineSpin")
  46. acquired = ok[#ok]
  47. notify("Spun and got:",acquired)
  48. until w.flags[acquired]
  49. notify("Auto spin done, you got:",acquired,15)
  50. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement