Fake Roblox Purchase Screen V2.2 [Free And Open Source]

I recreated the real Roblox payment screen. (I was bored :grimacing:)

The Module Script: FakePurchaseScreen V2.2.rbxm (22.7 KB)

Showcase


How to install

  1. Insert the module
    RobloxStudioBeta_eQVcXYiLbr

  2. Move FakePurchaseScreen Modulescript to where you want to use it

  3. Optionally you can place the PurchaseScreenServer in the server script service that ensures that you receive a message when there is a new update.

Documentation

!!! You can use it only on the client

First you need to set the .ProcessReceipt that function is called when the player clicks the buy button.

Module.ProcessReceipt = function(ReceiptInfo)

--[[
ReceiptInfo = {

    CurrencySpent: number
    CurrencyType: string
    GameIdWherePurchased: number
    PlaceIdWherePurchased: number
    PlayerId: number
    PurchaseId: number?
    TimeOfPurchase = {
   	 Time
   	 Clock
   	 Tick
   	 Date
    }
}
]]

-- Your Code Here

return true|false, "Result Message?" -- Could Be Every Thing Even nil
end

And optional you can use .PromptPurchaseFinished

Module.PromptPurchaseFinished:Connect(function(PlayerId: number, IsPurchased: boolean, PurchaseId: number?)
    
    -- Your Code Here

    -- No returns
end)

And to open/start the transaction use .New

local Info = {
--    Player,   								 -- Player
--    000000000,   							 -- Purchase Image Id
--    "My Name",   							 -- Purchase Name
--    99,   									 -- Price Of Purchase
--    10,   									 -- Currency Left After Purchase, That Is The Message On The Bottom    (Optional)
--    123456789,   							 -- Purchase Id Somthing Like The ProductId Or GamepassId    |  Can be used to call a specific function if the player has purchased it    (Optional)
--    "Fake Robux",   						 -- The Type Of Currency     (Optional)
--    000000000,   							 -- The Currency Image Id     (Optional)
}

Module.New(table.unpack(Info))

If you have any problems, tips or ideas, please let me know.

43 Likes

You should add screenshots to this resource.

8 Likes

Very cool resource! thank you for this.

4 Likes

lol this is actually funny, i might use this

4 Likes

ha, ya, change it so when they click cancel it send them a boo hooo message… then like they have to do it 2 times…

3 Likes

I made a boo hooo screen especially for you (I hope it’s good)

PromptPurchaseV2.rbxm (20.6 KB)

3 Likes

umm, how about a .rbxl file?.. or where do I need to move the stuff?

2 Likes

If you download it and go to Roblox Studio and right click on that little menu you will see Insert from file and then insert
RobloxStudioBeta_eQVcXYiLbr

2 Likes

You can create a local script in the StarterPlayerScripts, see below, and place the module in that script

local Module = require(script.PromptPurchase2) -- Or PromptPurchase if you have the other file

wait(2) -- Waiting for Player Joins

local Info = {

game.Players.LocalPlayer
16545965112,
"My Name",
99,
10,										
}

Module.New(table.unpack(Info))
1 Like

I could be like:

game - “Free Admin!”

(player clicks purchase)

game - “{ERROR} Oh, sorry. we are all out of that.”

:joy:

10 Likes

Use a different easing style for the purchase timer it shouldn’t be linear.

10 Likes

Yes, I know, I just can’t find the right one. Does anyone know the easing style that the real one also has?

3 Likes

really great troll lol, thank you for this

2 Likes

Circular easing style should be the right one

3 Likes

i’ve implemented this resource into my game, loving it!. But I just realized, you’re tweening the UI from the server? :skull:

the tweens are horribly choppy in-game.

I’ve also noticed that you can spam click the purchase button and it fires the processreceipt multiple times

1 Like

I’ll take a look at it later, thanks for the tip!

1 Like

maybe give them a fake admin, and send them in jail.

1 Like