How to Make Button Invisible true if localplayer have Boolvalue True Please i know its not scripts pleasing site but i dont know even where to get the information how that server will get local player item bool value is true then its will be invisible true but if its not if its will be visible? please give links "Not Out Dated"
✓ ANSWER ACCEPTED
How to Make Button Invisible true if localplayer have Boolvalue True?
2 answers
✓ Accepted answer
Try that (LocalScript)
local Player = game:GetService('Players').LocalPlayers
local PlayerGui = Player:WaitForChild('PlayerGui')
local TextButton = -- Your TextButton
local Bool = -- Your BoolValue
Bool.Changed:Connect(function()
TextButton.Visible = Bool.Value
end)
Source for learning to script RobloxDev, ScriptingHelpers Glossary
1 comment
0
Thanks ill try
when i tried this one its shows me this error i dont understood what its means:D can you say? i need to fix it https://imgur.com/a/UxiPGfS
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Dont close I just need Information How to make it or Tutorials Thanks.