Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Backpack detection not working anymore?

Asked by 6 years ago

So, I used this about 2 years ago and it worked, but it doesn't work anymore (Detecting if someone inserts comething into their Backpack.

while wait() do
    if game.Players.LocalPlayer.Backpack:ChildAdded() then
        game.Players.LocalPlayer:Kick("Exploits detected.")
    end
end

1 answer

Log in to vote
3
Answered by 6 years ago

This event will activate when player inserts something into Backpack

game.Players.LocalPlayer.Backpack.ChildAdded:connect(function()
    game.Players.LocalPlayer:Kick("Exploits detected.")
end)
Ad

Answer this question