menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
will this work?
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
will this work?
galisprayo
Join Date: 2008-01-20
Post Count: 3271
#1149116
Thursday, May 29, 2008 11:49 PM GMT
function onTouch(part) if part.Parent:findFirstChild("Humanoid") ~= nil then game.Lighting.Marshmallow:clone().Parent = part.Parent:getPlayerFromCharacter().Backpack end end script.Parent.Touched:connect(onTouch)
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
jak12321
Join Date: 2007-12-12
Post Count: 2814
#1149307
Friday, May 30, 2008 12:06 AM GMT
Yes.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
galisprayo
Join Date: 2008-01-20
Post Count: 3271
#1149549
Friday, May 30, 2008 12:22 AM GMT
it says in output that getPlayerFromCharacter is not a valid member of model
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
jak12321
Join Date: 2007-12-12
Post Count: 2814
#1149872
Friday, May 30, 2008 12:46 AM GMT
Well it's not somthing or function in that, part/other
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
FlashJoeW
Top 100 Poster
Join Date: 2007-12-24
Post Count: 4886
#1149891
Friday, May 30, 2008 12:48 AM GMT
why don't you do: game.Lighting.Marshmallow:clone().Parent = game.Players:findFirstChild(part.Parent.Name).Backpack
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right