
Keyless

local player = game.Players.LocalPlayer
local replicatedStorage = game:GetService("ReplicatedStorage")
-- Create UI Elements
local screenGui = Instance.new("ScreenGui")
screenGui.Parent = player.PlayerGui
local frame = Instance.new("Frame")
frame.Size = UDim2.new(0, 500, 0, 350) -- Increased size
frame.Position = UDim2.new(0.5, -250, 0.5, -175)
frame.BackgroundColor3 = Color3.fromRGB(40, 40, 40)
frame.BorderSizePixel = 0
frame.Parent = screenGui
local titleLabel = Instance.new("TextLabel")
titleLabel.Size = UDim2.new(1, 0, 0, 50)
titleLabel.Position = UDim2.new(0, 0, 0, 0)
titleLabel.Text = "inf Cash Gui 💸"
titleLabel.Font = Enum.Font.GothamBold
titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
titleLabel.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
titleLabel.BorderSizePixel = 0
titleLabel.TextScaled = true
titleLabel.Parent = frame
local startStopButton = Instance.new("TextButton")
startStopButton.Size = UDim2.new(0, 200, 0, 80)
startStopButton.Position = UDim2.new(0.5, -100, 0.5, -40)
startStopButton.Text = "START"
startStopButton.Font = Enum.Font.GothamBold
startStopButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
startStopButton.TextColor3 = Color3.fromRGB(255, 255, 255)
startStopButton.BorderSizePixel = 0
startStopButton.TextScaled = true
startStopButton.Parent = frame
local closeButton = Instance.new("TextButton")
closeButton.Size = UDim2.new(0, 50, 0, 50)
closeButton.Position = UDim2.new(1, -55, 0, 5)
closeButton.Text = "X"
closeButton.Font = Enum.Font.GothamBold
closeButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
closeButton.TextColor3 = Color3.fromRGB(255, 255, 255)
closeButton.BorderSizePixel = 0
closeButton.TextScaled = true
closeButton.Parent = frame
local creditsLabel = Instance.new("TextLabel")
creditsLabel.Size = UDim2.new(1, 0, 0, 40)
creditsLabel.Position = UDim2.new(0, 0, 1, -40)
creditsLabel.Text = "Made by hostage.cc & glowxfy"
creditsLabel.Font = Enum.Font.Gotham
creditsLabel.TextColor3 = Color3.fromRGB(200, 200, 200)
creditsLabel.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
creditsLabel.BorderSizePixel = 0
creditsLabel.TextScaled = true
creditsLabel.Parent = frame
-- Dragging functionality
local dragging
local dragInput
local dragStart
local startPos
local function update(input)
local delta = input.Position - dragStart
frame.Position = UDim2.new(startPos.X.Scale, startPos.X.Offset + delta.X, startPos.Y.Scale, startPos.Y.Offset + delta.Y)
end
frame.InputBegan:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseButton1 or input.UserInputType == Enum.UserInputType.Touch then
dragging = true
dragStart = input.Position
startPos = frame.Position
input.Changed:Connect(function()
if input.UserInputState == Enum.UserInputState.End then
dragging = false
end
end)
end
end)
frame.InputChanged:Connect(function(input)
if input.UserInputType == Enum.UserInputType.MouseMovement or input.UserInputType == Enum.UserInputType.Touch then
dragInput = input
end
end)
game:GetService("UserInputService").InputChanged:Connect(function(input)
if input == dragInput and dragging then
update(input)
end
end)
-- Start/Stop Functionality
local isRunning = false
local loopConnection
startStopButton.MouseButton1Click:Connect(function()
isRunning = not isRunning
if isRunning then
startStopButton.Text = "STOP"
startStopButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
loopConnection = game:GetService("RunService").Stepped:Connect(function()
replicatedStorage.Prize:FireServer()
end)
else
startStopButton.Text = "START"
startStopButton.BackgroundColor3 = Color3.fromRGB(0, 255, 0)
if loopConnection then
loopConnection:Disconnect()
end
end
end)
-- Close Functionality
closeButton.MouseButton1Click:Connect(function()
screenGui:Destroy()
end)
credits to @glowxfy
pretty good
BAD SCRIPT
Wow she's using Chatgpt this sucks
Dont execute guys fake