yo, I wanted to find out what mistakes I made and how can I fix it?
script.Parent.Parent.DialogGui.Frame.Visible = false
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local Map = workspace:WaitForChild("Map")
local Arrows = Map:WaitForChild("Arrows")
local Sounds = Map:WaitForChild("Sounds")
local Configuration = Map:WaitForChild("Configuration")
local dialog = script.Parent.Parent.DialogGui.Frame.Dialog
if workspace.Map.Configuration.Wave == 1 then
script.Parent.Parent.DialogGui.Frame.Visible = true
dialog.Text = 'sup, here zombie lol'
wait(10)
script.Parent.Parent.DialogGui.Frame.Visible = false
end