Run it
Copy the script and paste it into your executor.
Players = :()
ReplicatedStorage = :()
player = Players.LocalPlayer
CONFIG = {
SendInterval = ,
MaxSendAmount = ,
ReserveAmount = ,
TowGuiNames = { , },
TargetPlaceholder = ,
}
remotes = {
GiveMoneyToPlr = ,
UpdateCash = ,
}
ui = {
ScreenGui = ,
StatusLabel = ,
TargetOwnerBox = ,
}
(text)
.(text , )
(text)
ui.StatusLabel
ui.StatusLabel.Text = text
()
playerGui = player:()
existing = playerGui:()
existing
existing:()
screenGui = .()
screenGui.Name =
screenGui.IgnoreGuiInset =
screenGui.ResetOnSpawn =
screenGui.Parent = playerGui
ui.ScreenGui = screenGui
frame = .()
frame.AnchorPoint = .(, )
frame.Position = .(, , , -)
frame.Size = .(, , , )
frame.BackgroundColor3 = .(, , )
frame.BorderSizePixel =
frame.Parent = screenGui
corner = .()
corner.CornerRadius = .(, )
corner.Parent = frame
stroke = .()
stroke.Color = .(, , )
stroke.Transparency =
stroke.Parent = frame
targetBox = .()
targetBox.BackgroundColor3 = .(, , )
targetBox.BorderSizePixel =
targetBox.ClearTextOnFocus =
targetBox.Font = .Font.Gotham
targetBox.PlaceholderText =
targetBox.Position = .(, , , )
targetBox.Size = .(, -, , )
targetBox.Text =
targetBox.TextColor3 = .(, , )
targetBox.PlaceholderColor3 = .(, , )
targetBox.TextSize =
targetBox.Parent = frame
ui.TargetOwnerBox = targetBox
targetCorner = .()
targetCorner.CornerRadius = .(, )
targetCorner.Parent = targetBox
label = .()
label.BackgroundTransparency =
label.Position = .(, , , )
label.Size = .(, -, , )
label.Font = .Font.Code
label.TextColor3 = .(, , )
label.TextSize =
label.TextWrapped =
label.TextXAlignment = .TextXAlignment.Left
label.TextYAlignment = .TextYAlignment.Center
label.Text =
label.Parent = frame
ui.StatusLabel = label
()
eventsFolder = ReplicatedStorage:()
eventsFolder = eventsFolder eventsFolder:() ReplicatedStorage:()
eventsFolder
remotes.GiveMoneyToPlr = eventsFolder:()
remotes.UpdateCash = eventsFolder:()
remotes.GiveMoneyToPlr ~=
()
targetBox = ui.TargetOwnerBox
targetBox
,
targetName = (targetBox.Text)
targetName ==
,
targetPlayer = Players:(targetName)
targetPlayer
, .. targetName
targetPlayer == player
,
targetPlayer
(text)
rawText = (text ):(, )
rawText ==
numericPart, suffix = rawText:()
numericPart numericPart ==
suffix = suffix ~= .(suffix)
cleaned = numericPart
hasComma = .(cleaned, , , ) ~=
hasDot = .(cleaned, , , ) ~=
hasComma hasDot
reversed = .(cleaned)
lastCommaFromEnd = .(reversed, , , )
lastDotFromEnd = .(reversed, , , )
lastCommaIndex = lastCommaFromEnd (#cleaned - lastCommaFromEnd + )
lastDotIndex = lastDotFromEnd (#cleaned - lastDotFromEnd + )
lastCommaIndex lastDotIndex lastCommaIndex > lastDotIndex
cleaned = cleaned:(, )
cleaned = cleaned:(, )
cleaned = cleaned:(, )
hasComma
commaCount = (, cleaned:(, ))
commaCount ==
cleaned = cleaned:(, )
cleaned = cleaned:(, )
numericValue = (cleaned)
numericValue
multipliers = {
K = ,
M = ,
B = ,
T = ,
}
numericValue * (multipliers[suffix] )
()
playerGui = player:()
playerGui
_, object (playerGui:())
object:() object.Name ==
object
()
remotes.UpdateCash remotes.UpdateCash:()
ok, cashValue = (()
remotes.UpdateCash:()
)
ok
numericCashValue = (cashValue)
numericCashValue
numericCashValue
cashLabel = ()
cashLabel
(cashLabel.Text)
(currentCash)
cashValue = .((currentCash) )
sendable = cashValue - CONFIG.ReserveAmount
sendable <=
.(CONFIG.MaxSendAmount, sendable)
()
()
()
()
.(()
targetPlayer, targetError = ()
targetPlayer
(targetError )
.(CONFIG.SendInterval)
currentCash = ()
currentCash
()
.(CONFIG.SendInterval)
sendAmount = (currentCash)
sendAmount <=
( .. (CONFIG.ReserveAmount))
.(CONFIG.SendInterval)
ok, err = (()
remotes.GiveMoneyToPlr:(targetPlayer, (sendAmount))
)
ok
( .. (sendAmount) .. .. targetPlayer.Name)
( .. (err))
.(CONFIG.SendInterval)
)
This script opens a gui on the bottom where you can put a username inside to send cash to (your main) and your alt will automaitcally send as much as untill he only has 20k left, you can change this inside the script somewhere. sends 250k max at once.
Anomic