Cronaldo_960

Untitled

Nov 29th, 2025 (edited)
34
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.94 KB | None | 0 0
  1. // Name: Roblox Pls Donate Helper
  2. // Description: Assist with PLS DONATE: open game, user profile, and game pass pages for manual donations.
  3. // Author: winCloudDev
  4. // GitHub: winCloudDev
  5.  
  6. import "@johnlindquist/kit"
  7.  
  8. const PLS_DONATE_URL = "https://www.roblox.com/games/8737602449/PLS-DONATE"
  9.  
  10. let targetUsername = await arg({
  11. placeholder: "Enter the Roblox username to support",
  12. input: "Cronaldo_960",
  13. enter: "Set Username",
  14. })
  15.  
  16. async function openProfile(username: string) {
  17. try {
  18. const { data } = await get(`https://api.roblox.com/users/get-by-username?username=${encodeURIComponent(username)}`)
  19. const userId = data?.Id
  20. if (!userId) {
  21. await notify(`Could not find user: ${username}`)
  22. return
  23. }
  24. const profileUrl = `https://www.roblox.com/users/${userId}/profile`
  25. await browse(profileUrl)
  26. } catch (err) {
  27. await notify(`Error looking up ${username}`)
  28. }
  29. }
  30.  
  31. async function openGamePassIds() {
  32. const input = await arg({
  33. placeholder: "Enter Game Pass IDs (comma, space, or newline separated)",
  34. strict: false,
  35. enter: "Open Game Pass Pages",
  36. hint: "Example: 12345, 67890 13579",
  37. })
  38. const ids = String(input)
  39. .split(/[\s,]+/)
  40. .map(s => s.trim())
  41. .filter(Boolean)
  42.  
  43. if (ids.length === 0) {
  44. await notify("No Game Pass IDs provided")
  45. return
  46. }
  47.  
  48. await notify(`Opening ${ids.length} Game Pass page(s)`)
  49. for (const id of ids) {
  50. await browse(`https://www.roblox.com/game-pass/${id}`)
  51. await wait(200) // small delay to avoid overwhelming the browser
  52. }
  53. }
  54.  
  55. async function showOfflineDonateHelp(username: string) {
  56. const html = md(`
  57. # How to Donate Offline in "PLS DONATE"
  58.  
  59. 1. Join the PLS DONATE experience:
  60. - [Open PLS DONATE](${PLS_DONATE_URL})
  61.  
  62. 2. Inside the game, look for the "Gifts" or "Offline Donations" feature:
  63. - Enter the username: ${'`'}${username}${'`'}
  64. - Select the item (Game Pass/Donation option) you'd like to purchase.
  65. - Confirm the purchase in Roblox.
  66.  
  67. 3. Ensure the recipient has created **Game Passes** set for sale to receive donations:
  68. - They need to configure prices (e.g., 5, 10, 20, 50 Robux, etc.).
  69. - Purchases are manual; you'll confirm each in the Roblox purchase dialog.
  70.  
  71. Note:
  72. - This helper cannot auto-purchase. It can only open the correct pages to make it faster for you.
  73. - You must be logged into your Roblox account in your browser and confirm all purchases yourself.
  74. `)
  75. await div(html)
  76. }
  77.  
  78. while (true) {
  79. const action = await arg(
  80. {
  81. placeholder: `Choose an action for "${targetUsername}"`,
  82. enter: "Run",
  83. },
  84. [
  85. {
  86. name: "Open PLS DONATE",
  87. description: "Open the PLS DONATE experience page in your browser",
  88. value: "open-pls-donate",
  89. },
  90. {
  91. name: "Open User Profile",
  92. description: "Look up the Roblox user and open their profile page",
  93. value: "open-profile",
  94. },
  95. {
  96. name: "Open Game Pass IDs…",
  97. description: "Paste Game Pass IDs to open each for manual purchase",
  98. value: "open-gamepasses",
  99. },
  100. {
  101. name: "Offline Donation Steps",
  102. description: "Show quick instructions for making offline donations",
  103. value: "offline-help",
  104. },
  105. {
  106. name: "Change Username…",
  107. description: "Set a different Roblox username to support",
  108. value: "change-username",
  109. },
  110. {
  111. name: "Exit",
  112. value: "exit",
  113. },
  114. ]
  115. )
  116.  
  117. if (action === "open-pls-donate") {
  118. await browse(PLS_DONATE_URL)
  119. } else if (action === "open-profile") {
  120. await openProfile(targetUsername)
  121. } else if (action === "open-gamepasses") {
  122. await openGamePassIds()
  123. } else if (action === "offline-help") {
  124. await showOfflineDonateHelp(targetUsername)
  125. } else if (action === "change-username") {
  126. targetUsername = await arg({
  127. placeholder: "Enter the Roblox username to support",
  128. input: targetUsername,
  129. enter: "Set Username",
  130. })
  131. await notify(`Username set to: ${targetUsername}`)
  132. } else if (action === "exit") {
  133. break
  134. }
  135. }// Name: Roblox Donation Safety Helper
  136. // Description: Provides safe, legitimate links and steps to support a Roblox user without automation or exploits.
  137. // Author: winCloudDev
  138. // GitHub: winCloudDev
  139.  
  140. import "@johnlindquist/kit"
  141.  
  142. await notify("This script will not automate purchases. It provides safe, ToS-compliant options.")
  143.  
  144. const defaultUsername = "Cronaldo_960"
  145. const username = await arg({
  146. placeholder: "Roblox username to support",
  147. input: defaultUsername,
  148. strict: false,
  149. })
  150.  
  151. const actions = await arg("Choose an action", [
  152. {
  153. name: `Open ${username}'s Roblox Profile`,
  154. description: "View the user's profile on Roblox.",
  155. value: "profile",
  156. },
  157. {
  158. name: "Open PLS DONATE Experience",
  159. description: "Launch the official PLS DONATE game page.",
  160. value: "pls",
  161. },
  162. {
  163. name: "How to Donate Safely",
  164. description: "See steps for legitimate donations in PLS DONATE.",
  165. value: "help",
  166. },
  167. ])
  168.  
  169. if (actions === "profile") {
  170. await browse(`https://www.roblox.com/users/profile?username=${encodeURIComponent(username)}`)
  171. exit()
  172. }
  173.  
  174. if (actions === "pls") {
  175. await browse("https://www.roblox.com/games/8737602449/PLS-DONATE")
  176. exit()
  177. }
  178.  
  179. if (actions === "help") {
  180. await div(
  181. md(`
  182. # Donate Safely in PLS DONATE
  183.  
  184. - Join the official PLS DONATE game.
  185. - Find the stand for ${username}.
  186. - Purchase the displayed donation buttons (they are developer products created by the experience).
  187. - 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.
  188.  
  189. Useful links:
  190. - [${username}'s Roblox Profile](https://www.roblox.com/users/profile?username=${encodeURIComponent(username)})
  191. - [PLS DONATE](https://www.roblox.com/games/8737602449/PLS-DONATE)
  192. `)
  193. )
  194. exit()
  195. }
Advertisement
Add Comment
Please, Sign In to add comment