Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Please credit
- local GUI = Instance.new("ScreenGui")
- local Backgroundgui = Instance.new("Frame")
- local Bouton = Instance.new("TextButton")
- local Title = Instance.new("TextLabel")
- local Credits = Instance.new("TextBox")
- local Bouton2 = Instance.new("TextButton")
- --Properties:
- GUI.Name = "GUI"
- GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
- Backgroundgui.Name = "Backgroundgui"
- Backgroundgui.Parent = GUI
- Backgroundgui.Active = true
- Backgroundgui.BackgroundColor3 = Color3.new(0.117647, 0.117647, 0.117647)
- Backgroundgui.BorderSizePixel = 0
- Backgroundgui.Position = UDim2.new(0.144435674, 0, 0.224815726, 0)
- Backgroundgui.Selectable = true
- Backgroundgui.Size = UDim2.new(0, 300, 0, 184)
- Backgroundgui.Style = Enum.FrameStyle.RobloxRound
- Bouton.Name = "Bouton"
- Bouton.Parent = Backgroundgui
- Bouton.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
- Bouton.BorderSizePixel = 2
- Bouton.Position = UDim2.new(0.146666661, 0, 0.120907381, 0)
- Bouton.Size = UDim2.new(0, 200, 0, 50)
- Bouton.Modal = true
- Bouton.Font = Enum.Font.SourceSans
- Bouton.Text = "Activate Infinite Ammo"
- Bouton.TextColor3 = Color3.new(1, 1, 1)
- Bouton.TextSize = 14
- Bouton.MouseButton1Down:connect(function()
- local newcclosure = newcclosure or function(f)
- return f
- end
- local getreg = debug.getregistry or getreg
- if not getreg or not getrawmetatable then
- warn("Your exploit does not support the functions required for this script")
- end
- local mt = getrawmetatable(game)
- local oldmt = mt.__namecall
- local sro = make_writeable or setreadonly or changereadonly
- sro(getrawmetatable(game),false)
- mt.__namecall = function(...)
- local args = {...}
- local method = args[#args]
- if method:lower() == "kick" then
- return true
- end
- return oldmt(...)
- end
- local remote = game:GetService("ReplicatedStorage"):FindFirstChild("RemoteEvents"):FindFirstChild("FX")
- if remote then
- remote:Destroy()
- warn("Remote destroyed")
- spawn(function()
- while wait() do
- for _,o in pairs(getreg()) do
- if typeof(o) == "function" then
- local ups = debug.getupvalues(o)
- if ups.ammo then
- debug.setupvalue(o, 'clips', math.huge)
- debug.setupvalue(o, 'ammo', math.huge)
- elseif ups.maxenergy then
- debug.setupvalue(o, 'maxenergy', math.huge)
- debug.setupvalue(o, 'energy', math.huge)
- end
- end
- end
- end
- end)
- else
- print("Failed to get rid of the remote")
- end
- end)
- Title.Name = "Title"
- Title.Parent = Backgroundgui
- Title.BackgroundColor3 = Color3.new(0, 0, 0)
- Title.Position = UDim2.new(-0.0245996583, 0, -0.0692985579, 0)
- Title.Size = UDim2.new(0, 298, 0, 23)
- Title.Font = Enum.Font.SourceSans
- Title.Text = "R2DA Infinite ammo GUI V3"
- Title.TextColor3 = Color3.new(1, 1, 1)
- Title.TextScaled = true
- Title.TextSize = 14
- Title.TextWrapped = true
- Credits.Name = "Credits"
- Credits.Parent = Backgroundgui
- Credits.BackgroundColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Credits.BackgroundTransparency = 1
- Credits.Position = UDim2.new(-0.00191111211, 0, 0.79734689, 0)
- Credits.Size = UDim2.new(0, 200, 0, 26)
- Credits.Font = Enum.Font.SourceSans
- Credits.PlaceholderColor3 = Color3.new(0.105882, 0.164706, 0.207843)
- Credits.Text = "Gui made by Kopelthep"
- Credits.TextColor3 = Color3.new(1, 1, 1)
- Credits.TextSize = 14
- Credits.TextWrapped = true
- Credits.TextXAlignment = Enum.TextXAlignment.Left
- Bouton2.Name = "Bouton2"
- Bouton2.Parent = Backgroundgui
- Bouton2.BackgroundColor3 = Color3.new(0.129412, 0.129412, 0.129412)
- Bouton2.BorderSizePixel = 2
- Bouton2.Position = UDim2.new(0.146666661, 0, 0.486546278, 0)
- Bouton2.Size = UDim2.new(0, 200, 0, 50)
- Bouton2.Modal = true
- Bouton2.Font = Enum.Font.SourceSans
- Bouton2.Text = "Single Player Farm Spawn platform"
- Bouton2.TextColor3 = Color3.new(1, 1, 1)
- Bouton2.TextSize = 14
- Bouton2.MouseButton1Down:connect(function()
- local Part1 = Instance.new("Part")
- local Part2 = Instance.new("Part")
- Part1.Anchored = true
- Part2.Anchored = true
- local Map = workspace.Map
- if not Map then
- Map = workspace:WaitForChild("Map")
- end
- local _REL = Map.Reloads:FindFirstChildOfClass("Model")
- _REL.Clips.Value = 9999
- _REL.PrimaryPart = _REL.Main
- local Human = workspace.Characters.Survivors[game.Players.LocalPlayer.Name]
- Part1.Size = Vector3.new(15,1,15)
- Part1.CFrame = Human.Head.CFrame + Vector3.new(0,20,0)
- Part2.Size = Vector3.new(15,1,15)
- Part2.CFrame = Part1.CFrame + Vector3.new(15,0,0)
- _REL:SetPrimaryPartCFrame(Part2.CFrame)
- Part1.Parent = workspace.Map
- Part2.Parent = workspace.Map
- Human:MoveTo(Part1.Position + Vector3.new(0,4,0))
- end)
- -- Scripts:
- function SCRIPT_ZGRB82_FAKESCRIPT() -- GUI.LocalScript
- getfenv().script = Instance.new('LocalScript', GUI)
- frame = script.Parent.Backgroundgui --get the frame object
- frame.Draggable = true --set draggable to true
- end
- coroutine.resume(coroutine.create(SCRIPT_ZGRB82_FAKESCRIPT))
Add Comment
Please, Sign In to add comment