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
 

what does this do

Previous Thread :: Next Thread 
AirLive1 is not online. AirLive1
Joined: 19 Jul 2013
Total Posts: 2327
23 Jul 2017 11:53 AM
game.Players.PlayerAdded:connect(function(plr)



Report Abuse
ByteDev is not online. ByteDev
Joined: 02 Jun 2017
Total Posts: 357
23 Jul 2017 11:54 AM
when player is added, "plr" is the player that is added
for example, you can wait for the players character














then kill it
Report Abuse
VoidFrost is not online. VoidFrost
Joined: 14 Oct 2011
Total Posts: 1188
23 Jul 2017 11:54 AM
it connects the PlayerAdded event, so that every time a player enters the game, the function inside that event will fire. "plr" variable (or parameter or whatever that term is) represents the player that joined. you need to close the event with end) though
Report Abuse
LaeMVP is online. LaeMVP
Joined: 24 Jun 2013
Total Posts: 4416
23 Jul 2017 11:58 AM
a signal that when fired Connencts to a function you create and passes on the player argument
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