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: Help

Previous Thread :: Next Thread 
TilloFernandez is not online. TilloFernandez
Joined: 21 Mar 2015
Total Posts: 273
05 Aug 2016 12:55 AM
game.Workspace.ChildAdded:connect(function(r)

if(r.ClassName ~= "Model") then

c:Destroy();

end

end)

Won't work, why? No errors in console.
Report Abuse
Kodran is not online. Kodran
Joined: 15 Aug 2013
Total Posts: 5330
05 Aug 2016 01:03 AM
Well first of all what is c?
Report Abuse
Weirdraidercs35 is not online. Weirdraidercs35
Joined: 14 May 2015
Total Posts: 2275
05 Aug 2016 01:23 AM
is c supposed to be r ?


im a mlg
Report Abuse
TilloFernandez is not online. TilloFernandez
Joined: 21 Mar 2015
Total Posts: 273
05 Aug 2016 01:48 AM
c is suppose to be R, sorry
Report Abuse
ComedicGesture is not online. ComedicGesture
Joined: 20 May 2011
Total Posts: 912
05 Aug 2016 02:17 AM
just a tip to make your life easier, when you make variables dont give them single letter names so they're either to identify. all my variables used to be x, or h, or some other commonly used letter in the alphabet but then when i tried to make a script with mroe than just 2 variables i realized it started to getconfusing and i made more msitakes.


im not a jerk but homie u 5
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