So i want to make a level up sound for only just the player but i can only hear it if i put the sound in workspace which plays for others, idk how else to do this.
This is my Datastore script in serverscriptservice.
local LEVELSOUND = game.Workspace.MW3
game.Players.PlayerAdded:Connect(function(player)
Exp.Changed:Connect(function()
if level.Value == 100 then
level .Value = 100
Exp.Value = 0
elseif Exp.Value >= MaxExp.Value then
LEVELSOUND:Play()
Exp.Value = 0
MaxExp.Value = 1000
level.Value = level.Value + 1
end
end)
end)