Hello, today i was making a speedrun/obby. I made a music changer for each level and it doesn't work. So, i was wondering if anyone can help me out a lil'. Take yer time to write and view carefully.
script.Parent.Touched:Connect(function() print("1") for i,v in pairs (game.Players:GetPlayers()) do print("2") --Problem Occurs here if v.Team == "Level 2" then print("3") v.PlayerGui.L2:Play() end end end)
The output printed off these numbers to make sure the script was working correctly.
| 1 | 2
And 3 never showed up, why?