brandon5487

Untitled

Oct 3rd, 2016
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.30 KB | None | 0 0
  1. local tool = Instance.new("HopperBin", game.Players.LocalPlayer.Backpack)
  2. script.Parent = tool
  3. local Player= game.Players.LocalPlayer
  4. local Mouse= Player:GetMouse()
  5. local cycle = 0
  6. local slot = 0
  7. Mouse.KeyDown:connect(function(key)
  8. if key == "q" then
  9. cycle = cycle + 1
  10. if cycle == 4 then
  11. cycle = 0
  12. end
  13. end
  14. end)
  15. Mouse.KeyDown:connect(function(key)
  16. if key == "e" then
  17. slot = slot + 1
  18. if slot == 2 then
  19. slot = 0
  20. end
  21. end
  22. end)
  23.  
  24. while true do
  25. wait()
  26. if cycle == 0 then
  27. script.Parent.Name = "Destroy/0"
  28. end
  29. if cycle == 0 and slot == 1 then
  30. script.Parent.Name = "Destroy Parent/1"
  31. end
  32. if cycle == 0 and slot == 2 then
  33. script.Parent.Name = "Destroy Children/2"
  34. end
  35. if cycle == 1 then
  36. script.Parent.Name = "Random Color/0"
  37. end
  38. if cycle == 1 and slot == 1 then
  39. script.Parent.Name = "Random Color/1"
  40. end
  41. if cycle == 2 then
  42. script.Parent.Name = "Material/Neon/0"
  43. end
  44. if cycle == 2 and slot == 1 then
  45. script.Parent.Name = "Material/Grass/1"
  46. end
  47. Mouse.KeyDown:connect(function(key)
  48. if key == "f" then
  49. if cycle == 0 then
  50. local Target = Mouse.Target
  51. if Target.Name ~= "Base" then
  52. Target:Destroy()
  53. end
  54. end
  55. end
  56. if script.Parent.Name == "Destroy Parent/1" then
  57. local Target = Mouse.Target
  58. if Target.Parent == Workspace or Target == nil then return end
  59. Target.Parent:Remove()
  60. end
  61. end
  62. end)
  63. end
Add Comment
Please, Sign In to add comment