Advertisement
ZV0K

Blankify Lock 🫥

Aug 10th, 2023
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.81 KB | None | 0 0
  1. -- Toggle
  2. getgenv().Target = true
  3.  
  4. -- Configuration
  5. getgenv().Key = Enum.KeyCode.Q
  6. getgenv().Prediction = 0.10
  7. getgenv().ChatMode = false
  8. getgenv().NotifMode = true
  9. getgenv().PartMode = true
  10. getgenv().AirshotFunccc = true
  11. getgenv().Partz = "HumanoidRootPart"
  12. getgenv().AutoPrediction = true
  13. getgenv().Fov = 100
  14. getgenv().Circle = true
  15. --
  16. _G.Types = {
  17. Ball = Enum.PartType.Ball,
  18. Block = Enum.PartType.Block,
  19. Cylinder = Enum.PartType.Cylinder
  20. }
  21.  
  22. --variables
  23. local Tracer = Instance.new("Part", game.Workspace)
  24. Tracer.Name = "gay"
  25. Tracer.Anchored = true
  26. Tracer.CanCollide = false
  27. Tracer.Transparency = 0
  28. Tracer.Parent = game.Workspace
  29. Tracer.Shape = _G.Types.Ball
  30. Tracer.Size = Vector3.new(7,7,7)
  31. Tracer.Color = Color3.fromRGB(74, 237, 255)
  32. Tracer.Material = Enum.Material.ForceField
  33.  
  34. --
  35. local plr = game.Players.LocalPlayer
  36. local mouse = plr:GetMouse()
  37. local Runserv = game:GetService("RunService")
  38.  
  39. circle = Drawing.new("Circle")
  40. circle.Color = Color3.fromRGB(25,25,25)
  41. circle.Thickness = 0
  42. circle.NumSides = 732
  43. circle.Radius = getgenv().Fov
  44. circle.Thickness = 0
  45. circle.Transparency = 0
  46. circle.Visible = getgenv().Circle
  47. circle.Filled = false
  48.  
  49. Runserv.RenderStepped:Connect(function()
  50. circle.Position = Vector2.new(mouse.X,mouse.Y+35)
  51. if getgenv().AirshotFunccc == true then
  52. if Plr ~= nil then else return; end
  53. if Plr.Character.Humanoid.Jump == true and Plr.Character.Humanoid.FloorMaterial == Enum.Material.Air then
  54. getgenv().Partz = "LowerTorso"
  55. else
  56. Plr.Character:WaitForChild("Humanoid").StateChanged:Connect(function(old,new)
  57. if new == Enum.HumanoidStateType.Freefall then
  58. getgenv().Partz = "LowerTorso"
  59. else
  60. getgenv().Partz = "UpperTorso"
  61. end
  62. end)
  63. end
  64. end
  65. end)
  66.  
  67. local guimain = Instance.new("Folder", game.CoreGui)
  68. local CC = game:GetService"Workspace".CurrentCamera
  69. local LocalMouse = game.Players.LocalPlayer:GetMouse()
  70. local Locking = false
  71.  
  72.  
  73. --
  74. if getgenv().valiansh == true then
  75. game.StarterGui:SetCore("SendNotification", {
  76. Title = "blankify",
  77. Text = "Already Loaded!",
  78. Icon = "rbxassetid://11481384772",
  79. Duration = 5
  80.  
  81. })
  82. return
  83. end
  84.  
  85. getgenv().valiansh = true
  86.  
  87. local UserInputService = game:GetService("UserInputService")
  88.  
  89. UserInputService.InputBegan:Connect(function(keygo,ok)
  90. if (not ok) then
  91. if (keygo.KeyCode == getgenv().Key) then
  92. if getgenv().Target == true then
  93. Locking = not Locking
  94.  
  95. if Locking then
  96. Plr = getClosestPlayerToCursor()
  97. if getgenv().ChatMode then
  98. local A_1 = "Target: "..tostring(Plr.Character.Humanoid.DisplayName) local A_2 = "All" local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest Event:FireServer(A_1, A_2)
  99. end
  100. if getgenv().NotifMode then
  101. game.StarterGui:SetCore("SendNotification", {
  102. Title = "blankify";
  103. Text = "Target: "..tostring(Plr.Character.Humanoid.DisplayName);
  104.  
  105. })
  106. end
  107. elseif not Locking then
  108. if getgenv().ChatMode then
  109. local A_1 = "Unlocked!" local A_2 = "All" local Event = game:GetService("ReplicatedStorage").DefaultChatSystemChatEvents.SayMessageRequest Event:FireServer(A_1, A_2)
  110. end
  111. if getgenv().NotifMode then
  112. game.StarterGui:SetCore("SendNotification", {
  113. Title = "blankify",
  114. Text = "Unlocked",
  115. Duration = 5
  116. })
  117. elseif getgenv().Target == false then
  118. game.StarterGui:SetCore("SendNotification", {
  119. Title = "",
  120. Text = "Target left or died.",
  121. Duration = 5
  122.  
  123. })
  124.  
  125. end
  126.  
  127.  
  128. end end
  129. end
  130. end
  131. end)
  132.  
  133. function getClosestPlayerToCursor()
  134. local closestPlayer
  135. local shortestDistance = circle.Radius
  136.  
  137. for i, v in pairs(game.Players:GetPlayers()) do
  138. if v ~= game.Players.LocalPlayer and v.Character and v.Character:FindFirstChild("Humanoid") and v.Character.Humanoid.Health ~= 0 and v.Character:FindFirstChild("LowerTorso") then
  139. local pos = CC:WorldToViewportPoint(v.Character.PrimaryPart.Position)
  140. local magnitude = (Vector2.new(pos.X, pos.Y) - Vector2.new(LocalMouse.X, LocalMouse.Y)).magnitude
  141. if magnitude < shortestDistance then
  142. closestPlayer = v
  143. shortestDistance = magnitude
  144. end
  145. end
  146. end
  147. return closestPlayer
  148. end
  149. --
  150. if getgenv().PartMode then
  151. game:GetService"RunService".Stepped:connect(function()
  152. if Locking and Plr.Character and Plr.Character:FindFirstChild("LowerTorso") then
  153. Tracer.CFrame = CFrame.new(Plr.Character.LowerTorso.Position+(Plr.Character.LowerTorso.Velocity*Prediction))
  154. else
  155. Tracer.CFrame = CFrame.new(0, 9999, 0)
  156. end
  157. end)
  158. end
  159.  
  160.  
  161.  
  162. --
  163. local rawmetatable = getrawmetatable(game)
  164. local old = rawmetatable.__namecall
  165. setreadonly(rawmetatable, false)
  166. rawmetatable.__namecall = newcclosure(function(...)
  167. local args = {...}
  168. if Locking and getnamecallmethod() == "FireServer" and args[2] == "UpdateMousePos" then
  169. args[3] = Plr.Character[getgenv().Partz].Position+(Plr.Character[getgenv().Partz].Velocity*Prediction)
  170. return old(unpack(args))
  171. end
  172. return old(...)
  173. end)
  174. ---
  175. while wait() do
  176. if getgenv().AutoPrediction == true then
  177. local pingvalue = game:GetService("Stats").Network.ServerStatsItem["Data Ping"]:GetValueString()
  178. local split = string.split(pingvalue,'(')
  179. local ping = tonumber(split[1])
  180. if ping < 130 then
  181. getgenv().Prediction = 0.151
  182. elseif ping < 125 then
  183. getgenv().Prediction = 0.149
  184. elseif ping < 110 then
  185. getgenv().Prediction = 0.140
  186. elseif ping < 105 then
  187. getgenv().Prediction = 0.133
  188. elseif ping < 90 then
  189. getgenv().Prediction = 0.130
  190. elseif ping < 80 then
  191. getgenv().Prediction = 0.128
  192. elseif ping < 70 then
  193. getgenv().Prediction = 0.1230
  194. elseif ping < 60 then
  195. getgenv().Prediction = 0.1229
  196. elseif ping < 50 then
  197. getgenv().Prediction = 0.1225
  198. elseif ping < 40 then
  199. getgenv().Prediction = 0.1256
  200. end
  201. end
  202. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement