pasteblox

Universal Robux Disabler V2

@aabbaaii13PublicUpdated
loadstring(game:HttpGet("https://pasteblox.com/raw/aabbaaii13/urd"))()
Star 0Copy 062 views

About

https://rscripts.net/script/universal-robux-disabler-v2-twjJ Read Apache2 License Before Publishing The Modification

Script

pbx pull fr6jb6drzb
universal-robux-disabler-v2.luau
local marketplaceservice, startergui = game:GetService('MarketplaceService'), game:GetService('StarterGui')
if identifyexecutor and identifyexecutor():find('Delta') then
	task.spawn(function() pcall(function() startergui:SetCore('SendNotification', {Title = 'An Built-In Feature Detected', Text = 'Please Enable "Disable Robux" In Delta Settings', Duration = 20}) end) end)
	if script then script:Destroy() end return
end

local bmethods = {
	['PromptPurchase'] = true,
	['PromptProductPurchase'] = true,
	['PromptGamePassPurchase'] = true,
	['PromptBundlePurchase'] = true,
	['PromptNativePurchase'] = true,
	['PromptThirdPartyPurchase'] = true,
	['PromptSubscriptionPurchase'] = true,
	['PromptPremiumPurchase'] = true,
	['PromptRobloxPurchase'] = true,
	['PromptCollectiblesPurchase'] = true,
	['PromptCollectibleItemPurchase'] = true,
	['PromptBulkPurchase'] = true,
	['PromptRobloxSubscriptionPurchase'] = true,
	['PromptRobuxTransferAsync'] = true
}

local fevents = {
	['PromptPurchase'] = 'PromptPurchaseFinished',
	['PromptProductPurchase'] = 'PromptProductPurchaseFinished',
	['PromptGamePassPurchase'] = 'PromptGamePassPurchaseFinished',
	['PromptBundlePurchase'] = 'PromptBundlePurchaseFinished',
	['PromptNativePurchase'] = 'NativePurchaseFinished',
	['PromptThirdPartyPurchase'] = 'ThirdPartyPurchaseFinished',
	['PromptSubscriptionPurchase'] = 'PromptSubscriptionPurchaseFinished',
	['PromptPremiumPurchase'] = 'PromptPremiumPurchaseFinished'
}

local function notify(method) task.spawn(function() pcall(function() startergui:SetCore('SendNotification', {Title = 'Purchase Detected', Text = method .. ' Blocked', Duration = 5}) end) end) end
local function ffinished(key, args)
	local finished = fevents[key]
	if not finished or not firesignal or not marketplaceservice[finished] then return end
	local player = args[1]
	if key == 'PromptProductPurchase' then
		pcall(firesignal, marketplaceservice[finished], player and player.UserId, args[2], false)
	elseif key == 'PromptPremiumPurchase' then
		pcall(firesignal, marketplaceservice[finished], player, false)
	elseif key == 'PromptThirdPartyPurchase' then
		pcall(firesignal, marketplaceservice[finished], player, args[2], '', false)
	else
		pcall(firesignal, marketplaceservice[finished], player, args[2], false)
	end
end

local function bcall(self, method, ...)
	if not rawequal(self, marketplaceservice) or not bmethods[method] then return false end
	notify(method)
	ffinished(method, {...})
	return true
end

local ncok, oldnc = pcall(function()
	oldnc = hookmetamethod(game, '__namecall', newcclosure(function(self, ...)
		local method = getnamecallmethod()
		if bcall(self, method, ...) then return end
		return oldnc(self, ...)
	end))
end)

if not ncok then task.spawn(function() pcall(function() startergui:SetCore('SendNotification', {Title = 'Protection Warning', Text = 'Failed To Hook Namecall', Duration = 10}) end) end) end
local iok, oldi = pcall(function()
	oldi = hookmetamethod(game, '__index', newcclosure(function(self, key)
		if rawequal(self, marketplaceservice) and bmethods[key] then
			return newcclosure(function(...)
				notify(key)
				ffinished(key, {...})
			end)
		end
		return oldi(self, key)
	end))
end)

if not iok then task.spawn(function() pcall(function() startergui:SetCore('SendNotification', {Title = 'Protection Warning', Text = 'Failed To Hook Index', Duration = 10}) end) end) end
task.spawn(function() pcall(function() startergui:SetCore('SendNotification', {Title = 'How To Disable It', Text = 'Rejoin Or Leave', Duration = 15, Button1 = 'I Understand'}) end) end)

Changelog

1 version
  1. First version

    Live

    @aabbaaii13·