Here is my script: (It is suppose to change a value, make a gui invisible and then not disable the values parent which is a script)
Why won't this work in the game mode, it does work in the edit mode..
script.Parent.MouseButton1Click:connect(function()
script.Parent.Parent.Parent.Parent.Move.Value.Value = 2
script.Parent.Parent.Parent.Parent.Move.Disabled = false
script.Parent.Parent.Visible = false
end)
i don't get it D:

2 comments
Is it a localscript? Where is it placed at? Be more descriptive
The script is placed in game.StarterGui.ItemsShop.a.TextButton