Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local isMouseDown = false
- local plr = game:GetService("Players").LocalPlayer
- local mouse = plr:GetMouse()
- mouse.Button1Down:Connect(function()
- isMouseDown = true
- end)
- mouse.Button1Up:Connect(function()
- isMouseDown = false
- end)
- local taserTable = nil
- for i,v in pairs(getgc(true)) do
- if type(v) == "table" and getrawmetatable(v) == nil then
- if rawget(v,"ReloadTime") and rawget(v,"ReloadTimeHit") and rawget(v,"Sound") then
- if v["Sound"]["taser_buzz"] then
- taserTable = v
- end
- end
- end
- end
- local gunTables = {}
- spawn(function()
- while wait(1) do
- for i,v in pairs(getgc(true)) do
- if type(v) == "table" and getrawmetatable(v) == nil then
- if rawget(v,"MagSize") and rawget(v,"CamShakeMagnitude") then
- if table.find(gunTables,v) == nil then
- table.insert(gunTables,v)
- end
- end
- end
- end
- table.foreach(gunTables,function(i,gunTable)
- gunTable.MagSize = math.huge
- gunTable.ReloadTime = 0
- gunTable.CamShakeMagnitude = 0
- gunTable.FireFreq = math.huge
- end)
- end
- end)
- taserTable["ReloadTime"] = 0
- taserTable["ReloadTimeHit"] = 0
- game:GetService("RunService").RenderStepped:Connect(function()
- if isMouseDown == true and game:GetService("Workspace").Items:GetChildren()[1] ~= nil and isrbxactive() == true then
- mouse1press()
- end
- end)
Add Comment
Please, Sign In to add comment