|
| 12 Jan 2014 05:03 PM |
I keep getting humanoid is not a valid member of backpack errors
local owner=script.Parent.Parent
if handle then local lasso=handle:FindFirstChild("Lasso") if lasso then lasso.Visible=connected end local effect=handle:FindFirstChild("Fire") if effect then effect.Enabled=connected owner:FindFirstChild("Humanoid") if charg.Value == 100 and owner.Humanoid ~= nil then spark.Enabled=true force.Parent=owner force.Parent=th.Parent wait(8) charg.Value = 0 owner.force:Destroy() th.Parent.Force:Destroy() spark.Enabled=false end
end end end
Guns don't kill people, people kill GUNS |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2014 05:13 PM |
| That means you're searching for humanoid in backpack... |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2014 05:16 PM |
What am I saying...
Make sure the hierarchy is correct though |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2014 05:21 PM |
I did and it still doesn't work
Guns don't kill people, people kill GUNS |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2014 05:21 PM |
Also, nothing from the output this time.
Guns don't kill people, people kill GUNS |
|
|
| Report Abuse |
|
|
cxcharlie
|
  |
| Joined: 26 Aug 2009 |
| Total Posts: 1414 |
|
|
| 12 Jan 2014 05:24 PM |
wut "Guns don't kill people, people kill GUNS" wut
wut |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2014 05:24 PM |
"wut "Guns don't kill people, people kill GUNS" wut
wut"
I would appreciate if you helped me with my problem instead of questioning a signature.
Guns don't kill people, people kill GUNS |
|
|
| Report Abuse |
|
|
cxcharlie
|
  |
| Joined: 26 Aug 2009 |
| Total Posts: 1414 |
|
|
| 12 Jan 2014 05:27 PM |
post full script somewhere like pastebin idk wut the variables are...
and why the hll u looking for player in backpack? df? |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2014 05:32 PM |
"post full script somewhere like pastebin idk wut the variables are...
and why the hll u looking for player in backpack? df?"
Pastebin is one of those non .com websites but I'd rather not risk a ban for offsite links
I'm looking for the humanoid to insert a forcefield. I made it check for the humanoid on equip but still doesn't work
Guns don't kill people, people kill GUNS |
|
|
| Report Abuse |
|
|
cxcharlie
|
  |
| Joined: 26 Aug 2009 |
| Total Posts: 1414 |
|
|
| 12 Jan 2014 05:40 PM |
this is wut i do pastebin/021390193201--remove everything like that |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2014 05:42 PM |
Oh here is the error...
Since this is in the backpack of the player, you are actually accessing the player in Players instead of the players character. |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2014 05:42 PM |
"this is wut i do pastebin/021390193201--remove everything like that"
Oh
pastebin/pQqJfHut
Guns don't kill people, people kill GUNS |
|
|
| Report Abuse |
|
|
cxcharlie
|
  |
| Joined: 26 Aug 2009 |
| Total Posts: 1414 |
|
|
| 12 Jan 2014 05:49 PM |
I didn't find owner anywhere in the script please indicate the lines of error(s) |
|
|
| Report Abuse |
|
|
|
| 12 Jan 2014 07:27 PM |
@cx
The first line lol
@OP
I told you the error |
|
|
| Report Abuse |
|
|