Lickable
|
  |
| Joined: 21 Dec 2008 |
| Total Posts: 469 |
|
|
| 16 Feb 2014 03:12 PM |
I'm kind of new to this whole scripting thing, so can someone help me please. How would I go about removing all gear from every player whilst they teleport to the desired location.
So far I only have the teleport part working...
target = Vector3.new(-43.994, 58.853, -195.564) for i, v in pairs(game.Players:GetChildren()) do v.Character.Torso.CFrame = CFrame.new(target + Vector3.new(0, i * 1, 0)) end
Any help would be appreciated thanks! :) |
|
|
| Report Abuse |
|
Lickable
|
  |
| Joined: 21 Dec 2008 |
| Total Posts: 469 |
|
| |
|
| 16 Feb 2014 03:18 PM |
removing all gear .. Probably won't work but removing everything inside the backpack would work
v.Backpack:ClearAllChildren() |
|
|
| Report Abuse |
|
Lickable
|
  |
| Joined: 21 Dec 2008 |
| Total Posts: 469 |
|
|
| 16 Feb 2014 03:33 PM |
| Thanks it worked but it never cleared the one that I was actually holding |
|
|
| Report Abuse |
|