Advertisement
gorlol

Untitled

Nov 20th, 2019
1,019
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 21.45 KB | None | 0 0
  1. --[[
  2. Credits: wesurt
  3. Thanks to Flamango for testing! https://v3rmillion.net/member.php?action=profile&uid=674915
  4. The duplication function has been everywhere on V3RM, yes I'm aware.
  5. I simply remade it into a GUI and refined it.
  6.  
  7. Keys:
  8. - B to toggle the built-in BFG
  9. - Insert to toggle the GUI
  10. ]]
  11.  
  12.  
  13. local Plr = game:GetService("Players").LocalPlayer
  14.  
  15. local CheckGamepass = function(ID)
  16. if game:GetService("MarketplaceService"):UserOwnsGamePassAsync(Plr.UserId, ID) then
  17. return true;
  18. end
  19. end
  20.  
  21. local ScreenGui = Instance.new("ScreenGui")
  22. local Frame = Instance.new("Frame")
  23. local Title = Instance.new("TextLabel")
  24. local Credits = Instance.new("TextLabel")
  25. local Bar = Instance.new("TextLabel")
  26. local TextLabel = Instance.new("TextLabel")
  27. local TextLabel_2 = Instance.new("TextLabel")
  28. local TextLabel_3 = Instance.new("TextLabel")
  29. local TextLabel_4 = Instance.new("TextLabel")
  30. local TextLabel_5 = Instance.new("TextLabel")
  31. local TextLabel_6 = Instance.new("TextLabel")
  32. local TextLabel_7 = Instance.new("TextLabel")
  33. local TextLabel_8 = Instance.new("TextLabel")
  34. local Decrease = Instance.new("TextButton")
  35. local TextLabel_9 = Instance.new("TextLabel")
  36. local Increase = Instance.new("TextButton")
  37. local TextLabel_10 = Instance.new("TextLabel")
  38. local BoomBoxDuping = Instance.new("TextButton")
  39. local KnifeDuping = Instance.new("TextButton")
  40. local PipeDuping = Instance.new("TextButton")
  41. local SprayDuping = Instance.new("TextButton")
  42. local LockpickDuping = Instance.new("TextButton")
  43. local ShotgunDuping = Instance.new("TextButton")
  44. local SignDuping = Instance.new("TextButton")
  45. local KeepAll = Instance.new("TextButton")
  46. local Duplicate = Instance.new("TextButton")
  47.  
  48. ScreenGui.Parent = game.CoreGui
  49.  
  50. Frame.Parent = ScreenGui
  51. Frame.Active = true
  52. Frame.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  53. Frame.BorderSizePixel = 0
  54. Frame.Draggable = true
  55. Frame.Position = UDim2.new(0.798722029, 0, 0.531941056, 0)
  56. Frame.Size = UDim2.new(0, 300, 0, 311)
  57.  
  58. Title.Name = "Title"
  59. Title.Parent = Frame
  60. Title.BackgroundColor3 = Color3.new(1, 1, 1)
  61. Title.BackgroundTransparency = 1
  62. Title.Size = UDim2.new(0, 300, 0, 40)
  63. Title.Font = Enum.Font.SourceSansBold
  64. Title.Text = "Duplication GUI"
  65. Title.TextColor3 = Color3.new(1, 1, 1)
  66. Title.TextSize = 30
  67. Title.TextWrapped = true
  68.  
  69. Credits.Name = "Credits"
  70. Credits.Parent = Frame
  71. Credits.BackgroundColor3 = Color3.new(1, 1, 1)
  72. Credits.BackgroundTransparency = 1
  73. Credits.Position = UDim2.new(0.25, 0, 0.127863556, 0)
  74. Credits.Size = UDim2.new(0, 150, 0, 20)
  75. Credits.Font = Enum.Font.SourceSans
  76. Credits.Text = "by wesurt @ v3rmillion"
  77. Credits.TextColor3 = Color3.new(1, 1, 1)
  78. Credits.TextSize = 18
  79.  
  80. Bar.Name = "Bar"
  81. Bar.Parent = Frame
  82. Bar.BackgroundColor3 = Color3.new(1, 1, 1)
  83. Bar.BorderSizePixel = 0
  84. Bar.Position = UDim2.new(0.0833333358, 0, 0.127745688, 0)
  85. Bar.Size = UDim2.new(0, 250, 0, 1)
  86. Bar.Font = Enum.Font.SourceSans
  87. Bar.Text = ""
  88. Bar.TextColor3 = Color3.new(0, 0, 0)
  89. Bar.TextSize = 14
  90.  
  91. TextLabel.Parent = Frame
  92. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  93. TextLabel.BackgroundTransparency = 1
  94. TextLabel.Position = UDim2.new(0, 0, 0.188974485, 0)
  95. TextLabel.Size = UDim2.new(0, 200, 0, 25)
  96. TextLabel.Font = Enum.Font.SourceSans
  97. TextLabel.Text = "BoomBox Duplication:"
  98. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  99. TextLabel.TextSize = 18
  100.  
  101. TextLabel_2.Parent = Frame
  102. TextLabel_2.BackgroundColor3 = Color3.new(1, 1, 1)
  103. TextLabel_2.BackgroundTransparency = 1
  104. TextLabel_2.Position = UDim2.new(0, 0, 0.266831636, 0)
  105. TextLabel_2.Size = UDim2.new(0, 200, 0, 25)
  106. TextLabel_2.Font = Enum.Font.SourceSans
  107. TextLabel_2.Text = "Knife Duplication:"
  108. TextLabel_2.TextColor3 = Color3.new(1, 1, 1)
  109. TextLabel_2.TextSize = 18
  110.  
  111. TextLabel_3.Parent = Frame
  112. TextLabel_3.BackgroundColor3 = Color3.new(1, 1, 1)
  113. TextLabel_3.BackgroundTransparency = 1
  114. TextLabel_3.Position = UDim2.new(0, 0, 0.344688833, 0)
  115. TextLabel_3.Size = UDim2.new(0, 200, 0, 25)
  116. TextLabel_3.Font = Enum.Font.SourceSans
  117. TextLabel_3.Text = "Pipe Duplication:"
  118. TextLabel_3.TextColor3 = Color3.new(1, 1, 1)
  119. TextLabel_3.TextSize = 18
  120.  
  121. TextLabel_4.Parent = Frame
  122. TextLabel_4.BackgroundColor3 = Color3.new(1, 1, 1)
  123. TextLabel_4.BackgroundTransparency = 1
  124. TextLabel_4.Position = UDim2.new(0, 0, 0.422546059, 0)
  125. TextLabel_4.Size = UDim2.new(0, 200, 0, 25)
  126. TextLabel_4.Font = Enum.Font.SourceSans
  127. TextLabel_4.Text = "Spray Duplication:"
  128. TextLabel_4.TextColor3 = Color3.new(1, 1, 1)
  129. TextLabel_4.TextSize = 18
  130.  
  131. TextLabel_5.Parent = Frame
  132. TextLabel_5.BackgroundColor3 = Color3.new(1, 1, 1)
  133. TextLabel_5.BackgroundTransparency = 1
  134. TextLabel_5.Position = UDim2.new(0, 0, 0.500403225, 0)
  135. TextLabel_5.Size = UDim2.new(0, 200, 0, 25)
  136. TextLabel_5.Font = Enum.Font.SourceSans
  137. TextLabel_5.Text = "Lockpick Duplication:"
  138. TextLabel_5.TextColor3 = Color3.new(1, 1, 1)
  139. TextLabel_5.TextSize = 18
  140.  
  141. TextLabel_6.Parent = Frame
  142. TextLabel_6.BackgroundColor3 = Color3.new(1, 1, 1)
  143. TextLabel_6.BackgroundTransparency = 1
  144. TextLabel_6.Position = UDim2.new(0, 0, 0.578749955, 0)
  145. TextLabel_6.Size = UDim2.new(0, 200, 0, 25)
  146. TextLabel_6.Font = Enum.Font.SourceSans
  147. TextLabel_6.Text = "Shotgun Duplication:"
  148. TextLabel_6.TextColor3 = Color3.new(1, 1, 1)
  149. TextLabel_6.TextSize = 18
  150.  
  151. TextLabel_7.Parent = Frame
  152. TextLabel_7.BackgroundColor3 = Color3.new(1, 1, 1)
  153. TextLabel_7.BackgroundTransparency = 1
  154. TextLabel_7.Position = UDim2.new(0, 0, 0.656607151, 0)
  155. TextLabel_7.Size = UDim2.new(0, 200, 0, 25)
  156. TextLabel_7.Font = Enum.Font.SourceSans
  157. TextLabel_7.Text = "Sign Duplication:"
  158. TextLabel_7.TextColor3 = Color3.new(1, 1, 1)
  159. TextLabel_7.TextSize = 18
  160.  
  161. TextLabel_8.Parent = Frame
  162. TextLabel_8.BackgroundColor3 = Color3.new(1, 1, 1)
  163. TextLabel_8.BackgroundTransparency = 1
  164. TextLabel_8.Position = UDim2.new(0, 0, 0.734691262, 0)
  165. TextLabel_8.Size = UDim2.new(0, 200, 0, 25)
  166. TextLabel_8.Font = Enum.Font.SourceSans
  167. TextLabel_8.Text = "Duplication Multiplier:"
  168. TextLabel_8.TextColor3 = Color3.new(1, 1, 1)
  169. TextLabel_8.TextSize = 18
  170.  
  171. Decrease.Name = "Decrease"
  172. Decrease.Parent = Frame
  173. Decrease.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  174. Decrease.BorderSizePixel = 0
  175. Decrease.Position = UDim2.new(0.720000207, 0, 0.741358101, 0)
  176. Decrease.Size = UDim2.new(0, 20, 0, 20)
  177. Decrease.Font = Enum.Font.SourceSans
  178. Decrease.Text = "-"
  179. Decrease.TextColor3 = Color3.new(1, 1, 1)
  180. Decrease.TextSize = 25
  181. Decrease.TextWrapped = true
  182.  
  183. TextLabel_9.Parent = Frame
  184. TextLabel_9.BackgroundColor3 = Color3.new(1, 1, 1)
  185. TextLabel_9.BackgroundTransparency = 1
  186. TextLabel_9.Position = UDim2.new(0.789999962, 0, 0.740841269, 0)
  187. TextLabel_9.Size = UDim2.new(0, 30, 0, 25)
  188. TextLabel_9.Font = Enum.Font.SourceSans
  189. TextLabel_9.Text = "1"
  190. TextLabel_9.TextColor3 = Color3.new(1, 1, 1)
  191. TextLabel_9.TextSize = 20
  192.  
  193. Increase.Name = "Increase"
  194. Increase.Parent = Frame
  195. Increase.BackgroundColor3 = Color3.new(0.137255, 0.137255, 0.137255)
  196. Increase.BorderSizePixel = 0
  197. Increase.Position = UDim2.new(0.886666834, 0, 0.741358101, 0)
  198. Increase.Size = UDim2.new(0, 20, 0, 20)
  199. Increase.Font = Enum.Font.SourceSans
  200. Increase.Text = "+"
  201. Increase.TextColor3 = Color3.new(1, 1, 1)
  202. Increase.TextSize = 19
  203. Increase.TextWrapped = true
  204.  
  205. TextLabel_10.Parent = Frame
  206. TextLabel_10.BackgroundColor3 = Color3.new(1, 1, 1)
  207. TextLabel_10.BackgroundTransparency = 1
  208. TextLabel_10.Position = UDim2.new(0, 0, 0.818888426, 0)
  209. TextLabel_10.Size = UDim2.new(0, 200, 0, 25)
  210. TextLabel_10.Font = Enum.Font.SourceSans
  211. TextLabel_10.Text = "Keep All Items Upon Respawn"
  212. TextLabel_10.TextColor3 = Color3.new(1, 1, 1)
  213. TextLabel_10.TextSize = 18
  214.  
  215. BoomBoxDuping.Name = "BoomBoxDuping"
  216. BoomBoxDuping.Parent = Frame
  217. BoomBoxDuping.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  218. BoomBoxDuping.BorderSizePixel = 0
  219. BoomBoxDuping.Position = UDim2.new(0.756666899, 0, 0.188974515, 0)
  220. BoomBoxDuping.Size = UDim2.new(0, 50, 0, 25)
  221. BoomBoxDuping.Font = Enum.Font.SourceSansBold
  222. BoomBoxDuping.Text = "OFF"
  223. BoomBoxDuping.TextColor3 = Color3.new(0.686275, 0, 0)
  224. BoomBoxDuping.TextSize = 18
  225.  
  226. KnifeDuping.Name = "KnifeDuping"
  227. KnifeDuping.Parent = Frame
  228. KnifeDuping.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  229. KnifeDuping.BorderSizePixel = 0
  230. KnifeDuping.Position = UDim2.new(0.756666899, 0, 0.266740769, 0)
  231. KnifeDuping.Size = UDim2.new(0, 50, 0, 25)
  232. KnifeDuping.Font = Enum.Font.SourceSansBold
  233. KnifeDuping.Text = "OFF"
  234. KnifeDuping.TextColor3 = Color3.new(0.686275, 0, 0)
  235. KnifeDuping.TextSize = 18
  236.  
  237. PipeDuping.Name = "PipeDuping"
  238. PipeDuping.Parent = Frame
  239. PipeDuping.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  240. PipeDuping.BorderSizePixel = 0
  241. PipeDuping.Position = UDim2.new(0.756666899, 0, 0.344507068, 0)
  242. PipeDuping.Size = UDim2.new(0, 50, 0, 25)
  243. PipeDuping.Font = Enum.Font.SourceSansBold
  244. PipeDuping.Text = "OFF"
  245. PipeDuping.TextColor3 = Color3.new(0.686275, 0, 0)
  246. PipeDuping.TextSize = 18
  247.  
  248. SprayDuping.Name = "SprayDuping"
  249. SprayDuping.Parent = Frame
  250. SprayDuping.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  251. SprayDuping.BorderSizePixel = 0
  252. SprayDuping.Position = UDim2.new(0.756666899, 0, 0.422273368, 0)
  253. SprayDuping.Size = UDim2.new(0, 50, 0, 25)
  254. SprayDuping.Font = Enum.Font.SourceSansBold
  255. SprayDuping.Text = "OFF"
  256. SprayDuping.TextColor3 = Color3.new(0.686275, 0, 0)
  257. SprayDuping.TextSize = 18
  258.  
  259. LockpickDuping.Name = "LockpickDuping"
  260. LockpickDuping.Parent = Frame
  261. LockpickDuping.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  262. LockpickDuping.BorderSizePixel = 0
  263. LockpickDuping.Position = UDim2.new(0.756666899, 0, 0.500039637, 0)
  264. LockpickDuping.Size = UDim2.new(0, 50, 0, 25)
  265. LockpickDuping.Font = Enum.Font.SourceSansBold
  266. LockpickDuping.Text = "OFF"
  267. LockpickDuping.TextColor3 = Color3.new(0.686275, 0, 0)
  268. LockpickDuping.TextSize = 18
  269.  
  270. ShotgunDuping.Name = "ShotgunDuping"
  271. ShotgunDuping.Parent = Frame
  272. ShotgunDuping.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  273. ShotgunDuping.BorderSizePixel = 0
  274. ShotgunDuping.Position = UDim2.new(0.756666899, 0, 0.577805936, 0)
  275. ShotgunDuping.Size = UDim2.new(0, 50, 0, 25)
  276. ShotgunDuping.Font = Enum.Font.SourceSansBold
  277. ShotgunDuping.Text = "OFF"
  278. ShotgunDuping.TextColor3 = Color3.new(0.686275, 0, 0)
  279. ShotgunDuping.TextSize = 18
  280.  
  281. SignDuping.Name = "SignDuping"
  282. SignDuping.Parent = Frame
  283. SignDuping.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  284. SignDuping.BorderSizePixel = 0
  285. SignDuping.Position = UDim2.new(0.756666899, 0, 0.655572236, 0)
  286. SignDuping.Size = UDim2.new(0, 50, 0, 25)
  287. SignDuping.Font = Enum.Font.SourceSansBold
  288. SignDuping.Text = "OFF"
  289. SignDuping.TextColor3 = Color3.new(0.686275, 0, 0)
  290. SignDuping.TextSize = 18
  291.  
  292. KeepAll.Name = "KeepAll"
  293. KeepAll.Parent = Frame
  294. KeepAll.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  295. KeepAll.BorderSizePixel = 0
  296. KeepAll.Position = UDim2.new(0.756666899, 0, 0.817535698, 0)
  297. KeepAll.Size = UDim2.new(0, 50, 0, 25)
  298. KeepAll.Font = Enum.Font.SourceSansBold
  299. KeepAll.Text = "OFF"
  300. KeepAll.TextColor3 = Color3.new(0.686275, 0, 0)
  301. KeepAll.TextSize = 18
  302.  
  303. Duplicate.Name = "Duplicate"
  304. Duplicate.Parent = Frame
  305. Duplicate.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  306. Duplicate.BorderSizePixel = 0
  307. Duplicate.Position = UDim2.new(0.333333343, 0, 0.899274349, 0)
  308. Duplicate.Size = UDim2.new(0, 100, 0, 25)
  309. Duplicate.Font = Enum.Font.SourceSansBold
  310. Duplicate.Text = "Duplicate"
  311. Duplicate.TextColor3 = Color3.new(1, 1, 1)
  312. Duplicate.TextSize = 19
  313. Duplicate.TextWrapped = true
  314.  
  315. local Notify = function(Title, Text)
  316. local Notification = Instance.new("ScreenGui")
  317. local Notification_2 = Instance.new("Frame")
  318. local Main = Instance.new("TextLabel")
  319. local Contents = Instance.new("TextLabel")
  320.  
  321. Notification.Name = "Notification"
  322. Notification.Parent = game.CoreGui
  323.  
  324. Notification_2.Name = "Notification"
  325. Notification_2.Parent = Notification
  326. Notification_2.BackgroundColor3 = Color3.new(0.156863, 0.156863, 0.156863)
  327. Notification_2.BorderColor3 = Color3.new(1, 1, 1)
  328. Notification_2.Position = UDim2.new(2, 0, 0.4, 0)
  329. Notification_2.Size = UDim2.new(0, 150, 0, 75)
  330.  
  331. Main.Name = "Main"
  332. Main.Parent = Notification_2
  333. Main.BackgroundColor3 = Color3.new(1, 1, 1)
  334. Main.BackgroundTransparency = 1
  335. Main.Size = UDim2.new(0, 150, 0, 25)
  336. Main.Font = Enum.Font.SourceSansBold
  337. Main.Text = Title
  338. Main.TextColor3 = Color3.new(1, 1, 1)
  339. Main.TextSize = 14
  340. Main.TextWrapped = true
  341.  
  342. Contents.Name = "Contents"
  343. Contents.Parent = Notification_2
  344. Contents.BackgroundColor3 = Color3.new(1, 1, 1)
  345. Contents.BackgroundTransparency = 1
  346. Contents.Position = UDim2.new(0.0333333351, 0, 0.333333343, 0)
  347. Contents.Size = UDim2.new(0, 140, 0, 45)
  348. Contents.Font = Enum.Font.SourceSans
  349. Contents.Text = Text
  350. Contents.TextColor3 = Color3.new(1, 1, 1)
  351. Contents.TextSize = 14
  352. Contents.TextWrapped = true
  353.  
  354. Notification_2:TweenPosition(UDim2.new(0.915, 0, 0.4, 0), "In", "Linear", .3)
  355. wait(2.3)
  356. Notification_2:TweenPosition(UDim2.new(2, 0, 0.4, 0), "In", "Quad", .3)
  357. wait(0.3)
  358. Notification:Destroy()
  359. end
  360.  
  361. local BoomBoxDupingACTIVE, KnifeDupingACTIVE, PipeDupingACTIVE, SprayDupingACTIVE, LockpickDupingACTIVE, ShotgunDupingACTIVE, SignDupingACTIVE, KeepAllACTIVE, Duplicating = false
  362. local DupeValue = 1
  363.  
  364. local DuplicateTools = {}
  365.  
  366. local ins = function(str)
  367. table.insert(DuplicateTools, str)
  368. end
  369.  
  370. local REWRITE = function()
  371. DuplicateTools = {}
  372. if BoomBoxDupingACTIVE then
  373. ins("BoomBox")
  374. end
  375. if KnifeDupingACTIVE then
  376. ins("Knife")
  377. end
  378. if PipeDupingACTIVE then
  379. ins("Pipe")
  380. end
  381. if SprayDupingACTIVE then
  382. ins("Spray")
  383. end
  384. if LockpickDupingACTIVE then
  385. for i = 1,4 do
  386. ins("Lockpick (".. tostring(i).. ")")
  387. end
  388. end
  389. if ShotgunDupingACTIVE then
  390. ins("Knife")
  391. end
  392. if SignDupingACTIVE then
  393. ins("Sign")
  394. end
  395. end
  396.  
  397. local Save = function()
  398. REWRITE()
  399. for i,v in pairs(DuplicateTools) do
  400. for i,x in pairs(Plr.Backpack:GetChildren()) do
  401. if x.Name == v then
  402. Plr.Backpack[x.Name].Parent = Plr
  403. end
  404. end
  405. for i,x in pairs(Plr.Character:GetChildren()) do
  406. if x.Name == v then
  407. Plr.Character[x.Name].Parent = Plr
  408. end
  409. end
  410. end
  411. end
  412.  
  413. BoomBoxDuping.MouseButton1Up:Connect(function()
  414. if CheckGamepass(1159109) then
  415. BoomBoxDupingACTIVE = not BoomBoxDupingACTIVE
  416. if BoomBoxDupingACTIVE then
  417. BoomBoxDuping.Text = "ON"
  418. BoomBoxDuping.TextColor3 = Color3.new(0, 1, 0)
  419. else
  420. BoomBoxDuping.Text = "OFF"
  421. BoomBoxDuping.TextColor3 = Color3.new(175/255, 0, 0)
  422. end
  423. else
  424. Notify("Error: Gamepass Required!", "You need the BoomBox gamepass to duplicate it.")
  425. end
  426. end)
  427.  
  428. KnifeDuping.MouseButton1Up:Connect(function()
  429. if CheckGamepass(1378459) then
  430. KnifeDupingACTIVE = not KnifeDupingACTIVE
  431. if KnifeDupingACTIVE then
  432. KnifeDuping.Text = "ON"
  433. KnifeDuping.TextColor3 = Color3.new(0, 1, 0)
  434. else
  435. KnifeDuping.Text = "OFF"
  436. KnifeDuping.TextColor3 = Color3.new(175/255, 0, 0)
  437. end
  438. else
  439. Notify("Error: Gamepass Required!", "You need the Knife gamepass to duplicate it.")
  440. end
  441. end)
  442.  
  443. PipeDuping.MouseButton1Up:Connect(function()
  444. if CheckGamepass(1378577) then
  445. PipeDupingACTIVE = not PipeDupingACTIVE
  446. if PipeDupingACTIVE then
  447. PipeDuping.Text = "ON"
  448. PipeDuping.TextColor3 = Color3.new(0, 1, 0)
  449. else
  450. PipeDuping.Text = "OFF"
  451. PipeDuping.TextColor3 = Color3.new(175/255, 0, 0)
  452. end
  453. else
  454. Notify("Error: Gamepass Required!", "You need the Pipe gamepass to duplicate it.")
  455. end
  456. end)
  457.  
  458. SprayDuping.MouseButton1Up:Connect(function()
  459. if CheckGamepass(1541433) then
  460. SprayDupingACTIVE = not SprayDupingACTIVE
  461. if SprayDupingACTIVE then
  462. SprayDuping.Text = "ON"
  463. SprayDuping.TextColor3 = Color3.new(0, 1, 0)
  464. else
  465. SprayDuping.Text = "OFF"
  466. SprayDuping.TextColor3 = Color3.new(175/255, 0, 0)
  467. end
  468. else
  469. Notify("Error: Gamepass Required!", "You need the Spray gamepass to duplicate it.")
  470. end
  471. end)
  472.  
  473. LockpickDuping.MouseButton1Up:Connect(function()
  474. if CheckGamepass(1671301) then
  475. LockpickDupingACTIVE = not LockpickDupingACTIVE
  476. if LockpickDupingACTIVE then
  477. LockpickDuping.Text = "ON"
  478. LockpickDuping.TextColor3 = Color3.new(0, 1, 0)
  479. else
  480. LockpickDuping.Text = "OFF"
  481. LockpickDuping.TextColor3 = Color3.new(175/255, 0, 0)
  482. end
  483. else
  484. Notify("Error: Gamepass Required!", "You need the Lockpick gamepass to duplicate it.")
  485. end
  486. end)
  487.  
  488. ShotgunDuping.MouseButton1Up:Connect(function()
  489. if CheckGamepass(2716073) then
  490. ShotgunDupingACTIVE = not ShotgunDupingACTIVE
  491. if ShotgunDupingACTIVE then
  492. ShotgunDuping.Text = "ON"
  493. ShotgunDuping.TextColor3 = Color3.new(0, 1, 0)
  494. else
  495. ShotgunDuping.Text = "OFF"
  496. ShotgunDuping.TextColor3 = Color3.new(175/255, 0, 0)
  497. end
  498. else
  499. Notify("Error: Gamepass Required!", "You need the Shotgun gamepass to duplicate it.")
  500. end
  501. end)
  502.  
  503. SignDuping.MouseButton1Up:Connect(function()
  504. if CheckGamepass(5058091) then
  505. SignDupingACTIVE = not SignDupingACTIVE
  506. if SignDupingACTIVE then
  507. SignDuping.Text = "ON"
  508. SignDuping.TextColor3 = Color3.new(0, 1, 0)
  509. else
  510. SignDuping.Text = "OFF"
  511. SignDuping.TextColor3 = Color3.new(175/255, 0, 0)
  512. end
  513. else
  514. Notify("Error: Gamepass Required!", "You need the Sign gamepass to duplicate it.")
  515. end
  516. end)
  517.  
  518. KeepAll.MouseButton1Up:Connect(function()
  519. KeepAllACTIVE = not KeepAllACTIVE
  520. if KeepAllACTIVE then
  521. KeepAll.Text = "ON"
  522. KeepAll.TextColor3 = Color3.new(0, 1, 0)
  523. else
  524. KeepAll.Text = "OFF"
  525. KeepAll.TextColor3 = Color3.new(175/255, 0, 0)
  526. end
  527. end)
  528.  
  529. Decrease.MouseButton1Up:Connect(function()
  530. if DupeValue ~= 1 then
  531. DupeValue = DupeValue - 1
  532. TextLabel_9.Text = tostring(DupeValue)
  533. else
  534. Notify("Error: Cannot be 0", "The Dupe Value must be greater than 1.")
  535. end
  536. end)
  537.  
  538. Increase.MouseButton1Up:Connect(function()
  539. if DupeValue ~= 100 then
  540. DupeValue = DupeValue + 1
  541. TextLabel_9.Text = tostring(DupeValue)
  542. else
  543. Notify("Error: Overflow", "You're not going to spend 10 minutes duplicating.")
  544. end
  545. end)
  546.  
  547. Duplicate.MouseButton1Up:Connect(function()
  548. Duplicating = not Duplicating
  549. for i = 1, DupeValue do
  550. if Duplicating then
  551. Plr.Character:BreakJoints()
  552. Save()
  553. repeat wait(1) until Plr.Character:FindFirstChildOfClass("Humanoid") and Plr.Character.Humanoid.Health ~= 0
  554. end
  555. end
  556. for i,v in pairs(Plr:GetChildren()) do
  557. if v:IsA("Tool") then
  558. v.Parent = Plr.Backpack
  559. end
  560. end
  561. for i,v in pairs(Plr.Backpack:GetChildren()) do
  562. if v:IsA("Tool") then
  563. v.CanBeDropped = true
  564. end
  565. end
  566. Duplicating = false
  567. end)
  568.  
  569. Plr.CharacterAdded:Connect(function()
  570. Plr.Character:WaitForChild("Humanoid").Died:Connect(function()
  571. if KeepAllACTIVE and not Duplicating then
  572. for i,v in pairs(Plr.Backpack:GetChildren()) do
  573. if v:IsA("Tool") then
  574. v.Parent = Plr
  575. end
  576. end
  577. for i,v in pairs(Plr.Character:GetChildren()) do
  578. if v:IsA("Tool") then
  579. v.Parent = Plr
  580. end
  581. end
  582. repeat wait(1) until Plr.Character:FindFirstChildOfClass("Humanoid") and Plr.Character.Humanoid.Health ~= 0
  583. for i,v in pairs(Plr:GetChildren()) do
  584. if v:IsA("Tool") then
  585. v.Parent = Plr.Backpack
  586. end
  587. end
  588. for i,v in pairs(Plr.Backpack:GetChildren()) do
  589. if v:IsA("Tool") then
  590. v.CanBeDropped = true
  591. end
  592. end
  593. end
  594. end)
  595. end)
  596.  
  597. if Plr.Character and Plr.Character:FindFirstChild("Humanoid") then
  598. Plr.Character.Humanoid.Died:Connect(function()
  599. if KeepAllACTIVE then
  600. for i,v in pairs(Plr.Backpack:GetChildren()) do
  601. if v:IsA("Tool") then
  602. v.Parent = Plr
  603. end
  604. end
  605. for i,v in pairs(Plr.Character:GetChildren()) do
  606. if v:IsA("Tool") then
  607. v.Parent = Plr
  608. end
  609. end
  610. repeat wait(1) until Plr.Character:FindFirstChildOfClass("Humanoid") and Plr.Character.Humanoid.Health ~= 0
  611. for i,v in pairs(Plr:GetChildren()) do
  612. if v:IsA("Tool") then
  613. v.Parent = Plr.Backpack
  614. end
  615. end
  616. for i,v in pairs(Plr.Backpack:GetChildren()) do
  617. if v:IsA("Tool") then
  618. v.CanBeDropped = true
  619. end
  620. end
  621. end
  622. end)
  623. end
  624.  
  625.  
  626. local BFGActive, Toggled, Mouse, Heartbeat = false, true, Plr:GetMouse(), game:GetService("RunService").Heartbeat
  627.  
  628. local function onKeyPress(inputObject,gameProcessed)
  629. if inputObject.KeyCode == Enum.KeyCode.B then
  630. BFGActive = not BFGActive
  631. wait()
  632. if not BFGActive then
  633. for i,v in pairs(Plr.Character:GetChildren())do
  634. if v.Name == "Uzi" or v.Name == "Knife" or v.Name == "Knife" or v.Name == "Sawed Off" then
  635. v.Parent = Plr.Backpack
  636. end
  637. end
  638. end
  639. elseif inputObject.KeyCode == Enum.KeyCode.Insert then
  640. Toggled = not Toggled
  641. if Toggled then
  642. ScreenGui.Enabled = true
  643. else
  644. ScreenGui.Enabled = false
  645. end
  646. end
  647. end
  648.  
  649. game:GetService("UserInputService").InputBegan:connect(onKeyPress)
  650.  
  651. Mouse.Button1Down:connect(function()
  652. Heartbeat:wait()
  653. for i,v in pairs(Plr.Character:GetChildren())do
  654. if v.Name == "Knife" and v:FindFirstChild("Fire") then
  655. v.Fire:FireServer(Mouse.Hit)
  656. elseif v.Name == "Sawed Off" and v:FindFirstChild("Fire") then
  657. v.Fire:FireServer(Mouse.Hit)
  658. elseif v.Name == "Uzi" and v:FindFirstChild("Fire") then
  659. v.Fire:FireServer(Mouse.Hit)
  660. elseif v.Name == "Knife" and v:FindFirstChild("Fire") then
  661. v.Fire:FireServer(Mouse.Hit)
  662. end
  663. end
  664. end)
  665.  
  666. while true do
  667. Heartbeat:wait()
  668. if BFGActive and Plr.Character then
  669. if Plr.Backpack:FindFirstChild("Knife") then
  670. Plr.Backpack.Knife.Parent = Plr.Character
  671. Heartbeat:wait()
  672. end
  673. if Plr.Backpack:FindFirstChild("Sawed Off") then
  674. Plr.Backpack["Sawed Off"].Parent = Plr.Character
  675. Heartbeat:wait()
  676. end
  677. if Plr.Backpack:FindFirstChild("Uzi") then
  678. Plr.Backpack.Uzi.Parent = Plr.Character
  679. Heartbeat:wait()
  680. end
  681. if Plr.Backpack:FindFirstChild("Knife") then
  682. Plr.Backpack.Knife.Parent = Plr.Character
  683. Heartbeat:wait()
  684. end
  685. end
  686. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement