Advertisement
link99

Dupe Shotty

Mar 23rd, 2019
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. game:GetService("StarterGui"):SetCore("SendNotification", {
  2. Title = "[link]";
  3. Text = "Duping...";
  4. })
  5. local args1 = "Shotty"
  6. local function dup()
  7. if args1 then
  8. for i,a in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  9. if a:IsA("Tool") and string.lower(a.Name) == string.lower(tostring(args1)) then
  10. a.Parent = game.Players.LocalPlayer
  11. local oldName = a.Name
  12. a.Name = "saved "..oldName
  13. else
  14. for i,n in pairs(game.Players.LocalPlayer.Backpack:GetDescendants()) do
  15. if n:IsA("Tool") and string.lower(n.Name) == string.lower(tostring(args1)) then
  16. n.Parent = game.Players.LocalPlayer
  17. local sOldName = n.Name
  18. n.Name = "saved "..sOldName
  19. end
  20. end
  21. end
  22. end
  23. else
  24. for i,v in pairs(game.Players.LocalPlayer.Character:GetDescendants()) do
  25. if v:IsA("Tool") then
  26. v.Parent = game.Players.LocalPlayer
  27. local oldName = v.Name
  28. v.Name = "saved "..oldName
  29. end
  30. end
  31. end
  32. end
  33.  
  34. local function load()
  35. if args1 then
  36. for i,a in pairs(game.Players.LocalPlayer:GetChildren()) do
  37. if a:IsA("Tool") and string.sub(a.Name, 1, 5) == "saved" and string.lower(string.sub(a.Name, 7)) == string.lower(tostring(args1)) then
  38. a.Parent = game.Players.LocalPlayer.Backpack
  39. local currentName = a.Name
  40. a.Name = string.sub(currentName, 7)
  41. end
  42. end
  43. else
  44. for i,v in pairs(game.Players.LocalPlayer:GetChildren()) do
  45. if string.sub(v.Name, 1, 5) == "saved" then
  46. v.Parent = game.Players.LocalPlayer.Backpack
  47. local currentName = v.Name
  48. v.Name = string.sub(currentName, 7)
  49. end
  50. end
  51. end
  52. end
  53.  
  54.  
  55. dup()
  56. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  57. wait(6)
  58. dup()
  59. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  60. wait(6)
  61. dup()
  62. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  63. wait(6)
  64. dup()
  65. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  66. wait(6)
  67. dup()
  68. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  69. wait(6)
  70. dup()
  71. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  72. wait(6)
  73. dup()
  74. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  75. wait(6)
  76. dup()
  77. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  78. wait(6)
  79. dup()
  80. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  81. wait(6)
  82. dup()
  83. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  84. wait(6)
  85. dup()
  86. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  87. wait(6)
  88. dup()
  89. game.Players.LocalPlayer.Character.Humanoid.Health = 0
  90. wait(6)
  91. dup()
  92. load()
  93. game:GetService("StarterGui"):SetCore("SendNotification", {
  94. Title = "[link]";
  95. Text = "Down.";
  96. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement