|
| 12 Feb 2015 05:01 PM |
function Hit(hit) if hit then local hum = hit.Parent:FindFirstChild('Humanoid') if hum then hum:TakeDamage(Damage) Tag(hum) end end end
so d*mn Strange! never had these idiotic Problems! -_-
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
eLunate
|
  |
| Joined: 29 Jul 2014 |
| Total Posts: 13268 |
|
|
| 12 Feb 2015 05:05 PM |
Excuse me what is this connected to / fired by?
Since if it's a Touched or something then wtf |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 12 Feb 2015 05:05 PM |
if hit.Parent then
or
Tag(hum) may be the problem
|
|
|
| Report Abuse |
|
|
|
| 12 Feb 2015 05:09 PM |
bullet.Touched:connect(Hit) it clearly states that the line were I do hum = hit.Parent:FindFirstChild('Humanoid') is the cause
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
chimmihc
|
  |
| Joined: 01 Sep 2014 |
| Total Posts: 17143 |
|
|
| 12 Feb 2015 05:10 PM |
| hmmm i guessing you dont even know what Lua is |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2015 05:13 PM |
dude -_- I used the same, EXACT SAME Code before, Worked fine! am pretty experienced if u didnt know! :P
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 12 Feb 2015 05:24 PM |
| Just do this /cry: if hit and hit.Parent then |
|
|
| Report Abuse |
|
|
|
| 12 Feb 2015 05:28 PM |
i am, since this stupid error isnt bypassable -_-
"My Life is going Good... but..." |
|
|
| Report Abuse |
|
|