Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

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

Asked by
funzrey 58
10 years ago

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()
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 AmericanStripes 610 — 10y
1
Thank You CreativeEnergy, Sry But it wont let me upvote cause i dont got 1 Rep yet. funzrey 58 — 10y

2 answers

Log in to vote
0
Answered by
OniiCh_n 410 Moderation Voter
10 years ago

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

0
I know. but this guy in comments awnswered funzrey 58 — 10y
Ad
Log in to vote
-5
Answered by 10 years ago

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.

you need a function first

0
I know, BUT, you did not help me much Sry :( funzrey 58 — 10y
0
Sorry but I'm not completely experienced but it seems correct all u need is the function in there and call the function paulieD123 5 — 10y
0
I know... but guess what, you did'nt really provide much stuff for me funzrey 58 — 10y
0
Well because you're kinda being ignorant ur asking for the script and that's not what this site is for. paulieD123 5 — 10y
View all comments (5 more)
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. funzrey 58 — 10y
0
I just got something on urs too: This is not relevant please provide some code and stop asking for how to do it paulieD123 5 — 10y
0
Ummm, Your Kinda Being rude, not following Community GuideLines funzrey 58 — 10y
0
Ur posting questions that are not relevant to the Community Guidlines paulieD123 5 — 10y
0
paul, i provied code that i tried funzrey 58 — 10y

Answer this question