I wanted to make a script, where it changes the value of a String Value for gamemodes, I have a script here:
function onClick() script.Parent.Parent.Parent.Tutorialformap1.gm.Value="training" end script.Parent.MouseButton1Up:connect(onClick)
No output, I check the String Value and it does not change help?
MouseButton1Up is when the person lets go of the mouse, Try MouseButton1Down.
I found the problem.
Values do not support text, only numbers or true/false.
Try using the value name instead.
You can also try assigning gamemodes as different numbers.
Ex- TDM = 1; FFA = 2; etc.