generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Shortest Kill Command

Previous Thread :: Next Thread 
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
07 May 2014 03:51 PM
Basic Rules;

1. Must have a ClassName of "Script"

2. No global functions

3. Must be a standalone script

4. Cannot contain the text "script", "Play", or "Child"

5. No deprecated methods.

6. No errors

7. Must actually complete the purpose stated in the title.


Extra information;

Due to complaints (I'm looking at you islandmaker2012) I will not be competing, however I will decide on the winner.

Length is being measured with a standard Lua script;
print(#io.read())

There are no ties, the first one to say the shortest script will win.



Good luck :D and remember, NO LOOPHOLES

Note: Finding a loophole will result in permanent disqualification. Meaning you may not compete anymore.
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
07 May 2014 03:52 PM
workspace:BreakJoints() used to work lol
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
07 May 2014 03:55 PM
What do you mean 'Shortest Kill Command'?
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 May 2014 03:57 PM
function k(p)Workspace[p]:BreakJoints()end
42
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
07 May 2014 03:58 PM
p=""
pcall(function()Workspace[p]:BreakJoints()end)
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
07 May 2014 03:58 PM
An admin command, using chat. Sorry forgot to mention that.
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
07 May 2014 03:59 PM
actually, just this

pcall(function()Workspace['Player1']:BreakJoints()end)


Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 May 2014 04:03 PM
function k(p)workspace[p]:BreakJoints()end

41 characters

And this function can be called like this:

k("COOLDUDE11OO")
Report Abuse
COOLDUDE11OO is not online. COOLDUDE11OO
Joined: 21 Aug 2011
Total Posts: 5115
07 May 2014 04:05 PM
Oh, 12 posted exactly what I thought. lol
and I meant to say 42 characters.
I forgot to count the space.
Report Abuse
128GB is not online. 128GB
Joined: 17 Apr 2014
Total Posts: 8056
07 May 2014 04:07 PM
a={}Game.Players.PlayerAdded:connect(function(p)if a[p.Name]then p.Chatted:connect(function(t)if t:sub(1,1)=="k"then workspace[t:sub(2)]:BreakJoints()end end)end end)

166
Report Abuse
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
07 May 2014 04:08 PM
game.Workspace.Part.Touched:connect(function(hit)
if hit.Parent.Character then
hit.Parent.Character.Torso:BreakJoints()
end
end)
Report Abuse
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
07 May 2014 04:09 PM
Oh.
Kill commands, sorry.
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
07 May 2014 04:10 PM
XD That is alright
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
07 May 2014 04:11 PM
game.Players.PlayerAdded:connect(function(p)p.Chatted:connect(function(c)pcall(function()Workspace[c]:BreakJoints()end)end)end)

yush - would use childadded but child is banned :(

Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
07 May 2014 04:12 PM
So is Play.
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
07 May 2014 04:12 PM
w=workspace c=w[("nerdlihCteG"):reverse()]p=c(game)[13]function j(p)p.Chatted:connect(function(p,m)if m=="k"then w:BreakJoints(c(w))end end)for _,p in next,p do j(p)end p.PlayerAdded:connect(j)

194

Say k to kill
Report Abuse
VgOreo6 is not online. VgOreo6
Joined: 13 Apr 2014
Total Posts: 7
07 May 2014 04:12 PM
for x:sub(match) in ipairs(work)x:Break()
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
07 May 2014 04:12 PM
game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(m)
pcall(function()
Workspace[m]:BreakJoints()
end)
end)
end)
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
07 May 2014 04:12 PM
wait, so you may as well have banned "players" then instead of "play"

-.-

Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
07 May 2014 04:13 PM
for mine you just say the name of the person you want to kill

Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
07 May 2014 04:14 PM
@me "Play" is banned.

w=workspace c=w["GetC".."hildren"]p=c(game)[13]function j(p)p.Chatted:connect(function(p,m)if m=="k"then w:BreakJoints(c(w))end end)for _,p in next,c(p) do j(p)end p["P".."layerAdded"]:connect(j)

196
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
07 May 2014 04:14 PM
@forever

That has Play in it... Twice XD
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
07 May 2014 04:16 PM
I know one... I wanna participate.. XD
Report Abuse
xXxMoNkEyMaNxXx is not online. xXxMoNkEyMaNxXx
Joined: 03 Oct 2008
Total Posts: 3120
07 May 2014 04:16 PM
Mine works even when you're already in the game.
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
07 May 2014 04:17 PM
wait, does that mean you can't even use GetChildren?

dude, do you know how hard you made this now.


Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image