I am trying to make a ScreenGui that changes text when clicked, as part of the ROBLOX tutotials. This is what I have on my local script, which is in StarterGui along with my ScreenGui.
function game.StarterGui.ScreenGui.TextButon.MouseButtonClick:connect()
game.StarterGui.ScreenGui.TextButton.Text = "I've been clicked!"
end
When I try it out it doesn't work, I've seen a different function format lately so it might be an outdated tutorial.
