Advertisement
Guest User

RUSH POINT ESP AND SILENT AIM

a guest
Jul 31st, 2023
3,089
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 6.72 KB | None | 0 0
  1. _G.TeamCheck = true
  2. _G.NoCameraBob = false
  3. _G.SilentAim = false
  4. _G.NoRecoil = false
  5. _G.BHOP = false
  6. _G.WalkSpeedToggle = false
  7. _G.WalkSpeed = 15
  8.  
  9. local function GetModule(Fake)
  10.     local __index = getrawmetatable(Fake).__index
  11.     return getupvalue(__index, 1)
  12. end
  13.  
  14. local Modules = game:GetService("ReplicatedStorage"):WaitForChild("Modules")
  15. local Client = Modules:WaitForChild("Client")
  16. local Shared = Modules:WaitForChild("Shared")
  17.  
  18. local Network = require(Shared.Network)
  19. Network = GetModule(Network)
  20.  
  21. local Memory = require(Shared.SharedMemory)
  22.  
  23. local Characters = workspace.MapFolder.Players
  24.  
  25. local Players = game:GetService("Players")
  26. local plr = Players.LocalPlayer
  27. local PermanentTeam = plr.PermanentTeam
  28. local MyTeam = PermanentTeam.Value
  29. PermanentTeam:GetPropertyChangedSignal("Value"):Connect(function(v)
  30.     MyTeam = v
  31. end)
  32.  
  33. local function IsOnTeam(Player)
  34.     return Players[Player.Name].PermanentTeam.Value == MyTeam
  35. end
  36.  
  37. local Camera = workspace.CurrentCamera
  38.  
  39. --restorefunction(Network.FireServer)
  40. local nc; nc = hookmetamethod(game, "__namecall", function(self, ...)
  41.     local args = {...}
  42.     if _G.SilentAim and args[1] == "FireBullet" and getnamecallmethod() == "FireServer" then
  43.         local MyHRP = Characters[plr.Name].HumanoidRootPart
  44.  
  45.         local BulletData = args[2][1]
  46.         local Weapon = Memory.CurrentWeapon
  47.         local Muzzle = Weapon.Object.Muzzle
  48.         local MuzzlePos = Muzzle.Position
  49.  
  50.         local ClosestHead
  51.         local Closest_Magnitude = 9e9
  52.        
  53.         local Raycastparams = RaycastParams.new()
  54.         Raycastparams.FilterType = Enum.RaycastFilterType.Blacklist
  55.         Raycastparams.FilterDescendantsInstances = {Characters[plr.Name]}
  56.        
  57.         local CameraPos = Camera.CFrame.Position
  58.         for _, v in next, Characters.GetChildren(Characters) do
  59.             local TheirHead = v.FindFirstChild(v, "Head")
  60.             if v.Name ~= plr.Name and TheirHead then
  61.                 if _G.TeamCheck and IsOnTeam(v) then
  62.                     continue
  63.                 end
  64.  
  65.                 local raycastParams = RaycastParams.new()
  66.                 raycastParams.FilterType = Enum.RaycastFilterType.Blacklist
  67.                 raycastParams.FilterDescendantsInstances = {Characters[plr.Name], Camera}
  68.  
  69.                 local RaycastResult = workspace.Raycast(workspace, CameraPos, TheirHead.Position - CameraPos, raycastParams)
  70.                 if RaycastResult and RaycastResult.Instance.Parent.Name == v.Name then
  71.                     local Distance = (TheirHead.Position - MyHRP.Position).Magnitude
  72.                     if Distance < Closest_Magnitude then
  73.                         Closest_Magnitude = Distance
  74.                         ClosestHead = TheirHead
  75.                     end
  76.                 end
  77.             end
  78.         end
  79.        
  80.         if not ClosestHead then
  81.             return nc(self, ...)
  82.         end
  83.  
  84.         local EnemyHeadPos = ClosestHead.Position
  85.         local NewBulletCFrame = CFrame.new(MuzzlePos, EnemyHeadPos)
  86.         local NewOriginCFrame = CFrame.new(CameraPos, EnemyHeadPos)
  87.        
  88.         BulletData.BulletCFrame = NewBulletCFrame
  89.         BulletData.OriginCFrame = NewOriginCFrame
  90.  
  91.         return nc(self, unpack(args))
  92.     end
  93.  
  94.     return nc(self, ...)
  95. end)
  96.  
  97. local RecoilHandler = require(Client.Helpers.RecoilHandler)
  98. RecoilHandler = GetModule(RecoilHandler)
  99. local a; a = hookfunction(RecoilHandler.AddRecoil, function(...)
  100.     if _G.NoRecoil then
  101.         return
  102.     end
  103.    
  104.     return a(...)
  105. end)
  106.  
  107. local CameraModule = require(Client.Managers.CameraModule)
  108. local old; old = hookfunction(CameraModule.AddCameraBounce, function(...)
  109.     if _G.NoCameraBob then
  110.         return
  111.     end
  112.    
  113.     return old(...)
  114. end)
  115.  
  116. local plr = game.Players.LocalPlayer
  117. local Character = plr.Character or plr.CharacterAdded:Wait()
  118. local Humanoid = Character:WaitForChild("Humanoid")
  119.  
  120. local uis = game:GetService("UserInputService")
  121.  
  122. local Space = Enum.KeyCode.Space
  123. local Jumping = Enum.HumanoidStateType.Jumping
  124. local function SetupBhop(character)
  125.     if character then
  126.         Humanoid = character:WaitForChild("Humanoid")
  127.     end
  128.  
  129.     Humanoid.StateChanged:Connect(function(old, new)
  130.         if not _G.BHOP then
  131.             return    
  132.         end
  133.        
  134.         if new == Enum.HumanoidStateType.Landed and uis:IsKeyDown(Space) then
  135.             Humanoid:ChangeState(Jumping)
  136.         end
  137.     end)
  138. end
  139.  
  140. SetupBhop()
  141. plr.CharacterAdded:Connect(SetupBhop)
  142.  
  143. local idx; idx = hookmetamethod(game, "__newindex", function(self, i, v)
  144.     if i == "WalkSpeed" and _G.WalkSpeedToggle then
  145.         v = _G.WalkSpeed
  146.     end
  147.  
  148.     return idx(self, i, v)
  149. end)
  150.  
  151. if not ESP then
  152.     getgenv().ESP = loadstring(game:HttpGet("https://raw.githubusercontent.com/noobscripter38493/kiriot-esp/main/ESP.lua"))()
  153.  
  154.     ESP.Tracers = true
  155.     ESP:Toggle(true)
  156.  
  157.     local TeamColor = Color3.fromRGB(0, 0, 255)
  158.     local EnemyColor = Color3.fromRGB(255, 0, 0)
  159.  
  160.     local function AddPlayerToESP(Player)
  161.         if Player.Name ~= plr.Name and Player:FindFirstChild("HumanoidRootPart") then
  162.             if IsOnTeam(Players[Player.Name]) then
  163.                 Color = TeamColor
  164.             else
  165.                 Color = EnemyColor
  166.             end
  167.  
  168.             ESP:Add(Player, {Color = Color})
  169.         end
  170.     end
  171.    
  172.     for _, v in next, Characters:GetChildren() do
  173.         AddPlayerToESP(v)
  174.     end
  175.  
  176.     Characters.ChildAdded:Connect(AddPlayerToESP)
  177. end
  178.  
  179. local Material = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/MaterialLua/master/Module.lua"))()
  180. local Main = Material.Load({
  181.     Title = "Rush Point",
  182.     Style = 3,
  183.     SizeX = 500,
  184.     SizeY = 350,
  185.     Theme = "Light",
  186.     ColorOverrides = {
  187.         MainFrame = Color3.fromRGB(235,235,235)
  188.     }
  189. })
  190.  
  191. local Page = Main.New({
  192.     Title = "Script"
  193. })
  194.  
  195. Page.Toggle({
  196.     Text = "Silent Aim",
  197.     Enabled = false,
  198.     Callback = function(v)
  199.         _G.SilentAim = v
  200.     end
  201. })
  202.  
  203. Page.Toggle({
  204.     Text = "No Recoil",
  205.     Enabled = false,
  206.     Callback = function(v)
  207.         _G.NoRecoil = v
  208.     end
  209. })
  210.  
  211. Page.Toggle({
  212.     Text = "No Camera Bob",
  213.     Enabled = false,
  214.     Callback = function(v)
  215.         _G.NoCameraBob = v
  216.     end
  217. })
  218.  
  219. Page.Toggle({
  220.     Text = "WalkSpeed Toggle",
  221.     Enabled = false,
  222.     Callback = function(v)
  223.         _G.WalkSpeedToggle = v
  224.     end
  225. })
  226.  
  227. Page.Slider({
  228.     Text = "WalkSpeed",
  229.     Min = 1,
  230.     Max = 30,
  231.     Def = 15,
  232.     Callback = function(v)
  233.         _G.WalkSpeed = v
  234.     end
  235. })
  236.  
  237. Page.Toggle({
  238.     Text = "Team Check",
  239.     Enabled = true,
  240.     Callback = function(v)
  241.         _G.TeamCheck = v
  242.     end
  243. })
  244.  
  245. Page.Toggle({
  246.     Text = "BHOP",
  247.     Enabled = false,
  248.     Callback = function(v)
  249.         _G.BHOP = v
  250.     end
  251. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement