local brick = game.workspace.DialogPart
function dialog()
local CustomDialog = Instance.new("ScreenGui")
local Frame = Instance.new("Frame")
local TextLabel = Instance.new("TextLabel")
local ImageLabel = Instance.new("ImageLabel")
CustomDialog.Name = "Custom Dialog"
CustomDialog.Parent = game.StarterGui
Frame.Parent = CustomDialog
Frame.BackgroundColor3 = Color3.new(1, 1, 1)
Frame.Position = UDim2.new(0, 0, 0, 500)
Frame.Size = UDim2.new(0, 1450, 0, 100)
Frame.Style = Enum.FrameStyle.DropShadow
TextLabel.Parent = Frame
TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
TextLabel.BackgroundTransparency = 1
TextLabel.Position = UDim2.new(0, 600, 0, 15)
TextLabel.Size = UDim2.new(0, 200, 0, 50)
TextLabel.Font = Enum.Font.SciFi
TextLabel.Text = "text"
TextLabel.TextColor3 = Color3.new(1, 1, 1)
TextLabel.TextSize = 64
ImageLabel.Parent = Frame
ImageLabel.BackgroundColor3 = Color3.new(1, 1, 1)
ImageLabel.BackgroundTransparency = 1
ImageLabel.Position = UDim2.new(0.724827588, 0, -2.02999997, 0)
ImageLabel.Size = UDim2.new(0, 300, 0, 300)
ImageLabel.Image = "rbxassetid://560122118"
end
function onTouch()
dialog()
end
brick.Touched:connect(onTouch)
Here's what i'm working with. Doesen't do anything, no errors, nothing. Help?

4 comments
Why use a function leading to another function leading to another? You could use brick.Touched:connect(dialog) so yeah, it doesn't have to be named "onTouch"
is FE on? (filtering enabled)
I think it is. Gonna try your (dialog)
And yet still not working