#How do I make it to where players can only pickup item once
2 messages · Page 1 of 1 (latest)
check if the player already has the key.
script.Parent.ClickDetector.MouseClick:Connect(function(player)
if not player.Backpack:FindFirstChild("key name here") and not player.Character:FindFirstChild("key name here") then
local key = game.ReplicatedStorage.Key:Clone()
Key.Parent = player.Backpack
end)```