What is wrong with this? It is supposed to only make the sword archivable if the player has the Value
--------------------------------
if player.Value = true then
script.Parent.archivable = true
else
script.Parent.archivable = false
end
if i understand what you want correctly, it should look something more like this.
ick = script.Parent.Parent.Parent:FindFirstChild("Value")
if ick ~= nil then
script.Parent.archivable = true
else
script.Parent.archivable = false
end
But, this will not work.
--------------------------------
ick = game.Players:children:FindFirstChild("Value")
if ick ~= nil then
script.Parent.archivable = true
else
script.Parent.archivable = false
end