|
| 20 Aug 2015 09:47 AM |
| So as you can see from above, I need help. I am learning scripting off the roblox wiki right now and I am making a code to kill someone. It says inside the explorer there is the "Humanoid" which should be inside "Player" inside "Workspace," but when I look at workspace there is no player or humanoid or anything. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2015 09:56 AM |
| In studio, press play and you will see your character spawn. While you are there, look in the explorer and you will see under workspace that there is a model called player1 and when you expand that, you will find HUmanoid and other things. When a player joins a game, they are not only under the players section of the explorer but also as a temporary model in the game for as long as they are well in game. In your script I assume you reference game.Workspace.player1.Humanoid or something along those lines, and as I said above, it is referencing that temporary player model for when someone is ingame. You dont see it in studio unless you are press play because there is noone playing your studio game as you edit it. |
|
|
| Report Abuse |
|
|
| |
|
|
| 20 Aug 2015 10:06 AM |
| Ok So One Last Question, in the wiki article Absolute Begginers Guide To Scripting it teaches the code to us to remove a head game.Workspace.puppdogj10.Head:Destroy() but it doesn't say where to put the code. |
|
|
| Report Abuse |
|
|
|
| 20 Aug 2015 10:10 AM |
| Personally i haven't read over the roblox scripting wiki much at all, I stick to building. You should look up more information on the explorer in general as well as how to structure scripts and such. All codes should be in a script, which you can easily open in studio but for different uses, its not as easy as just putting it under workspace. From your point, just double click on script in the object window in studio and it should open it automatically and place the script in the explorer under workspace. |
|
|
| Report Abuse |
|
|