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: Clone a Character

Previous Thread :: Next Thread 
turdgrader is not online. turdgrader
Joined: 28 Mar 2011
Total Posts: 232
24 Mar 2014 03:11 AM
I'm hAVIng prOblEms wIth clOnIng a chArActEr

dbox = script.Parent.Frame.dialog
pl = game.Players.LocalPlayer
print('loaded')
local strav = pl.Character:clone()
strav.Parent = Workspace
strav.name = (pl.Name.."clone")

OUtpUt:  attempt to index local 'strav' (a nil value)
Report Abuse
wazap is not online. wazap
Joined: 29 Jun 2007
Total Posts: 23234
24 Mar 2014 03:17 AM
pl.Character.Archivable = true
local strav = pl.Character:clone()
pl.Character.Archivable = false

ArchivableはそのものをCloneすることができるかを判断する性質なんだよね。プレーヤーのキャラクター以外のほとんどのものは普通この性質がTrueだけど、プレーヤーのキャラクターだけこれがFalseなの。
Report Abuse
turdgrader is not online. turdgrader
Joined: 28 Mar 2011
Total Posts: 232
24 Mar 2014 03:20 AM
sankyu
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