Audio not playing, even though when it should

i want to play a team specific audio when a boolean is true, but its not playing the music in anyway

this code is in a localscript

local Teams = game:GetService("Teams")
local Players = game:GetService("Players")
local player = Players.LocalPlayer
local music = script:WaitForChild("Win_CAF")

if script.Parent.won.Value == true then
if player.Team == "Canadian Army" then
music:Play()
end
end

Put your script into a code block.
Try this:

if player.Team.Name == “Canadian Army” then -- you have to check if the name matches not if the instance matches

If that doesn’t work then put prints before the if statements to debug it.

no good, it still doesnt play the sound