zack785
|
  |
| Joined: 06 Feb 2009 |
| Total Posts: 419 |
|
|
| 01 Mar 2014 01:00 PM |
I've used Bindable Functions before with no problem so why is this different? So this code is in a script in workspace
Game.Workspace:FindFirstChild("PlayerDied").OnInvoke = function(plr) if plr.TeamColor == script.BrickColor1.Value then removeprop(plr) elseif plr.TeamColor == script.BrickColor2.Value then removehunter(plr) end end
and this code is in StarterGui
script.Parent.Parent.Character:FindFirstChild("Humanoid").Died:connect(function() Game.Workspace:FindFirstChild("PlayerDied"):Invoke(script.Parent.Parent) end)
Is there any obvious problems with the code? |
|
|
| Report Abuse |
|
|
zack785
|
  |
| Joined: 06 Feb 2009 |
| Total Posts: 419 |
|
| |
|
zack785
|
  |
| Joined: 06 Feb 2009 |
| Total Posts: 419 |
|
| |
|
Laedere
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 23601 |
|
|
| 01 Mar 2014 01:32 PM |
| I don't think that's how you use it |
|
|
| Report Abuse |
|
|
zack785
|
  |
| Joined: 06 Feb 2009 |
| Total Posts: 419 |
|
| |
|
zack785
|
  |
| Joined: 06 Feb 2009 |
| Total Posts: 419 |
|
|
| 01 Mar 2014 01:38 PM |
| Hey guys if you could actually reply to my forum... yeah.. that'd be great... |
|
|
| Report Abuse |
|
|
acecateer
|
  |
| Joined: 05 Nov 2011 |
| Total Posts: 128 |
|
|
| 01 Mar 2014 01:44 PM |
| Hey, someone help zack out. :P |
|
|
| Report Abuse |
|
|
zack785
|
  |
| Joined: 06 Feb 2009 |
| Total Posts: 419 |
|
|
| 01 Mar 2014 01:50 PM |
| IS ANYONE EVEN READING THIS? JESUS |
|
|
| Report Abuse |
|
|
Laedere
|
  |
| Joined: 17 Jun 2013 |
| Total Posts: 23601 |
|
| |
|
zack785
|
  |
| Joined: 06 Feb 2009 |
| Total Posts: 419 |
|
|
| 01 Mar 2014 01:55 PM |
| Other than you no one is willing to reply, and you are not explaining what you mean so it is not helpful. |
|
|
| Report Abuse |
|
|