The text below is selected, press Ctrl+C to copy to your clipboard. (⌘+C on Mac) No line numbers will be copied.
Guest
Project Lazarus script pastebin roblox
By LINK GAME on 2024-11-24 08:00 am | Syntax: LUA | Views: 18



New Script | Raw | Show/Hide line no. | Copy text to clipboard
  1.  hookfunction(gcinfo, function()
  2.    return math.random(200,350)
  3. end)
  4.  
  5. -- // Constants \\ --
  6. -- [ Services ] --
  7. local Services = setmetatable({}, {__index = function(Self, Index)
  8.    local NewService = game:GetService(Index)
  9.    if NewService then
  10.        Self[Index] = NewService
  11.    end
  12.    return NewService
  13. end})
  14.  
  15. -- [ LocalPlayer ] --
  16. local LocalPlayer = Services.Players.LocalPlayer
  17.  
  18. -- // Variables \\ --
  19. local Connections = {
  20.    Weapon1 = nil;
  21.    Weapon2 = nil;
  22.    Weapon3 = nil;
  23.    Backpack = nil;
  24. }
  25.  
  26. local RoundNumber = workspace.RoundNum
  27.  
  28. -- // Functions \\ --
  29. local function CharacterAdded(Character)
  30.    local Backpack = LocalPlayer:WaitForChild('Backpack')
  31.  
  32.    local function ChildAdded(Child)
  33.        if Child.Name == "Weapon1" or Child.Name == "Weapon2" or Child.Name == "Weapon3" then
  34.            local Module = require(Child)
  35.            
  36.            if Connections[Child.Name] then
  37.                Connections[Child.Name]:Disconnect()
  38.                Connections[Child.Name] = nil
  39.            end
  40.  
  41.            Connections[Child.Name] = Services.RunService.RenderStepped:Connect(function()
  42.                Module.Ammo = Module.MagSize + 1
  43.                Module.StoredAmmo = Module.MaxAmmo
  44.                Module.HeadShot = 150 + (RoundNumber.Value * 150)
  45.                Module.TorsoShot = 150 + (RoundNumber.Value * 150)
  46.                Module.LimbShot = 150 + (RoundNumber.Value * 150)
  47.                Module.BulletPenetration = 10
  48.            end)
  49.        end
  50.    end
  51.  
  52.    if Connections.Backpack then
  53.        Connections.Backpack:Disconnect()
  54.        Connections.Backpack = nil
  55.    end
  56.  
  57.    for i,v in ipairs(Backpack:GetChildren()) do
  58.        ChildAdded(v)
  59.    end
  60.    Connections.Backpack = Backpack.ChildAdded:Connect(ChildAdded)
  61. end
  62.  
  63. -- // Event Listeners \\ --
  64. LocalPlayer.CharacterAdded:Connect(CharacterAdded)
  65. CharacterAdded(LocalPlayer.Character)
  66.  
  67. -- // Metatable \\ --
  68. local RawMetatable = getrawmetatable(game)
  69. local __Namecall = RawMetatable.__namecall
  70.  
  71. setreadonly(RawMetatable, false)
  72.  
  73. RawMetatable.__namecall = newcclosure(function(Object, ...)
  74.    local NamecallMethod = getnamecallmethod()
  75.    local Arguments = {...}
  76.  
  77.    if typeof(Object) == "Instance" and Object.IsA(Object, "RemoteEvent") then
  78.        if tostring(Object) == "Damage" and NamecallMethod == "FireServer" then
  79.            Arguments[1].Damage = Arguments[1].BodyPart.Parent.Humanoid.MaxHealth + 10
  80.        end
  81.    end
  82.  
  83.    return __Namecall(Object, unpack(Arguments))
  84. end)
  85.  
  86. setreadonly(RawMetatable, true)
  87.  
  88. -- // Actions \\ --
  89. --LocalPlayer.Character.Health:Destroy()



  • Recent Roblox Scripts