robloxboblox

Untitled

May 4th, 2021
620
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. function reload()
  2.         pcall(function()
  3.             if game.Players.LocalPlayer.PlayerGui:FindFirstChild("WeaponDisplay") then
  4.                 if string.match(game.Players.LocalPlayer.PlayerGui.WeaponDisplay.Frame.Ammo.text, "%d") == "0" then
  5.                     keypress(0x52)
  6.                     keyrelease(0x52)
  7.                 end
  8.             end
  9.         end)
  10.     end
  11.  
  12.     function equipgun()
  13.         pcall(function()
  14.             for i,v in pairs(game.Players.LocalPlayer.Backpack:GetChildren()) do
  15.                 if v and v:FindFirstChild("LocalScript") then
  16.                     game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):EquipTool(v)
  17.                 end
  18.             end
  19.         end)
  20.     end
  21.  
  22.  
  23.     function checkGun()
  24.         if not game.Players.LocalPlayer.PlayerGui.WeaponDisplay:FindFirstChild("Frame")
  25.         then game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  26.             wait()
  27.             equipgun()
  28.         end
  29.     end
  30.  
  31.     spawn(function()
  32.         pcall(function()
  33.             local loc = game.Players.LocalPlayer
  34.             local cam = workspace.Camera
  35.             while wait() do
  36.                 loc.CameraMode = Enum.CameraMode.LockFirstPerson
  37.                 if loc.Team.Name == "Survivor" then
  38.                     equipgun()
  39.                     for i,v in pairs(workspace.Sharks:GetChildren()) do
  40.                         if workspace.Sharks:FindFirstChild(tostring(v.Name)) then
  41.                             game.Players.LocalPlayer.Character:FindFirstChild("Humanoid"):UnequipTools()
  42.                             equipgun()
  43.                             --checkgun()
  44.                             cam.CoordinateFrame = CFrame.new(cam.CoordinateFrame.p, v.Body.CFrame.p)
  45.                             mouse1press()
  46.                             wait()
  47.                             mouse1release()
  48.                             reload()
  49.                         end
  50.                     end
  51.                 end
  52.             end
  53.          end
  54.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×