I'm new to scripting and don't really know what i'm doing. I've tried to do this myself before but I couldn't. I appreciate any help! -JoyousCaribou48
Well, the TextLabel object has a property called text that can be change, so what you simply have to do is :
TextLabel.Text = "Something of this sort"
Of course, it depends on where the gui is place, if the gui is placed inside the starter gui, you have to use a local script, however if it is in workspace and you want players to see it, you have to change it via a server script
A couple of other things to note:
1.) to reference things you originally put in starter gui, reference the PlayerGui instead, as all things inside the starter gui are cloned into the player gui when that player joins the game.
Ex:
local playerGui = game.Players.LocalPlayer:WaitForChild("PlayerGui")
Put This On The Button Which Should Change The Text
Target = script.parent.parent --This MayBe Wrong Cause You Have To Show 'Script' Where It Is. Target.Text = "The Button Worked"
Textlabel.Text = "example"
you might have to change where the pathing goes for example
game.StarterGui.ScreenGui.Frame.TextLabel.Text = "example"