Hey Everyone,
so I’m making a game like piggy, but my dialog isn’t appearing!
local Message = game.ReplicatedStorage.Values:WaitForChild('Message')
local TextLabel = script.Parent.Message
Message:GetPropertyChangedSignal('Value'):Connect(function()
print('New!')
if Message.Value == 'None' then
script.Parent.Message.Visible = false
else
script.Parent.Message.Visible = true
for i = 1,#Message.Value,1 do
TextLabel.Text = string.sub(#Message.Value,i,1)
wait(.04)
end
end
end)
New prints, but the text label doesn’t become visible. I checked and the text is not none.
Does anybody know why it’s not working?
Thanks!