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

how do you make a script that makes a gui that says a model's name?

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.

1 answer

✓ Accepted answer

If this is what you mean, this is my attempt.

local gui = Instance.new("ScreenGui",game.Players.LocalPlayer.PlayerGui)
local text = Instance.new("TextLabel",gui)

while wait(.005) do
text.Text = workspace.Change this to npcs name
end

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