greetings all, i have this script in which a transparent part in my tool is meant to become visible on touch of another part
script.Parent.Touched:Connect(function(hit)
local player = game.Players:GetPlayerFromCharacter(hit.Parent)
local tool = player.Backpack.IdentificationCard
local toolequipped = player.IdentificationCard
tool.REDCARD.Transparency = 0
toolequipped.REDCARD.Transparency = 0
end)
unfortunately this doesn’t work, i also want the script to work when the tool is unequipped, so when equipped the part is visible