So I'm making a script that when i say something in the chat it changes a text box to that text but the problem i having is it says that "Text is not a valid member of Blank" Please let me know if there is any other info you need
local typeVal = script.Parent.Parent.Parent.ReplicatedStorage.NewShit.Rep["Remotes/Var"].Var.One.value
local Textbox = script.Parent.Parent.Parent.StarterGui.Gui.Blank
local plr = game:GetService("Players")
game.Players.PlayerAdded:connect(function(player)
local msg = player.Chatted:connect(function(msg)
Textbox.Text = "fun"
end)
end)
NEW CODE

1 comment
the text label wont change text here's new code