I am trying to make a game, where you can say something, and a waiter will appear and ask you something in a gui. i have this so far:

game.Players.PlayerAdded:connect(function(player) player.Chatted:connect(function(msg) if (msg == "Start") then local Waiter = game.ReplicatedStorage.Waiter:Clone() Waiter.Parent = game.Workspace game.StarterGui.speakgui.textlabel.Text = "Greetings! Welcome to the cafe!" wait(4) game.Workspace.Script1:destroy() end end) end)

and am confused why this portion: game.StarterGui.speakgui.textlabel.Text = "Greetings! Welcome to the cafe!"

is not letting the text show up in game after typing "Start"

2 comments

0

sorry, i have no idea how to format code on this!

0

To format code, click the blue Lua Code block button above your text area, then inside of the two lines it created, you can write your code.