Advertisement
Guest User

Untitled

a guest
Nov 11th, 2019
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.75 KB | None | 0 0
  1. -- made by TheFlamingBlaster
  2. print("Justin's big gae.")
  3.  
  4. local plr = game.Players.LocalPlayer
  5. function exe(cmd)
  6. game:GetService'Players'.LocalPlayer.PlayerGui.SB_DataTransfer.SB_CommandRemote.Value = cmd
  7. end
  8. local mouse = plr:GetMouse()
  9. local adornees
  10. local destroyit = false
  11. local lasttarget
  12. local currenttarget
  13. local changed = {}
  14. mouse.Button1Down:connect(function()
  15. if mouse.Target then
  16. if mouse.Target.Parent.ClassName == "Model" then
  17. currenttarget = mouse.Target.Parent
  18. lasttarget = mouse.Target.Parent
  19. adornees = Instance.new("Model",plr.Character)
  20. for i,v in pairs(mouse.Target.Parent:GetChildren()) do
  21. local s = Instance.new("SelectionBox",adornees)
  22. if v:IsA("Part") then
  23. if v.Name == "Torso" then
  24. local lasso = Instance.new("SelectionPartLasso",adornees)
  25. lasso.Humanoid = plr.Character.Humanoid
  26. lasso.Part = v
  27. end
  28. s.Adornee = v
  29. if v.Anchored == false then
  30. table.insert(changed,v)
  31. v.Anchored = true
  32. end
  33. end
  34.  
  35. end
  36. destroyit = true
  37. end
  38. end
  39. end)
  40. game:GetService('UserInputService').InputBegan:connect(function(input,processed)
  41. if mouse.Target and destroyit == true then
  42. if input.KeyCode == Enum.KeyCode.C then
  43. --currenttarget:Destroy()
  44. for i,v in pairs(currenttarget:GetChildren()) do
  45. if v:IsA("LocalScript") then
  46. local c = v
  47. c.Parent = plr.Character
  48. c.Name = "Stolen"
  49. exe('local a = '..v:GetFullName()..':Clone() a.Parent = getfenv().owner.Character print(a.Parent)')
  50. print(c.Parent)
  51. end
  52. end
  53. adornees:Destroy()
  54. end
  55. end
  56. end)
  57. mouse.Button1Up:connect(function()
  58. if destroyit == true then
  59. currenttarget = nil
  60. for i,v in pairs(changed) do
  61. v.Anchored = false
  62. end
  63. changed = {}
  64. adornees:Destroy()
  65. destroyit = false
  66. end
  67. end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement