Hello, recently I scripted a sound for a proximity prompt (https://gyazo.com/948ebd12694abf44ba75704c7eb02ecb), but this script of course is server side. I'd like it client side, so that only one player will hear the sound once clicked the button of the proximity prompt. I can't script it using a localscript, it doesn't work at all and I also enabled filtering enabled and other stuff on. I can't honestly convert it from server side to client side, can someone help me out?
local proximityPrompt = script.Parent
local sound = script.Sound
proximityPrompt.Triggered:Connect(function()
sound:Play()
end)
I've also read this topic but I can't understand it. https://developer.roblox.com/en-us/api-reference/function/SoundService/PlayLocalSound

1 comment
Well after playing around with some of the beta features, i know how to use this nwo, so you could use remotes, for example, make a local script detect when its triggered, play a sound, then fire a remote.