NathanGamer1

asdsad

Feb 19th, 2019
72
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.76 KB | None | 0 0
  1. --Please credit
  2.  
  3. local GUI = Instance.new("ScreenGui")
  4. local Backgroundgui = Instance.new("Frame")
  5. local Bouton = Instance.new("TextButton")
  6. local Title = Instance.new("TextLabel")
  7. local Credits = Instance.new("TextBox")
  8. local Bouton2 = Instance.new("TextButton")
  9. --Properties:
  10. GUI.Name = "GUI"
  11. GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
  12.  
  13. Backgroundgui.Name = "Backgroundgui"
  14. Backgroundgui.Parent = GUI
  15. Backgroundgui.Active = true
  16. Backgroundgui.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
  17. Backgroundgui.BorderSizePixel = 0
  18. Backgroundgui.Position = UDim2.new(0.144435674, 0, 0.224815726, 0)
  19. Backgroundgui.Selectable = true
  20. Backgroundgui.Size = UDim2.new(0, 300, 0, 184)
  21. Backgroundgui.Style = Enum.FrameStyle.RobloxRound
  22.  
  23. Bouton.Name = "Bouton"
  24. Bouton.Parent = Backgroundgui
  25. Bouton.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  26. Bouton.BorderSizePixel = 2
  27. Bouton.Position = UDim2.new(0.146666661, 0, 0.120907381, 0)
  28. Bouton.Size = UDim2.new(0, 200, 0, 50)
  29. Bouton.Modal = true
  30. Bouton.Font = Enum.Font.SourceSans
  31. Bouton.Text = "Activate Infinite Ammo"
  32. Bouton.TextColor3 = Color3.new(1, 1, 1)
  33. Bouton.TextSize = 14
  34. Bouton.MouseButton1Down:connect(function()
  35. local newcclosure = newcclosure or function(f)
  36. return f
  37. end
  38.  
  39. local getreg = debug.getregistry or getreg
  40.  
  41. if not getreg or not getrawmetatable then
  42. warn("Your exploit does not support the functions required for this script")
  43. end
  44.  
  45.  
  46. local mt = getrawmetatable(game)
  47. local oldmt = mt.__namecall
  48. local sro = make_writeable or setreadonly or changereadonly
  49. sro(getrawmetatable(game),false)
  50.  
  51. mt.__namecall = function(...)
  52. local args = {...}
  53. local method = args[#args]
  54. if method:lower() == "kick" then
  55. return true
  56. end
  57. return oldmt(...)
  58. end
  59.  
  60. local remote = game:GetService("ReplicatedStorage"):FindFirstChild("RemoteEvents"):FindFirstChild("FX")
  61. if remote then
  62. remote:Destroy()
  63. warn("Remote destroyed")
  64. spawn(function()
  65. while wait() do
  66. for _,o in pairs(getreg()) do
  67. if typeof(o) == "function" then
  68. local ups = debug.getupvalues(o)
  69. if ups.ammo then
  70. debug.setupvalue(o, 'clips', math.huge)
  71. debug.setupvalue(o, 'ammo', math.huge)
  72. elseif ups.maxenergy then
  73. debug.setupvalue(o, 'maxenergy', math.huge)
  74. debug.setupvalue(o, 'energy', math.huge)
  75. end
  76. end
  77. end
  78. end
  79. end)
  80. else
  81. print("Failed to get rid of the remote")
  82. end
  83. end)
  84. Title.Name = "Title"
  85. Title.Parent = Backgroundgui
  86. Title.BackgroundColor3 = Color3.new(0, 0, 0)
  87. Title.Position = UDim2.new(-0.0245996583, 0, -0.0692985579, 0)
  88. Title.Size = UDim2.new(0, 298, 0, 23)
  89. Title.Font = Enum.Font.SourceSans
  90. Title.Text = "R2DA Infinite ammo GUI V3"
  91. Title.TextColor3 = Color3.new(1, 1, 1)
  92. Title.TextScaled = true
  93. Title.TextSize = 14
  94. Title.TextWrapped = true
  95.  
  96. Credits.Name = "Credits"
  97. Credits.Parent = Backgroundgui
  98. Credits.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  99. Credits.BackgroundTransparency = 1
  100. Credits.Position = UDim2.new(-0.00191111211, 0, 0.79734689, 0)
  101. Credits.Size = UDim2.new(0, 200, 0, 26)
  102. Credits.Font = Enum.Font.SourceSans
  103. Credits.PlaceholderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
  104. Credits.Text = "Gui made by Kopelthep"
  105. Credits.TextColor3 = Color3.new(1, 1, 1)
  106. Credits.TextSize = 14
  107. Credits.TextWrapped = true
  108. Credits.TextXAlignment = Enum.TextXAlignment.Left
  109.  
  110. Bouton2.Name = "Bouton2"
  111. Bouton2.Parent = Backgroundgui
  112. Bouton2.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
  113. Bouton2.BorderSizePixel = 2
  114. Bouton2.Position = UDim2.new(0.146666661, 0, 0.486546278, 0)
  115. Bouton2.Size = UDim2.new(0, 200, 0, 50)
  116. Bouton2.Modal = true
  117. Bouton2.Font = Enum.Font.SourceSans
  118. Bouton2.Text = "Single Player Farm Spawn platform"
  119. Bouton2.TextColor3 = Color3.new(1, 1, 1)
  120. Bouton2.TextSize = 14
  121. Bouton2.MouseButton1Down:connect(function()
  122. local Part1 = Instance.new("Part")
  123. local Part2 = Instance.new("Part")
  124. Part1.Anchored = true
  125. Part2.Anchored = true
  126.  
  127. local Map = workspace.Map
  128. if not Map then
  129. Map = workspace:WaitForChild("Map")
  130. end
  131.  
  132. local _REL = Map.Reloads:FindFirstChildOfClass("Model")
  133. _REL.Clips.Value = 9999
  134. _REL.PrimaryPart = _REL.Main
  135.  
  136. local Human = workspace.Characters.Survivors[game.Players.LocalPlayer.Name]
  137.  
  138. Part1.Size = Vector3.new(15,1,15)
  139. Part1.CFrame = Human.Head.CFrame + Vector3.new(0,20,0)
  140. Part2.Size = Vector3.new(15,1,15)
  141. Part2.CFrame = Part1.CFrame + Vector3.new(15,0,0)
  142. _REL:SetPrimaryPartCFrame(Part2.CFrame)
  143. Part1.Parent = workspace.Map
  144. Part2.Parent = workspace.Map
  145.  
  146. Human:MoveTo(Part1.Position + Vector3.new(0,4,0))
  147. end)
  148.  
  149. -- Scripts:
  150. function SCRIPT_ZGRB82_FAKESCRIPT() -- GUI.LocalScript
  151. getfenv().script = Instance.new('LocalScript', GUI)
  152.  
  153. frame = script.Parent.Backgroundgui --get the frame object
  154. frame.Draggable = true --set draggable to true
  155.  
  156. end
  157. coroutine.resume(coroutine.create(SCRIPT_ZGRB82_FAKESCRIPT))
Add Comment
Please, Sign In to add comment