ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 31 Aug 2013 08:39 PM |
local bs = game.Lighting.bscore local rs = game.Lighting.rscore game.Players.PlayerAdded:connect(function(plyer) plyer.CharacterAdded:connect(function(char) char.Humanoid.Died:connect(function() local a = char.Humanoid:FindFirstChild("creator") print(a.Value) if a then local tagger = a local ptag = game.Players:findFirstChild(tagger.Value) -- Right here, It doesn't find the player. Is :FindFirstChild deprecated or something I don't know about? D; if ptag then print('ptag') if ptag.TeamColor == BrickColor.new("Bright blue") then bs.Value = bs.Value + 10 print('One point for hufflpuff') elseif ptag.TeamColor == BrickColor.new("Bright red") then rs.Value = rs.Value + 10 print('One point for gryffindor') end end end end) end) end)
It isn't working and I am tired, so yeah. |
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 31 Aug 2013 08:40 PM |
| Also I know that it is 10 points in quiddige but yolo it is for the lulz |
|
|
| Report Abuse |
|
|
Fakeable
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 83 |
|
|
| 31 Aug 2013 08:43 PM |
| "Don't ask others to debug your broken code without giving a hint what sort of problem you are having. Posting a few hundred lines of code, saying "it doesn't work", will get you ignored. Posting a dozen lines of code, saying "after line 7 I was expecting to see (something), but (something else) happened instead" is much more likely to get you a reply." |
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 31 Aug 2013 08:44 PM |
| Did I say fix my code? No I showed you where exactly the script is going wrong, maybe you should look before you judge. (I checked using prints) |
|
|
| Report Abuse |
|
|
Lapwn
|
  |
| Joined: 03 Jun 2012 |
| Total Posts: 5975 |
|
|
| 31 Aug 2013 09:13 PM |
| I dont think PlayerAdded works in studio mode :P |
|
|
| Report Abuse |
|
|
Lapwn
|
  |
| Joined: 03 Jun 2012 |
| Total Posts: 5975 |
|
|
| 31 Aug 2013 09:13 PM |
| Ignore @Fakeable she copy and pasted a quote that she thought would be and own but used it in the wrong situation |
|
|
| Report Abuse |
|
|
Fakeable
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 83 |
|
|
| 31 Aug 2013 10:58 PM |
| It wasn't wrong. He did not say what it should do, or what it was doing. |
|
|
| Report Abuse |
|
|
Lapwn
|
  |
| Joined: 03 Jun 2012 |
| Total Posts: 5975 |
|
|
| 31 Aug 2013 11:01 PM |
| @fake but he didnt ask us to debug it, the first sentence of what you posted. |
|
|
| Report Abuse |
|
|
Fakeable
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 83 |
|
|
| 31 Aug 2013 11:03 PM |
| Its the first sentence because I copied the whole rules, he asked us to fix it. Didn't say if there was or wasn't output, didn't say what it should do, didn't say what it did do. |
|
|
| Report Abuse |
|
|
Lapwn
|
  |
| Joined: 03 Jun 2012 |
| Total Posts: 5975 |
|
|
| 31 Aug 2013 11:35 PM |
No, he didn't ask us to fix it. Go up and read it and tell me where he asked us to fix it.
and maybe your partially blind but he did say what was wrong in the script. Reread it. |
|
|
| Report Abuse |
|
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
|
| 01 Sep 2013 04:42 PM |
| Plus I fixed it thanks LaPwn for standing up for whats right :D |
|
|
| Report Abuse |
|
|
Fakeable
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 83 |
|
|
| 02 Sep 2013 01:46 PM |
He asked why it did not work in studio. So he asked for help, without saying what happened, what the output did or didn't say, nothing. Just "It doesn't work, here is the script" And its not "What's right :D" even if (IF) he was right, it just correcting me in a rude way because I messed up. |
|
|
| Report Abuse |
|
|
Lapwn
|
  |
| Joined: 03 Jun 2012 |
| Total Posts: 5975 |
|
|
| 02 Sep 2013 01:49 PM |
No, its correcting you in a rude way because you were rude.
|
|
|
| Report Abuse |
|
|
Fakeable
|
  |
| Joined: 30 Aug 2013 |
| Total Posts: 83 |
|
|
| 02 Sep 2013 01:51 PM |
| How was I rude for showing the locked thread? |
|
|
| Report Abuse |
|
|
Lapwn
|
  |
| Joined: 03 Jun 2012 |
| Total Posts: 5975 |
|
| |
|
ToboboT
|
  |
| Joined: 25 Jun 2011 |
| Total Posts: 2385 |
|
| |
|