Advertisement
Prephy

get sounds from character

Feb 26th, 2022
1,065
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. --funni sound searcher
  2.  
  3. local PLR = owner
  4. local Figure = PLR.Character
  5. repeat wait() until PLR.Character~=nil
  6. Figure = PLR.Character
  7.  
  8. local bruh = Figure:GetDescendants()
  9.  
  10. for i = 1,#bruh do
  11. if bruh[i]:IsA("Sound") then
  12. print(bruh[i].Name)
  13. warn(bruh[i].SoundId)
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement