Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onChatted(msg, speaker)
- local plr = "UrName"
- local _player = plr
- source = string.lower(speaker.Name)
- msg = string.lower(msg)
- if msg == "" then -- In "" put what you wanna type to load the command
- --Code Here
- --Code Here
- end
- end
- function onPlayerEntered(newPlayer)
- newPlayer.Chatted:connect(function(msg) onChatted(msg, newPlayer) end)
- end
- game.Players.ChildAdded:connect(onPlayerEntered)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement