I’m trying to get a sound to play when the round starts for both the murderer, and bystander, for the murder mod gamemode. Any idea why it isn’t working?
What I want it to do is basically on round start, if your GetMurderer() then play this sound. Otherwise if its another team then play a different sound. Been googling and trying my best to do it myself for a few hours now but I’m stumped…
local function PlayMusic()
if LocalPlayer():GetMurderer() then
hook.Add(“OnStartRound”, “Music”, PlayMusic)