bleedvlone

PLAYER FINDER

Feb 13th, 2025
19
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 11.76 KB | None | 0 0
  1. (Must join the same game as victim.)
  2. 1. Place ID
  3. 2. User ID
  4.  
  5. repeat
  6. wait()
  7. until game:IsLoaded()
  8. local h = game:GetService("HttpService")
  9. local RequestFunction
  10. if syn and syn.request then
  11. RequestFunction = syn.request
  12. elseif request then
  13. RequestFunction = request
  14. elseif http and http.request then
  15. RequestFunction = http.request
  16. elseif http_request then
  17. RequestFunction = http_request
  18. end
  19.  
  20. if not game.CoreGui:FindFirstChild("StreamSniper") then
  21. local screenGui = Instance.new("ScreenGui", game.CoreGui)
  22. screenGui.Name = "StreamSniper"
  23. screenGui.IgnoreGuiInset = true
  24.  
  25. local TBox1 = Instance.new("TextBox", screenGui)
  26. TBox1.Size = UDim2.new(0.1, 0, 0.1, 0)
  27. TBox1.Position = UDim2.new(0.8, 0, 0.3, 0)
  28. TBox1.Text = ""
  29. TBox1.PlaceholderColor3 = Color3.new(1, 1, 0)
  30. TBox1.TextColor3 = Color3.new(1, 1, 0)
  31. TBox1.BackgroundColor3 = Color3.new(0, 0, 0)
  32. TBox1.BorderColor3 = Color3.new(0, 0, 0)
  33.  
  34. local TBox2 = Instance.new("TextBox", screenGui)
  35. TBox2.Size = UDim2.new(0.1, 0, 0.1, 0)
  36. TBox2.Position = UDim2.new(0.9, 0, 0.3, 0)
  37. TBox2.Text = ""
  38. TBox2.PlaceholderColor3 = Color3.new(1, 1, 0)
  39. TBox2.TextColor3 = Color3.new(1, 1, 0)
  40. TBox2.BackgroundColor3 = Color3.new(0, 0, 0)
  41. TBox2.BorderColor3 = Color3.new(0, 0, 0)
  42.  
  43. local TBox3 = Instance.new("TextBox", screenGui)
  44. TBox3.Size = UDim2.new(0.2, 0, 0.1, 0)
  45. TBox3.Position = UDim2.new(0.8, 0, 0.2, 0)
  46. TBox3.Text = ""
  47. TBox3.PlaceholderColor3 = Color3.new(1, 1, 0)
  48. TBox3.TextColor3 = Color3.new(1, 1, 0)
  49. TBox3.BackgroundColor3 = Color3.new(0, 0, 0)
  50. TBox3.BorderColor3 = Color3.new(0, 0, 0)
  51.  
  52. TBox1.TextScaled = true
  53. TBox2.TextScaled = true
  54. TBox3.TextScaled = true
  55. TBox1.PlaceholderText = "PlaceId"
  56. TBox2.PlaceholderText = "Player Name/ID"
  57. TBox3.PlaceholderText = "Mode"
  58.  
  59. local TButton = Instance.new("TextButton", screenGui)
  60. TButton.Size = UDim2.new(0.2, 0, 0.1, 0)
  61. TButton.Position = UDim2.new(0.8, 0, 0.4, 0)
  62. TButton.Text = "Snipe"
  63. TButton.TextScaled = true
  64. TButton.TextColor3 = Color3.new(1, 1, 0)
  65. TButton.BackgroundColor3 = Color3.new(0, 0, 0)
  66. TButton.BorderColor3 = Color3.new(0, 0, 0)
  67.  
  68. if _G.cursor == nil then
  69. _G.cursor =
  70. RequestFunction(
  71. {["Url"] = "https://raw.githubusercontent.com/LeymansGuz/playerTokens/main/cursor.txt", ["Method"] = "GET"}
  72. )
  73. _G.cursor = h:JSONDecode(_G.cursor.Body)
  74. end
  75.  
  76. function runScript(placeId, user, mode)
  77. spawn(
  78. function()
  79. local timecount = tick()
  80.  
  81. if _G.available == nil then
  82. _G.available = true
  83. end
  84.  
  85. function round(num)
  86. return tostring(math.floor(num * 100 + 0.5) / 100)
  87. end
  88.  
  89. function checktokens(tokens)
  90. local payload = {
  91. Url = "https://thumbnails.roblox.com/v1/batch",
  92. Headers = {
  93. ["Content-Type"] = "application/json"
  94. },
  95. Method = "POST",
  96. Body = {}
  97. }
  98.  
  99. for i, v in pairs(tokens) do
  100. table.insert(
  101. payload.Body,
  102. {
  103. requestId = "0:" .. v[3] .. ":AvatarHeadshot:150x150:png:regular",
  104. type = "AvatarHeadShot",
  105. targetId = 0,
  106. token = v[3],
  107. format = "png",
  108. size = "150x150"
  109. }
  110. )
  111. end
  112. payload.Body = h:JSONEncode(payload.Body)
  113. local result = RequestFunction(payload)
  114. local s, data = pcall(h.JSONDecode, h, result.Body)
  115. return data.data
  116. end
  117.  
  118. function json()
  119. found = false
  120. if #_G.token >= 1 then
  121. if #_G.token > 100 then
  122. tab = {}
  123. for i = 1, 100 do
  124. table.insert(tab, _G.token[i])
  125. table.insert(_G.playertoken, _G.token[i])
  126. table.remove(_G.token, i)
  127. end
  128. leymans = checktokens(tab)
  129. if leymans then
  130. for i, v in pairs(leymans) do
  131. if v.imageUrl == _G.image then
  132. id = string.sub(v.requestId, 3, #v.requestId - 35)
  133. for a, b in pairs(_G.playertoken) do
  134. if b[3] == id then
  135. if not found then
  136. found = true
  137. _G.available = true
  138. if _G.mode == "TP" or _G.mode == "TPLog" then
  139. if _G.mode == "TPLog" then
  140. end
  141. TButton.Text = "Teleporting to: " .. _G.plrname
  142. game:GetService("TeleportService"):TeleportToPlaceInstance(
  143. b[1],
  144. b[2]
  145. )
  146. elseif _G.mode == "Log" then
  147. return
  148. end
  149. end
  150. return
  151. end
  152. end
  153. end
  154. end
  155. end
  156. elseif #_G.token <= 100 then
  157. tab2 = {}
  158. for i, v in pairs(_G.token) do
  159. table.insert(tab2, _G.token[i])
  160. table.insert(_G.playertoken, _G.token[i])
  161. table.remove(_G.token, i)
  162. end
  163. video = checktokens(tab2)
  164. if video then
  165. for i, v in pairs(video) do
  166. if v.imageUrl == _G.image then
  167. id = string.sub(v.requestId, 3, #v.requestId - 35)
  168. for a, b in pairs(_G.playertoken) do
  169. if b[3] == id then
  170. if not found then
  171. found = true
  172. _G.available = true
  173. if _G.mode == "TP" or _G.mode == "TPLog" then
  174. if _G.mode == "TPLog" then
  175. end
  176. TButton.Text = "Teleporting to: " .. _G.plrname
  177. game:GetService("TeleportService"):TeleportToPlaceInstance(
  178. b[1],
  179. b[2]
  180. )
  181. elseif _G.mode == "Log" then
  182. return
  183. end
  184. end
  185. end
  186. end
  187. end
  188. end
  189. end
  190. wait(1.5)
  191. TButton.Text = game.Players:GetNameFromUserIdAsync(_G.plr) .. " not found"
  192. end
  193. end
  194. end
  195.  
  196. function json2()
  197. repeat
  198. spawn(
  199. function()
  200. json()
  201. end
  202. )
  203. local ti = tick()
  204. repeat
  205. game.RunService.RenderStepped:Wait()
  206. until tick() - ti > 0.015
  207. until #_G.token == 0
  208. _G.available = true
  209. end
  210.  
  211. function playertoken(gameid, target)
  212. _G.token = {}
  213. _G.playertoken = {}
  214. _G.logged = false
  215. id, b, found, ended, page, cursor, link, tokencount =
  216. nil,
  217. false,
  218. false,
  219. false,
  220. nil,
  221. nil,
  222. nil,
  223. nil
  224. local suc, err =
  225. pcall(
  226. function()
  227. if _G.cursor[tostring(gameid)] and _G.available then
  228. _G.available = false
  229. if tonumber(target) then
  230. _G.plrname = game.Players:GetNameFromUserIdAsync(tonumber(target))
  231. else
  232. _G.plrname = target
  233. target = game.Players:GetUserIdFromNameAsync(target)
  234. end
  235.  
  236. _G.plr = target
  237.  
  238. _G.mode = mode
  239. local url =
  240. RequestFunction(
  241. {
  242. ["Url"] = "https://thumbnails.roblox.com/v1/users/avatar-headshot?userIds=" ..
  243. target .. "&format=Png&size=150x150&isCircular=false",
  244. ["Method"] = "GET"
  245. }
  246. )
  247. _G.image = h:JSONDecode(url.Body).data[1].imageUrl
  248.  
  249. if string.sub(_G.image, 10, 10) ~= "r" then
  250. TButton.Text = "Broken pfp"
  251. return
  252. end
  253. TButton.Text = "Searching: " .. gameid
  254. a = {}
  255.  
  256. for i = 1, #_G.cursor[tostring(gameid)] + 1 do
  257. if i > 1 then
  258. a[i] = _G.cursor[tostring(gameid)][i - 1]
  259. else
  260. a[i] = ""
  261. end
  262. end
  263.  
  264. for i, v in ipairs(a) do
  265. spawn(
  266. function()
  267. if waittime then
  268. wait(1 / 3.2)
  269. waittime = false
  270. end
  271. a[i] =
  272. RequestFunction(
  273. {
  274. ["Url"] = "https://games.roblox.com/v1/games/" ..
  275. gameid ..
  276. "/servers/0?excludeFullGames=false&limit=100&cursor=" ..
  277. a[i],
  278. ["Method"] = "GET"
  279. }
  280. )
  281. a[i] = h:JSONDecode(a[i].Body).data
  282. if a[i] then
  283. if not a[i][100] then
  284. b = true
  285. num = i
  286. end
  287. end
  288. end
  289. )
  290. if b then
  291. b = false
  292. waittime = false
  293. break
  294. end
  295. wait(1 / 3.2)
  296. end
  297. if num == nil then
  298. num = #a
  299. end
  300.  
  301. function check(c)
  302. for i = 1, c do
  303. if type(a[i]) == "table" then
  304. else
  305. return false
  306. end
  307. end
  308. return true
  309. end
  310.  
  311. repeat
  312. game:GetService("RunService").RenderStepped:Wait()
  313. until check(num)
  314.  
  315. for i, v in pairs(a) do
  316. if i <= num then
  317. for i2, v2 in pairs(v) do
  318. for i3, v3 in pairs(v2.playerTokens) do
  319. table.insert(_G.token, {gameid, v2.id, v3})
  320. end
  321. end
  322. end
  323. end
  324.  
  325. TButton.Text = "Sending JSON..."
  326. json2()
  327. elseif not _G.cursor[tostring(gameid)] and _G.available then
  328. _G.available = false
  329. if tonumber(target) then
  330. _G.plrname = game.Players:GetNameFromUserIdAsync(tonumber(target))
  331. else
  332. _G.plrname = target
  333. target = game.Players:GetUserIdFromNameAsync(target)
  334. end
  335.  
  336. _G.plr = target
  337.  
  338. _G.mode = mode
  339.  
  340. local url =
  341. RequestFunction(
  342. {
  343. ["Url"] = "https://thumbnails.roblox.com/v1/users/avatar-headshot?userIds=" ..
  344. target .. "&format=Png&size=150x150&isCircular=false",
  345. ["Method"] = "GET"
  346. }
  347. )
  348. _G.image = h:JSONDecode(url.Body).data[1].imageUrl
  349. if string.sub(_G.image, 10, 10) ~= "r" then
  350. TButton.Text = "Broken pfp"
  351. return
  352. end
  353.  
  354. TButton.Text = "Searching: " .. gameid
  355. function s(g)
  356. link =
  357. "https://games.roblox.com/v1/games/" ..
  358. g .. "/servers/0?excludeFullGames=false&limit=100"
  359. if cursor then
  360. link = link .. "&cursor=" .. cursor
  361. page = game:HttpGet(link)
  362. page = h:JSONDecode(page)
  363. cursor = page.nextPageCursor
  364. page = page.data
  365. else
  366. page = game:HttpGet(link)
  367. page = h:JSONDecode(page)
  368. cursor = page.nextPageCursor
  369. page = page.data
  370. end
  371. end
  372.  
  373. local tokencount = 0
  374.  
  375. function t()
  376. for i, v in pairs(page) do
  377. for i2, v2 in pairs(v["playerTokens"]) do
  378. tokencount = tokencount + 1
  379. table.insert(_G.token, {gameid, v.id, v2})
  380. end
  381. end
  382. end
  383.  
  384. repeat
  385. s(gameid)
  386. t()
  387. until cursor == nil
  388.  
  389. if tokencount == 0 then
  390. TButton.Text = "The game has no players"
  391. _G.available = true
  392. return
  393. end
  394.  
  395. TButton.Text = "Sending JSON..."
  396. json2()
  397. elseif not _G.available then
  398. TButton.Text = "Reached Http Request Limit"
  399. end
  400. end
  401. )
  402. if not suc then
  403. _G.available = true
  404. end
  405. end
  406.  
  407. playertoken(placeId, user)
  408. end
  409. )
  410. end
  411.  
  412. game:GetService("UserInputService").InputBegan:Connect(
  413. function(a, b)
  414. if not b then
  415. local keycode = a.KeyCode
  416. if keycode == Enum.KeyCode.RightShift then
  417. game.CoreGui.StreamSniper.Enabled = not game.CoreGui.StreamSniper.Enabled
  418. end
  419. end
  420. end
  421. )
  422.  
  423. TButton.MouseButton1Click:Connect(
  424. function()
  425. local t1 = TBox1.Text
  426. local t2 = TBox2.Text
  427. local t3 = TBox3.Text
  428. if string.len(t1) < 3 or string.len(t2) < 3 or not (t3 == "TP" or t3 == "Log" or t3 == "TPLog") then
  429. TButton.Text = "Invalid information"
  430. spawn(
  431. function()
  432. wait(2)
  433. TButton.Text = "Snipe"
  434. end
  435. )
  436. return
  437. end
  438. runScript(t1, t2, t3)
  439. end
  440. )
  441. else
  442. game.CoreGui.StreamSniper.TextButton.Text = "Already Executed"
  443. end
  444.  
  445.  
Advertisement
Add Comment
Please, Sign In to add comment