In my game I need a button to become visible once a player touches a brick. The script i'm using does set the text button's visibility to true however, I don't actually see it on screen until I reset or die. Is there anyway to have the text button instantly appear on screen once its visibility is set to true?
Script-
Brick = script.Parent
Brick.Touched:connect(function()
game.StarterGui.GUI.TextButton.Visible=true
end)

3 comments
LocalScripts do not run in Workspace. Place the script in PlayerGui and make Brick refer to the location of the brick in workspace.
ik i realized it from a comment lol
Thanks for the help, Its working correctly now.