# How do I add custom music from youtube to my cpps without it lagging ingame?

**URL:** <https://solero.me/t/how-do-i-add-custom-music-from-youtube-to-my-cpps-without-it-lagging-ingame/530>\
**Category:** Support\
**Created:** [June 21, 2022, 5:00am UTC](https://solero.me/t/how-do-i-add-custom-music-from-youtube-to-my-cpps-without-it-lagging-ingame/530 "2022-06-21T05:00:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Icyio](https://solero.me/letter_avatar_proxy/v4/letter/i/db5fbb/32.png) [@Icyio](https://solero.me/u/Icyio)\
**Post date:** [June 21, 2022, 5:00am UTC](https://solero.me/t/how-do-i-add-custom-music-from-youtube-to-my-cpps-without-it-lagging-ingame/530/1 "2022-06-21T05:00:32Z")

</div>

When I upload the swf file of a youtube song I converted for my game, it lags the room. How do I prevent this from happening.

---

<div class="post-metadata">

**Author:** ![Boo0](https://solero.me/user_avatar/solero.me/boo0/32/620_2.png) [@Boo0](https://solero.me/u/Boo0)\
**Post date:** [June 21, 2022, 2:30pm UTC](https://solero.me/t/how-do-i-add-custom-music-from-youtube-to-my-cpps-without-it-lagging-ingame/530/2 "2022-06-21T14:30:23Z")

</div>

Hey there, once you got the file (make sure it’s a WAV) then go to Flash CS6, create a new fla then drag and drop the wav file then go to library and add it to the timeline by draging the file from library to the bright white box then extend the timeline until you no longer see a blue line, save the file and export it as an swf then add it to the room you want and it will stop it from lagging the room! If you need anymore assistance please contact Boo0#0630 on Discord thank you!
