Trying to play a sound for a player when they click a brick. Don't know why it is ScreenGui is not a valid member of PlayerGui even though it is.
red = script.Parent.Parent.Parent.Parent.PlayerGui.ScreenGui.red
game.ReplicatedStorage.Sounds.GoldRuby.OnServerEvent:Connect(function(plr)
print("34234325232532")
red:Play()
end)

3 comments
brick as a part or, brick as a button on the screen?
you click a part and it teleports you and then plays the sound. Everything works but the sound playing
bump