Run it
Copy the script and paste it into your executor.
player = .Players.LocalPlayer
playerGui = player:()
screenGui = .()
screenGui.Name =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
isRunning =
chestsOpened =
totalValue =
startTime = ()
chestPositions = {
Bronze = .(, , ),
Silver = .(, , ),
Gold = .(, , ),
}
toggleButton = .()
toggleButton.Size = .(, , , )
toggleButton.Position = .(, -, , )
toggleButton.BackgroundColor3 = .(, , )
toggleButton.BorderSizePixel =
toggleButton.Font = .Font.GothamBold
toggleButton.Text =
toggleButton.TextColor3 = .(, , )
toggleButton.TextSize =
toggleButton.Parent = screenGui
toggleCorner = .()
toggleCorner.CornerRadius = .(, )
toggleCorner.Parent = toggleButton
mainFrame = .()
mainFrame.Size = .(, , , )
mainFrame.Position = .(, -, , -)
mainFrame.BackgroundColor3 = .(, , )
mainFrame.BorderSizePixel =
mainFrame.Visible =
mainFrame.Parent = screenGui
mainCorner = .()
mainCorner.CornerRadius = .(, )
mainCorner.Parent = mainFrame
mainTitle = .()
mainTitle.Size = .(, -, , )
mainTitle.Position = .(, , , )
mainTitle.BackgroundColor3 = .(, , )
mainTitle.BorderSizePixel =
mainTitle.Font = .Font.GothamBold
mainTitle.Text =
mainTitle.TextColor3 = .(, , )
mainTitle.TextSize =
mainTitle.Parent = mainFrame
titleCorner = .()
titleCorner.CornerRadius = .(, )
titleCorner.Parent = mainTitle
closeButton = .()
closeButton.Size = .(, , , )
closeButton.Position = .(, -, , )
closeButton.BackgroundColor3 = .(, , )
closeButton.BorderSizePixel =
closeButton.Font = .Font.GothamBold
closeButton.Text =
closeButton.TextColor3 = .(, , )
closeButton.TextSize =
closeButton.Parent = mainFrame
closeCorner = .()
closeCorner.CornerRadius = .(, )
closeCorner.Parent = closeButton
statsFrame = .()
statsFrame.Size = .(, , , )
statsFrame.Position = .(, , , )
statsFrame.BackgroundColor3 = .(, , )
statsFrame.BorderSizePixel =
statsFrame.Parent = mainFrame
statsCorner = .()
statsCorner.CornerRadius = .(, )
statsCorner.Parent = statsFrame
statsTitle = .()
statsTitle.Size = .(, , , )
statsTitle.BackgroundTransparency =
statsTitle.Font = .Font.GothamBold
statsTitle.Text =
statsTitle.TextColor3 = .(, , )
statsTitle.TextSize =
statsTitle.Parent = statsFrame
chestsLabel = .()
chestsLabel.Size = .(, -, , )
chestsLabel.Position = .(, , , )
chestsLabel.BackgroundTransparency =
chestsLabel.Font = .Font.Gotham
chestsLabel.Text =
chestsLabel.TextColor3 = .(, , )
chestsLabel.TextSize =
chestsLabel.TextXAlignment = .TextXAlignment.Left
chestsLabel.Parent = statsFrame
valueLabel = .()
valueLabel.Size = .(, -, , )
valueLabel.Position = .(, , , )
valueLabel.BackgroundTransparency =
valueLabel.Font = .Font.Gotham
valueLabel.Text =
valueLabel.TextColor3 = .(, , )
valueLabel.TextSize =
valueLabel.TextXAlignment = .TextXAlignment.Left
valueLabel.Parent = statsFrame
timeLabel = .()
timeLabel.Size = .(, -, , )
timeLabel.Position = .(, , , )
timeLabel.BackgroundTransparency =
timeLabel.Font = .Font.Gotham
timeLabel.Text =
timeLabel.TextColor3 = .(, , )
timeLabel.TextSize =
timeLabel.TextXAlignment = .TextXAlignment.Left
timeLabel.Parent = statsFrame
chestSelectFrame = .()
chestSelectFrame.Size = .(, , , )
chestSelectFrame.Position = .(, , , )
chestSelectFrame.BackgroundColor3 = .(, , )
chestSelectFrame.BorderSizePixel =
chestSelectFrame.Parent = mainFrame
chestSelectCorner = .()
chestSelectCorner.CornerRadius = .(, )
chestSelectCorner.Parent = chestSelectFrame
chestSelectTitle = .()
chestSelectTitle.Size = .(, , , )
chestSelectTitle.BackgroundTransparency =
chestSelectTitle.Font = .Font.GothamBold
chestSelectTitle.Text =
chestSelectTitle.TextColor3 = .(, , )
chestSelectTitle.TextSize =
chestSelectTitle.Parent = chestSelectFrame
chestTypes = {, , , }
chestEnabled = {, , , }
chestButtons = {}
i, chestName (chestTypes)
checkFrame = .()
checkFrame.Size = .(, , , )
checkFrame.Position = .(, , , + (i - ) * )
checkFrame.BackgroundColor3 = .(, , )
checkFrame.BorderSizePixel =
checkFrame.Parent = chestSelectFrame
checkCorner = .()
checkCorner.CornerRadius = .(, )
checkCorner.Parent = checkFrame
checkbox = .()
checkbox.Size = .(, , , )
checkbox.Position = .(, , , -)
checkbox.BackgroundColor3 = .(, , )
checkbox.BorderSizePixel =
checkbox.Font = .Font.GothamBold
checkbox.Text =
checkbox.TextColor3 = .(, , )
checkbox.TextSize =
checkbox.Parent = checkFrame
boxCorner = .()
boxCorner.CornerRadius = .(, )
boxCorner.Parent = checkbox
label = .()
label.Size = .(, -, , )
label.Position = .(, , , )
label.BackgroundTransparency =
label.Font = .Font.GothamBold
label.Text = chestName:(, )
label.TextColor3 = .(, , )
label.TextSize =
label.TextXAlignment = .TextXAlignment.Left
label.Parent = checkFrame
chestButtons[i] = checkbox
checkbox.MouseButton1Click:(()
chestEnabled[i] = chestEnabled[i]
chestEnabled[i]
checkbox.BackgroundColor3 = .(, , )
checkbox.Text =
checkbox.BackgroundColor3 = .(, , )
checkbox.Text =
)
controlFrame = .()
controlFrame.Size = .(, , , )
controlFrame.Position = .(, , , )
controlFrame.BackgroundColor3 = .(, , )
controlFrame.BorderSizePixel =
controlFrame.Parent = mainFrame
controlCorner = .()
controlCorner.CornerRadius = .(, )
controlCorner.Parent = controlFrame
startButton = .()
startButton.Size = .(, , , )
startButton.Position = .(, , , )
startButton.BackgroundColor3 = .(, , )
startButton.BorderSizePixel =
startButton.Font = .Font.GothamBold
startButton.Text =
startButton.TextColor3 = .(, , )
startButton.TextSize =
startButton.Parent = controlFrame
startCorner = .()
startCorner.CornerRadius = .(, )
startCorner.Parent = startButton
stopButton = .()
stopButton.Size = .(, , , )
stopButton.Position = .(, , , )
stopButton.BackgroundColor3 = .(, , )
stopButton.BorderSizePixel =
stopButton.Font = .Font.GothamBold
stopButton.Text =
stopButton.TextColor3 = .(, , )
stopButton.TextSize =
stopButton.Parent = controlFrame
stopCorner = .()
stopCorner.CornerRadius = .(, )
stopCorner.Parent = stopButton
creditLabel = .()
creditLabel.Size = .(, , , )
creditLabel.Position = .(, , , -)
creditLabel.BackgroundTransparency =
creditLabel.Font = .Font.GothamBold
creditLabel.Text =
creditLabel.TextColor3 = .(, , )
creditLabel.TextSize =
creditLabel.Parent = mainFrame
(seconds)
hours = .(seconds / )
minutes = .((seconds % ) / )
secs = .(seconds % )
.(, hours, minutes, secs)
()
player.Character player.CharacterAdded:()
(chestName)
chestBillboard = playerGui:()
chestBillboard
_, moneyGui (chestBillboard:())
moneyGui.Name:()
imageButton = moneyGui:()
imageButton
frame = imageButton:()
frame
moneyLabel = frame:()
_, connection ((imageButton.MouseButton1Click))
connection:()
( .. chestName)
()
isRunning
isRunning =
startTime = ()
startButton.BackgroundColor3 = .(, , )
startButton.Text =
.(()
isRunning
i, chestName (chestTypes)
isRunning
chestEnabled[i]
chestFolder = :()
chestFolder
chestsOfType = {}
_, chest (chestFolder:())
chest.Name == chestName chest:()
.(chestsOfType, chest)
#chestsOfType >
randomChest = chestsOfType[.(, #chestsOfType)]
main = randomChest:() randomChest:()
main
char = ()
hrp = char:()
hrp
hrp.CFrame = main.CFrame * .(, , )
.()
.()
(chestName)
chestsOpened = chestsOpened +
chestsLabel.Text = .. chestsOpened
.()
.()
)
()
isRunning =
startButton.BackgroundColor3 = .(, , )
startButton.Text =
.(()
isRunning
elapsed = () - startTime
timeLabel.Text = .. (elapsed)
.()
)
toggleButton.MouseButton1Click:(()
mainFrame.Visible =
toggleButton.Visible =
)
closeButton.MouseButton1Click:(()
mainFrame.Visible =
toggleButton.Visible =
)
toggleButton.MouseEnter:(()
toggleButton.BackgroundColor3 = .(, , )
)
toggleButton.MouseLeave:(()
toggleButton.BackgroundColor3 = .(, , )
)
closeButton.MouseEnter:(()
closeButton.BackgroundColor3 = .(, , )
)
closeButton.MouseLeave:(()
closeButton.BackgroundColor3 = .(, , )
)
startButton.MouseEnter:(()
isRunning
startButton.BackgroundColor3 = .(, , )
)
startButton.MouseLeave:(()
isRunning
startButton.BackgroundColor3 = .(, , )
)
stopButton.MouseEnter:(()
stopButton.BackgroundColor3 = .(, , )
)
stopButton.MouseLeave:(()
stopButton.BackgroundColor3 = .(, , )
)
startButton.MouseButton1Click:(startAutoOpen)
stopButton.MouseButton1Click:(stopAutoOpen)farm cheast