Anyone help me with a Dialog Gui?

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve?
    I want to make a dialog gui where you can see the frame if the DialogValue in ServerStorage is set to true.

  2. What is the issue? The frame won’t show up even if the DialogValue is set to true. Each time in the output it print out Value not True
    value not true

  3. What solutions have you tried so far? Did you look for solutions on the Developer Hub?

I’ve tried to ask 2 Discord Servers but they all told me to change it to a normal script which it is, and to move the BoolValue (DialogValue) to replicated storage.
DialogGui

local Frame = game.StarterGui.DialogGui.Frame
local Name = game.StarterGui.DialogGui.Frame.Name
local Picture = game.StarterGui.DialogGui.Frame.Picture
local Dialog = game.StarterGui.DialogGui.Frame.Dialog
local Value = game.ServerStorage.DialogValue

if Value == true then
	Frame.Visible = true
	Name.Text = ("John")
	Dialog.Text = ("Hello!")
	Picture.Image = "rbxassetid://435858274" 
else
    print("Value not True")
end

1 Like

Some Videos That Might Help:

Hope one of them helps you create your dialog GUI!

5 Likes

I want me to make it myself but I will check those out for sure!

1 Like

Okay, maybe follow the tutorials once and then remake it yourself. It will help you to enforce the skill.

1 Like

Maybe try adding a small wait, the script may be going before everything loads, and it only checks once, you could try putting it on a while loop with a debounce for testing.

1 Like