Categories > Coding > Lua >

Client sided chat commands(Roblox, Help)

aMan_2781

grumpster5000, aMan#2781

Posts: 2

Threads: 2

Joined: Sep, 2021

Reputation: 0

Posted

I'm looking to make a script to detect when a player with a certain name/id (non local player) says a certain phrase(command) in chat and then execute a script. How would I detect this?

  • 0

-----use plr-----

Posts: 1

Threads: 0

Joined: Dec, 2021

Reputation: 0

Replied

I'm hoping to make a content to identify when a player with a specific name/id (non neighborhood player) says a certain phrase(command) in talk and afterward execute a content. How might I recognize this?

Thanks.

Packers and Movers in Bangalore

  • 0

tar

CoolNickname

Posts: 142

Threads: 15

Joined: Jul, 2021

Reputation: 1

Replied

@mymovers

function Message(text)

    print(text)

end

Player.Chatted:Connect(Message)

  • 1

https://imgur.com/a/oOomuUo

Posts: 152

Threads: 9

Joined: Feb, 2022

Reputation: -34

Replied

@_realnickk I know this thread is from ages ago but a few days ago I made this for someone so hopefully this helps him

 

https://github.com/Laamy/RobloxScripts/blob/main/Templates/Commands.lua

  • 0

Added

@mymovers Loop through each player in the game and hook your function chatted(msg) end

then setup some join & leave events via documents

  • 0

Added

@53326Thanks <3

  • 0

novaline ontop

 

Executors I own: Synapse X, Asshurt/Sirhurt, Scriptware, Novaline

Users viewing this thread:

( Members: 0, Guests: 1, Total: 1 )