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: Model Copy Tool

Previous Thread :: Next Thread 
Whiteanger is not online. Whiteanger
Joined: 20 Dec 2008
Total Posts: 19
10 Feb 2013 11:13 PM
I'm trying to make a game where a player with basic tools can build creations from pre-designed parts. Because I lack the skills and knowledge of Lua/scripting, I feel that creating some sort of inventory (such as the Sandbox inventory GUI) that enables you to store and access a wide variety of building materials/objects from a single interface is far beyond my reach. However, I can duplicate the effect by having the materials/objects (ex. wall part, floor tile, chair, plant) active to the player, and they can simply copy the object and place it wherever they want. The key word here is 'copy', because I can't seem to find any knowledge of an existing model copy tool. Does anyone know of such a tool, where I can find one or possibly devise a script for it?
Report Abuse
hunte922 is online. hunte922
Joined: 28 May 2008
Total Posts: 6969
11 Feb 2013 12:08 AM
Well, there's this model move hopperbin:
http://www.roblox.com/Grab-item?id=106410983
After that, make a script that copies itself whenever its parent is moved. You can use...

clone = script.Parent:Clone()
function change(value)
print(value)
if value == "Position" then
clone.Parent = workspace
end
end
script.Parent.your_reference_part_here.Changed:connect(change)
Report Abuse
buddy249950 is not online. buddy249950
Joined: 30 Jun 2016
Total Posts: 3536
11 Feb 2013 12:11 AM
I suggest not using that hopperbin since hopperbins are deprecated now.
Report Abuse
hunte922 is online. hunte922
Joined: 28 May 2008
Total Posts: 6969
11 Feb 2013 12:17 AM
@buddy

The ROBLOX wiki says otherwise.
http://wiki.roblox.com/index.php/RBX.lua.HopperBin_(Object)
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