local Rayfield = loadstring(game:HttpGet('https://sirius.menu/rayfield'))()
local Window = Rayfield:CreateWindow({
Name = "Laine Hub <3",
LoadingTitle = "Semi Inf Money Script",
LoadingSubtitle = "by Lainepws",
ConfigurationSaving = {
Enabled = false
},
KeySystem = false
})
-- Variables
local RS = game:GetService("ReplicatedStorage")
local CollectEvent = RS:WaitForChild("DropperEvents"):WaitForChild("CollectDrop")
local DropPosition = vector.create(-1612.5115966796875, 1.9418199062347412, 270.7162170410156)
local SelectedAmount = "0" -- Default value
-- Main Tab
local MainTab = Window:CreateTab("Collector", 4483362458)
local Section = MainTab:CreateSection("Money Settings")
local Input = MainTab:CreateInput({
Name = "Money Amount",
PlaceholderText = "Enter amount...",
RemoveTextAfterFocusLost = false,
Callback = function(Text)
SelectedAmount = Text
end,
})
local Button = MainTab:CreateButton({
Name = "Collect Amount",
Callback = function()
-- Convert the input string to a number
local numAmount = tonumber(SelectedAmount)
if numAmount then
local args = {
DropPosition,
numAmount
}
CollectEvent:FireServer(unpack(args))
Rayfield:Notify({
Title = "Success",
Content = "Fired remote for: $" .. SelectedAmount,
Duration = 3,
Image = 4483362458,
})
else
Rayfield:Notify({
Title = "Error",
Content = "Please enter a valid number!",
Duration = 3,
Image = 4483362458,
})
end
end,
})
Comments
No comments yet
Be the first to share your thoughts!