Visual Pls Donate Script Apr 2026

-- Variables local player = players.LocalPlayer local playerGui = player.PlayerGui

-- Create the GUI local gui = Instance.new("ScreenGui") gui.Parent = playerGui 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