Hi, I have just started on my first game and have run in to a problem I want to change the value of a string value and used this code.But the code doesnt change th value, does anyone know what ive done wrong?
local GameStatus = game.ReplicatedStorage.Status.Value
GameStatus = "Loading"
Here you are setting the value of the variable GameStatus to the value of Status and the overwriting that variable with the string “Loading”.
What you want to do is
game.ReplicatedStorage.Status.Value = "Loading"
or
local GameStatus = game.ReplicatedStorage.Status
GameStatus.Value = "Loading"