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

how to edit a textlabel inside of the player's PlayerGui folder?

Asked by 4 years ago

i tried one method i saw possible, but it errored, i'm just now starting to get into scripting, so could anyone help me out with solving this? thank you

2 answers

Log in to vote
0
Answered by
Fxicity 10
4 years ago

This Might Help.

https://scriptinghelpers.org/questions/23050/please-help-me-understand-accessing-playergui

Ad
Log in to vote
0
Answered by 4 years ago
Edited 4 years ago

Could be described better, but if you want the game to wait 5 seconds after the player has loaded, do this:

`` local Players = game:GetService("Players") Players.PlayerAdded:Connect(onPlayerAdded)

wait(5) -- You can switch this "wait(5) with different types of waiting to change the text

game.Players.LocalPlayer.PlayerGui.[ScreenGuiName].TextLabel.Text == "Your text here" ``

I hope that solved your problem!

0
Dont know why it didnt inline the code, you may have to put some spaces inbetween WatsPlayzROBLOX 80 — 4y

Answer this question