Works when I first spawn in, event doesn’t print out anything ![]()
Player.CharacterAdded:Connect(function(Char)
local Backpack = Player:WaitForChild("Backpack", 1)
Backpack.ChildAdded:Connect(function(Child)
-- nothing prints out??
end
end)
Works when I first spawn in, event doesn’t print out anything ![]()
Player.CharacterAdded:Connect(function(Char)
local Backpack = Player:WaitForChild("Backpack", 1)
Backpack.ChildAdded:Connect(function(Child)
-- nothing prints out??
end
end)
It seems like you don’t have a bracket after the end for Backpack.ChildAdded.
You need a ) at the second end.
Player.CharacterAdded:Connect(function(Char)
local Backpack = Player:WaitForChild("Backpack", 1)
Backpack.ChildAdded:Connect(function(Child)
-- nothing prints out??
end) --added right here
end)
thats not the problem, I just forgot to put the bracket when pasting my code here
Is it infinite yielding or not getting the backpack?
Then instead of Player:WaitForChild("Backpack", 1), put Player:FindFirstChild("Backpack").
nvm I fixed the problem, I didn’t turn on rojo lol