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: i need help with my turret

Previous Thread :: Next Thread 
23134 is not online. 23134
Joined: 20 Dec 2011
Total Posts: 35
15 Apr 2014 11:35 PM
I have this laser turret script and instead of using findNearestTorso it makes a brick called radios and when a zombie touches it, it shoots it

the problem is that if 2 zombies hit it at the same time it makes 2 lasers at the same time and attacks both

if I used while true do would it work?


and if it would how would I do that
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
15 Apr 2014 11:37 PM
ok 1st of all
findNearestTorso isnt a ROBLOX method, its a free model function
2nd of all while true do wouldnt solve anything
3rd of all use debounce.
Report Abuse
23134 is not online. 23134
Joined: 20 Dec 2011
Total Posts: 35
15 Apr 2014 11:40 PM
I have used debounce before it didn't work
Report Abuse
23134 is not online. 23134
Joined: 20 Dec 2011
Total Posts: 35
15 Apr 2014 11:41 PM
how is findNearestTorso not a roblox method if they use it?
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
15 Apr 2014 11:41 PM
Because its not. Its a player-defined function that is somewhere in the script.
Report Abuse
23134 is not online. 23134
Joined: 20 Dec 2011
Total Posts: 35
15 Apr 2014 11:43 PM
ok off the torso think I want to know how to make it shoot only one zombie at a time
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