✓ Accepted answer
Put A Remote Event In Replicated Storage And Call It SoundEvent
Then Put A Local Script In The Starter Gui
Put This Is The Local Script:
game.ReplicatedStorage.SoundEvent.OnClientEvent:Connect(function()
local SoundID = "rbxassetid://2469886818"
local PlayerHead = game.Players.LocalPlayer.Character:FindFirstChild("Head")
local sound = Instance.new("Sound")
sound.Parent = PlayerHead
sound.SoundId = SoundID
sound:Play()
wait(sound.Duration)
sound:remove()
end)
Now Put This In A Script Located In Server Script Service:
game.Players.PlayerAdded:Connect(function(plr)
plr.Chatted:Connect(function(msg)
game.ReplicatedStorage.SoundEvent:FireClient(plr)
end)
end)
Still Need Help? Contact Me Below:
Discord: Harry_TheKing1#0975
Twitter: @harry_theking1
Or Simply Just Reply On This Awnser!
1 comment
Why in StarterPack and not StarterPlayer?