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 » Scripters
Home Search
 

Re: Cloning a character

Previous Thread :: Next Thread 
derfvb123 is not online. derfvb123
Joined: 23 Oct 2011
Total Posts: 704
15 May 2016 07:13 PM
ww = script.Parent.Parent.Name
wait(5)

ww.workspace:clone()

ww.Parent = game.Workspace



Shouldn't this clone the players character? (Its a local script)
It's not whats the problem?


--[[New to trading]]--
Report Abuse
Proxidious is not online. Proxidious
Joined: 18 Jul 2011
Total Posts: 1339
15 May 2016 07:15 PM
ww = script.Parent.Parent.Name
wait(5)

workspace[ww]:clone()

ww.Parent = game.Workspace
Report Abuse
derfvb123 is not online. derfvb123
Joined: 23 Oct 2011
Total Posts: 704
15 May 2016 07:17 PM
Its not working ;-;


--[[New to trading]]--
Report Abuse
Proxidious is not online. Proxidious
Joined: 18 Jul 2011
Total Posts: 1339
15 May 2016 07:19 PM
Sigh, fine, I'll completely fix your code for you.

ww = script.Parent.Parent

local wwClone = Workspace.ww:Clone()
wwClone.Parent = game.Workspace --This line is redundant but eh.
Report Abuse
AbstractMadness is not online. AbstractMadness
Joined: 22 Dec 2014
Total Posts: 20425
15 May 2016 07:22 PM
local plr = game.Players.LocalPlayer
local chr = plr.Character or plr.CharacterAppearanceLoaded:wait()

chr.Archivable = true

local MeClone = chr:Clone()


#code R+ | local RAP = "R$538,429"; local robux = "R$21,012"
Report Abuse
heirIoom is not online. heirIoom
Joined: 15 Jul 2012
Total Posts: 3775
15 May 2016 07:31 PM
@Prox
Workspace is deprecated, use workspace instead.

Although it doesnt matter that much except for the annoying blue line.


Report Abuse
Proxidious is not online. Proxidious
Joined: 18 Jul 2011
Total Posts: 1339
15 May 2016 08:15 PM
Workspace is deprecated? My life is a lie.
Report Abuse
cgjnm is not online. cgjnm
Joined: 22 Dec 2011
Total Posts: 2347
15 May 2016 08:19 PM
Workspace is deprecated.

workspace or game.Workspace replaces this
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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