The value won't change but the text will?
Asked by
5 years ago Edited 5 years ago
02 | local Vote 2 Button = script.Parent.butt |
03 | local Vote 1 Button = script.Parent.on |
04 | local Vote 2 Text = script.Parent.oof |
05 | local Vote 1 Text = script.Parent.poof |
08 | Vote 1 Text.Value.Changed:Connect( function () |
09 | Vote 1 Text.Text = Vote 1 Text.Value.Value |
12 | Vote 2 Text.Value.Changed:Connect( function () |
13 | Vote 2 Text.Text = Vote 2 Text.Value.Value |
16 | Vote 1 Button.MouseButton 1 Click:Connect( function () |
17 | Vote 1 Text.Text = Vote 1 Text.Value.Value+ 1 |
20 | Vote 2 Button.MouseButton 1 Click:Connect( function () |
21 | Vote 2 Text.Text = Vote 2 Text.Value.Value+ 1 |
So this script is supposed to be a voting system, the Text of "oof" and "poof" would change but their values wouldn't because of this problem the Text can't add anymore it stays at 1.