Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Click all 3 TextButtons, how to make number of TextLabel equal to the number of times I pressed?

Asked by 3 years ago

When I click all 3 TextButtons, how do I make the number of the TextLabel equal to the number I pressed all 3 TextButtons?

 local localgameWorkspaceTownHaliSlimComputerScreennSurfaceGuiTextLabelText = game.Workspace["Town Hall"]["iSlim Computer"].Screenn.SurfaceGui.TextLabel.Text
 script.Parent.MouseButton1Click:Connect(function()
     localgameWorkspaceTownHaliSlimComputerScreennSurfaceGuiTextLabelText += 1
     game.Workspace["Town Hall"]["iSlim Computer"].Screenn.SurfaceGui.TextLabel.Text = local0
 end)

Answer this question