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: How do I get tools to work?

Previous Thread :: Next Thread 
RobloxianBuilder369 is not online. RobloxianBuilder369
Joined: 06 Aug 2013
Total Posts: 232
24 Mar 2014 10:35 PM
So, I have a few tools that need to be grouped for them to work right. But every time I put them in start kit they never appear in the inventory. How do I fix this problem? Does it need a script is workspace?
Report Abuse
RobloxianBuilder369 is not online. RobloxianBuilder369
Joined: 06 Aug 2013
Total Posts: 232
24 Mar 2014 10:44 PM
If I created a script for it to run would it be something like this?

wait(10)
give.player.Lighting.WeaponData()
Report Abuse
RobloxianBuilder369 is not online. RobloxianBuilder369
Joined: 06 Aug 2013
Total Posts: 232
24 Mar 2014 10:45 PM
The name of the group all the weapons are in is called WeaponData
Report Abuse
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
24 Mar 2014 10:58 PM
:clone the weapon into their starterpack.
Report Abuse
RobloxianBuilder369 is not online. RobloxianBuilder369
Joined: 06 Aug 2013
Total Posts: 232
24 Mar 2014 11:35 PM
I already tried that. It didn't work as it's model in it and I need the other part for it to work right.
Report Abuse
RobloxianBuilder369 is not online. RobloxianBuilder369
Joined: 06 Aug 2013
Total Posts: 232
25 Mar 2014 05:37 PM
Come one help me please
Report Abuse
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
25 Mar 2014 06:24 PM
Could you show me the script you're using to put them in the starterpack?
Report Abuse
LordReliant is not online. LordReliant
Joined: 15 Jun 2011
Total Posts: 439
25 Mar 2014 06:27 PM
You'll have to get the children of the model and use a for loop to copy each of the tools in the model into the backpack. I could help you, but I don't know exactly what you need. You should post your current script and the file structure.

-LordReliant
Report Abuse
DeSpizer27 is not online. DeSpizer27
Joined: 13 Jul 2012
Total Posts: 2679
25 Mar 2014 06:32 PM
^ That's what I think is the problem, because if you clone a model into their starterpack, it wouldn't do anything.

use the findFirstChild method and :clone it if IsA "Tool" etc.
Report Abuse
usfirepilot is not online. usfirepilot
Joined: 17 Jan 2013
Total Posts: 684
25 Mar 2014 10:41 PM
local Weapon = game.Workspace.TheWeapon

game.Players.PlayerAdded:connect(function(player)
wait(10)
give.player.Lighting.Weapon()
end)
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