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: Help with loadasset?

Previous Thread :: Next Thread 
untamedangel44 is not online. untamedangel44
Joined: 06 May 2012
Total Posts: 1900
14 Mar 2013 10:22 PM
sword = game:service("InsertService"):LoadAsset(tonumber(70887286))
sword.Parent = game.Players.untamedangel44.Backpack
sword:MakeJoints()
end
Report Abuse
KnightmareXD is not online. KnightmareXD
Joined: 14 Jul 2009
Total Posts: 11189
14 Mar 2013 10:24 PM
Assuming this is the whole script, the end isn't needed.

¤ ¤ † K M <( •д• )> X D † ¤ ¤
Report Abuse
untamedangel44 is not online. untamedangel44
Joined: 06 May 2012
Total Posts: 1900
14 Mar 2013 10:25 PM
I've tried it without the end too, made no difference.
Report Abuse
untamedangel44 is not online. untamedangel44
Joined: 06 May 2012
Total Posts: 1900
14 Mar 2013 10:27 PM
bump
Report Abuse
1cooldude361 is not online. 1cooldude361
Joined: 13 Mar 2010
Total Posts: 4403
14 Mar 2013 10:42 PM
sword = game:service("InsertService"):LoadAsset(tonumber(70887286))
sword.Parent = game.Players.untamedangel44.Backpack
sword:MakeJoints()
end

sword = game:service("InsertService"):LoadAsset(70887286).Parent = game.Players.untamedangel44.Backpack
sword:MakeJoints()
Report Abuse
1cooldude361 is not online. 1cooldude361
Joined: 13 Mar 2010
Total Posts: 4403
14 Mar 2013 10:42 PM
Oops, I was using your script as a reference and forgot to remove it. Sorry about that. Avoiding flood check...................................
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
14 Mar 2013 11:50 PM
When you use LoadAsset it inserts a new Model, then the asset it put inside that model. Since models are not a Tool, or HopperBin, they are not displayed when put inside the Backpack. Try this,
sword = game:service("InsertService"):LoadAsset(70887286)
sword:GetChildren()[1].Parent = game.Players.untamedangel44.Backpack -- Move the model's first child (the tool) into the backpack
sword:Destroy() -- Get rid of the model
Report Abuse
pwnedu46 is not online. pwnedu46
Joined: 23 May 2009
Total Posts: 7534
15 Mar 2013 12:31 AM
IIRC, They changed LoadAsset so that you can only insert stuff that either you or Roblox created a while ago, even if it is available for free.
Report Abuse
untamedangel44 is not online. untamedangel44
Joined: 06 May 2012
Total Posts: 1900
15 Mar 2013 11:30 AM
Thanks!
Report Abuse
1Topcop is not online. 1Topcop
Joined: 09 Jun 2009
Total Posts: 6635
15 Mar 2013 01:58 PM
@Pwnd you don't need to have created it, as long as it is in your possession.
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