I want to show number with text on TextLabel.
I'm Using Code Recently:
game.Workspace.GSTime.Changed:Connect(function() script.Parent.Text = (game.Workspace.GSTime.Value "Seconds") end)
when I Fired This Code Gives "Players.Infi_power.PlayerGui.ScreenGui.Frame.TimeDisplay.Script:5: attempt to call field 'Value' (a number value)" Error.
well, there are multiple solutions to this answer:
solution 1: use table.concat()
game.Workspace.GSTime.Changed:Connect(function() script.Parent.Text = table.concat({tostring(game.Workspace.GSTime.Value, "Seconds"}) end)
solution 3: use .. operator
game.Workspace.GSTime.Changed:Connect(function() script.Parent.Text = game.Workspace.GSTime.Value.." Seconds" end)