Advertisement
1zxyuuki

Anime Van

Sep 10th, 2024
196
1
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 26.44 KB | None | 1 0
  1. repeat wait(0.25) until game:IsLoaded()
  2. local Loader = loadstring(game:HttpGet("https://raw.githubusercontent.com/x0GiGz/Workspace/main/Gui/fluent%20main%20(search).lua"))()
  3. local Saveed = loadstring(game:HttpGet("https://raw.githubusercontent.com/x0GiGz/Workspace/main/Gui/fluent%20save%20config.lua"))()
  4. local Setting = loadstring(game:HttpGet("https://raw.githubusercontent.com/x0GiGz/Workspace/main/Gui/fluent%20interfaces.lua"))()
  5. local SetFile = loadstring(game:HttpGet("https://raw.githubusercontent.com/x0GiGz/Workspace/main/Function/filehelper.lua"))()
  6. local Options = Loader.Options
  7. local Windows = Loader:CreateWindow(
  8. {
  9. Title = "YukiWare",
  10. SubTitle = "Anime Vanguards 1.0",
  11. TabWidth = 130,
  12. Size = UDim2.fromOffset(540, 440),
  13. Theme = "Darker",
  14. Acrylic = true,
  15. UpdateDate = "10/09/2024 - 1.0",
  16. UpdateLog = "● Macro Record Fixado",
  17. IconVisual = nil,
  18. BlackScreen = false,
  19. MinimizeKey = Enum.KeyCode.LeftAlt
  20. }
  21. )
  22.  
  23. local Tabs_Main =
  24. {
  25. [1] = Windows:AddTab({Title = "Macro", Name = nil, Icon = "video"}),
  26. [2] = Windows:AddTab({Title = "Game", Name = nil, Icon = "layers"}),
  27. [3] = Windows:AddTab({Title = "Settings", Name = nil, Icon = "settings"})
  28. }
  29.  
  30. local Tabs_Secs =
  31. {
  32. [1] = {Tabs_Main[1]:AddSection("Config"), Tabs_Main[1]:AddSection("Macro")},
  33. [2] = {Tabs_Main[2]:AddSection("Game")}
  34. }
  35.  
  36. local Buttons =
  37. {
  38. Create = nil,
  39. Delete = nil
  40. }
  41.  
  42. local Game =
  43. {
  44. Reward_Claim = false
  45. }
  46.  
  47. local Macro =
  48. {
  49. Last_Unit = nil,
  50. Playing = nil,
  51. Connection = nil,
  52. Replay_Check = nil,
  53. Value = {},
  54. Count = {
  55. __len = function(num)
  56. local count = 0
  57. for idx, data in next, num do
  58. count += 1
  59. end
  60. return count
  61. end
  62. }
  63. }
  64.  
  65. do
  66. SetFile:CheckFolder("YukiWare")
  67. SetFile:CheckFolder("YukiWare/Anime Vanguards")
  68. SetFile:CheckFolder("YukiWare/Anime Vanguards/Macro")
  69. SetFile:CheckFile("YukiWare/Anime Vanguards/Macro/Starter.json", {})
  70. end
  71.  
  72. Tabs_Secs[1][1]:AddDropdown(
  73. "Selected File [Main]",
  74. {
  75. Title = "Selected File",
  76. Values = SetFile:ListFile("YukiWare/Anime Vanguards/Macro","json"),
  77. Multi = false,
  78. Default = "Starter",
  79. Callback = function(Value)
  80. if Buttons.Delete and (Value == "" or Value == nil) then
  81. Buttons.Delete:Lock()
  82. elseif Buttons.Delete and Value ~= "" and Value ~= nil then
  83. Buttons.Delete:UnLock()
  84. end
  85. end
  86. }
  87. )
  88.  
  89. Tabs_Secs[1][1]:AddInput(
  90. "File Name [Main]",
  91. {
  92. Title = "Create File",
  93. Placeholder = "Name.",
  94. Numeric = false,
  95. Finished = false,
  96. Default = "",
  97. Callback = function(Value)
  98. if Buttons.Create and (Value == "" or Value == nil) then
  99. Buttons.Create:Lock()
  100. elseif Buttons.Create and Value ~= "" and Value ~= nil then
  101. Buttons.Create:UnLock()
  102. end
  103. end
  104. }
  105. )
  106.  
  107. Buttons.Create = Tabs_Secs[1][1]:AddButton(
  108. {
  109. Title = "Create",
  110. Callback = function()
  111. local succs, error = pcall(
  112. function()
  113. local text = string.format("YukiWare/Anime Vanguards/Macro/".."%s.json", Options["File Name [Main]"].Value)
  114. if not isfile then
  115. error("The excutor does not support isfile", 9)
  116. elseif not writefile then
  117. error("The excutor does not support writefile", 9)
  118. elseif isfile(text) then
  119. error("This file is already available", 9)
  120. else
  121. SetFile:CheckFile(text, {})
  122. Options["Selected File [Main]"]:SetValues(SetFile:ListFile("YukiWare/Anime Vanguards/Macro","json"))
  123. Options["Selected File [Main]"]:SetValue(Options["File Name [Main]"].Value)
  124. end
  125. end
  126. )
  127. if succs then
  128. Loader:Notify(
  129. {
  130. Title = "Successful Create: " .. tostring(Options["File Name [Main]"].Value),
  131. Disable = true,
  132. Duration = 5
  133. }
  134. )
  135. elseif error then
  136. Loader:Notify(
  137. {
  138. Title = "Unsuccessful Create: " .. tostring(error),
  139. Disable = true,
  140. Duration = 5
  141. }
  142. )
  143. end
  144. end
  145. }
  146. )
  147. Buttons.Delete = Tabs_Secs[1][1]:AddButton(
  148. {
  149. Title = "Delete",
  150. Callback = function()
  151. Windows:Dialog(
  152. {
  153. Title = "Delete",
  154. Content = "Are you sure you want to delete "..tostring(Options["Selected File [Main]"].Value).."?",
  155. Buttons = {
  156. {
  157. Title = "Yes",
  158. Callback = function()
  159. local names = Options["Selected File [Main]"].Value
  160. local succs, error = pcall(
  161. function()
  162. local text = string.format("YukiWare/Anime Vanguards/Macro/".."%s.json", names)
  163. if names == nil then
  164. error("The name of the selected file is empty", 9)
  165. elseif not isfile then
  166. error("The excutor does not support isfile", 9)
  167. elseif not delfile then
  168. error("The excutor does not support delfile", 9)
  169. elseif not isfile(text) then
  170. error("Unable to find the file", 9)
  171. else
  172. SetFile:DeleteFile(text)
  173. local list = SetFile:ListFile("YukiWare/Anime Vanguards/Macro","json")
  174. Options["Selected File [Main]"]:SetValues(list)
  175. Options["Selected File [Main]"]:SetValue(#list > 0 and list[#list] or nil)
  176. end
  177. end
  178. )
  179. if succs then
  180. Loader:Notify(
  181. {
  182. Title = "Successful Delete: " .. tostring(names),
  183. Disable = true,
  184. Duration = 5
  185. }
  186. )
  187. elseif error then
  188. Loader:Notify(
  189. {
  190. Title = "Unsuccessful Delete: " .. tostring(error),
  191. Disable = true,
  192. Duration = 5
  193. }
  194. )
  195. end
  196. end
  197. },
  198. {
  199. Title = "No"
  200. }
  201. }
  202. }
  203. )
  204. end
  205. }
  206. )
  207.  
  208. Tabs_Secs[1][2]:AddToggle(
  209. "Record Macro",
  210. {
  211. Title = "Record",
  212. Default = false,
  213. Callback = function(Value)
  214. if Options["Play Macro"] and Value then
  215. Options["Play Macro"]:Lock()
  216. elseif Options["Play Macro"] and not Value then
  217. Options["Play Macro"]:UnLock()
  218. end
  219. end
  220. }
  221. )
  222.  
  223. Tabs_Secs[1][2]:AddSlider(
  224. "Macro Delay",
  225. {
  226. Title = "Macro Delay",
  227. Default = 0,
  228. Min = 0,
  229. Max = 10,
  230. Rounding = 2
  231. }
  232. )
  233.  
  234. Tabs_Secs[1][2]:AddToggle(
  235. "Play Macro",
  236. {
  237. Title = "Play",
  238. Default = false,
  239. Callback = function(Value)
  240. if Options["Record Macro"] and Value then
  241. Options["Record Macro"]:Lock()
  242. elseif Options["Record Macro"] and not Value then
  243. Options["Record Macro"]:UnLock()
  244. end
  245. end
  246. }
  247. )
  248.  
  249. Tabs_Secs[2][1]:AddToggle(
  250. "Auto Leave",
  251. {
  252. Title = "Auto Leave",
  253. Default = false
  254. }
  255. )
  256.  
  257. Tabs_Secs[2][1]:AddToggle(
  258. "Auto Next",
  259. {
  260. Title = "Auto Next",
  261. Default = false
  262. }
  263. )
  264.  
  265. Tabs_Secs[2][1]:AddToggle(
  266. "Auto Retry",
  267. {
  268. Title = "Auto Retry",
  269. Default = false
  270. }
  271. )
  272.  
  273. Tabs_Secs[2][1]:AddToggle(
  274. "Auto Start Game / Skip Wave",
  275. {
  276. Title = "Auto Start Game / Skip Wave",
  277. Default = false
  278. }
  279. )
  280.  
  281. do
  282. if Options["File Name [Main]"].Value == "" or Options["File Name [Main]"].Value == nil then
  283. Buttons.Create:Lock()
  284. end
  285. if Options["Selected File [Main]"].Value == "" or Options["Selected File [Main]"].Value == nil then
  286. Buttons.Delete:Lock()
  287. end
  288.  
  289. Setting:SetLibrary(Loader)
  290. Setting:SetFolder("YukiWare/Anime Vanguards/"..game:GetService("Players"):GetUserIdFromNameAsync(game:GetService("Players").LocalPlayer.Name))
  291. Setting:BuildInterfaceSection(Tabs_Main[#Tabs_Main])
  292.  
  293. Saveed:SetLibrary(Loader)
  294. Saveed:SetFolder("YukiWare/Anime Vanguards/"..game:GetService("Players"):GetUserIdFromNameAsync(game:GetService("Players").LocalPlayer.Name))
  295. Saveed:IgnoreThemeSettings()
  296. Saveed:SetIgnoreIndexes({"File Name [Main]", "Record Macro"})
  297. Saveed:BuildConfigSection(Tabs_Main[#Tabs_Main])
  298.  
  299. Windows:SelectTab(1)
  300. Windows:Minimize("Loaded")
  301. end
  302.  
  303. local function Money()
  304. local money = game:GetService("Players").LocalPlayer.PlayerGui.Hotbar.Main.Yen.Text:split("¥")[1]
  305. if money:find(",") then money = money:gsub(",","") end
  306. return tonumber(money)
  307. end
  308.  
  309. local function UnitMoney(text)
  310. for _ , Unit in next, game:GetService("Players").LocalPlayer.PlayerGui.Hotbar.Main.Units:GetChildren() do
  311. if Unit:IsA("Frame") and Unit:FindFirstChild("UnitTemplate") and Unit.UnitTemplate.Holder.Main.UnitName.Text == text then
  312. local money = Unit.UnitTemplate.Holder.Main.Price.Text:split("¥")[1]
  313. if money:find(",") then money = money:gsub(",","") end
  314. return tonumber(money)
  315. end
  316. end
  317. end
  318.  
  319. local function writemacro()
  320. writefile(string.format("YukiWare/Anime Vanguards/Macro/".."%s.json", Options["Selected File [Main]"].Value), game:GetService("HttpService"):JSONEncode(Macro.Value))
  321. end
  322.  
  323. local function stringtocf(str)
  324. return CFrame.new(table.unpack(str:gsub(" ", ""):split(",")))
  325. end
  326.  
  327. local function stringtopos(str)
  328. return Vector3.new(table.unpack(str:gsub(" ", ""):split(",")))
  329. end
  330.  
  331. local function macrocout()
  332. setmetatable(Macro.Value, Macro.Count)
  333. return #Macro.Value
  334. end
  335.  
  336. local function macroinsert(idx)
  337. if not Macro.Value[tostring(macrocout() + 1)] then
  338. Macro.Value[tostring(macrocout() + 1 )] = idx
  339. end
  340. end
  341.  
  342. local function upgradecost()
  343. local text = game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren()[1].Stats.UpgradeButton.Inner.Label.Text:split(" ")[2]:split("¥")[1]
  344. if text:find(",") then text = text:gsub(",","") end
  345. return tonumber(text)
  346. end
  347.  
  348. local function upgradecf(str)
  349. for _ , Unit in next, workspace.UnitVisuals.UnitCircles:GetChildren() do
  350. if Unit.Name == str then
  351. return Unit.Position
  352. end
  353. end
  354. end
  355.  
  356. local function upgradepos(unt)
  357. if type(unt) == "string" then
  358. unt = stringtopos(unt)
  359. end
  360. for _ , Unit in next, workspace.UnitVisuals.UnitCircles:GetChildren() do
  361. if Unit.Position == unt or (Unit.Position - unt).Magnitude <= 2 then
  362. return Unit.Name
  363. end
  364. end
  365. end
  366.  
  367. local function NavigationGUISelect(Object)
  368. local GuiService = game:GetService("GuiService")
  369. repeat
  370. GuiService.GuiNavigationEnabled = true
  371. GuiService.SelectedObject = Object
  372. wait()
  373. until GuiService.SelectedObject == Object
  374. game:GetService("VirtualInputManager"):SendKeyEvent(true, "Return", false, nil)
  375. game:GetService("VirtualInputManager"):SendKeyEvent(false, "Return", false, nil)
  376. task.wait(0.25)
  377. GuiService.GuiNavigationEnabled = false
  378. GuiService.SelectedObject = nil
  379. end
  380.  
  381. task.spawn(
  382. function()
  383. if not getrawmetatable then return Loader:Notify({Title = "Can't Record The Excutor Doesn't Support Some Function"})
  384. elseif game.PlaceId == 16146832113 then return end
  385. local raw = getrawmetatable(game:GetService("ReplicatedStorage").Networking)
  386. local hook = raw.__namecall;
  387. setreadonly(raw,false)
  388. raw.__namecall = newcclosure(function(self,...)
  389. local arg = {...}
  390. local method = getnamecallmethod()
  391. task.spawn(
  392. function()
  393. if Loader.Unloaded then return
  394. elseif Options["Record Macro"].Value and self.Name == "UnitEvent" and (arg[1] == "Render" or arg[1] == "Upgrade" or arg[1] == "Sell") then
  395. if arg[1] == "Render" and Money() >= UnitMoney(arg[2][1]) then
  396. task.spawn(function()
  397. Macro.Last_Unit =
  398. {
  399. ["money"] = tostring(UnitMoney(arg[2][1])),
  400. ["unit"] = tostring(arg[2][1]),
  401. ["idx"] = tostring(arg[2][2]),
  402. ["cframe"] = tostring(arg[2][3]),
  403. ["rotation"] = tostring(arg[2][4])
  404. }
  405. end)
  406. elseif arg[1] == "Upgrade" and #game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren() > 0 and game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren()[1].Stats.UpgradeButton:FindFirstChild("Dark") == nil then
  407. task.wait(0.035)
  408. if game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren()[1].Stats.UpgradeButton.Inner.Label.Text == "Max" or game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren()[1].Stats.UpgradeButton:FindFirstChild("Dark") then
  409. return
  410. end
  411. local Last_Text, Last_Money, Last_Name, Last_CFrame = game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren()[1].Stats.UpgradeButton.Inner.Label.Text, upgradecost(), game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren()[1].Unit.Main.UnitFrame:FindFirstChildOfClass("Frame").Name, upgradecf(arg[2])
  412. task.spawn(
  413. function()
  414. repeat task.wait() until game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren()[1].Stats.UpgradeButton.Inner.Label.Text ~= Last_Text
  415. macroinsert(
  416. {
  417. ["type"] = "Upgrade",
  418. ["money"] = tostring(Last_Money),
  419. ["unit"] = tostring(Last_Name),
  420. ["cframe"] = tostring(Last_CFrame)
  421. }
  422. )
  423. writemacro()
  424. end
  425. )
  426. elseif arg[1] == "Sell" and #game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren() > 0 then
  427. macroinsert(
  428. {
  429. ["type"] = "Sell",
  430. ["money"] = "0",
  431. ["unit"] = tostring(game:GetService("Players").LocalPlayer.PlayerGui.UpgradeInterfaces:GetChildren()[1].Unit.Main.UnitFrame:FindFirstChildOfClass("Frame").Name),
  432. ["cframe"] = tostring(upgradecf(arg[2]))
  433. }
  434. )
  435. writemacro()
  436. end
  437. end
  438. end
  439. )
  440. return hook(self,...)
  441. end)
  442. setreadonly(raw,true)
  443. end
  444. )
  445.  
  446. task.spawn(
  447. function()
  448. if not getrawmetatable then return Loader:Notify({Title = "Can't Record The Excutor Doesn't Support Some Function"})
  449. elseif game.PlaceId == 16146832113 then return end
  450. task.spawn(
  451. function()
  452. Options["Play Macro"]:OnChanged(
  453. function(v)
  454. if v then
  455. wait(1)
  456. repeat wait() until game:GetService("Players").LocalPlayer.PlayerGui:FindFirstChild("Hotbar")
  457. Macro.Playing = game:GetService("HttpService"):JSONDecode(readfile(string.format("YukiWare/Anime Vanguards/Macro/".."%s.json", Options["Selected File [Main]"].Value)))
  458. setmetatable(Macro.Playing, Macro.Count)
  459. for i = 1 , #Macro.Playing do
  460. wait(Options["Macro Delay"].Value)
  461. local Data = Macro.Playing[tostring(i)]
  462. if Data["money"] then
  463. repeat wait() until Money() >= tonumber(Data["money"]) or not Options["Play Macro"].Value or Loader.Unloaded
  464. elseif not Options["Play Macro"].Value or Loader.Unloaded then
  465. break
  466. end
  467. if Data["type"] == "Render" then
  468. if not Options["Play Macro"].Value or Loader.Unloaded then
  469. break
  470. else
  471. repeat wait() until Money() >= tonumber(Data["money"])
  472. local to_idx = Data["idx"]
  473. if to_idx:find("Evolved") then
  474. to_idx = to_idx
  475. else
  476. to_idx = tonumber(to_idx)
  477. end
  478. local args = {
  479. [1] = "Render",
  480. [2] = {
  481. [1] = Data["unit"],
  482. [2] = to_idx,
  483. [3] = stringtopos(Data["cframe"]),
  484. [4] = tonumber(Data["rotation"])
  485. }
  486. }
  487. game:GetService("ReplicatedStorage").Networking.UnitEvent:FireServer(unpack(args))
  488. end
  489. elseif Data["type"] == "Upgrade" then
  490. if not upgradepos(Data["cframe"]) then
  491. warn("Error: Can't find the unit to upgrade!")
  492. elseif not Options["Play Macro"].Value or Loader.Unloaded then
  493. break
  494. else
  495. repeat wait() until Money() >= tonumber(Data["money"])
  496. game:GetService("ReplicatedStorage").Networking.UnitEvent:FireServer("Upgrade", upgradepos(Data["cframe"]))
  497. end
  498. elseif Data["type"] == "Sell" then
  499. if not upgradepos(Data["cframe"]) then
  500. warn("Error: Can't find the unit to sell!")
  501. elseif not Options["Play Macro"].Value or Loader.Unloaded then
  502. break
  503. else
  504. repeat wait() until Money() >= tonumber(Data["money"])
  505. game:GetService("ReplicatedStorage").Networking.UnitEvent:FireServer("Sell", upgradepos(Data["cframe"]))
  506. end
  507. end
  508. wait(0.375)
  509. if not Options["Play Macro"].Value or Loader.Unloaded then
  510. break
  511. end
  512. end
  513. end
  514. end
  515. )
  516. end
  517. )
  518. Macro.Connection = workspace.UnitVisuals.UnitCircles.ChildAdded:Connect(function (v)
  519. if Loader.Unloaded or not Options["Record Macro"].Value then
  520. return
  521. end
  522. if Macro.Last_Unit then
  523. macroinsert(
  524. {
  525. ["type"] = "Render",
  526. ["money"] = Macro.Last_Unit["money"],
  527. ["unit"] = Macro.Last_Unit["unit"],
  528. ["idx"] = Macro.Last_Unit["idx"],
  529. ["cframe"] = Macro.Last_Unit["cframe"],
  530. ["rotation"] = Macro.Last_Unit["rotation"]
  531.  
  532. }
  533. )
  534. writemacro()
  535. Macro.Last_Unit = nil
  536. end
  537. end)
  538. end
  539. )
  540.  
  541.  
  542. task.spawn(
  543. function()
  544. if game.PlaceId == 16146832113 then return end
  545. while true and wait() do
  546. if Loader.Unloaded then if Macro.Connection then Macro.Connection:Disconnect() end if Macro.Replay_Check then Macro.Replay_Check:Disconnect() end break end
  547. if #workspace.Camera:GetChildren() > 0 then
  548. for _ , IsReward in next, workspace.Camera:GetChildren() do
  549. if IsReward:IsA("Model") and #workspace.Camera:GetChildren() > 1 then
  550. game:GetService("VirtualInputManager"):SendMouseButtonEvent(5, 5, 0, not game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton1), game, 0)
  551. Game.Reward_Claim = true
  552. elseif not IsReward:IsA("Model") then
  553. game:GetService("VirtualInputManager"):SendMouseButtonEvent(5, 5, 0, not game:GetService("UserInputService"):IsMouseButtonPressed(Enum.UserInputType.MouseButton1), game, 0)
  554. Game.Reward_Claim = true
  555. else
  556. Game.Reward_Claim = false
  557. end
  558. end
  559. else
  560. Game.Reward_Claim = false
  561. end
  562. end
  563. end
  564. )
  565.  
  566. task.spawn(
  567. function()
  568. if game.PlaceId == 16146832113 then return end
  569. Macro.Replay_Check = game:GetService("Players").LocalPlayer.PlayerGui:WaitForChild("Hotbar"):WaitForChild("Main"):WaitForChild("Yen"):GetPropertyChangedSignal("Text"):Connect(function()
  570. if game:GetService("Players").LocalPlayer.PlayerGui.Hotbar.Main.Yen.Text == "0¥" and game:GetService("Players").LocalPlayer.PlayerGui.Guides.List.StageInfo.Enemies.Amount.Text == "x0" and game:GetService("Players").LocalPlayer.PlayerGui.Guides.List.StageInfo.Takedowns.Amount.Text == "x0" and game:GetService("Players").LocalPlayer.PlayerGui.Guides.List.StageInfo.Units.Amount.Text == "x0" and Options["Play Macro"].Value then
  571. warn("Macro Replaying . . .")
  572. Options["Play Macro"].Value = false
  573. wait(0.075)
  574. Options["Play Macro"]:SetValue(true)
  575. end
  576. end
  577. )
  578. end
  579. )
  580.  
  581. task.spawn(
  582. function()
  583. if game.PlaceId == 16146832113 then return end
  584. while true and wait() do
  585. if Loader.Unloaded then break end
  586. if Options["Auto Start Game / Skip Wave"].Value and game:GetService("Players").LocalPlayer.PlayerGui:FindFirstChild("SkipWave") then
  587. game:GetService("ReplicatedStorage").Networking.SkipWaveEvent:FireServer("Skip")
  588. wait(2)
  589. end
  590. end
  591. end
  592. )
  593.  
  594. task.spawn(
  595. function()
  596. if game.PlaceId == 16146832113 then return end
  597. while true and wait() do
  598. if Loader.Unloaded then break end
  599. pcall(
  600. function()
  601. local End_Screen = game:GetService("Players").LocalPlayer.PlayerGui.EndScreen
  602. if Options["Auto Leave"].Value and not Game.Reward_Claim and End_Screen.Enabled and End_Screen.ShowEndScreen.Visible and End_Screen.Container.EndScreen:FindFirstChild("Leave") and End_Screen.Container.EndScreen:FindFirstChild("Leave").Visible then
  603. NavigationGUISelect(End_Screen.Container.EndScreen.Leave.Button)
  604. elseif Options["Auto Next"].Value and not Game.Reward_Claim and End_Screen.Enabled and End_Screen.ShowEndScreen.Visible and End_Screen.Container.EndScreen:FindFirstChild("Next") and End_Screen.Container.EndScreen:FindFirstChild("Next").Visible then
  605. NavigationGUISelect(End_Screen.Container.EndScreen.Next.Button)
  606. elseif Options["Auto Retry"].Value and not Game.Reward_Claim and End_Screen.Enabled and End_Screen.ShowEndScreen.Visible and End_Screen.Container.EndScreen:FindFirstChild("Retry") and End_Screen.Container.EndScreen:FindFirstChild("Retry").Visible then
  607. NavigationGUISelect(End_Screen.Container.EndScreen.Retry.Button)
  608. end
  609. end
  610. )
  611. end
  612. end
  613. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement