Hello there. When I try touch an invisible block to allow text to appear (inside of a screengui), nothing pops up. I used the on touch command, and nothing works. Here is my code:
text = game.StarterGui:FindFirstChild("ScreenGui")
script.Parent.Touched:connect(function()
text.TextLabel.Visible = true
wait(3)
text.TextLabel.Visible = false
end)
Please help!

1 comment
If this helped, then please accept my answer