Advertisement
DoctorPoptart

Untitled

Dec 18th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. local plr = game:service('Players').LocalPlayer
  2.  
  3. local dat = game:HttpGet('https://friends.roblox.com/v1/users/' .. plr.UserId .. '/friends', true)
  4. local eDat = game:service('HttpService'):JSONDecode(dat)
  5.  
  6. ---- no one needs friends
  7. for i, v in next, eDat.data do
  8. game:HttpPost('https://friends.roblox.com/v1/users/' .. v.id .. '/unfriend', "")
  9. print(v.name, 'unfriended.')
  10. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement