How can you make any Audio play when a certain person joins a game?
game.Players.PlayerAdded:Connect(function(player) if player.Name == "CertainPlayerName" then script.Sound:Play() end end)
or
local certainid = -- Put player's userid game.Players.PlayerAdded:Connect(function(player) if player.UserId == certainid then script.Sound:Play() end end)
or
local certainplayers = {"Certainplayer1", "Certainplayer2"} game.Players.PlayerAdded:Connect(function(player) for i, v in pairs(certainplayers) do if player.Name == v then script.Sound:Play() end end end)
make a script to fire when a player is added and to find what player it is
game.Players.PlayerAdded:Connect(function(plr) if plr.Name == ("YourName") then --//make audio play for example game.Workspace.Audio:Play() end end)