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: Slight problem

Previous Thread :: Next Thread 
noobkiller878 is not online. noobkiller878
Joined: 22 Dec 2008
Total Posts: 1465
12 Nov 2011 10:15 AM
I know I am posting here quite often... But Hey, Cant do it without ya!

I've got my model unanchored, and since its CFramed, everytime I clone it, the parts will fall off. Yes, it is welded on mostly every side. The problem is, is there any way I can anchor the model then unanchor it wince it is cloned? I've tried to anchor the model itself but that seems to not work, and im not very fond of this stuff anyways? The script is below, please make changes as you please.

--------------------------------------------------------

newtank = game.Workspace.T25AT:Clone()
game.Workspace.T25AT:Remove()

function Cloning()
newtank.Parent = game.Workspace
newtank.Name = Player.Name.." Tank"
wait(0.5)
game.Lighting.TankDestroyer:Clone().Parent = Player.Backpack
wait(1)
game.Workspace.CurrentCamera.CameraSubject=game.Workspace[Player.Name.." Tank"].View
game.Workspace.CurrentCamera.CameraType="Follow"
end
script.Parent.MouseButton1Click:connect(Cloning)
Report Abuse
blockoo is not online. blockoo
Joined: 08 Nov 2007
Total Posts: 17202
12 Nov 2011 10:17 AM
Use MakeJoints() on the cloned model.
Report Abuse
noobkiller878 is not online. noobkiller878
Joined: 22 Dec 2008
Total Posts: 1465
12 Nov 2011 10:22 AM
Uhh... how is that?
Report Abuse
MrChubbs is not online. MrChubbs
Joined: 14 Oct 2010
Total Posts: 4969
12 Nov 2011 10:23 AM
You may want to have it in say lighting then anchored it all, then clone it to workspace and have your weld script run and as it welds it un-anchors it.
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