I inserted a local script in the brick. Am I supposed to use a normal script? I also used the code in the normal script and it doesn't work either.
local dialogue = game.StarterGui.Dialogue1
script.Parent.ClickDetector.MouseClick:Connect(function()
wait(1)
dialogue.T1.Visible = true
wait(3)
dialogue.T1.Visible = false
wait(1)
dialogue.T2.Visible = true
wait(3)
dialogue.T2.Visible = false
end)

3 comments
it says RemoteEvent is not a valid member of ReplicatedStorage
so u have to insert a RemoteEvent in ReplicatedStorage
oh