How do you make a clickable item where you can still have more than one still there?

I need it like a cafe. When you grab a food, it stays there but you get one too.

You will want to create the tool object and store it in replicated storage. then when someone clicks on an object clone it and add it to your inventory.

So put your tool or coffee in Replicated Storage name it whatever you want.
Then create a part with a click detected inside of it, inside of the click detector add a script.

local ClickDetector = script.Parent
local replicatedStorage = game:GetService("ReplicatedStorage")
function clicked(plr)

local Coffee = replicatedStorage.Coffee:Clone() -- make Coffee what ever the name of the tool is you have in replicated storage
Coffee.Parent = plr.Backpack -- Move the coffee to your backpack.
print(plr.Name.." Picked up coffee!")
end
ClickDetector.MouseClick:Connect(clicked)

Also your video link does not work I hope this is what you are looking for.

1 Like