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: Moving NPC's

Previous Thread :: Next Thread 
roylavrov3 is not online. roylavrov3
Joined: 23 Aug 2014
Total Posts: 16
27 Jul 2016 03:01 AM
So I created a NPC that moves from point A to B to C and again in a loop,How do I make him stop and wait 5 sec in point A for example.
ty,
Report Abuse
HLVM is not online. HLVM
Joined: 05 Jan 2015
Total Posts: 193
27 Jul 2016 03:53 AM
Use Wait()


#code while true do print('You Crashed!') end
Report Abuse
roylavrov3 is not online. roylavrov3
Joined: 23 Aug 2014
Total Posts: 16
28 Jul 2016 08:55 AM
What should I put or should not in the : ()
Report Abuse
casperm8 is not online. casperm8
Joined: 15 Sep 2008
Total Posts: 425
28 Jul 2016 08:56 AM
Wait
Wait (t) or wait (t)

See also: Thread scheduler
Yields the current thread until t seconds have elapsed. If t is not specified, then it yields for a very short period of time (usually close to 1/30th of a second). The function returns 2 values: The elapsed time and the current place time.

wiki definition
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