That may have been hard to understand, let me try to make it clearer. I need (really want) it where when a player clicks a block (using ClickDetector?), a frame shows for 10 seconds. Now that I think about it, I think I got it clear enough in the title. Oh well. This is what I've got so far (please understand I'm terrible at scripting so this may be completely wrong..)
function onClicked (mouse)
script.Parent.Parent.Parent.Parent.StarterGui.ScreenGui1.Frame1.Visible = true
wait (10)
script.Parent.Parent.Parent.Parent.StarterGui.ScreenGui1.Frame1.Visible = false
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)

3 comments
Okay, that one worked great. But could you help me with one last thing? I need it to apply damage to the player that clicked it as well.
Okay, I'll edit it.
Edited.