I want to make it that, upon click of a computer, text will appear (as an interaction.) I currently have a script but it doesn't seem to work at all. Any guidance?
function onClicked()
game.Players.LocalPlayer.PlayerScripts.ComputerText.Visible = true
wait(3)
game.Players.LocalPlayer.PlayerScripts.ComputerText.Visible = false
end
script.Parent.ClickDetector.MouseClick:connect(onClicked)
ComputerText is the name of the Frame that the text is held within.

3 comments
The Text must be in PlayerGui in a ScreenGui, also have an indent where the code is.
Where is the ClickDetector located?
This is a script that would be running on the server. I'm not sure of your FE setting but generally the server cannot change stuff inside the playergui, only the client