So, I am currently trying to make a gui show up when a value in the ReplicatedStorage is changed, but my current code shown below does not work and I am very confused. Also, if this is in the wrong category, please do not get mad at me! This is my first post on the Roblox Developer Forum.
Anyway, here’s my code:
game.ReplicatedStorage.InRound.Changed:Connect(function()
if game.ReplicatedStorage.InRound.Value == true then
game.StarterGui.TeamPickingGUI.Frame.Visible = true
else
game.StarterGui.TeamPickingGUI.Frame.Visible = false
end
end)
-
What do you want to achieve? I want a team changing GUI to open when a value is changed.
-
What is the issue? It really hasn’t done anything when I tested.
-
What solutions have you tried so far? I have looked all over the developer forum.
If you can help, then it will mean the world to me!