Advertisement
ZV0K

Yuth Streamable Silent Op

Aug 21st, 2023 (edited)
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 13.47 KB | None | 0 0
  1. -- Instincts personal silent
  2. getgenv().Yuth = {
  3. Silent = {
  4. Enabled = true,
  5. Keybind = "p",
  6. Prediction = 0.1172,
  7. AutoPrediction = true,
  8. },
  9. FOV = {
  10. Visible = true,
  11. Radius = 60,
  12. },
  13. Tracer = {
  14. Key = "C",
  15. Enabled = true,
  16. Prediction = 0.025,
  17. Smoothness = 0.0623,
  18. },
  19. Checks = {
  20. Death = true,
  21. Knocked = true,
  22. NoGroundShots = true,
  23. },
  24. Misc = {
  25. Shake = true,
  26. ShakeValue = 10.5,
  27. },
  28. Macro = {
  29. Enabled = true,
  30. Keybind = "q",
  31. },
  32. }
  33. --byassed whitelist config
  34.  
  35. local AkaliNotif = loadstring(game:HttpGet("https://raw.githubusercontent.com/Kinlei/Dynissimo/main/Scripts/AkaliNotif.lua"))();
  36. local Notify = AkaliNotif.Notify;
  37.  
  38. --- the code shit
  39. getgenv().partlol = "Head"
  40. getgenv().partt = "Head"
  41.  
  42. local Prey = nil
  43. local Plr = nil
  44.  
  45. local Players, Client, Mouse, RS, Camera =
  46. game:GetService("Players"),
  47. game:GetService("Players").LocalPlayer,
  48. game:GetService("Players").LocalPlayer:GetMouse(),
  49. game:GetService("RunService"),
  50. game.Workspace.CurrentCamera
  51.  
  52. local Circle = Drawing.new("Circle")
  53. Circle.Color = Color3.new(1,1,1)
  54. Circle.Thickness = 1
  55.  
  56. local UpdateFOV = function ()
  57. if (not Circle) then
  58. return Circle
  59. end
  60. Circle.Visible = getgenv().Yuth.FOV["Visible"]
  61. Circle.Radius = getgenv().Yuth.FOV["Radius"] * 3
  62. Circle.Position = Vector2.new(Mouse.X, Mouse.Y + (game:GetService("GuiService"):GetGuiInset().Y))
  63. return Circle
  64. end
  65.  
  66. RS.Heartbeat:Connect(UpdateFOV)
  67.  
  68.  
  69. ClosestPlrFromMouse = function()
  70. local Target, Closest = nil, 1/0
  71.  
  72. for _ ,v in pairs(Players:GetPlayers()) do
  73. if (v.Character and v ~= Client and v.Character:FindFirstChild("HumanoidRootPart")) then
  74. local Position, OnScreen = Camera:WorldToScreenPoint(v.Character.HumanoidRootPart.Position)
  75. local Distance = (Vector2.new(Position.X, Position.Y) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
  76.  
  77. if (Circle.Radius > Distance and Distance < Closest and OnScreen) then
  78. Closest = Distance
  79. Target = v
  80. end
  81. end
  82. end
  83. return Target
  84. end
  85.  
  86. local WTS = function (Object)
  87. local ObjectVector = Camera:WorldToScreenPoint(Object.Position)
  88. return Vector2.new(ObjectVector.X, ObjectVector.Y)
  89. end
  90.  
  91. local IsOnScreen = function (Object)
  92. local IsOnScreen = Camera:WorldToScreenPoint(Object.Position)
  93. return IsOnScreen
  94. end
  95.  
  96. local FilterObjs = function (Object)
  97. if string.find(Object.Name, "Gun") then
  98. return
  99. end
  100. if table.find({"Part", "MeshPart", "BasePart"}, Object.ClassName) then
  101. return true
  102. end
  103. end
  104.  
  105. local GetClosestBodyPart = function (character)
  106. local ClosestDistance = 1/0
  107. local BodyPart = nil
  108. if (character and character:GetChildren()) then
  109. for _, x in next, character:GetChildren() do
  110. if FilterObjs(x) and IsOnScreen(x) then
  111. local Distance = (WTS(x) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
  112. if (Circle.Radius > Distance and Distance < ClosestDistance) then
  113. ClosestDistance = Distance
  114. BodyPart = x
  115. end
  116. end
  117. end
  118. end
  119. return BodyPart
  120. end
  121.  
  122. local Prey
  123.  
  124. task.spawn(function ()
  125. while task.wait() do
  126. if Prey then
  127. if getgenv().Yuth.Silent.Enabled then
  128. getgenv().partlol = tostring(GetClosestBodyPart(Prey.Character))
  129. end
  130. end
  131. end
  132. end)
  133.  
  134. local grmt = getrawmetatable(game)
  135. local backupindex = grmt.__index
  136. setreadonly(grmt, false)
  137.  
  138. grmt.__index = newcclosure(function(self, v)
  139. if (getgenv().Yuth.Silent.Enabled and Mouse and tostring(v) == "Hit") then
  140.  
  141. Prey = ClosestPlrFromMouse()
  142.  
  143. if Prey then
  144. local endpoint = game.Players[tostring(Prey)].Character[getgenv().partlol].CFrame + (
  145. game.Players[tostring(Prey)].Character[getgenv().partlol].Velocity * getgenv().Yuth.Silent.Prediction
  146. )
  147. return (tostring(v) == "Hit" and endpoint)
  148. end
  149. end
  150. return backupindex(self, v)
  151. end)
  152.  
  153. local CC = game.Workspace.CurrentCamera
  154. local Mouse = game.Players.LocalPlayer:GetMouse()
  155. local Plr
  156.  
  157.  
  158. Mouse.KeyDown:Connect(function(Key)
  159. local Keybind = getgenv().Yuth.Tracer.Key:lower()
  160. if (Key == Keybind) then
  161. if getgenv().Yuth.Tracer.Enabled == true then
  162. IsTargetting = not IsTargetting
  163. if IsTargetting then
  164. Plr = GetClosest()
  165. else
  166. if Plr ~= nil then
  167. Plr = nil
  168. end
  169. end
  170. end
  171. end
  172. end)
  173.  
  174. function GetClosest()
  175. local closestPlayer
  176. local shortestDistance = math.huge
  177. for i, v in pairs(game.Players:GetPlayers()) do
  178. pcall(function()
  179.  
  180. if v ~= game.Players.LocalPlayer and v.Character and
  181. v.Character:FindFirstChild("Humanoid") then
  182. local pos = CC:WorldToViewportPoint(v.Character.PrimaryPart.Position)
  183. local magnitude =
  184. (Vector2.new(pos.X, pos.Y) - Vector2.new(Mouse.X, Mouse.Y)).magnitude
  185. if (Vector2.new(pos.X, pos.Y) - Vector2.new(Mouse.X, Mouse.Y)).magnitude < shortestDistance then
  186. closestPlayer = v
  187. shortestDistance = magnitude
  188. end
  189. end
  190. end)
  191. end
  192. return closestPlayer
  193. end
  194.  
  195. local function IsOnScreen(Object)
  196. local IsOnScreen = game.Workspace.CurrentCamera:WorldToScreenPoint(Object.Position)
  197. return IsOnScreen
  198. end
  199.  
  200. local function Filter(Object)
  201. if string.find(Object.Name, "Gun") then
  202. return
  203. end
  204. if Object:IsA("Part") or Object:IsA("MeshPart") then
  205. return true
  206. end
  207. end
  208.  
  209. local function WTSPos(Position)
  210. local ObjectVector = game.Workspace.CurrentCamera:WorldToScreenPoint(Position)
  211. return Vector2.new(ObjectVector.X, ObjectVector.Y)
  212. end
  213.  
  214. local function WTS(Object)
  215. local ObjectVector = game.Workspace.CurrentCamera:WorldToScreenPoint(Object.Position)
  216. return Vector2.new(ObjectVector.X, ObjectVector.Y)
  217. end
  218.  
  219. function GetNearestPartToCursorOnCharacter(character)
  220. local ClosestDistance = math.huge
  221. local BodyPart = nil
  222.  
  223. if (character and character:GetChildren()) then
  224. for k, x in next, character:GetChildren() do
  225. if Filter(x) and IsOnScreen(x) then
  226. local Distance = (WTS(x) - Vector2.new(Mouse.X, Mouse.Y)).Magnitude
  227.  
  228. if Distance < ClosestDistance then
  229. ClosestDistance = Distance
  230. BodyPart = x
  231. end
  232. end
  233. end
  234. end
  235.  
  236. return BodyPart
  237. end
  238.  
  239. Mouse.KeyDown:Connect(function(Key)
  240. local Keybind = getgenv().Yuth.Silent.Keybind:lower()
  241. if (Key == Keybind) then
  242. if getgenv().Yuth.Silent.Enabled == true then
  243. getgenv().Yuth.Silent.Enabled = false
  244. if getgenv().Yuth.Silent.Notifications == true then
  245. Notify({
  246. Description = "Silentaim Disabled";
  247. Title = "Yuth";
  248. Duration = 1.5;
  249. });
  250.  
  251.  
  252. else
  253. getgenv().Yuth.Silent.Enabled = true
  254. if getgenv().Yuth.Silent.Notifications == true then
  255. Notify({
  256. Description = "Silentaim Enabled";
  257. Title = "Yuth";
  258. Duration = 1.5;
  259. });
  260. end
  261. end
  262. end
  263. end
  264. end)
  265.  
  266.  
  267. RS.RenderStepped:Connect(function()
  268. if getgenv().Yuth.Checks.NoGroundShots == true and Prey.Character:FindFirstChild("Humanoid") == Enum.HumanoidStateType.Freefall then
  269. pcall(function()
  270. local TargetVelv5 = targ.Character[getgenv().partlol]
  271. TargetVelv5.Velocity = Vector3.new(TargetVelv5.Velocity.X, (TargetVelv5.Velocity.Y * 5), TargetVelv5.Velocity.Z)
  272. TargetVelv5.AssemblyLinearVelocity = Vector3.new(TargetVelv5.Velocity.X, (TargetVelv5.Velocity.Y * 5), TargetVelv5.Velocity.Z)
  273. end)
  274. end
  275.  
  276. if getgenv().Yuth.Checks.Death == true and Plr and Plr.Character:FindFirstChild("Humanoid") then
  277. if Plr.Character.Humanoid.health < 2 then
  278. Plr = nil
  279. IsTargetting = false
  280. end
  281. end
  282. if getgenv().Yuth.Checks.Death == true and Plr and Plr.Character:FindFirstChild("Humanoid") then
  283. if Client.Character.Humanoid.health < 2 then
  284. Plr = nil
  285. IsTargetting = false
  286. end
  287. end
  288. if getgenv().Yuth.Checks.Knocked == true and Prey and Prey.Character then
  289. local KOd = Prey.Character:WaitForChild("BodyEffects")["K.O"].Value
  290. local Grabbed = Prey.Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  291. if KOd or Grabbed then
  292. Prey = nil
  293. end
  294. end
  295. if getgenv().Yuth.Checks.Knocked == true and Plr and Plr.Character then
  296. local KOd = Plr.Character:WaitForChild("BodyEffects")["K.O"].Value
  297. local Grabbed = Plr.Character:FindFirstChild("GRABBING_CONSTRAINT") ~= nil
  298. if KOd or Grabbed then
  299. Plr = nil
  300. IsTargetting = false
  301. end
  302. end
  303. end)
  304.  
  305.  
  306. game.RunService.Heartbeat:Connect(function()
  307. if getgenv().Yuth.Misc.Shake then
  308. local Main = CFrame.new(Camera.CFrame.p,Plr.Character[getgenv().partt].Position + Plr.Character[getgenv().partt].Velocity * getgenv().Yuth.Tracer.Prediction +
  309. Vector3.new(
  310. math.random(-getgenv().Yuth.Misc.ShakeValue, getgenv().Yuth.Misc.ShakeValue),
  311. math.random(-getgenv().Yuth.Misc.ShakeValue, getgenv().Yuth.Misc.ShakeValue),
  312. math.random(-getgenv().Yuth.Misc.ShakeValue, getgenv().Yuth.Misc.ShakeValue)
  313. ) * 0.1)
  314. Camera.CFrame = Camera.CFrame:Lerp(Main, getgenv().Yuth.Tracer.Smoothness, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
  315. else
  316. local Main = CFrame.new(Camera.CFrame.p,Plr.Character[getgenv().partt].Position + Plr.Character[getgenv().partt].Velocity * getgenv().Yuth.Tracer.Prediction)
  317. Camera.CFrame = Camera.CFrame:Lerp(Main, getgenv().Yuth.Tracer.Smoothness, Enum.EasingStyle.Elastic, Enum.EasingDirection.InOut, Enum.EasingStyle.Sine, Enum.EasingDirection.Out)
  318. end
  319. end)
  320.  
  321. task.spawn(function()
  322. while task.wait() do
  323. if getgenv().Yuth.Tracer.Enabled and Plr ~= nil and (Plr.Character) then
  324. getgenv().partt = tostring(GetNearestPartToCursorOnCharacter(Plr.Character))
  325. end
  326. end
  327. end)
  328.  
  329.  
  330. local Player = game:GetService("Players").LocalPlayer
  331. local Mouse = Player:GetMouse()
  332. local SpeedGlitch = false
  333. Mouse.KeyDown:Connect(function(Key)
  334. if getgenv().Yuth.Macro.Enabled == true and Key == getgenv().Yuth.Macro.Keybind then
  335. SpeedGlitch = not SpeedGlitch
  336. if SpeedGlitch == true then
  337. repeat game:GetService("RunService").Heartbeat:wait()
  338. keypress(0x49)
  339. game:GetService("RunService").Heartbeat:wait()
  340.  
  341. keypress(0x4F)
  342. game:GetService("RunService").Heartbeat:wait()
  343.  
  344. keyrelease(0x49)
  345. game:GetService("RunService").Heartbeat:wait()
  346.  
  347. keyrelease(0x4F)
  348. game:GetService("RunService").Heartbeat:wait()
  349.  
  350. until SpeedGlitch == false
  351. end
  352. end
  353. end)
  354.  
  355.  
  356.  
  357. while getgenv().Yuth.Silent.AutoPrediction == true do
  358. local ping = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
  359. local pingValue = string.split(ping, " ")[1]
  360. local pingNumber = tonumber(pingValue)
  361.  
  362. if pingNumber < 30 then
  363. Yuth.Silent.Prediction = 0.12588
  364. elseif pingNumber < 40 then
  365. Yuth.Silent.Prediction = 0.119
  366. elseif pingNumber < 50 then
  367. Yuth.Silent.Prediction = 0.1247
  368. elseif pingNumber < 60 then
  369. Yuth.Silent.Prediction = 0.127668
  370. elseif pingNumber < 70 then
  371. Yuth.Silent.Prediction = 0.12731
  372. elseif pingNumber < 80 then
  373. Yuth.Silent.Prediction = 0.12951
  374. elseif pingNumber < 90 then
  375. Yuth.Silent.Prediction = 0.1318
  376. elseif pingNumber < 100 then
  377. Yuth.Silent.Prediction = 0.1357
  378. elseif pingNumber < 110 then
  379. Yuth.Silent.Prediction = 0.133340
  380. elseif pingNumber < 120 then
  381. Yuth.Silent.Prediction = 0.1455
  382. elseif pingNumber < 130 then
  383. Yuth.Silent.Prediction = 0.143765
  384. elseif pingNumber < 140 then
  385. Yuth.Silent.Prediction = 0.156692
  386. elseif pingNumber < 150 then
  387. Yuth.Silent.Prediction = 0.1223333
  388. elseif pingNumber < 160 then
  389. Yuth.Silent.Prediction = 0.1521
  390. elseif pingNumber < 170 then
  391. Yuth.Silent.Prediction = 0.1626
  392. elseif pingNumber < 180 then
  393. Yuth.Silent.Prediction = 0.1923111
  394. elseif pingNumber < 190 then
  395. Yuth.Silent.Prediction = 0.19284
  396. elseif pingNumber < 200 then
  397. Yuth.Silent.Prediction = 0.166547
  398. elseif pingNumber < 210 then
  399. Yuth.Silent.Prediction = 0.16942
  400. elseif pingNumber < 260 then
  401. Yuth.Silent.Prediction = 0.1651
  402. elseif pingNumber < 310 then
  403. Yuth.Silent.Prediction = 0.16780
  404. end
  405.  
  406. wait(0.1)
  407. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement