Advertisement
EZHAX

ลบเพื่อนเร็วๆ

Aug 17th, 2019
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. วิธีลบเพื่อนเร็วๆ
  2. 1.ไปหน้า https://www.roblox.com/users/friends#!/friends
  3. 2.กด F12 แล้วไปกดคำว่า Consol
  4. 3.วาง Script ด้านล่างลงไปแล้วกด Enter
  5. 4.หากไม่ลบต่อ ให้วาง Script แล้ว Enter ไปเรื่อยๆจนกว่าจะหมด
  6.  
  7. Code :
  8. var current = 0
  9. var unfriend = function(){
  10. if(current >= 16){
  11. $('.pager-next').children().click()
  12. children = 0
  13. setTimeout(unfriend, 4000)
  14. }else{
  15. var friendId = $('.avatar-card-caption').eq(current).children().attr('id')
  16. current++
  17. $.ajax({
  18. url: '/api/friends/removefriend',
  19. type: 'post',
  20. data: '{"targetUserID":"' + friendId + '"}',
  21. headers: { 'X-CSRF-TOKEN': Roblox.XsrfToken.getToken() },
  22. success: unfriend,
  23. contentType: "application/json;charset=UTF-8",
  24. })
  25. }
  26. };
  27.  
  28. unfriend();
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement