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: FE Player

Previous Thread :: Next Thread 
leomesa is not online. leomesa
Joined: 11 Apr 2014
Total Posts: 1029
15 Jul 2016 12:28 AM
How can i go by getting a players back in a server script in serverscript service while having FE enabled?

Report Abuse
Andyliu5000 is not online. Andyliu5000
Joined: 02 Nov 2013
Total Posts: 969
15 Jul 2016 12:29 AM
Game.Players:GetChildren()
Report Abuse
leomesa is not online. leomesa
Joined: 11 Apr 2014
Total Posts: 1029
15 Jul 2016 12:30 AM
sure but what If I wanted to get a player individually and clone something into "that" player.
Report Abuse
Andyliu5000 is not online. Andyliu5000
Joined: 02 Nov 2013
Total Posts: 969
15 Jul 2016 12:32 AM
local Clone = Weapon:Clone()
Clone.Parent = game.Players[Player Name].Backpack
Report Abuse
leomesa is not online. leomesa
Joined: 11 Apr 2014
Total Posts: 1029
15 Jul 2016 12:33 AM
Would I have to put a name in there? Or will it just run locally for every player?
Report Abuse
leomesa is not online. leomesa
Joined: 11 Apr 2014
Total Posts: 1029
15 Jul 2016 12:34 AM
Lets just say the weapon was inside the player.
Report Abuse
Andyliu5000 is not online. Andyliu5000
Joined: 02 Nov 2013
Total Posts: 969
15 Jul 2016 12:35 AM
Put a name but if you want it to happen to every player then just:

Local Players = game.Players:GetChildren()

For _, Player in pairs(Players) do
Weapons:Clone().Parent = Player.Backpack
End
Report Abuse
leomesa is not online. leomesa
Joined: 11 Apr 2014
Total Posts: 1029
15 Jul 2016 12:37 AM
Alright Thanks! But lets say I had a folder in every player called PlayerStuff and inside that their was a weapon they equipped will that method help me clone that weapon from inside their player to their backpack?
Report Abuse
Andyliu5000 is not online. Andyliu5000
Joined: 02 Nov 2013
Total Posts: 969
15 Jul 2016 12:38 AM
Ye.
Report Abuse
leomesa is not online. leomesa
Joined: 11 Apr 2014
Total Posts: 1029
15 Jul 2016 12:38 AM
Alright Thanks!
Report Abuse
leomesa is not online. leomesa
Joined: 11 Apr 2014
Total Posts: 1029
15 Jul 2016 12:42 AM
Wait it doesn't work on the server

This is the script:

local Weapon = p[i]:WaitForChild('PlayerStuff').EquippedContent:WaitForChild('EquipedWep')
local Players = game.Players:GetChildren()
for _, Player in pairs(Players) do
Weapon.Value:Clone().Parent = Player.Backpack
end

Report Abuse
leomesa is not online. leomesa
Joined: 11 Apr 2014
Total Posts: 1029
15 Jul 2016 12:46 AM
bump
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