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: would i need a coroutine for an event?

Previous Thread :: Next Thread 
K7Q is not online. K7Q
Joined: 23 Mar 2013
Total Posts: 5546
10 Nov 2017 05:02 PM
heres a sample script


game.Players.PlayerAdded:connect(function(player)
print(player.Name)
end


while true do
wait(30)
print("Hello")
end


will the above script print the players name simultaneously or will it wait until the while true do loop is done
Report Abuse
nixpc is not online. nixpc
Joined: 05 Feb 2012
Total Posts: 15425
10 Nov 2017 05:04 PM
No need for a coroutine
Report Abuse
auien is not online. auien
Joined: 18 Mar 2007
Total Posts: 11
10 Nov 2017 05:05 PM
Thanks ^^
Report Abuse
nixpc is not online. nixpc
Joined: 05 Feb 2012
Total Posts: 15425
10 Nov 2017 05:06 PM
Ugh a PGer
Report Abuse
auien is not online. auien
Joined: 18 Mar 2007
Total Posts: 11
10 Nov 2017 05:09 PM
rude much? ^
Report Abuse
nixpc is not online. nixpc
Joined: 05 Feb 2012
Total Posts: 15425
10 Nov 2017 05:20 PM
I don't like PGers ^
Report Abuse
K7Q is not online. K7Q
Joined: 23 Mar 2013
Total Posts: 5546
10 Nov 2017 08:18 PM
^rude af
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