|
| 10 Oct 2012 01:41 PM |
repeat wait(0) until game.Players.LocalPlayer
var = nil
backpack = game.Players.LocalPlayer.Backpack old_tools = {"ClassicTool","Clone Tool","ConfigTool","DeleteTool","PartSelection","RecentParts","RotateTool","WiringTool"} list = backpack:children() for i = 1, #list do for e = 1, #old_tools do if old_tools[e] == list[i].Name then list[i]:Destroy() end end end local model = game:GetService("InsertService"):LoadAsset(94734677) if(model:IsA("Model")) then local tab = game:GetService("InsertService"):Insert(model) var = tab end tabs = var.Tools:children() for i = 1, #tabs do tabs[i].Parent = backpack end |
|
|
| Report Abuse |
|
|
Daelus
|
  |
| Joined: 06 Sep 2012 |
| Total Posts: 144 |
|
|
| 10 Oct 2012 01:53 PM |
| What is this I don't even? |
|
|
| Report Abuse |
|
|
|
| 10 Oct 2012 01:54 PM |
repeat wait(0)
you cant wait nothing..
~xXTheRobotXx,Machination |
|
|
| Report Abuse |
|
|
Daelus
|
  |
| Joined: 06 Sep 2012 |
| Total Posts: 144 |
|
|
| 10 Oct 2012 01:55 PM |
LocalScripts only work if a decendant of the player. So, the local player WILL be present. |
|
|
| Report Abuse |
|
|
Daelus
|
  |
| Joined: 06 Sep 2012 |
| Total Posts: 144 |
|
|
| 10 Oct 2012 01:55 PM |
> repeat wait(0)
That is far from the problem.
wait(0)
would be the same as
wait() |
|
|
| Report Abuse |
|
|
|
| 10 Oct 2012 01:56 PM |
@Daelus
I hope you know that wait() is the same as wait(.033)
~xXTheRobotXx,Machination |
|
|
| Report Abuse |
|
|
bob354293
|
  |
| Joined: 26 Oct 2008 |
| Total Posts: 2609 |
|
| |
|
Daelus
|
  |
| Joined: 06 Sep 2012 |
| Total Posts: 144 |
|
|
| 10 Oct 2012 02:06 PM |
> I hope you know that wait() is the same as wait(.033)
Yes, I saw that, and I remembered it. All values under that become wait(), or wait(.033), including wait(0). My statement is still correct. |
|
|
| Report Abuse |
|
|
|
| 10 Oct 2012 02:11 PM |
*facepalm*
Wow I'm stupid.
~xXTheRobotXx,Machination |
|
|
| Report Abuse |
|
|
| |
|