Roblox Scripting Tutorial: Chat Commands (ChatModules)
Hey, guys! Today we'll be taking a new look at the way Roblox handles chat commands with a simple /kill player command.
Script (Please watch the ENTIRE video for instructions):
function Run(ChatService)
ChatService:RegisterProcessCommandsFunction("COMMANDNAME", function(speakerName, message, channel)
if speakerName == "NAME" or speakerName == "NAME2" then
if message == "MESSAGE" then
return true
end
end
return false
end)
end
return Run
Be sure to follow me on Twitter after rating, commenting, and subscribing!
https://twitter.com/Rrrrry123
Also, follow me on Twitch for some live streams!
http://www.twitch.tv/Rrrrry123
Other Videos By RyGuyGaming
Other Statistics
Roblox Statistics For RyGuyGaming
At present, RyGuyGaming has 459,946 views spread across 106 videos for Roblox, and roughly a days worth of Roblox videos were uploaded to his channel. This makes up 17.76% of the content that RyGuyGaming has uploaded to YouTube.