A sound isn't playing when I step on the block meant to trigger it. There aren't any output errors, and experimental mode is on so filtering enabled shouldn't be a problem. Here's the code. EDIT: It works in studio just not online
local part = script.Parent
local players = game:GetService("Players")
local played = false
part.Touched:connect(function(hit)
local char = hit.Parent
if char.Humanoid and played == false then
local plr = players:WaitForChild(char.Name)
plr.PlayerGui.Sounds.windows:Play()
played = true
wait(5)
end
end)

2 comments
is it in a localscript?
No its just in a Script