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: Wtf

Previous Thread :: Next Thread 
RPG_Dev is not online. RPG_Dev
Joined: 19 Nov 2011
Total Posts: 419
21 Mar 2016 06:00 PM
game.Players.Player.Character:Clone().Parent = game.Workspace

I was in test mode in studio, pasted this into the cmd bar, and got this error:
19:00:05.457 - game.Players.Player.Character:Clone().Parent = game.Workspace:1: attempt to index a nil value
19:00:05.458 - Stack Begin
19:00:05.459 - Script 'game.Players.Player.Character:Clone().Parent = game.Workspace', Line 1
19:00:05.459 - Stack End


Report Abuse
DevSyntax is not online. DevSyntax
Joined: 29 Oct 2011
Total Posts: 1643
21 Mar 2016 06:18 PM
game.Players.LocalPlayer.Character:Clone().Parent = workspace
Report Abuse
RPG_Dev is not online. RPG_Dev
Joined: 19 Nov 2011
Total Posts: 419
21 Mar 2016 06:23 PM
same result


Report Abuse
tardysauce is not online. tardysauce
Joined: 05 May 2012
Total Posts: 8444
21 Mar 2016 06:24 PM
youre doing something wrong


Report Abuse
DevSyntax is not online. DevSyntax
Joined: 29 Oct 2011
Total Posts: 1643
21 Mar 2016 06:25 PM
Yeah..
Tell us all the details
Report Abuse
RPG_Dev is not online. RPG_Dev
Joined: 19 Nov 2011
Total Posts: 419
21 Mar 2016 06:25 PM
Then can you explain to me what?


Report Abuse
Casualist is not online. Casualist
Joined: 26 Jun 2014
Total Posts: 4443
21 Mar 2016 06:25 PM
See my post on your other duplicate thread.
Report Abuse
masterblokz is not online. masterblokz
Joined: 17 Nov 2010
Total Posts: 9517
21 Mar 2016 06:33 PM
you have to set the characters archivable property to true first.
Report Abuse
RPG_Dev is not online. RPG_Dev
Joined: 19 Nov 2011
Total Posts: 419
21 Mar 2016 06:34 PM
Yeah i forgot about that lol.

I never use archivable so I honestly forget it existed


Report Abuse
RPG_Dev is not online. RPG_Dev
Joined: 19 Nov 2011
Total Posts: 419
21 Mar 2016 07:20 PM
okay so now my problem is when I change the players character, they auto respawn because it thinks the player has died. I remember there being an easy fix for this, I just cant remember what it was.


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