-- local script
game.ReplicatedStorage.PagerSoundEvent.OnClientEvent:connect(function()
if game.Players.LocalPlayer.Backpack:FindFirstChild("Pager") then
game.Players.LocalPlayer.PagerSound:Play()
wait(7)
game.Players.LocalPlayer.PagerSound:Stop()
end
end)
so this is in StarterPlayerScripts
-- normalscript in workspace
local player = game.Players.LocalPlayer
if script.Parent.Sound.Value == true then
game.ReplicatedStorage.PagerSoundEvent:FireServer()
wait(1)
script.Parent.Sound.Value = false
end
This is in workspace but if i turn the sound value on then it don't react without any errors. I used 1 breakpoint at script 2 line 6 but it didn't work? Someone that could help me?

1 comment
There's multiple things wrong with your code: 1.) A RemoteEvent isn't used for client-to-client communication, it's used for server-to-client communication 2.) LocalScripts don't run when parented to workspace