Run it
Copy the script and paste it into your executor.
Library = (:())()
Window = Library.(, )
MainTab = Window:()
MainSection = MainTab:()
RaidTab = Window:()
StartRaidSection = RaidTab:()
SpawnMobSection = RaidTab:()
player = .Players.LocalPlayer
character = player.Character player.CharacterAdded:()
playerLists = {}
mobLists = {}
.AutoEarn =
.AutoBuy =
.AutoRebirth =
.SelectedRaidPlayer =
.SelectedMob =
.AutoSpawnMob =
unitNames = {
, , , , , ,
}
(name)
_, unitName (unitNames)
.(name:(), unitName:())
MainSection:(, , (state)
.AutoEarn = state
.AutoEarn .(-)
:().Knit.Services.TycoonService.RF.PayIncome:(player)
)
MainSection:(, , (state)
.AutoRebirth = state
.AutoRebirth .(-)
:().Knit.Services.TycoonService.RF.Rebirth:()
)
MainSection:(, , (state)
.AutoBuy = state
.AutoBuy .(-)
_, tycoon (:():())
tycoon:() tycoon:() == player.Name
buttonFolder = tycoon:()
buttonFolder
_, button (buttonFolder:())
button:() .(button.Name:(), )
purchaseType = (button.Name)
tycoonService = :().Knit.Services.TycoonService
tycoonService.RF.BuyObject:(button.Name, purchaseType)
)
MainSection:(, , ()
args = { [] = .huge }
:().Knit.Services.RaidService.RF.GiveReward:((args))
)
PlayerDropdown = StartRaidSection:(, , playerLists, (currentOption)
.SelectedRaidPlayer = currentOption
)
StartRaidSection:(, , ()
:().Knit.Services.RaidService.RF.StartRaid:(.SelectedRaidPlayer)
)
MobDropdown = SpawnMobSection:(, , mobLists, (currentOption)
.SelectedMob = currentOption
)
SpawnMobSection:(, , (state)
.AutoSpawnMob = state
.AutoSpawnMob .(-)
:():():():():():():(.SelectedMob , )
)
_, ePlayer (.Players:())
ePlayer.Name ~= player.Name
.(playerLists, ePlayer.Name)
PlayerDropdown:(playerLists)
_, mob (player.PlayerGui.RaidUI.MobsFrame:())
mob:()
.(mobLists, mob.Name)
MobDropdown:(mobLists)
.Players.PlayerAdded:((newPlayer)
newPlayer.Name ~= player.Name
.(playerLists, newPlayer.Name)
PlayerDropdown:(playerLists)
newPlayer.PlayerRemoving:(()
i, playerName (playerLists)
playerName == newPlayer.Name
.(playerLists, i)
PlayerDropdown:(playerLists)
)
)
character.Humanoid.WalkSpeed =
player.CharacterAdded:((newCharacter)
character = newCharacter
character.Humanoid.WalkSpeed =
)Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: raw.githubusercontent.com.
๐๏ธ City Defense Tycoon