I'm going to explain in short. There are script on the starterGui which need to acces data from the player. To make it easier, i decided to place values inside a folder in the StarterGui, the values would be changed by a localscript. I made it this way so its easier for the localscripts inside the StarterGui to acces the value.
There are 2 values i added. 1, StatusAvailable, letting scripts know if the status has been changed so it doesn't read any false things. And 2, the main value which contains the information needed.
I don't know which script is at fault
The localscript that updates the values:
while wait()do wait(3) if game.Players.LocalPlayer.OSinstalled.OSstate.Value == true then script.Parent.OS.Value = true script.Parent.OS.StatusAvailable = true else script.Parent.OS.Value = false script.Parent.OS.StatusAvailable = true end end
The localscript that acceses the values:
if script.Parent.Parent.Values.OSinfo.OS.StatusAvailable.Value == true then if script.Parent.Parent.Values.OSinfo.OS.Value == true then script.Parent.status.Text = --text else script.Parent.status.Text = --text end else script.Parent.Error.Visible = true script.Parent.text.Visible = false script.Parent.status.Text = -- here comes an error code end break else end