Advertisement
Darkest_Animations

Unfriending All Friends On ROBLOX Script!

Feb 17th, 2017
3,633
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. Unfriending All Friends On ROBLOX Script!
  2. ============================
  3.  
  4. Steps For The Scripts To Work
  5. -----------------------------
  6. 1.Right click on Mouse or Touch Pad [Depends if your on a laptop, or a computer]
  7. 2.Click "Inspect Element" or Ctrl + Shift + I
  8. 3.Click On The "Console" Tab
  9. 4.Paste The Script There
  10. =============================
  11. Tip : If it doesn't work, refresh the page and do the same thing
  12. Tip 2 : It takes a whole page of friends, if not paste the script again
  13. Tip 3 : if you want to take all of your friends away, paste the script in each page of friends [e.g. 7 pages of friends = 7 times script will be pasted]
  14. Tip 4 : Make sure to write click on the friends page!
  15. =============================
  16. The Script :
  17. ------------
  18.  
  19.  
  20. var current = 0
  21. var unfriend = function(){
  22. if(current >= 16){
  23. $('.pager-next').children().click()
  24. children = 0
  25. setTimeout(unfriend, 4000)
  26. }else{
  27. var friendId = $('.avatar-card-caption').eq(current).children().attr('id')
  28. current++
  29. $.ajax({
  30. url: '/api/friends/removefriend',
  31. type: 'post',
  32. data: '{"targetUserID":"' + friendId + '"}',
  33. headers: { 'X-CSRF-TOKEN': Roblox.XsrfToken.getToken() },
  34. success: unfriend,
  35. contentType: "application/json;charset=UTF-8",
  36. })
  37. }
  38. };
  39.  
  40. unfriend();
  41.  
  42. ---------------------------------
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement