I Wanted To Make A Clickable NPC With ClickDetector. That ClickDetector Will Activate A GUI And After 5 Seconds The GUI Will Disappear, I Tried Doing
script.Parent.MouseClick:Connect(function()
Frame.Visible = true
wait(5)
Frame.Visible = false
I Put ClickDetector As The Child Of The Clickable NPC Script Is Under ClickDetector And ScreenGUI Is Under StarterGUI

3 comments
it did work
It will be helpful if you mark it as the answer
new at scripting helpers. sorry