Advertisement
akaMeltDown

test

Apr 8th, 2023
13
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.63 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 = false
  155. ESP:Toggle(true)
  156.  
  157. local EnemyColor = Color3.fromRGB(48,0,211)
  158.  
  159. local function AddPlayerToESP(Player)
  160. if Player.Name ~= plr.Name and Player:FindFirstChild("HumanoidRootPart") then
  161. if IsOnTeam(Players[Player.Name]) then
  162.  
  163. else
  164. Color = EnemyColor
  165. end
  166.  
  167. ESP:Add(Player, {Color = Color})
  168. end
  169. end
  170.  
  171. for _, v in next, Characters:GetChildren() do
  172. AddPlayerToESP(v)
  173. end
  174.  
  175. Characters.ChildAdded:Connect(AddPlayerToESP)
  176. end
  177.  
  178. local Material = loadstring(game:HttpGet("https://pastebin.com/raw/S0vsbyVU"))()
  179. local Main = Material.Load({
  180. Title = "Wasted: .gg/lethals",
  181. Style = 1,
  182. SizeX = 250,
  183. SizeY = 350,
  184. Theme = "Dark",
  185. ColorOverrides = {
  186. MainFrame = Color3.fromRGB(48,0,211)
  187. }
  188. })
  189.  
  190. local Page = Main.New({
  191. Title = "Main Menu"
  192. })
  193.  
  194. Page.Toggle({
  195. Text = "Silent Aim",
  196. Enabled = false,
  197. Callback = function(v)
  198. _G.SilentAim = v
  199. end
  200. })
  201.  
  202. Page.Toggle({
  203. Text = "No Recoil",
  204. Enabled = false,
  205. Callback = function(v)
  206. _G.NoRecoil = v
  207. end
  208. })
  209.  
  210. Page.Toggle({
  211. Text = "No Camera Bob",
  212. Enabled = false,
  213. Callback = function(v)
  214. _G.NoCameraBob = v
  215. end
  216. })
  217.  
  218. Page.Toggle({
  219. Text = "WalkSpeed Toggle",
  220. Enabled = false,
  221. Callback = function(v)
  222. _G.WalkSpeedToggle = v
  223. end
  224. })
  225.  
  226. Page.Slider({
  227. Text = "WalkSpeed",
  228. Min = 1,
  229. Max = 30,
  230. Def = 15,
  231. Callback = function(v)
  232. _G.WalkSpeed = v
  233. end
  234. })
  235.  
  236. Page.Toggle({
  237. Text = "Team Check",
  238. Enabled = true,
  239. Callback = function(v)
  240. _G.TeamCheck = v
  241. end
  242. })
  243.  
  244. Page.Toggle({
  245. Text = "BHOP",
  246. Enabled = false,
  247. Callback = function(v)
  248. _G.BHOP = v
  249. end
  250. })
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement