1 | function open() |
2 | script.Parent.Parent.Parent.Parent.Items.NightVision.Value = true |
3 | game.StarterGui.ToolBar.Inventory.NIGHTVISION.nv.Value = true |
4 | end |
5 | script.Parent.MouseClick:connect(open) |
For some reason, the script isn't working... can anyone figure it out? Thanks! (Sorry for my -7 reputation... a lot of people have been down voting my stuff for no reason)
Possibility 1: You are not getting to the value correctly Possibility 2: The NightVision value is not a BoolValue Possibility 3: You might be trying to access the player's backpack; not the StarterPack.
If Possibility 3
is correct, please tell me and I will try to write a code for you below.
If my answer helped you, accept and upvote it.