Run it
Copy the script and paste it into your executor.
Rayfield = (:())()
Window = Rayfield:({
Name = ,
Icon = ,
LoadingTitle = ,
LoadingSubtitle = ,
ShowText = ,
Theme = ,
ToggleUIKeybind = ,
DisableRayfieldPrompts = ,
DisableBuildWarnings = ,
ConfigurationSaving = {
Enabled = ,
FolderName = ,
FileName =
},
Discord = {
Enabled = ,
Invite = ,
RememberJoins =
},
KeySystem = ,
KeySettings = {
Title = ,
Subtitle = ,
Note = ,
FileName = ,
SaveKey = ,
GrabKeyFromSite = ,
Key = {}
}
})
Players = :()
player = Players.LocalPlayer
character = player.Character player.CharacterAdded:()
humanoidRootPart = character:()
conveyorFolder = :()
autoFarmEnabled =
autoCollectCoinsEnabled =
selectedTargets = {
[] = ,
[] =
}
allTargets = {
,
,
,
,
,
,
,
,
,
,
,
,
}
()
autoCollectCoinsEnabled =
.(()
autoCollectCoinsEnabled
coins = :()
coins
coinChildren = coins:()
#coinChildren >
_, coin (coinChildren)
coin:() coin:()
coin.CFrame = humanoidRootPart.CFrame + .(, , )
.()
)()
()
_, targetName (allTargets)
selectedTargets[targetName]
targetModel = conveyorFolder:(targetName)
targetModel
targetModel
()
targetModel = ()
targetModel
targetPart = targetModel:() targetModel:()
targetPart
humanoidRootPart.CFrame = targetPart.CFrame + .(, , )
targetModel
()
autoFarmEnabled =
.(()
autoFarmEnabled
targetModel = ()
targetModel
()
()
startTime = ()
() - startTime < conveyorFolder:(targetModel.Name) autoFarmEnabled
.()
()
.()
)()
MainTab = Window:(, )
TargetSelectionSection = MainTab:()
targetToggles = {}
_, targetName (allTargets)
targetToggles[targetName] = MainTab:({
Name = targetName,
CurrentValue = selectedTargets[targetName] ,
Flag = targetName .. ,
Callback = (Value)
selectedTargets[targetName] = Value
,
})
AutoFarmSection = MainTab:()
ToggleAutoFarm = MainTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
autoFarmEnabled = Value
Value
()
,
})
CoinSection = MainTab:()
ToggleAutoCollectCoins = MainTab:({
Name = ,
CurrentValue = ,
Flag = ,
Callback = (Value)
autoCollectCoinsEnabled = Value
Value
()
,
})
InfoSection = MainTab:()
StatusLabel = MainTab:()
CurrentTargetLabel = MainTab:()
CoinsStatusLabel = MainTab:()
()
targetModel = ()
targetModel
StatusLabel:()
CurrentTargetLabel:( .. targetModel.Name)
StatusLabel:()
CurrentTargetLabel:()
coins = :()
coins
coinCount = #coins:()
CoinsStatusLabel:( .. coinCount)
CoinsStatusLabel:()
.()
.(updateStatus)()
Rayfield:({
Title = ,
Content = ,
Duration = ,
Image = ,
})Loads code from the internet. It downloads more code when it runs (loadstring + HttpGet), which can change after it was posted. From: sirius.menu.
I did it on my knees, I don't know if you can improve it.