I am making a dialogue in my game but I don't know why this is happening because there is a TextLabel in PlayerGui but somehow roblox doesn't detect it. What should I do?
Script:
wait(15)
local player = game.Players.LocalPlayer
player.PlayerGui.Main.Frame.TextLabel = "Hello everyone! My name is Nicolas and welcome to Decision Duel!"
wait(9)
player.PlayerGui.Main.Frame.TextLabel = "In this game, if you win the first competition, you will be able to choose two participants, a map and weapons!"
wait(9)
player.PlayerGui.Main.Frame.TextLabel = "Then, the chosen participants will fight in the map the winner chose and with the weapons that the winner chose."
wait(9)
player.PlayerGui.Main.Frame.TextLabel = "Everyone is ready? Let's start! Good luck everyone!"
wait(9)