Advertisement
Guest User

ROBLOX character remover2

a guest
Jul 15th, 2018
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 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:destroy()
  9. end
  10. end
  11. end
  12.  
  13. function onSelected(mouse)
  14. mouse.Icon = "rbxasset://Textures/Hammer.png"
  15. mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  16. end
  17.  
  18. bin.Selected:connect(onSelected)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement