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
|
  |
| Joined: 29 Oct 2011 |
| Total Posts: 1643 |
|
|
| 21 Mar 2016 06:18 PM |
game.Players.LocalPlayer.Character:Clone().Parent = workspace
|
|
|
| Report Abuse |
|
|
RPG_Dev
|
  |
| Joined: 19 Nov 2011 |
| Total Posts: 419 |
|
| |
|
|
| 21 Mar 2016 06:24 PM |
youre doing something wrong
|
|
|
| Report Abuse |
|
|
DevSyntax
|
  |
| Joined: 29 Oct 2011 |
| Total Posts: 1643 |
|
|
| 21 Mar 2016 06:25 PM |
Yeah.. Tell us all the details
|
|
|
| Report Abuse |
|
|
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
|
  |
| Joined: 26 Jun 2014 |
| Total Posts: 4443 |
|
|
| 21 Mar 2016 06:25 PM |
| See my post on your other duplicate thread. |
|
|
| Report Abuse |
|
|
|
| 21 Mar 2016 06:33 PM |
| you have to set the characters archivable property to true first. |
|
|
| Report Abuse |
|
|
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
|
  |
| 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 |
|
|