Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
- bin.Name = "Character Remover"
- function onButton1Down(mouse)
- target = mouse.Target
- if target.Parent.className == "Model" then
- if target.Parent:findFirstChild("Humanoid") then
- target.Parent:remove()
- end
- end
- end
- function onSelected(mouse)
- mouse.Button1Down:connect(function() onButton1Down(mouse) end)
- end
- bin.Selected:connect(onSelected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement