i have no idea how to make it where you buy it takes away your currency then you can equip please help
You didn’t really share the specifics of what you want, but here’s the basics.
The best way to handle currency is leaderstats. Remove the currency (in the server) with
player.leaderstats["Currency"].Value = player.leaderstats["Currency"].Value - toolCost
You can give a player a tool with
local tool = game.ServerStorage.Tool
tool:Clone().Parent = player.Backpack
It’s actually simpler than one might think. I haven’t personally watched this video, but I assume it is somewhat relevant to what you’re trying to do:
i want to click on the item then go and press the buy button and after i buy it i want it to take away my 50 Coins then i want it to say equip then i can equip it
if you could do it for me in my game then that would be great ill pay you 3k
“Please do not ask people to write entire scripts or design entire systems for you. If you can’t answer the three questions above, you should probably pick a different category.”
This category is for scripting support, not asking for code.