Zulsoras
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 963 |
|
|
| 06 Dec 2012 10:56 PM |
i need this so when ever the character spawns the content of the bodyset from the plat is copied and pasted into player
function onPlayerEntered(newCharacter) -- Zulsoras backpack = newCharacter.Bodyset:GetChildren() -- actually need this to be taken from player for y = 1, #backpack do armor = backpack[y]:clone() armor.Parent = newCharacter end end
game.Workspace.CharacterAdded:connect(onPlayerEntered) |
|
|
| Report Abuse |
|
|
scooby8
|
  |
| Joined: 09 Feb 2008 |
| Total Posts: 460 |
|
|
| 06 Dec 2012 11:03 PM |
"-- Zulsoras" Putting your name in a script you didn't make doesn't give you ownership over it. |
|
|
| Report Abuse |
|
|
sycips
|
  |
| Joined: 21 Mar 2011 |
| Total Posts: 1368 |
|
|
| 07 Dec 2012 01:47 AM |
btw that doesnt even work... workspace hasnt got an event called .CharacterAdded... here use this:
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) print(player.."'s character has been added to workspace.") --your code end) end)
~sycips~ |
|
|
| Report Abuse |
|
|
Zulsoras
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 963 |
|
|
| 07 Dec 2012 08:58 AM |
| i did make the code idiot. |
|
|
| Report Abuse |
|
|
sycips
|
  |
| Joined: 21 Mar 2011 |
| Total Posts: 1368 |
|
|
| 07 Dec 2012 09:08 AM |
| Dont spend time to that noobish talk! Did it work or not?!?!?! |
|
|
| Report Abuse |
|
|
Zulsoras
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 963 |
|
|
| 07 Dec 2012 09:13 AM |
game.Players.PlayerAdded:connect(function(player) player.CharacterAdded:connect(function(character) print(player.."'s character has been added to workspace.")
armorset = player.Bodyset:GetChildren() for y = 1, #armorset do armor = armorset[y]:clone() armor.Parent = character end end) end)
? no it did not work unfortantly |
|
|
| Report Abuse |
|
|
Zulsoras
|
  |
| Joined: 10 Sep 2008 |
| Total Posts: 963 |
|
|
| 07 Dec 2012 09:14 AM |
| i have a script that works on entered but i can not figure out how to do on respawn |
|
|
| Report Abuse |
|
|
Trioxide
|
  |
| Joined: 29 Mar 2011 |
| Total Posts: 32902 |
|
| |
|