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: How to make a script recheck itself

Previous Thread :: Next Thread 
Incurso is not online. Incurso
Joined: 13 Apr 2010
Total Posts: 11152
23 May 2015 11:20 AM
I dont really know to explain it, but basically I want a script to contstantly check for something in you inventory.
I have the first part but it only checks once how do I make it check everytime
Report Abuse
powerhotmail123 is not online. powerhotmail123
Joined: 11 Apr 2011
Total Posts: 5041
23 May 2015 11:20 AM
.Changed event.

Don't use a while true do loop though.

Enjoying your stay at the Scripters Forum? Join this! http://www.roblox.com/My/Groups.aspx?gid=2582784
Report Abuse
Incurso is not online. Incurso
Joined: 13 Apr 2010
Total Posts: 11152
23 May 2015 11:22 AM

local xAmmo, yAmmo = searchItem("itemDEATH");
local xSpace, ySpace = searchItem("");

if xAmmo ~= -1 and xSpace ~= -1 then
delay(0, function()
spawnZombies();
end)
end


how would you do it with this script
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