1. You require a serverside to use the function. (Not a LocalScript) 2. You didn't give the function an argument by the name of `clkr`, so it's considered a `nil value`. (Meaning it doesn't exist) 3. You don't require an argument for the `MouseButton(left-or-right)(mouse-interact-type)` function; If you wish, you can simply use an anonymous function for this. 4. You didn't set the ################# ################# of `MarketplaceService` service. 5. local player = ... -- Wherever the player is at. bttn.MouseButton(num)(type):Connect(function() MarketplaceService:PromptPurchase(ID, player) end) Please do some research next time man. :/ |