When i press on a table, it should give me a chair from rep. storage, but it doesnt. Here's the script:
function FoldingChair()
return game.ReplicatedStorage:WaitForChild("FoldngChair"):Clone()
end
script.Parent:WaitForChild("ClickDetector").MouseClick:connect(function(player)
FoldingChair().Parent = player.Backpack
end)
Basically if you click on a click detector it SHOULD give you a folding chair, but it won't work.

1 comment
Thanks!