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 do you insert a script into a player when they spawn?

Previous Thread :: Next Thread 
litalela is not online. litalela
Joined: 30 Mar 2010
Total Posts: 6267
03 Jul 2015 02:42 PM
How do I make it so that a script is inserted when a person spawns

ᴍʏ ɴɪɢᴀ ғʀᴏᴍ ᴀɴᴏᴛʜᴇʀ ᴡɪɢᴀ
Report Abuse
litalela is not online. litalela
Joined: 30 Mar 2010
Total Posts: 6267
03 Jul 2015 02:49 PM
Please

ᴍʏ ɴɪɢᴀ ғʀᴏᴍ ᴀɴᴏᴛʜᴇʀ ᴡɪɢᴀ
Report Abuse
ehern11 is not online. ehern11
Joined: 23 Apr 2011
Total Posts: 1541
03 Jul 2015 02:50 PM
PlayerAdded event?
Report Abuse
cubs4ever7 is not online. cubs4ever7
Joined: 21 Dec 2009
Total Posts: 784
03 Jul 2015 03:19 PM
--have the script already in Lighting or anywhere you want


function onPlayerAdded()
script=game.Lighting.Script:clone()
script.Parent=workspace
script.Disabled=false
end

game.Players.PlayerAdded:connect(onPlayerAdded)


--hope it works
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