I made a script Inside of a NPC that plays a audio when the IntValue which Is also Inside of the NPC Is In a specific point like when Its above 4, just the problem Its just not Inserting the music
Script
local Troll = script.Parent
local Killstreak = Troll.Killstreak
while wait(1) do
wait(1)
Killstreak.Value += 1
end
while wait() do
if Killstreak.Value >= 4 then
local MusicTheme = Instance.new("Sound")
MusicTheme.Parent = Troll.Torso
MusicTheme.Name = "Theme Song"
MusicTheme.Volume = 3
MusicTheme.SoundId = "rbxassets://10239133106"
MusicTheme.Looped = true
MusicTheme:Play()
end
end
