|
| 28 Jan 2012 10:25 PM |
function playerJOIN(player) player.Backpack.ChildAdded:connect(function() local msg = Instance.new("Hint",Workspace) msg.Text = "WORK!" game:GetService("Debris"):AddItem(msg,5) end) end game.Players.PlayerAdded:connect(playerJOIN) |
|
|
| Report Abuse |
|
|
Wowgnomes
|
  |
| Joined: 27 Sep 2009 |
| Total Posts: 26255 |
|
| |
|
|
| 28 Jan 2012 10:27 PM |
| There is no output that is saying its not working. So when I pick up the tool the message does not appear, its getting on my nerve. |
|
|
| Report Abuse |
|
|
| |
|
|
| 28 Jan 2012 10:39 PM |
Yea, but when you pick up a tool, it goes to the character. I assume you deselect it, then it goes to Backpack, though, and it still doesn't work?
† KMXD † |
|
|
| Report Abuse |
|
|
xvgigakid
|
  |
| Joined: 22 Jun 2008 |
| Total Posts: 4407 |
|
|
| 28 Jan 2012 10:40 PM |
function playerJOIN(player) wait(0.1) --The backpack still doesnt exist. Give it some time to load it. player.Backpack.ChildAdded:connect(function() local msg = Instance.new("Hint",Workspace) msg.Text = "WORK!" game:GetService("Debris"):AddItem(msg,5) end) end game.Players.PlayerAdded:connect(playerJOIN)
@Wowgnome I thought you were saying you didnt know what an output was, Till I read it over again. DewottNinja got me all confused on that topic >.< |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2012 10:48 PM |
@Knightmare kinda good point but yeah when I deselect still nothing. BUT WAIT! I GOT MAYBE ILL TRY:
player.Character.ChildAdded:connect(InsteadOFBackpack) |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2012 10:49 PM |
I guess you could try. :S And maybe take a look at xv's.
† KMXD † |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2012 11:28 PM |
| Well the child added didn't work. Sorry for late reply I had to eat, I will now try xv's script. |
|
|
| Report Abuse |
|
|
|
| 28 Jan 2012 11:51 PM |
| It did not work ): Please someone if you know what to do please help me. |
|
|
| Report Abuse |
|
|
xvgigakid
|
  |
| Joined: 22 Jun 2008 |
| Total Posts: 4407 |
|
|
| 28 Jan 2012 11:55 PM |
| What exactly are you expecting to get added to backpack? |
|
|
| Report Abuse |
|
|
|
| 29 Jan 2012 12:03 AM |
| Anything. Model, tools, hat etc, aslong as it triggers the message it will be fine. |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 29 Jan 2012 12:16 AM |
| And this is everything you have in your script? |
|
|
| Report Abuse |
|
|
|
| 29 Jan 2012 12:28 AM |
| Yes it's the only code in it |
|
|
| Report Abuse |
|
|
SDuke524
|
  |
| Joined: 29 Jul 2008 |
| Total Posts: 6267 |
|
|
| 29 Jan 2012 12:29 AM |
Try adding
repeat Wait(); until player.Backpack
just under your function declaration. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
|
| 29 Jan 2012 01:45 AM |
try this:
function playerJOIN(player) repeat wait() until player:FindFirstChild("Backpack") player.Backpack.ChildAdded:connect(function() local msg = Instance.new("Hint",player.PlayerGui) msg.Text = "WORK!" game:GetService("Debris"):AddItem(msg,5) end) end game.Players.PlayerAdded:connect(playerJOIN) |
|
|
| Report Abuse |
|
|
|
| 29 Jan 2012 05:53 AM |
| Nope didn't work ): Sorry I had to reply very late, I had to go to church, someone professional enough who have encountered this problem and solved it please help me! |
|
|
| Report Abuse |
|
|
| |
|