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: Why doesn't think work in a local script?

Previous Thread :: Next Thread 
thomas757 is not online. thomas757
Joined: 11 Jul 2012
Total Posts: 247
13 May 2017 12:36 PM
ReplicatedStorage = game:GetService("ReplicatedStorage")

function PlayerAdd(player)
for i,v in pairs(ReplicatedStorage:GetChildren()) do
local Arrow2 = v:Clone()
Arrow2.Parent = game.Workspace
end
end


game.Players.PlayerAdded:connect(PlayerAdd)
Report Abuse
thomas757 is not online. thomas757
Joined: 11 Jul 2012
Total Posts: 247
13 May 2017 12:37 PM
this*
Report Abuse
ninjaguy77777 is not online. ninjaguy77777
Joined: 15 Oct 2011
Total Posts: 2382
13 May 2017 12:37 PM
put it in a regular script


r+://291222021
Report Abuse
Unhumanly is not online. Unhumanly
Joined: 09 Jun 2016
Total Posts: 114
13 May 2017 12:39 PM
I think it's because LocalScripts can't see this happening, or I'm dumb.
Either one, don't believe me immediately.


Report Abuse
Mister_Manakin is not online. Mister_Manakin
Joined: 16 Sep 2009
Total Posts: 1935
13 May 2017 12:42 PM
I don't see any reason to use PlayerAdded in a client-sided script.
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