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 » Scripting Helpers
Home Search
 

Re: OnEnter help!

Previous Thread :: Next Thread 
WickedErasor is not online. WickedErasor
Joined: 24 Dec 2009
Total Posts: 1375
19 Jul 2011 01:14 PM
Please help!
game.Players.PlayerAdded:connect(function(p)
h = game.Lighting.PlaneTool:Clone()
h.Parent = p.Backpack
end)
Report Abuse
haloisabeast is not online. haloisabeast
Joined: 28 Jun 2009
Total Posts: 366
19 Jul 2011 01:15 PM
try using ChildAdded instead of PlayerAdded?
Report Abuse
WickedErasor is not online. WickedErasor
Joined: 24 Dec 2009
Total Posts: 1375
19 Jul 2011 01:17 PM
Not doing anything ._.
Report Abuse
WickedErasor is not online. WickedErasor
Joined: 24 Dec 2009
Total Posts: 1375
19 Jul 2011 01:28 PM
Bump.
Report Abuse
WickedErasor is not online. WickedErasor
Joined: 24 Dec 2009
Total Posts: 1375
19 Jul 2011 01:44 PM
Anyone?
Report Abuse
Rames7 is not online. Rames7
Joined: 19 Nov 2009
Total Posts: 547
19 Jul 2011 01:45 PM
hmm.... Should I, or should I not?
Report Abuse
CrniOrao is not online. CrniOrao
Joined: 12 Oct 2008
Total Posts: 2274
19 Jul 2011 01:48 PM
game.Players.PlayerAdded:connect(function(p)
wait(2)
h = game.Lighting.PlaneTool
b = h:clone()
b.Parent = p.Backpack
end)
Report Abuse
Rames7 is not online. Rames7
Joined: 19 Nov 2009
Total Posts: 547
19 Jul 2011 01:48 PM
local function Entered(newPlayer)
h = game.Lighting.PlaneTool
h:clone(cloned)
cloned.Parent = newPlayer.Backpack
end)
game.Players.ChildAdded:connect(Entered)

try dat

~R7~
Report Abuse
CrniOrao is not online. CrniOrao
Joined: 12 Oct 2008
Total Posts: 2274
19 Jul 2011 01:50 PM
@Rames
I fixed it up for ya :P

local function Entered(newPlayer)
h = game.Lighting.PlaneTool
b = h:Clone()
b.Parent = newPlayer.Backpack
end
game.Players.ChildAdded:connect(Entered)
Report Abuse
Rames7 is not online. Rames7
Joined: 19 Nov 2009
Total Posts: 547
19 Jul 2011 01:53 PM
A simple mistake geez
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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