Advertisement
1zxyuuki

autoredeem Anime Van

Sep 10th, 2024 (edited)
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.73 KB | None | 0 0
  1. repeat wait() until game:IsLoaded()
  2. repeat wait() until game.Players.LocalPlayer
  3. local Plr = game.Players.LocalPlayer
  4. repeat wait() until Plr.Character
  5. repeat wait() until Plr.Character:FindFirstChild("HumanoidRootPart")
  6. repeat wait() until Plr.Character:FindFirstChild("Humanoid")
  7. local Plrgui =game.Players.LocalPlayer.PlayerGui
  8. local vim = game:GetService("VirtualInputManager")
  9. local ListCode = {"DELAY","RELEASE","10KLIKES","100KLIKES","200KLIKES","300KLIKES","10MVISITS","400KLIKES","25MVISITS"}
  10. for i,v in pairs(ListCode) do
  11. game:GetService("ReplicatedStorage"):WaitForChild("Networking"):WaitForChild("CodesEvent"):FireServer(v)
  12. end
  13. function SendWebHook(UnitName,UnitRarity)
  14. local msg = {
  15. ['content'] = '@everyone',
  16. ["embeds"] = {{
  17. ["title"] = "Anime Vanguard",
  18. ["description"] = "Unit Summoned",
  19. ["type"] = "rich",
  20. ["color"] = tonumber(0xbdce44),
  21. ["fields"] = {
  22. {
  23. ["name"] = "User",
  24. ["value"] = game.Players.LocalPlayer.Name,
  25. ["inline"] = false
  26. },
  27. {
  28. ["name"] = "Name",
  29. ["value"] = UnitName,
  30. ["inline"] = true
  31. },
  32. {
  33. ["name"] = "Rarity",
  34. ["value"] = UnitRarity,
  35. ["inline"] = true
  36. },
  37.  
  38. }
  39. }}
  40. }
  41. request({
  42. Url = "https://discord.com/api/webhooks/1283102924725030980/9TWCEK6z9JFLt5-qQemZFhohbE8eABFAZ0UV_EOz-uKPmzpHj7XZpFuX77iu4c2Ftfv6",
  43. Method = "POST",
  44. Headers = {["Content-Type"] = "application/json"},
  45. Body = game:GetService("HttpService"):JSONEncode(msg)
  46. })
  47. end
  48. wait(5)
  49. local GemText = Plrgui.HUD.Main.Currencies.Gems.Gems.Text:gsub(",","")
  50. spawn(function()
  51. while wait() do
  52. if tonumber(GemText)/50 > 1 then
  53. game:GetService("ReplicatedStorage"):WaitForChild("Networking"):WaitForChild("Units"):WaitForChild("SummonEvent"):FireServer("SummonOne","Special")
  54. wait()
  55. GemText = Plrgui.HUD.Main.Currencies.Gems.Gems.Text:gsub(",","")
  56. wait()
  57. else
  58. game:Shutdown()
  59. end
  60. end
  61. end)
  62. local ListRarity = {"Mythic","Secret"}
  63. Plrgui.ViewFrames.ChildAdded:Connect(function(Unit)
  64. if table.find(ListRarity,Unit.Holder.Main.UnitName.UnitRarity.Text) then
  65. SendWebHook(Unit.Holder.Main.UnitName.UnitName.Text,Unit.Holder.Main.UnitName.UnitRarity.Text)
  66. end
  67. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement