Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local cs = game:GetService("CollectionService")
- local rs = game:GetService("RunService").RenderStepped
- local plr = game.Players.LocalPlayer
- local function hack(c)
- if c:IsA("Tool") and c.Name ~= "Portafab" and not cs:HasTag(c,"hack") then
- while not cs:HasTag(c,"hack") and rs:Wait() do
- for i,v in next, debug.getregistry() do
- if type(v)=='function' and debug.getupvalues(v).self and debug.getupvalues(v).self.Tool and debug.getupvalues(v).self.Tool.Name == c.Name then
- local self = debug.getupvalues(v).self
- self.PrimaryFireRate = 2^31
- self.PrimaryAutomatic = true
- self.PrimaryIridiumCost = 0
- cs:AddTag(c,"hack")
- break
- end
- end
- end
- end
- end
- plr.Backpack.ChildAdded:Connect(hack)
- plr.CharacterAdded:Connect(function() plr.Backpack.ChildAdded:Connect(hack) end)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement