generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

Re: Cannot get this to work

Previous Thread :: Next Thread 
theMetasponge64 is not online. theMetasponge64
Joined: 12 Feb 2010
Total Posts: 18284
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
Preponderance is not online. Preponderance
Joined: 30 Sep 2009
Total Posts: 21293
12 Jan 2014 05:13 PM
That means you're searching for humanoid in backpack...
Report Abuse
Preponderance is not online. Preponderance
Joined: 30 Sep 2009
Total Posts: 21293
12 Jan 2014 05:16 PM
What am I saying...

Make sure the hierarchy is correct though
Report Abuse
theMetasponge64 is not online. theMetasponge64
Joined: 12 Feb 2010
Total Posts: 18284
12 Jan 2014 05:21 PM
I did and it still doesn't work




Guns don't kill people, people kill GUNS
Report Abuse
theMetasponge64 is not online. theMetasponge64
Joined: 12 Feb 2010
Total Posts: 18284
12 Jan 2014 05:21 PM
Also, nothing from the output this time.




Guns don't kill people, people kill GUNS
Report Abuse
cxcharlie is not online. 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
theMetasponge64 is not online. theMetasponge64
Joined: 12 Feb 2010
Total Posts: 18284
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 is not online. 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
theMetasponge64 is not online. theMetasponge64
Joined: 12 Feb 2010
Total Posts: 18284
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 is not online. 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
Preponderance is not online. Preponderance
Joined: 30 Sep 2009
Total Posts: 21293
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
theMetasponge64 is not online. theMetasponge64
Joined: 12 Feb 2010
Total Posts: 18284
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 is not online. 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
Preponderance is not online. Preponderance
Joined: 30 Sep 2009
Total Posts: 21293
12 Jan 2014 07:27 PM
@cx

The first line lol

@OP

I told you the error
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image