How to detect if ONE player is chatting?
Asked by
4 years ago Edited 4 years ago
Ok, so, this is my first post so I'm sorry if this is bad, but here we go.
I'm trying to make a rap game, and I can't figure out how to make it to where when a certain player is chatting, it puts the chat onto a text label. Can anyone help me out here?
I'm very new to coding, so I tried searching it up for a while, but I couldn't find anything except for if all players were chatting, and I need to narrow it down to one. Thanks!
By the way, this is what i've come up with so far.. :/
1 | if rapper 1. Value = = Currentrapper.Value then |
2 | game.Players.LocalPlayer.Chatted:Connect( function (msg) |
rapper1 value is the player picked
currentrapper is the player(rapper1) rapping
-Aztralzz