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 » Scripters
Home Search
 

Re: "Clean" command.

Previous Thread :: Next Thread 
ManMinded is not online. ManMinded
Joined: 07 Oct 2012
Total Posts: 618
23 Jun 2014 07:25 PM
I started scripting about a week and 4 days ago, and I've learned a lot since then.

game.Players.PlayerAdded:connect(function(plr)
if plr.Name == "ManMinded" then -- put your username where it says "ManMinded"
plr.Chatted:connect(function(msg)
if msg:lower() == "clean" then
for _,v in pairs(game.Workspace:GetChildren()) do
if v:IsA("Hat") or v:IsA("Tool") then
v:Destroy()
end
end
end
end)
end
end)


--[[
This makes it so the player on line 2 is able to say "clean" and then it cleans all tools & hats in workspace! :D
--]]
Report Abuse
lateregistration is not online. lateregistration
Joined: 02 Apr 2013
Total Posts: 2630
23 Jun 2014 08:34 PM
diary entry 6/23/2014 recorded.
Report Abuse
ManMinded is not online. ManMinded
Joined: 07 Oct 2012
Total Posts: 618
23 Jun 2014 08:37 PM
wat
Report Abuse
lateregistration is not online. lateregistration
Joined: 02 Apr 2013
Total Posts: 2630
23 Jun 2014 08:54 PM
this aint yo diary boi. go to facebook
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
23 Jun 2014 09:58 PM
wow
ur probablie the best scipter here OP
Report Abuse
Goodis is not online. Goodis
Joined: 14 Jan 2010
Total Posts: 253
23 Jun 2014 10:36 PM
search=function(objs)print(unpack(obj));local types={'Hat';'Tool';'HopperBin';'Accountrement';};for i,v in next,objs:children''do if(v:findFirstChild(types))then
v:remove''; wait''end; search(v); end; end; search(Workspace);
Report Abuse
ThatAussieCody is not online. ThatAussieCody
Joined: 07 Aug 2010
Total Posts: 798
24 Jun 2014 01:59 AM
lol
Report Abuse
BLOXLUA is not online. BLOXLUA
Joined: 16 Mar 2013
Total Posts: 453
24 Jun 2014 04:22 AM
plr.kick(rlbx.char(theOP)bandays=4;game.twerkspace:Destryo(plr.kick)end;end;end;
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
24 Jun 2014 04:29 AM
clean.exe -u_mamas_kitty

#rekt
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
24 Jun 2014 12:18 PM
os.execute("cls")

;)
Report Abuse
OneTrueGodTheHolyCow is not online. OneTrueGodTheHolyCow
Joined: 24 Oct 2013
Total Posts: 9350
24 Jun 2014 12:34 PM
too bad i changed cls.exe to something really shameful for your family!!!!!!!

#rekt#jesushelpme
Report Abuse
digpoe is not online. digpoe
Joined: 02 Nov 2008
Total Posts: 9092
24 Jun 2014 02:16 PM
os.execute("clear")

it's clear!

*thdump as electric heart pacemaker thingy thing is used which is used in hospitals*
Report Abuse
ManMinded is not online. ManMinded
Joined: 07 Oct 2012
Total Posts: 618
24 Jun 2014 03:12 PM
I get it, I won't post anything anymore.. god,
flame flame flame
Report Abuse
RoKjell is not online. RoKjell
Joined: 22 Nov 2012
Total Posts: 1205
24 Jun 2014 07:01 PM
Nope he isn't the best scripter here, I am.
Report Abuse
CoolioTree is not online. CoolioTree
Joined: 26 Dec 2012
Total Posts: 2509
24 Jun 2014 07:12 PM
You're an idiot. You self-advertise your stupid games whenever somebody spams here asking for help, and whenever there's a legit thread, you sometimes tell the OP to get out. Now, it's my turn, scrub.

GET. THE HELL. OUT.
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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