Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

[[local a = 3 local b = 1 print(-ab-)]] Purpose = output -> 31 ||How?

I want to make box A Text = 3 and box B Text = 1 and box C = AB = 31

I try with print() but it not work

local a = 3
local b = 1
print(ab)

Output

nil

I think ab is not a and b

It is a new variable

So please help me!

1 answer

✓ Accepted answer

A simple way to do this would be

local a = 3
local b = 1
print(a .. b)

3 comments

0

omg! thank you!

0

NP have fun!

0

Bad answer.

This discussion is preserved as it was. New answers, comments, and votes are closed.