Advertisement
Guest User

ROBLOX character remover

a guest
Jul 15th, 2018
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. bin = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  2. bin.Name = "Character Remover"
  3.  
  4. function onButton1Down(mouse)
  5. target = mouse.Target
  6. if target.Parent.className == "Model" then
  7. if target.Parent:findFirstChild("Humanoid") then
  8. target.Parent:remove()
  9. end
  10. end
  11. end
  12.  
  13. function onSelected(mouse)
  14. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  15. end
  16.  
  17. bin.Selected:connect(onSelected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement