Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- || 📜 AUTHOR: @4zx16 || CHAT COMMAND
- ]]
- local Command = {} -- Your Commands Go here
- game.Players.PlayerAdded:Connect(function(player)
- player.Chatted:Connect(function(msg)
- for i, ChatCommand in pairs(Command) do
- if msg:sub(1, ChatCommand:len()):lower() == ChatCommand:lower() then
- print(player.Name.. " chatted ".. msg)
- else
- print("idk")
- end
- end
- end)
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement