#how do i make it so i click on an item and then it equips in your inventory like slap battles
6 messages · Page 1 of 1 (latest)
put item in replicatedstorage, put a clickdetector in the part you want to click on
serverscript in click detector, put this:
local rs = game:GetService("ReplicatedStorage")
local item = rs:WaitForChild("Item") -- put path to item here
script.Parent.MouseClick:Connect(function(plr)
local newitem = item:Clone()
newitem.Parent = plr.Backpack
end)```
One message removed from a suspended account.