local Players = game:GetService("Players") local ReplicatedStorage = game:GetService("ReplicatedStorage") local TeleportService = game:GetService("TeleportService") local player = Players.LocalPlayer local screenGui = Instance.new("ScreenGui") screenGui.Name = "MoneyGui" screenGui.Parent = player:WaitForChild("PlayerGui") local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 300, 0, 200) frame.Position = UDim2.new(0.5, -150, 0.5, -100) frame.BackgroundColor3 = Color3.fromRGB(60, 60, 60) frame.BorderSizePixel = 0 frame.Active = true frame.Draggable = true frame.Parent = screenGui local frameCorner = Instance.new("UICorner") frameCorner.CornerRadius = UDim.new(0, 16) frameCorner.Parent = frame local titleLabel = Instance.new("TextLabel") titleLabel.Size = UDim2.new(1, 0, 0.2, 0) titleLabel.Position = UDim2.new(0, 0, 0, 0) titleLabel.BackgroundColor3 = Color3.fromRGB(30, 30, 30) titleLabel.TextColor3 = Color3.fromRGB(255, 255, 255) titleLabel.Text = "MONEY GENERATOR" titleLabel.TextScaled = true titleLabel.Font = Enum.Font.Oswald titleLabel.Parent = frame local titleCorner = Instance.new("UICorner") titleCorner.CornerRadius = UDim.new(0, 16) titleCorner.Parent = titleLabel local textbox = Instance.new("TextBox") textbox.PlaceholderText = "Enter money amount" textbox.Size = UDim2.new(0.9, 0, 0.25, 0) -- Adjusted Size textbox.Position = UDim2.new(0.05, 0, 0.3, 0) -- Adjusted Position textbox.BackgroundColor3 = Color3.fromRGB(80, 80, 80) -- Slightly lighter background textbox.TextColor3 = Color3.fromRGB(240, 240, 240) textbox.TextScaled = true textbox.ClearTextOnFocus = false textbox.Font = Enum.Font.SourceSansBold textbox.Parent = frame local textboxCorner = Instance.new("UICorner") textboxCorner.CornerRadius = UDim.new(0, 12) textboxCorner.Parent = textbox local button = Instance.new("TextButton") button.Text = "Submit" button.Size = UDim2.new(0.9, 0, 0.25, 0) button.Position = UDim2.new(0.05, 0, 0.65, 0) button.BackgroundColor3 = Color3.fromRGB(46, 204, 113) button.TextColor3 = Color3.fromRGB(255, 255, 255) button.TextScaled = true button.Font = Enum.Font.SourceSansBold button.Parent = frame local buttonCorner = Instance.new("UICorner") buttonCorner.CornerRadius = UDim.new(0, 12) buttonCorner.Parent = button button.MouseButton1Click:Connect(function() local inputAmount = tonumber(textbox.Text) if not inputAmount then return end local calculatedTime = inputAmount * 2 local startTime = os.time() local args = { { altitude = 0, obstaclesBroken = 0, startedTime = startTime, distance = 0, rewards = 0, timeElapsed = calculatedTime, reason = "Run Ended" } } ReplicatedStorage:WaitForChild("Remotes"):WaitForChild("endRun"):FireServer(unpack(args)) button.Active = false button.Text = "GENERATING FREE MONEY" wait(1) local placeId = game.PlaceId TeleportService:Teleport(placeId, player) end)