Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- // Sub to Landon Exploits // --
- -- // Sub to Landon Exploits // --
- -- // Sub to Landon Exploits // --
- local getrawmetatable = getrawmetatable or debug.getmetatable
- local make_writeable = make_writeable or setreadonly or changereadonly or change_writeable
- make_writeable(getrawmetatable(game), false)
- local backup = getrawmetatable(game).__namecall
- local Zombies={}
- _G.WeaponKey = nil
- getrawmetatable(game).__namecall = function(self, ...)
- local packed = {...}
- if not _G.WeaponKey then
- if packed[#packed] == 'FireServer' then
- if self.Name == 'Damage' then
- _G.WeaponKey = packed[2]
- warn('Key acquired.')
- return backup(self, ...)
- end
- end
- end
- return backup(self, ...)
- end
- local KILLALL = function()
- for k,v in next, workspace.Baddies:GetChildren()do
- if v.Name == 'Zombie' then
- table.insert(Zombies, v)
- end
- end
- table.foreach(Zombies, function(k,v)
- if not _G.WeaponKey then
- return
- end
- local status, ret = xpcall(function()
- return v.Humanoid.Damage
- end, function(err) warn('Remote not found.') end)
- if status then
- --repeat wait()
- ret:FireServer(
- {
- ["BodyPart"] = v['HeadBox'],
- ["GibPower"] = 100,
- ["Damage"] = v.Humanoid.MaxHealth,
- },_G.WeaponKey)
- --until v.Humanoid.Health <= 0
- end
- end)
- end
- game:GetService('UserInputService').InputBegan:Connect(function(key)
- if key.KeyCode == Enum.KeyCode.E then
- if _G.WeaponKey then
- KILLALL()
- else
- print('No key')
- end
- end
- end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement