Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Name: Roblox Pls Donate Helper
- // Description: Assist with PLS DONATE: open game, user profile, and game pass pages for manual donations.
- // Author: winCloudDev
- // GitHub: winCloudDev
- import "@johnlindquist/kit"
- const PLS_DONATE_URL = "https://www.roblox.com/games/8737602449/PLS-DONATE"
- let targetUsername = await arg({
- placeholder: "Enter the Roblox username to support",
- input: "Cronaldo_960",
- enter: "Set Username",
- })
- async function openProfile(username: string) {
- try {
- const { data } = await get(`https://api.roblox.com/users/get-by-username?username=${encodeURIComponent(username)}`)
- const userId = data?.Id
- if (!userId) {
- await notify(`Could not find user: ${username}`)
- return
- }
- const profileUrl = `https://www.roblox.com/users/${userId}/profile`
- await browse(profileUrl)
- } catch (err) {
- await notify(`Error looking up ${username}`)
- }
- }
- async function openGamePassIds() {
- const input = await arg({
- placeholder: "Enter Game Pass IDs (comma, space, or newline separated)",
- strict: false,
- enter: "Open Game Pass Pages",
- hint: "Example: 12345, 67890 13579",
- })
- const ids = String(input)
- .split(/[\s,]+/)
- .map(s => s.trim())
- .filter(Boolean)
- if (ids.length === 0) {
- await notify("No Game Pass IDs provided")
- return
- }
- await notify(`Opening ${ids.length} Game Pass page(s)`)
- for (const id of ids) {
- await browse(`https://www.roblox.com/game-pass/${id}`)
- await wait(200) // small delay to avoid overwhelming the browser
- }
- }
- async function showOfflineDonateHelp(username: string) {
- const html = md(`
- # How to Donate Offline in "PLS DONATE"
- 1. Join the PLS DONATE experience:
- - [Open PLS DONATE](${PLS_DONATE_URL})
- 2. Inside the game, look for the "Gifts" or "Offline Donations" feature:
- - Enter the username: ${'`'}${username}${'`'}
- - Select the item (Game Pass/Donation option) you'd like to purchase.
- - Confirm the purchase in Roblox.
- 3. Ensure the recipient has created **Game Passes** set for sale to receive donations:
- - They need to configure prices (e.g., 5, 10, 20, 50 Robux, etc.).
- - Purchases are manual; you'll confirm each in the Roblox purchase dialog.
- Note:
- - This helper cannot auto-purchase. It can only open the correct pages to make it faster for you.
- - You must be logged into your Roblox account in your browser and confirm all purchases yourself.
- `)
- await div(html)
- }
- while (true) {
- const action = await arg(
- {
- placeholder: `Choose an action for "${targetUsername}"`,
- enter: "Run",
- },
- [
- {
- name: "Open PLS DONATE",
- description: "Open the PLS DONATE experience page in your browser",
- value: "open-pls-donate",
- },
- {
- name: "Open User Profile",
- description: "Look up the Roblox user and open their profile page",
- value: "open-profile",
- },
- {
- name: "Open Game Pass IDs…",
- description: "Paste Game Pass IDs to open each for manual purchase",
- value: "open-gamepasses",
- },
- {
- name: "Offline Donation Steps",
- description: "Show quick instructions for making offline donations",
- value: "offline-help",
- },
- {
- name: "Change Username…",
- description: "Set a different Roblox username to support",
- value: "change-username",
- },
- {
- name: "Exit",
- value: "exit",
- },
- ]
- )
- if (action === "open-pls-donate") {
- await browse(PLS_DONATE_URL)
- } else if (action === "open-profile") {
- await openProfile(targetUsername)
- } else if (action === "open-gamepasses") {
- await openGamePassIds()
- } else if (action === "offline-help") {
- await showOfflineDonateHelp(targetUsername)
- } else if (action === "change-username") {
- targetUsername = await arg({
- placeholder: "Enter the Roblox username to support",
- input: targetUsername,
- enter: "Set Username",
- })
- await notify(`Username set to: ${targetUsername}`)
- } else if (action === "exit") {
- break
- }
- }// Name: Roblox Donation Safety Helper
- // Description: Provides safe, legitimate links and steps to support a Roblox user without automation or exploits.
- // Author: winCloudDev
- // GitHub: winCloudDev
- import "@johnlindquist/kit"
- await notify("This script will not automate purchases. It provides safe, ToS-compliant options.")
- const defaultUsername = "Cronaldo_960"
- const username = await arg({
- placeholder: "Roblox username to support",
- input: defaultUsername,
- strict: false,
- })
- const actions = await arg("Choose an action", [
- {
- name: `Open ${username}'s Roblox Profile`,
- description: "View the user's profile on Roblox.",
- value: "profile",
- },
- {
- name: "Open PLS DONATE Experience",
- description: "Launch the official PLS DONATE game page.",
- value: "pls",
- },
- {
- name: "How to Donate Safely",
- description: "See steps for legitimate donations in PLS DONATE.",
- value: "help",
- },
- ])
- if (actions === "profile") {
- await browse(`https://www.roblox.com/users/profile?username=${encodeURIComponent(username)}`)
- exit()
- }
- if (actions === "pls") {
- await browse("https://www.roblox.com/games/8737602449/PLS-DONATE")
- exit()
- }
- if (actions === "help") {
- await div(
- md(`
- # Donate Safely in PLS DONATE
- - Join the official PLS DONATE game.
- - Find the stand for ${username}.
- - Purchase the displayed donation buttons (they are developer products created by the experience).
- - Avoid any tools or scripts that claim to auto-buy, offline donate, or bypass the Roblox UI—these can violate Roblox's Terms of Use and put your account at risk.
- Useful links:
- - [${username}'s Roblox Profile](https://www.roblox.com/users/profile?username=${encodeURIComponent(username)})
- - [PLS DONATE](https://www.roblox.com/games/8737602449/PLS-DONATE)
- `)
- )
- exit()
- }
Advertisement
Add Comment
Please, Sign In to add comment