Hello, everyone.
I'm trying to create a custom rigged humanoid that displays the Name and Level value of the NPC above it's appearance. However, the Text has remain unchanged whenever i test it in Studio and in server. Here is the Local Script that i have inside the TextLabel. (TextLabel is named "Desc" btw.)
local class = script.Parent.Parent.Parent.Humanoid.Name
local level = script.Parent.Parent.Parent.Level
repeat wait()
script.Parent.Parent.Desc.Text = class .. " Lv. " ..level.Value
until
script.Parent.Parent.Desc.Text == class .. " Lv. " ..level.Value
level.Changed:connect(function()
script.Parent.Parent.Desc.Text = class .. " Lv. " ..level.Value
end)
All suggestions and recommendations are welcome! Thank you, for your time.
- sparkevin

5 comments
Just for clarifications, is script.Parent.Parent a ScreenGui or a Surface gui? If it is a surface gui, I would recommend using a server script if you want anyone else besides you to see it
Billboard gui. The line is used to reach the TextLabel, "Desc".
yea, try using a server script for that
your repeat loop is pointless
I would recommend double checking that the script runs at all - put in a print statement at the beginning or end of the script. If nothing appears in the Output, you might have placed the script in a place where it isn't run (ex Scripts don't run in client-only places and LocalScripts don't run in server-only places and in most places in the workspace).