So how this script works (or is supposed to work) is when you click on the part, the script inside the click detector (I have also tried changing the parent of the script to the part, but that didn't make it work) has a script where once the part is clicked, the GUI will appear for 10 seconds, then it will close. Here is the script:
function onClicked(playerWhoClicked)
wait(0)
game.StarterGui.Note.Frame.Visible = true
wait(10)
game.StarterGui.Note.Frame.Visible = false
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
Path for Part in Script
Model > Part > ClickDetector > Script
The path for the GUI the script is attempting to open is
StarterGui > ImageLabel > Frame
The Frame item has children, but I stopped at Frame because that's where the script reaches without going further.
I do not quite see what the issue is with the script, and any help would be appreciated. Thank you

2 comments
What's with the wait(0)?
Yeah you don't actually need wait(0) because wait() is the smallest delay aside from renderstepped and heartbeat.