`id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `url` varchar(1000) NOT NULL DEFAULT '', `res` varchar(255) NOT NULL DEFAULT '' COMMENT '-=not crawl, H=hit, M=miss, B=blacklist', `reason` text NOT NULL COMMENT 'response code, comma separated', `mtime` timestamp NOT NULL DEFAULT current_timestamp() ON UPDATE current_timestamp(), PRIMARY KEY (`id`), KEY `url` (`url`(191)), KEY `res` (`res`) Visual | Pls Donate Script

Visual | Pls Donate Script

local function onButtonClick() -- Prompt to donate local donatePrompt = Instance.new("TextPrompt") donatePrompt.Parent = playerGui donatePrompt.Text = "Please enter the amount you want to donate:" donatePrompt.Title = "Donate" -- When the player confirms donatePrompt.OnSubmit = function(text) local donationAmount = tonumber(text) if donationAmount and donationAmount > 0 then -- Code to handle donation goes here -- For now, it just prints to the console print(player.Name .. " donated " .. tostring(donationAmount)) -- You'd actually send this to the server to process the donation -- and have the server handle adding it to the target user's account end end end

-- Variables local player = players.LocalPlayer local playerGui = player.PlayerGui Visual Pls Donate Script

-- Create the GUI local gui = Instance.new("ScreenGui") gui.Parent = playerGui local function onButtonClick() -- Prompt to donate local

First, you'll need to create a ScreenGui in ServerScriptService or StarterScripts, then add a TextButton to it. Step 2: Scripting the GUI Create a LocalScript (not a Script) and paste the following code: Step 2: Scripting the GUI Create a LocalScript

local button = Instance.new("TextButton") button.Size = UDim2.new(1, 0, 1, 0) button.BackgroundColor3 = Color3.new(0.5, 0.5, 0.5) button.Text = "PLS DONATE" button.Parent = frame

button.MouseButton1Click:Connect(onButtonClick) This script creates a simple GUI with a button. When the button is clicked, a text prompt appears asking the player to enter an amount to donate. The donation processing (actually adding the donated amount to someone's account) isn't handled here; you'd typically need to create a Script (not LocalScript) to handle server-side logic like processing donations.

local frame = Instance.new("Frame") frame.Size = UDim2.new(0, 200, 0, 100) frame.Position = UDim2.new(0.5, -100, 0.5, -50) frame.BackgroundColor3 = Color3.new(1, 0, 0) frame.Parent = gui

Scroll al inicio