|
| 27 Aug 2017 10:26 PM |
Works in studio, but not the real game. Also, it turns you into a character after a certain amount of time. Script:
function onPlayerAdded(player) wait(2000) player.CharacterAppearance = "(WHAT I PUTS HERE GETS TAGGED)" game.Players.LocalPlayer:LoadCharacter() end game.Players.PlayerAdded:connect(onPlayerAdded)
|
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:28 PM |
i think u might have to use that on a normal script and not a local script.
therefore, u cant use game.Players.Localplayer.
rather, u use the player arguement to directly load the character
player:LoadCharacter() |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:31 PM |
| The 'what i put here gets tagged' is this: ###### /www . roblox . co m/Asset/CharacterFetch.ashx?userId=145227626 (without spaces) |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:33 PM |
I am using a normal script, but it is in a folder. Should I remove it from the folder? |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:36 PM |
| yes, try that. also check the output for any errors that u may have |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:43 PM |
I removed them from the folder, and it's not working. But it works in studio??
I don't understand what I'm doing wrong. |
|
|
| Report Abuse |
|
|
| |
|
|
| 27 Aug 2017 10:46 PM |
| I made a local script, copied and pasted the script, and it doesn't work. |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:48 PM |
| did a little bit of research, try using player:LoadCharacterAppearance instead |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:49 PM |
So this instead?
function onPlayerAdded(player) wait(50) player.CharacterAppearance = "(tagged)" game.player:LoadCharacterAppearance() end game.Players.PlayerAdded:connect(onPlayerAdded)
|
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:54 PM |
| player.CharacterAppearance is depreciated apparently |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:55 PM |
| (I'm sorry I'm a noob scripter) |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 10:57 PM |
| So what can I do to fix this? |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 11:18 PM |
B U M P (still not working) |
|
|
| Report Abuse |
|
|
|
| 27 Aug 2017 11:28 PM |
So I put this in a lua script tester, and it told me this.
input:6: attempt to index a nil value (global 'game')
|
|
|
| Report Abuse |
|
|