Hi,
So I'm making admin commands and I need it so when you add 'me' as a player input it will detect the person who sent the message?
Basically, how to see who sent a chat message on Roblox.
I've been trying to find out how since this morning, but my research lead to- you guessed it- no avail.
Can I have some help? For the Player.Chatted
event.
-Biz
local chattedconnections = {} game.Players.PlayerAdded:Connect(function(Player) chattedconnections[Player.Name] = Player.Chatted:Connect(function(msg) if msg:lower() == '!help' then print('helped') end end) end) game.Players.PlayerRemoving:Connect(function(Player) if chattedconnections[Player.Name] then chattedconnections[Player.Name]:Disconnect() chattedconnections[Player.Name] = nil end end)