|
| 28 Nov 2013 08:23 PM |
Game.Workspace.easy:OnClick().Game.Workspace.adventurebroemil2.Humanoid:Destroy()
i dont get it. |
|
|
| Report Abuse |
|
|
Excellus
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 3939 |
|
| |
|
|
| 28 Nov 2013 08:30 PM |
well can you correct it for me?
|
|
|
| Report Abuse |
|
|
Excellus
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 3939 |
|
|
| 28 Nov 2013 08:31 PM |
| i suggest you learn the basics before doing this stuff |
|
|
| Report Abuse |
|
|
| |
|
Perungus
|
  |
| Joined: 23 May 2013 |
| Total Posts: 144 |
|
|
| 28 Nov 2013 08:39 PM |
| No, he's pretty much dead serious. |
|
|
| Report Abuse |
|
|
Mapyo10
|
  |
| Joined: 01 Mar 2009 |
| Total Posts: 170 |
|
| |
|
bounty88
|
  |
| Joined: 23 Sep 2008 |
| Total Posts: 454 |
|
|
| 28 Nov 2013 09:13 PM |
| Wtf are you even attempting to accomplish here? It's almost like you combined the connect line with whatever you were trying to script. |
|
|
| Report Abuse |
|
|
|
| 28 Nov 2013 09:28 PM |
| I think the only troll here is you. This script is really messed up. |
|
|
| Report Abuse |
|
|
yoshiwars
|
  |
| Joined: 27 Jul 2009 |
| Total Posts: 216 |
|
|
| 28 Nov 2013 09:35 PM |
Hes starting, let him learn by his mistakes guys..
Okay so what you are trying here is a function but OnClick() is probably not what you are looking for, since I assume you are new to this I would recommend you to try with the Touched event first. it would look like this:
note: -- THIS ARE MY COMMENTS
function onTouched(part) -- onTouched is any name, part is the object that touched if part.Parent.Name == "adventurebroemil2" then -- checks if its you part.Parent.Humanoid:Destroy() -- find your humanoid and destroy it end -- function end end -- condition end
script.Parent.Touched:connect(onTouched) -- I assume the parent is killing object
Hope I helped! |
|
|
| Report Abuse |
|
|