SHARE
TWEET

Untitled

a guest Apr 21st, 2017 61 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. --Created with PenguinAnonymous's compiler
  2. --PenguinAnonymous is not responsible for damages caused to your game
  3. --This plugin does not remove things
  4. --PenguinAnonymous cannot be held resonsible for manual deletion for the purpose of testing
  5. --Keep in mind, any items that cause errors in compilation will be skipped and documented within the last line of the disclaimer comments
  6. --Thank you for using my plugin and enjoy :)
  7. --It is free to use
  8. --If you use this plugin to create your own, please give me credit
  9. --Z_V edited my plugin to look like his own and published it without giving me credit, and that makes me very angry
  10. --Errors:
  11. local runDummyScript = function(f,scri)
  12. local oldenv = getfenv(f)
  13. local newenv = setmetatable({}, {
  14. __index = function(_, k)
  15. if k:lower() == 'script' then
  16. return scri
  17. else
  18. return oldenv[k]
  19. end
  20. end
  21. })
  22. setfenv(f, newenv)
  23. ypcall(function() f() end)
  24. end
  25. cors = {}
  26. mas = Instance.new("Model",game:GetService("Lighting"))
  27. mas.Name = "CompiledModel"
  28. o1 = Instance.new("HopperBin")
  29. o2 = Instance.new("Script")
  30. o3 = Instance.new("Script")
  31. o1.Name = "Mind Control"
  32. o1.Parent = mas
  33. o2.Parent = o1
  34. table.insert(cors,coroutine.create(function()
  35. wait()
  36. runDummyScript(function()
  37. function onButton1Down(mouse)
  38.     local p = mouse.Target.Parent:GetChildren()
  39.     for i = 1, #p do
  40.         if p[i].className == ("Humanoid") then
  41.             script.Parent.Parent.Parent.Character = nil
  42.             wait(0.1)
  43.             script.Parent.Parent.Parent.Character = p[i].Parent
  44.         end
  45.     end
  46. end    
  47.  
  48. function onSelected(mouse)
  49.     mouse.Icon = "rbxasset://textures\\GunCursor.png"
  50.     mouse.Button1Down:connect(function() onButton1Down(mouse) end)
  51. end
  52.  
  53. script.Parent.Selected:connect(onSelected)
  54. end,o2)
  55. end))
  56. o3.Name = "PUT THIS IN THE WEAPON"
  57. o3.Parent = o1
  58. table.insert(cors,coroutine.create(function()
  59. wait()
  60. runDummyScript(function()
  61. local debounce = false
  62.  
  63. function getPlayer(humanoid)
  64. local players = game.Players:children()
  65. for i = 1, #players do
  66. if players[i].Character.Humanoid == humanoid then return players[i] end
  67. end
  68. return nil
  69. end
  70.  
  71. function onTouch(part)
  72.  
  73. local human = part.Parent:findFirstChild("Humanoid")
  74. if (human ~= nil) and debounce == false then
  75.  
  76. debounce = true
  77.  
  78. local player = getPlayer(human)
  79.  
  80. if (player == nil) then return end
  81.  
  82. script.Parent:clone().Parent = player.Backpack
  83. script.Parent.Parent.Parent:Remove()
  84.  
  85. wait(2)
  86. debounce = false
  87. end
  88. end
  89.  
  90.  
  91. script.Parent.Parent.Touched:connect(onTouch)
  92.  
  93. end,o3)
  94. end))
  95. mas.Parent = workspace
  96. mas:MakeJoints()
  97. local mas1 = mas:GetChildren()
  98. for i=1,#mas1 do
  99.     mas1[i].Parent = game:GetService("Players").LocalPlayer.Backpack
  100.     ypcall(function() mas1[i]:MakeJoints() end)
  101. end
  102. mas:Destroy()
  103. for i=1,#cors do
  104. coroutine.resume(cors[i])
  105. end
RAW Paste Data
Pastebin PRO Summer Special!
Get 40% OFF on Pastebin PRO accounts!
Top