So i’m trying to make a game and i don’t want to edit the GUI every time i edit the name of the NPC and i want to be better at scripting and this could help me script a tiny bit.
If this is what you mean, this is my attempt.
1 | local gui = Instance.new( "ScreenGui" ,game.Players.LocalPlayer.PlayerGui) |
2 | local text = Instance.new( "TextLabel" ,gui) |
3 |
4 | while wait(. 005 ) do |
5 | text.Text = workspace.Change this to npcs name |
6 | end |