您需要先安装一个扩展,例如 篡改猴、Greasemonkey 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 暴力猴,之后才能安装此脚本。
您需要先安装一个扩展,例如 篡改猴 或 Userscripts ,之后才能安装此脚本。
您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey,才能安装此脚本。
您需要先安装用户脚本管理器扩展后才能安装此脚本。
Greasy Fork is available in English.
Automatically purchases an item for a set price or less.
此脚本不应直接安装。它是供其他脚本使用的外部库,要使用该库请加入元指令 // @require https://update.greasyfork.icu/scripts/410044/841849/Space%20Hair%20Sniper.js
// ==UserScript== // @name Space Hair Sniper // @namespace Updated by Coco // @version 1.0 // @description Automatically purchases an item for a set price or less. // @author Someone else // @match https://www.roblox.com/catalog/564449640...ace-People // @match https://roblox.com/catalog/564449640/Bea...ace-People // @grant none // ==/UserScript== (function() { 'use strict'; var purchaseprice = 1000; //Max price you'd pay var stringprice = document.getElementsByClassName('text-robux-lg')[0].innerHTML; var price = stringprice.replace(',',''); if (price <= purchaseprice) { var confirmbutton = document.getElementsByClassName("btn-fixed-width-lg btn-growth-lg PurchaseButton"); for (var x=0;x<confirmbutton.length; x++) { confirmbutton[x].click(); } document.getElementById("confirm-btn").click(); } else { document.location.reload(); } })();