Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why doesn't my script work in the real roblox game but work in testing?

Asked by 8 years ago
Edited 8 years ago
001local MusicText = script.Parent.MusicText
002playing = false
003song = script.Parent.Song      
004song2 = script.Parent.Song2
005song3 = script.Parent.Song3
006song4 = script.Parent.Song4
007song5 = script.Parent.Song5
008song6 = script.Parent.Song6
009song7 = script.Parent.Song7
010song8 = script.Parent.Song8
011song9 = script.Parent.Song9
012song10 = script.Parent.Song10
013song11 = script.Parent.Song11
014song12 = script.Parent.Song12
015song13 = script.Parent.Song13
View all 253 lines...

I have tried searching up on this and have done changes to my script like changing my script to a local script (Which made the script not functional) and many more. But it still doesn't work.

Trying to make a music player but it only plays the first music then stops after the first music finishes in the actual game. However in testing, it plays all the music just fine.

0
Can you organize your code please? I can hardly make sense of it.. DepressionSensei 315 — 8y
0
Oppps Sorry... AbandonedRick 112 — 8y
0
Anyone have any idea how to solve this? AbandonedRick 112 — 8y
0
Tell me if this fixes it https://kobra.io/#/e/-KVU7s5B977rzwuYEaIF DepressionSensei 315 — 8y
View all comments (8 more)
0
the music doesn't seem to play AbandonedRick 112 — 8y
0
Sorry, try it now. Edited it DepressionSensei 315 — 8y
0
Okay AbandonedRick 112 — 8y
0
In testing, the songs work fine, but in game, only the first song plays then after that, nothing comes out AbandonedRick 112 — 8y
0
do i have to change it to a local script AbandonedRick 112 — 8y
0
nevermind AbandonedRick 112 — 8y
0
Thanks for your help! I changed the script to a local script and it works! AbandonedRick 112 — 8y
0
No problem! Glad it helped you :D DepressionSensei 315 — 8y

Answer this question