#Chatted Function not Triggering
18 messages · Page 1 of 1 (latest)
Any help is appreciated
local Players = game:GetService("Players")
Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(message)
-- Handle chat commands here
end)
end)
the code you provided doesn’t include any event handlers for the Chatted event
it contained
game.Players.PlayerAdded:Connect(function(player)
player.Chatted:Connect(function(message)
though? Anyways I added the thing you provided and still nothing prints
ah
I looked
at module
and didnt see other one
now I go sleep
cant help
mkay
I even tried manually adding the prefix to every command
command == "!addstaff" then```
instead of
```lua
command = commandPrefix .. " addstaff"```
neither work
Someone?
Anyone
anyone able to help me
Someone...
Anyone