Hello, I been scripting for some hours now and finally got everything working EXCEPT whenever I reset the character and equip the tool in my inventory the frame is invisible. Not sure what’s the issue. Here’s the frame visible and invisible code down below. Any suggestions?
Frame Visible and Invisible Code:
local IDCard = script.Parent
local DriverLicense = game.Players.LocalPlayer.PlayerGui:WaitForChild("DriverLicense").DriverLicenseFrame
IDCard.Equipped:Connect(function()
DriverLicense.Visible = true
end)
IDCard.Unequipped:Connect(function()
DriverLicense.Visible = false
end)
Ahhh, so I turned the property off and it worked. Now when it’s equipped and I reset it’s still there so I 'll make another script hiding it when the player dies.