This one is a bit of a follow-up from my previous question. I've got a script that makes a Frame with Text appear when a block is clicked (locally, by the way) but for a ClickDetector, I'm pretty sure you can only use a script. So how do I make the script, when noticed the click from the ClickDetector, run the LocalScript? Here's my current Server Script:
local Gui = game.Players.LocalPlayer.PlayerGui.TextInteractions.ComputerText
script.Parent.ClickDetector.MouseClick:Connect(function(player)
function onClicked ()
Gui.Visible = true
wait(3)
Gui.Visible = false
end
end)
Please point out if things are incorrectly written, by the way! I'm newer to scripting.

3 comments
I also remember you asking this before... why did you ask the same question?
I seem to have misunderstood the first time, but I finally understand now and I've got it to work. Thanks.
No problem.