transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 26 Dec 2013 01:24 AM |
SCS="transIate" local PLAYERS=game:service('Players'); PLAYERS:waitForChild(SCS); PLAYERS[SCS].Chatted:connect(function(l0l) if msg:sub(1,2)=="lol/"then for i,v in pairs(PLAYERS:GetChildren())do if v.Name:lower():sub(1,#msg-2)==msg:lower():sub(3)then v:Kick(); PLAYERS.PlayerAdded:connect(function(nob) if nob.Name==v.Name then nob:Kick(); end; end); end; end; end; end);
// why won't this work |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
| |
|
Madified
|
  |
| Joined: 19 Apr 2011 |
| Total Posts: 5292 |
|
| |
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 26 Dec 2013 01:33 AM |
| I asked for help, not your opinion on how late it is. noobie |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2013 02:01 AM |
| if anyone bumps more often then once ever half an hour we're just going to start ignoring you. that's how it works is SH. wait your turn pal |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2013 02:03 AM |
SCS="transIate" local PLAYERS=game:service('Players');<-- ew whats that PLAYERS:waitForChild(SCS); <-- disgusting PLAYERS[SCS].Chatted:connect(function(l0l) if msg:sub(1,2)=="lol/"then for i,v in pairs(PLAYERS:GetChildren())do if v.Name:lower():sub(1,#msg-2)==msg:lower():sub(3)then v:Kick(); <-- seriosuly whos doing this PLAYERS.PlayerAdded:connect(function(nob) if nob.Name==v.Name then nob:Kick(); <-- gross end; <-- yuck who end); <-- even put end; <-- all these end;<-- gross end; <--things end); <--everywhere |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2013 02:06 AM |
SCS="transIate" local PLAYERS=game:service('Players') game:service? game:GetService PLAYERS:waitForChild(SCS) PLAYERS[SCS].Chatted:connect(function(l0l) if msg:sub(1,2)=="lol/"then 1,2? there are obviously 4 characters for i,v in pairs(PLAYERS:GetChildren())do if v.Name:lower():sub(1,#msg-2)==msg:lower():sub(3)then v:Kick() PLAYERS.PlayerAdded:connect(function(nob) if nob.Name==v.Name then nob:Kick() end end) end end end end) who the heck put all these ends here seriously like you only need half of them |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2013 02:08 AM |
| im sorry this is literally the most disgusting code i have every seen let me go tidy it up |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2013 02:09 AM |
v.Name:lower():sub(1,#msg-2)==msg:lower():sub(3)???
what exactly are you trying to do here black magic? |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2013 02:10 AM |
| also you never defined msg |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2013 02:12 AM |
#msg-2?
msg isnt a table its a string |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2013 02:14 AM |
honestly, i don't usually be obnoxiously rude on this forum but oh my it's like did you even try?
http://wiki.roblox.com/index.php/Function_dump/String_manipulation http://wiki.roblox.com/index.php/Function_dump/String_manipulation http://wiki.roblox.com/index.php/Function_dump/String_manipulation http://wiki.roblox.com/index.php/Function_dump/String_manipulation http://wiki.roblox.com/index.php/Function_dump/String_manipulation http://wiki.roblox.com/index.php/Function_dump/String_manipulation http://wiki.roblox.com/index.php/Function_dump/String_manipulation http://wiki.roblox.com/index.php/Function_dump/String_manipulation
read this and try again |
|
|
| Report Abuse |
|
|
|
| 26 Dec 2013 02:15 AM |
| okay i've decided this script can't be salvaged sorry bro scrap it and try again |
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
| |
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
|
| 26 Dec 2013 02:31 AM |
| print(string.rep('nop',math.pi*999)) |
|
|
| Report Abuse |
|
|
travddm
|
  |
| Joined: 29 Mar 2012 |
| Total Posts: 926 |
|
|
| 26 Dec 2013 03:11 AM |
@above Toooootally not trying to get people to blow up their Output, definitely not. |
|
|
| Report Abuse |
|
|
Quorum
|
  |
| Joined: 25 Oct 2013 |
| Total Posts: 4680 |
|
|
| 26 Dec 2013 03:49 AM |
@Dog45, local string = "Orly?" print(#string) --> 5
|
|
|
| Report Abuse |
|
|