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: Script that will automatically respawn players

Previous Thread :: Next Thread 
goodrice12 is not online. goodrice12
Joined: 02 Apr 2014
Total Posts: 41
21 Jun 2016 11:14 PM
This may be the wrong forum and I've been posting a lot, but I'm in need of some really big help. The help would be very appreciated as I been working on a project for 7 months and I need this one final thing to complete the project.

I need a script that will automatically respawn the player once when they join the game. For example, a player joins the game and after 3 seconds will respawn. It only activates when you join the game, so you will only spawn once. I need this because a jail I have is running into some errors with this.

Any help would be appreciated, thank you.


Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
21 Jun 2016 11:16 PM
game.Players.PlayerAdded:connect(function(plr)
wait(3)
plr:LoadCharacter()
end

interested to see what the project is


r+://393244197r+://393244224r+://393244262
Report Abuse
brack4712 is not online. brack4712
Joined: 07 Mar 2009
Total Posts: 243
21 Jun 2016 11:16 PM
game.Players.PlayerAdded:connect(function(player)
print("A player has entered: " .. player.Name)
wait(3)
print("Respawning!")
player:LoadCharacter()
end)
Report Abuse
brack4712 is not online. brack4712
Joined: 07 Mar 2009
Total Posts: 243
21 Jun 2016 11:17 PM
ye um the first one may have beat me, but it doesnt work muahahahah!!! he forgot to close the function kekekekekek im that champion!11!1!11!
Report Abuse
iJacobness is not online. iJacobness
Joined: 20 Jan 2014
Total Posts: 4944
21 Jun 2016 11:19 PM
game.Players.PlayerAdded:connect(function(plr)
wait(3)
plr:LoadCharacter()
end)


r+://393244197r+://393244224r+://393244262
Report Abuse
goodrice12 is not online. goodrice12
Joined: 02 Apr 2014
Total Posts: 41
21 Jun 2016 11:44 PM
@Ijacobness It worked thanks a lot!


Report Abuse
brack4712 is not online. brack4712
Joined: 07 Mar 2009
Total Posts: 243
21 Jun 2016 11:48 PM
mine does the same thing :(((
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