When you click on the part, the click detector shouldn't be able to be used anymore, but it still works!
Code:
local clickDetector = script.Parent
local status = game.ReplicatedStorage.Status
local gem = script.Parent.Parent
clickDetector.MouseClick:Connect(function(plr)
print(plr.Name.." has found a gem")
status.Value = plr.Name.." has found a gem!"
gem.Transparency = 1
gem.CanCollide = false
clickDetector.Archivable = false
wait(50)
gem.Transparency = 0
gem.CanCollide = true
clickDetector.Archivable = true
end)

1 comment
Archivable meant for is it showable on roblox player, but not roblox studio. You can still see the click detector while on studio but not roblox player. Archivable = false means for you cant see it in roblox player but you can see in roblox studio.