Run it
Copy the script and paste it into your executor.
WindUI = (:(
))()
Players = :()
ReplicatedStorage = :()
VirtualUser = :()
UserInputService = :()
LocalPlayer = Players.LocalPlayer
SyncData = ReplicatedStorage:()
(parent, name)
parent parent:(name)
RollEvents = (SyncData, )
ItemRemotes = (SyncData, )
ZoneRemotes = (SyncData, )
UpgradeRemotes = (SyncData, )
RebirthRemotes = (SyncData, )
InventoryRemotes = (SyncData, )
SettingsRemotes = (SyncData, )
Remotes = {
RollRequest = (RollEvents, ),
AutoRollState = (RollEvents, ),
SpawnLoot = (RollEvents, ),
SpawnItem = (ItemRemotes, ),
PurchaseUpgrade = (UpgradeRemotes, ),
PurchaseZone = (ZoneRemotes, ),
SwitchZone = (ZoneRemotes, ),
RequestRebirth = (RebirthRemotes, ),
UseItem = (InventoryRemotes, ),
EquipBest = (InventoryRemotes, ),
ClaimIndexReward = (SyncData, ),
SaveSettings = (SettingsRemotes, ),
}
(remote, ...)
remote
(, remote)
remote:()
remote:(...)
remote:(...)
Settings = {
autoRoll = ,
manualRoll = ,
autoPotions = ,
autoCollectPotions = ,
autoProgression = ,
autoRebirth = ,
equipBest = ,
autoClaimIndex = ,
autoUpgrades = ,
upgTarget = ,
antiAfk = ,
hideGuis = ,
hideCutscenes = ,
hideEnemies = ,
}
(title, enabled, icon)
WindUI:({
Title = title,
Content = enabled ,
Icon = icon,
})
(name, default)
object = (SyncData, name)
object object:()
object.Value
attribute = SyncData SyncData:(name)
attribute ~=
attribute
default
UPGRADE_GROUPS = {
Core = { , , , , , , },
EnemyCount = {
, , , ,
, , , ,
},
SpawnSpeed = {
, , ,
, , ,
, , ,
,
},
Brain = { , , , , },
Boss = { , , },
Rolls = {
, , ,
, , , ,
},
Luck = {
, , , , , ,
, , , , , ,
},
Units = {
, , , , ,
, , ,
},
RollUpgrades = {
, , , ,
, , , ,
, , , ,
, , ,
},
CashUpgrades = {},
}
ZONES = {
{ id = , name = },
{ id = , name = },
{ id = , name = },
{ id = , name = },
{ id = , name = },
{ id = , name = },
{ id = , name = },
{ id = , name = },
{ id = , name = },
{ id = , name = },
}
(groupName)
ids = UPGRADE_GROUPS[groupName]
ids
_, id (ids)
(callRemote, Remotes.PurchaseUpgrade, id)
()
Settings.upgTarget ==
groupName (UPGRADE_GROUPS)
(groupName)
Settings.upgTarget ==
_, groupName (UPGRADE_GROUPS.Core)
(groupName)
(Settings.upgTarget)
()
unlocked = ((, ))
index = unlocked + , #ZONES
(callRemote, Remotes.PurchaseZone, ZONES[index].id)
unlocked = .(((, unlocked)) unlocked, #ZONES)
(callRemote, Remotes.SwitchZone, ZONES[unlocked].id)
()
inventory = (LocalPlayer, ) (SyncData, )
inventory
_, item (inventory:())
guid = item:() item.Name
amount = item:() (item, )
amount = (amount) == amount.Value amount
(callRemote, Remotes.UseItem, guid, amount)
()
items = :()
character = LocalPlayer.Character
root = character character:()
items root
_, item (items:())
part = item:() item item:()
part
(()
part.CFrame = root.CFrame + .(.(-, ), , .(-, ))
)
hiddenEnemies = .()
hiddenEnemies.Name =
hiddenEnemies.Parent =
(hidden)
map = :()
enemies = (map map:()) :()
hidden enemies
_, object (enemies:())
object:()
object.Parent = hiddenEnemies
hidden enemies
_, object (hiddenEnemies:())
object.Parent = enemies
savedGuiStates = {}
(hidden)
playerGui = LocalPlayer:()
playerGui
_, gui (playerGui:())
gui:() gui.Name ~= gui.Name ~=
hidden
savedGuiStates[gui] = gui.Enabled
gui.Enabled =
savedGuiStates[gui] ~=
gui.Enabled = savedGuiStates[gui]
(hidden)
playerGui = LocalPlayer:()
blackout = playerGui playerGui:(, )
blackout blackout:()
blackout.Visible = hidden
LocalPlayer.Idled:(()
Settings.antiAfk
VirtualUser:()
VirtualUser:(.())
)
.(()
.()
Settings.manualRoll
(callRemote, Remotes.RollRequest)
Settings.autoPotions
()
Settings.autoCollectPotions
()
Settings.autoUpgrades
()
Settings.autoProgression
()
Settings.autoRebirth
(callRemote, Remotes.RequestRebirth)
Settings.equipBest
(callRemote, Remotes.EquipBest)
Settings.autoClaimIndex
_, indexName ({ , , , })
(callRemote, Remotes.ClaimIndexReward, indexName)
)
Window = WindUI:({
Title = ,
Icon = ,
Author = ,
Folder = ,
Size = .(, ),
MinSize = .(, ),
MaxSize = .(, ),
Transparent = ,
Theme = ,
Resizable = ,
ToggleKey = .KeyCode.K,
HideSearchBar = ,
KeySystem = {
Key = { },
Note = ,
URL = ,
SaveKey = ,
},
})
(tab, title, description, flag, icon, onChanged)
tab:({
Title = title,
Desc = description,
Value = Settings[flag],
Callback = (value)
Settings[flag] = value
onChanged
(value)
(title, value, icon)
,
})
rollingTab = Window:({ Title = , Icon = })
(rollingTab, , , , , (value)
(callRemote, Remotes.AutoRollState, value)
)
(rollingTab, , , , )
collectionTab = Window:({ Title = , Icon = })
(collectionTab, , , , )
(collectionTab, , , , )
upgradesTab = Window:({ Title = , Icon = })
upgradesTab:({
Title = ,
Values = { , , , , , , , , , , },
Value = ,
Callback = (value)
Settings.upgTarget = value
,
})
(upgradesTab, , , , )
(upgradesTab, , , , )
(upgradesTab, , , , )
(upgradesTab, , , , )
(upgradesTab, , , , )
utilitiesTab = Window:({ Title = , Icon = })
(utilitiesTab, , , , )
(utilitiesTab, , , , , setGameGuisHidden)
(utilitiesTab, , , , , setCutscenesHidden)
(utilitiesTab, , , , , setEnemiesHidden)
utilitiesTab:({
Title = ,
Desc = ,
Values = { , , , , , , },
Value = ,
Callback = (value)
Window:(value)
,
})
WindUI:({
Title = ,
Content = ,
Icon = ,
})
()
Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: github.com.
They Key is : d605afbc433611b731e6d1d6a3ce07b0 Original : https://scriptblox.com/script/Roll-to-Defend-Script-238646
[⚡] Hyper Speed Runner