I'm trying to check if my frame is set to true in visible and if it is set to true to wait 5 seconds before setting visible to false
script I tried using:
if script.Parent.Parent.TrainerGui == true then wait(5) script.Parent.Parent.TrainerGui = false end
