Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do i make a On_Chat("Message") Script?

I've tried this

Owner = "funzrey"
function On_Type()
    while do true
         If Owner.Chats(":KillAll")
                    local Plrs = game.Players.GetPlayers()
                    Plrs.Torso:Destroy()
             end
      end
On_Type()

2 comments

3

I strongly recommend this article, and if you actually read it, not just the code, it explains in pretty good detail. http://wiki.roblox.com/index.php?title=Chat_commands

1

Thank You CreativeEnergy, Sry But it wont let me upvote cause i dont got 1 Rep yet.

2 answers

it's not while do true it should be while true do

1 comment

0

I know. but this guy in comments awnswered

you need a function first

9 comments

0

I know, BUT, you did not help me much Sry :(

0

Sorry but I'm not completely experienced but it seems correct all u need is the function in there and call the function

0

I know... but guess what, you did'nt really provide much stuff for me

0

Well because you're kinda being ignorant ur asking for the script and that's not what this site is for.

0

I just got something on Your Post: Please provide explanation with your answers. Simply posting code does not spread knowledge of integral scripting processes which helps people understand the logic and reasoning behind your answer.

0

I just got something on urs too: This is not relevant please provide some code and stop asking for how to do it

0

Ummm, Your Kinda Being rude, not following Community GuideLines

0

Ur posting questions that are not relevant to the Community Guidlines

0

paul, i provied code that i tried

This discussion is preserved as it was. New answers, comments, and votes are closed.