I want the text to add a text that says the local player’s name.
But It’s super complicated for me to do, I’m also a beginner for scripting.
3 Likes
Get the localplayer.
local plrName = game:GetService("Players").LocalPlayer.Name
yourTextLabel.Text = plrName
3 Likes
thank u!!!
Or you can add a sub string…
Not sure how this would help in the problem. Substring is meant to extract a part of a string.
https://www.lua.org/pil/20.html
1 Like
