Sell accessory's for in game cash

This is the shop model link: (4) Hat Choosing System - Roblox
This is the money model: Ungroup in ServerScript - Roblox

2 Likes

I’m sorry but I don’t know what you want to achieve, do you want a sell system for in game items that sells for in game currency?

Please do not ask people to write entire scripts or design entire systems for you.

1 Like

I have parts of the script. I have all the models to. I don’t know how to make the script work.

You pay robux for in game avatar items. I have the script down but it wont function

Here’s the cash script I have: – Create a ScreenGui instance
local gui = Instance.new(“ScreenGui”)
gui.Parent = game.Players.LocalPlayer.PlayerGui

– Create a TextButton instance
local button = Instance.new(“TextButton”)
button.Text = “Buy Item”
button.Size = UDim2.new(0, 200, 0, 50)
button.Position = UDim2.new(0.5, -100, 0.5, -25)
button.Parent = gui

– Define the function that will be called when the button is clicked
local function onButtonClicked()
– TODO: Add code to buy the item here
end

– Connect the function to the button’s Click event
button.MouseButton1Click:Connect(onButtonClicked)

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.