Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Works perfectly in Studio, but not In-Game?

Asked by 8 years ago

When I ran this line of code, I got this error: RotText is not a valid member of ScreenGui

Information about the script: -LocalScript -In a TextButton called TextButton in a ScreenGui called RotGui

The script: local RotText = game.Players.LocalPlayer.PlayerGui.RotGui.RotText

Answer this question