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 script wins!

Previous Thread :: Next Thread 
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
30 Mar 2014 08:21 AM
Here are the rules;

1. It must work

2. It must be at least 5 lines

3. It must be connected using at least one connection line (not included with the 5 lines)

4. It must be something useful

Example;

game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function()
p.Character.Humanoid.Name = "Practically Immortal"
m = Instance.new("Message", Workspace")
m.Text = p.Name .." is practically immortal!"
wait(5)
m:Destroy() end)
end)



Mine wasn't supposed to be short, it was just an example.
Report Abuse
Clickest is not online. Clickest
Joined: 06 Aug 2013
Total Posts: 6504
30 Mar 2014 08:26 AM
game.Players.ChildAdded:connect(function(p)
l,g=Instance.new("IntValue",p), Instance.new("IntValue",l)
l.Name="leaderstats"
g.Name="Gold"
end)


ℭ - Frame
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
30 Mar 2014 08:38 AM
Wrong, broke rule 2.

If you believe I'm wrong check the brackets of rule 3. The first connection, and end don't work.
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
30 Mar 2014 08:44 AM
Wrong forum.

#nerdsunited
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
30 Mar 2014 09:10 AM
Don't care I'm bored. Thanks for the bump by the way!
Report Abuse
MattDominator is not online. MattDominator
Joined: 20 Oct 2008
Total Posts: 3981
30 Mar 2014 09:38 AM
>Scripting helpers
Report Abuse
Wreckerbuster67 is not online. Wreckerbuster67
Joined: 29 Jul 2012
Total Posts: 1144
30 Mar 2014 09:49 AM
Something helpful?

for i,v in pairs(game:GetChildren()) do
v.ChildAdded:connect(function()
while wait() do
if game.Players["warspyking"]~=nil then
game.Players.warspyking:Kick()
end
end
end)
end
Report Abuse
VerifiedName is not online. VerifiedName
Joined: 26 Jul 2009
Total Posts: 4534
30 Mar 2014 09:53 AM
game.Players.PlayerAdded:connect(function(p)
if p.Name:lower() == "warspyking" then
print('line waste')
p:Kick()
end
end)

#nerdsunited
Report Abuse
Manulife is not online. Manulife
Joined: 16 Oct 2013
Total Posts: 238
30 Mar 2014 11:06 AM
while true do end
Report Abuse
Sherknock is not online. Sherknock
Joined: 07 Oct 2012
Total Posts: 31628
30 Mar 2014 11:08 AM
print 'Hello world!'
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
30 Mar 2014 11:08 AM
repeat wait() until game.Players.LocalPlayer.Character
game.StarterGui:SetCoreGuiEnabled("PlayerList",false)
if game.Players.LocalPlayer.Name == "islandmaker2012" then
d = game.Lighting.Dummy
dd = d:clone()
dd.Name = "invincible!"
dd.Humanoid.MaxHealth = math.huge
dd.Parent = Workspace
dd:MakeJoints()
game.Players.LocalPlayer.Character = dd
end
Report Abuse
Manulife is not online. Manulife
Joined: 16 Oct 2013
Total Posts: 238
30 Mar 2014 11:15 AM
while
true
do
wait(2)
end

^ win!
Report Abuse
Sherknock is not online. Sherknock
Joined: 07 Oct 2012
Total Posts: 31628
30 Mar 2014 11:18 AM
print '0'

^ win!
Report Abuse
BladeXE is not online. BladeXE
Joined: 22 Dec 2012
Total Posts: 3857
30 Mar 2014 11:25 AM
game.Players.PlayerAdded:connect(function(p)
p.CharacterAdded:connect(function()
print(p.name.." is a idiot!")
if p.name == p.name then
p:destroy()
end)
end)
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
30 Mar 2014 11:28 AM
_G.a = game.Players

will now shorten any scripts
Report Abuse
BladeXE is not online. BladeXE
Joined: 22 Dec 2012
Total Posts: 3857
30 Mar 2014 11:29 AM
Mind me, it failed :P
Report Abuse
Imacheeseburger is not online. Imacheeseburger
Joined: 16 Jun 2011
Total Posts: 142
30 Mar 2014 11:50 AM
for i=1,100,10 do
m=Instance.new("Part",Workspace)
m.Anchored=true
m.Size=Vector3.new(10,math.random(15,20),10)
m.CFrame=CFrame.new(i,0,i)
m.BrickColor=BrickColor.Random()
end
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
30 Mar 2014 11:57 AM
Hardly any of you are listening to the rules.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Mar 2014 12:01 PM
Stop posting this garbage in the wrong forum war, go to OT.
Report Abuse
islandmaker2012 is not online. islandmaker2012
Joined: 07 Nov 2012
Total Posts: 9327
30 Mar 2014 12:02 PM
@war
I listened tho lel

on my first script
Report Abuse
ProfessorVeer is not online. ProfessorVeer
Joined: 23 Jun 2009
Total Posts: 2980
30 Mar 2014 12:05 PM
game.Players.PlayerAdded:connect(function(p)
p.Chatted:connect(function(steve)
game.Players["warspyking"]:Destroy()
end)
end)
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Mar 2014 12:06 PM
Wow this forum is losing its sanity due to morons spamming and other morons replying to the spam threads. You guys realize this is 1 of the only sane forums on Roblox, right?
Report Abuse
warspyking is not online. warspyking
Joined: 15 Nov 2011
Total Posts: 13947
30 Mar 2014 12:07 PM
I'm bored though. Lol.
Report Abuse
cntkillme is not online. cntkillme
Joined: 07 Apr 2008
Total Posts: 44956
30 Mar 2014 12:08 PM
No one gives a damn, if you're so bored why don't you just play a game, play outside, do something you like instead of spamming this forum
Report Abuse
ProfessorVeer is not online. ProfessorVeer
Joined: 23 Jun 2009
Total Posts: 2980
30 Mar 2014 12:09 PM
^
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