Hello, making a GUI that show's a current song. I made it so the ID song will get in a NumberValue so I can do if ID == "123" Text.Text = "Song" But it's not changing the text. Halp me pl0x.
local TEXT = script.Parent.Frame.TextLabel
local ID = game.Workspace.MusicPlayer:FindFirstChild("ID")
while true do
wait(0.1)
if ID.Value == "467472854" then
TEXT.Text = "SONG"
end
end

1 comment
You are trying to compare a NumberValue to a String, which you cannot do. Simply get rid of the quotes around the String with the ID, and your code should work.