You can write your topic however you want, but you need to answer these questions:
-
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. -
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
-
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.
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