I have looked it up before, I'm not the best at scripting yet. I'm attempting to make a script when you click the door it says "It's locked." No key or anything, it just says "It's locked." Script I have (From youtube) is this:
function onClick(click)
for i,v in pairs (script.Parent:GetChildren()) do
if v.ClassName == "ScreenGui" then
c = v:Clone()
c.Parent = click.PlayerGui
end
end
end
script.Parent.ClickDetector.MouseClick:connect(onClick)
wait(3)
script.Parent.Parent:Destroy()

2 comments
If you destroy it, it won't appear again...
It appears again, actually. I believe it clones the Gui and puts it into the PlayerGui. Thanks alot! It works well.