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 » Scripting Helpers
Home Search
 

Re: Whats wrong here?

Previous Thread :: Next Thread 
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
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 is not online. Daelus
Joined: 06 Sep 2012
Total Posts: 144
10 Oct 2012 01:53 PM
What is this I don't even?
Report Abuse
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
10 Oct 2012 01:54 PM
repeat wait(0)

you cant wait nothing..

~xXTheRobotXx,Machination
Report Abuse
Daelus is not online. 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 is not online. 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
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
10 Oct 2012 01:56 PM
@Daelus

I hope you know that wait() is the same as wait(.033)

~xXTheRobotXx,Machination
Report Abuse
bob354293 is not online. bob354293
Joined: 26 Oct 2008
Total Posts: 2609
10 Oct 2012 02:00 PM
Output?
Report Abuse
Daelus is not online. 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
Machination is not online. Machination
Joined: 04 Sep 2012
Total Posts: 327
10 Oct 2012 02:11 PM
*facepalm*

Wow I'm stupid.

~xXTheRobotXx,Machination
Report Abuse
StealthKing95 is not online. StealthKing95
Joined: 13 Dec 2008
Total Posts: 4263
14 Oct 2012 07:44 AM
Bump
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • 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