123local Rayfield = loadstring(game:HttpGet("https://sirius.menu/rayfield"))()45local Window = Rayfield:CreateWindow({6 Name = "Vortex | Control Europe",7 LoadingTitle = "Vortex",8 LoadingSubtitle = "Control Europe",9 Theme = "Default"10})1112local ArmyTab = Window:CreateTab("Army", "shield")13local CitiesTab = Window:CreateTab("Cities", "building")14local MiscTab = Window:CreateTab("Misc", "settings")1516local MyCountry = nil17local AutoCaptureEnabled = false1819local function GetMyCountry()20 local ls = game.Players.LocalPlayer:WaitForChild("leaderstats", 5)21 if ls then22 local cv = ls:FindFirstChild("Country")23 if cv then24 MyCountry = cv.Value25 if MyCountry:find("Russian") then MyCountry = "Russia" end26 Rayfield:Notify({Title = "Country Detected", Content = MyCountry, Duration = 5})27 end28 end29end3031local function TryFireAll(possibleNames, args)32 for _, name in ipairs(possibleNames) do33 for i = 1, 6 do34 local remote = game.ReplicatedStorage:FindFirstChild("RemoteEvent_" .. i)35 if remote then36 pcall(function()37 remote:FireServer(name, unpack(args))38 end)39 end40 end41 end42end4344ArmyTab:CreateButton({Name = "🔄 Refresh Country", Callback = GetMyCountry})4546ArmyTab:CreateButton({Name = "Spawn 5k Soldiers on All Regions", Callback = function()47 if not MyCountry then GetMyCountry() end48 if not MyCountry then return end49 local count = 050 local names = {"CreateArmyOnTile", "PlaceTroops", "Recruit", "SpawnSoldiers", "AddArmy"}51 for _, region in ipairs(workspace.Regions:GetChildren()) do52 local c = region:FindFirstChild("Country")53 if c and c.Value == MyCountry then54 TryFireAll(names, {region, "Soldier", 5000})55 count = count + 156 task.wait(0.35)57 end58 end59 Rayfield:Notify({Title = "Spawned", Content = "Sent to " .. count .. " regions", Duration = 6})60end})6162ArmyTab:CreateButton({Name = "Add 25k to All Troops", Callback = function()63 if not MyCountry then GetMyCountry() end64 if not MyCountry then return end65 local count = 066 local names = {"CreateArmyOnTile", "AddToArmy", "AddUnits", "Reinforce", "SpawnSoldiers"}67 for _, soldier in ipairs(workspace.SoldiersFolder:GetChildren()) do68 local owner = soldier:FindFirstChild("Country")69 if owner and owner.Value == MyCountry then70 local current = soldier:FindFirstChild("TotalAmount")71 local amt = (current and current.Value) or 100072 TryFireAll(names, {soldier, "Soldier", amt + 25000})73 count = count + 174 task.wait(0.2)75 end76 end77 Rayfield:Notify({Title = "Success", Content = "Added 25k to " .. count .. " troop stacks", Duration = 5})78end})7980ArmyTab:CreateToggle({81 Name = "AUTO Capture + Attack",82 CurrentValue = false,83 Callback = function(state)84 AutoCaptureEnabled = state85 if not state and MyCountry then86 local names = {"ToggleAutoCapture", "SetAutoCapture", "AutoCapture", "ToggleAuto"}87 for _, unit in ipairs(workspace.SoldiersFolder:GetChildren()) do88 local c = unit:FindFirstChild("Country")89 if c and c.Value == MyCountry then90 TryFireAll(names, {unit, false})91 end92 end93 Rayfield:Notify({Title = "Auto Capture", Content = "Disabled on all troops", Duration = 4})94 end95 end96})9798CitiesTab:CreateButton({Name = "Upgrade ALL Cities Tier", Callback = function()99 if not MyCountry then GetMyCountry() end100 if not MyCountry then return end101 local count = 0102 local names = {"DevelopTile", "Upgrade", "UpgradeCity", "LevelUp", "Develop"}103 for _, r in ipairs(workspace.Regions:GetChildren()) do104 local c = r:FindFirstChild("Country")105 if c and c.Value == MyCountry then106 TryFireAll(names, {r, "Tier"})107 count = count + 1108 task.wait(0.3)109 end110 end111 Rayfield:Notify({Title = "Tier Upgrade", Content = count .. " cities upgraded", Duration = 5})112end})113114CitiesTab:CreateButton({Name = "Upgrade ALL Cities Defense", Callback = function()115 if not MyCountry then GetMyCountry() end116 if not MyCountry then return end117 local count = 0118 local names = {"DevelopTile", "Upgrade", "UpgradeCity", "LevelUp", "Develop"}119 for _, r in ipairs(workspace.Regions:GetChildren()) do120 local c = r:FindFirstChild("Country")121 if c and c.Value == MyCountry then122 TryFireAll(names, {r, "Def"})123 count = count + 1124 task.wait(0.3)125 end126 end127 Rayfield:Notify({Title = "Defense Upgrade", Content = count .. " cities upgraded", Duration = 5})128end})129130task.spawn(function()131 task.wait(2)132 GetMyCountry()133 while true do134 if AutoCaptureEnabled and MyCountry then135 local names = {"ToggleAutoCapture", "SetAutoCapture", "AutoCapture", "ToggleAuto"}136 for _, unit in ipairs(workspace.SoldiersFolder:GetChildren()) do137 local c = unit:FindFirstChild("Country")138 if c and c.Value == MyCountry then139 TryFireAll(names, {unit, true})140 TryFireAll(names, {unit, true, "Attack"})141 end142 end143 end144 task.wait(0.6)145 end146end)147148MiscTab:CreateToggle({149 Name = "Auto Collect Santa Gifts",150 CurrentValue = false,151 Callback = function(state)152 if state then153 getgenv().SantaLoop = task.spawn(function()154 while true do155 for i = 1, 5 do156 local r = game.ReplicatedStorage:FindFirstChild("RemoteEvent_" .. i)157 if r then158 pcall(function() r:FireServer("PickedUpSantaGift") end)159 end160 end161 task.wait(0.15)162 end163 end)164 else165 if getgenv().SantaLoop then task.cancel(getgenv().SantaLoop) end166 end167 end168})169170Rayfield:Notify({171 Title = "Vortex | Control Europe",172 Content = "Multiple remote names added\nTest all buttons again",173 Duration = 8174})
Comments · …
Loading comments…