So Far I Have:
game.Players.PlayerChatted ("Hello")
wait (1)
game.StarterGui.ScreenGui.Frame.Text = "Hello" wait(0.1) game.Players.LocalPlayer.DisplayName
But Nothing Happens
--JamiethegreatQ777
So Far I Have:
game.Players.PlayerChatted ("Hello")
wait (1)
game.StarterGui.ScreenGui.Frame.Text = "Hello" wait(0.1) game.Players.LocalPlayer.DisplayName
But Nothing Happens
--JamiethegreatQ777
What the client sees on their screen is found in PlayerGui. The descendants of StarterGui are replicated to PlayerGui.
local player = game.Players.LocalPlayer
local pgui = player:WaitForChild('PlayerGui')
wait()
player.Chatted:Connect(function(msg)
pgui.ScreenGui.Frame.TextLabel.Text = 'Hello '.. player.Name
end)
This discussion is preserved as it was. New answers, comments, and votes are closed.