Hi. I have made a brick with 15 keys on it ( each key is for each house ) but i dont know how to make the players only take 1 key. You see, They can take all 15 keys if They want to and i would be really greatful if you could help me to make them only take one key and then not be allowed to take another key. Thank you!
You can make with Touched.
exemple:
local part = script.Parent part .Touched:Connect(function(hit) -- hit is when an object touches the part if hit then -- Verify if something touches local player = game.Players:GetPlayerFromCharacter(hit.Parent) -- get the player if player.Character.Humanoid then -- if the player has a Humanoid part:Destroy() -- Here Destroys the part end end end)
But i still need a screen shot of the items.