Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

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

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

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!

1 comment

0

Dont know why it didnt inline the code, you may have to put some spaces inbetween

This discussion is preserved as it was. New answers, comments, and votes are closed.