Scripts in ServerScriptService can't change values in PlayerGui?

So basically, there’s a BoolValue in PlayerGui that control if a player has or doesn’t have an item. BUT when a script turns the value to true, it doesn’t turn the value to true. This isn’t in a LocalScript by the way. How do I fix this???

3 Likes

Show me your script. We can’t magically read your mind and fix your script.

2 Likes

luckily for you, i am a telepathic

1 Like

I don’t need to show a script, all it does is that the server script is changing a BoolValue from false to true but it doesn’t work as when I go check the Value it’s still false. But if you really need the script then here it is,

local keep = player.PlayerGui.ScreenGui.CursorFrame.ScrollingFrame.WoodenFrame.Keep
keep.Value = true

Any chance you have reset on spawn enabled? If so whenever the player respawns any value would be reset inside the ui

I never respawned during testing or when the value gets changed, so that shouldn’t be the issue. And where do you disable that just for future reference?

Edit: Nvm I found it

2 Likes

Could you please make this topic ‘Solved’? Other people may misunderstand.

1 Like