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)
Was A problem with the ScreenGui being apart of the playergui. Probably due to the remoteevent