local Rayfield = loadstring(game:HttpGet('https://[Log in to view URL]'))()
local Window = Rayfield:CreateWindow({
Name = "🔫South London 2🔫",
LoadingTitle = "Croxus X Hub",
LoadingSubtitle = "by Maxx",
ConfigurationSaving = {
Enabled = false,
FolderName = nil, -- Create a custom folder for your hub/game
FileName = "South Shoota Hub"
},
Discord = {
Enabled = false,
Invite = "noinvitelink", -- The Discord invite code, do not include discord.gg/. E.g. discord.gg/ABCD would be ABCD
RememberJoins = true -- Set this to false to make them join the discord every time they load it up
},
KeySystem = false, -- Set this to true to use our key system
KeySettings = {
Title = "Untitled",
Subtitle = "Key System",
Note = "No method of obtaining the key is provided",
FileName = "Key", -- It is recommended to use something unique as other scripts using Rayfield may overwrite your key file
SaveKey = true, -- The user's key will be saved, but if you change the key, they will be unable to use your script
GrabKeyFromSite = false, -- If this is true, set Key below to the RAW site you would like Rayfield to get the key from
Key = {"Hello"} -- List of keys that will be accepted by the system, can be RAW file links (pastebin, github etc) or simple strings ("hello","key22")
}
})
local MainTab = Window:CreateTab("TRAPHOUSE MONEY🐱👤", 4483362458) -- Title, Image
local MainSection = MainTab:CreateSection("Main")
Rayfield:Notify({
Title = "Script Executed!",
Content = "Script OP",
Duration = 6.5,
Image = nil,
Actions = { -- Notification Buttons
Ignore = {
Name = "Okay!",
Callback = function()
print("The user tapped Okay!")
end
},
},
})
local Button = MainTab:CreateButton({
Name = "Free Money",
Callback = function()
-- Money System Script
-- Player Money Data
local playerMoney = {100000}
-- Function to initialize player money
local function initializePlayerMoney(player)
playerMoney[player.UserId]] = 100000
end
-- Function to give money to a player
local function giveMoney(player, amount)
if playerMoney[player.UserId] then
playerMoney[player.UserId] = playerMoney[player.UserId] + amount
print(player.Name .. " received $" .. amount)
else
print("Player money not initialized for " .. player.Name)
end
end
-- Function to take money from a player
local function takeMoney(player, amount)
if playerMoney[player.UserId] then
playerMoney[player.UserId] = playerMoney[player.UserId] - amount
print(player.Name .. " lost $" .. amount)
else
print("Player money not initialized for " .. player.Name)
end
end
-- Example Usage:
local player1 = game.Players.LocalPlayer
local player2 = game.Players["Player2Username"] -- Replace with the actual username
initializePlayerMoney(player1)
initializePlayerMoney(player2)
giveMoney(player1, 500)
giveMoney(player2, 200)
takeMoney(player1, 10000)
print(player1.Name .. "'s current money: $" .. playerMoney[player1.UserId])
print(player2.Name .. "'s current money: $" .. playerMoney[player2.UserId])
end,
})
local Slider = MainTab:CreateSlider({
Name = "Money Collector",
Range = {0, 100000},
Increment = 10,
Suffix = "Money",
CurrentValue = 16,
Flag = "Slider1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Value)
game.Players.LocalPlayer.Charecter.Humanoid.Money =(Value)
end,
})
local Dropdown = MainTab:CreateDropdown({
Name = "Charecter Area Money",
Options = {"Sport Shop","Urban"},
CurrentOption = {"Option 1"},
MultipleOptions = false,
Flag = "Dropdown1", -- A flag is the identifier for the configuration file, make sure every element has a different flag if you're using configuration saving to ensure no overlaps
Callback = function(Option)
print(Option)
end,
})
To embed this program on your website, copy the following code and paste it into your website's HTML: