|
| 29 May 2013 11:37 AM |
function onTouch(part) game.Workspace.Player1.Head:Remove() end
script.Parent.Touched:connect(onTouch)
I'm a beginner at scripting.
|
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 29 May 2013 11:40 AM |
| What did it say in the output? |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 11:41 AM |
I kept checking to see, but it didn't say anything... :/ One sec, I'll try again. |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 11:41 AM |
| That should work perfectly. |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 11:43 AM |
Oh wait it does say something.
It says: Head is not a valid member of model. |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 11:44 AM |
| Is the script inside a Part? |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 11:46 AM |
| Are you testing it in studio mode, or online mode? In online, the player isn't called player1. |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 11:52 AM |
| It was in a part but now it's under Workspace and I'm in studio mode. |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 11:53 AM |
| Ok, if it's in workspace, it should work. |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 11:54 AM |
| Nope, it doesn't. Now it's saying: Touched is an invalid member of workspace. |
|
|
| Report Abuse |
|
|
Looah
|
  |
| Joined: 22 Feb 2013 |
| Total Posts: 922 |
|
|
| 29 May 2013 11:55 AM |
PUT THE SCRIPT IN A PART GEEZ. btw, try going efficient.
0A+0B=15 |
|
|
| Report Abuse |
|
|
|
| 29 May 2013 12:08 PM |
| I did. It still doesn't work. xD |
|
|
| Report Abuse |
|
|