|
| 30 Dec 2013 12:29 PM |
| So my problem is I don't know how to do a kick script thing. for example if some one says like a "bad word" then how do I kick that person? |
|
|
| Report Abuse |
|
|
wendeng1
|
  |
| Joined: 18 Nov 2008 |
| Total Posts: 1391 |
|
|
| 30 Dec 2013 12:29 PM |
kick.name
Cuase i can and it's free just like Maplestory the free online game. pay2win |
|
|
| Report Abuse |
|
|
erinniall
|
  |
| Joined: 03 Jun 2012 |
| Total Posts: 914 |
|
|
| 30 Dec 2013 12:32 PM |
I'm confused, so you wanna be able to kick them when you are there or when you aren't there?
-Only idiots think they're perfect- |
|
|
| Report Abuse |
|
|
Nyxis
|
  |
| Joined: 15 Nov 2012 |
| Total Posts: 3374 |
|
|
| 30 Dec 2013 12:39 PM |
Words = {"qqq", "lelel"} game.Players.PlayerAdded:connect(function(Plr) Plr.Chatted:connect(function(Msg) for i = 1, #Words do if Msg == Words[i] then Plr:Kick() end end) end)
Maybe that will work, I'm not completely positive as I wrote it in the reply. |
|
|
| Report Abuse |
|
|
|
| 30 Dec 2013 10:04 PM |
| I'm super confused *.* (I'm an idiot) |
|
|
| Report Abuse |
|
|
Nyxis
|
  |
| Joined: 15 Nov 2012 |
| Total Posts: 3374 |
|
|
| 31 Dec 2013 08:55 AM |
Don't be so hard on yourself, every one starts out not knowing what to do.
take what I posted:
Words = {"Word1", "Word2", "Word3"} --Replace the words in the quotes with anything game.Players.PlayerAdded:connect(function(Plr) Plr.Chatted:connect(function(Msg) for i = 1, #Words do if Msg == Words[i] then Plr:Kick() end end) end)
and put it in a script in your game |
|
|
| Report Abuse |
|
|
|
| 01 Jan 2014 11:40 AM |
| wow. you're probably the nicest thing anyone has said to me on ROBLOX XD |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 01 Jan 2014 11:42 AM |
Words = {"Word1", "Word2", "Word3"} --Replace the words in the quotes with anything game.Players.PlayerAdded:connect(function(Plr) Plr.Chatted:connect(function(Msg) local Msg = Msg:lower() for _,v in pairs(Words) do local v = v:lower() if string.Find(Msg,v) Plr:Kick() break end end) end) |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 01 Jan 2014 11:42 AM |
| Replace string.Find with string.find |
|
|
| Report Abuse |
|
|
Nyxis
|
  |
| Joined: 15 Nov 2012 |
| Total Posts: 3374 |
|
|
| 01 Jan 2014 12:38 PM |
| I should have thought of that. |
|
|
| Report Abuse |
|
|