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

i need coding to read a number value set to 1? i dont have the coding

Asked by 3 years ago

would be a big help I've been trying to find something on the internet

0
sorry guys im new bro_pro99956 2 — 3y
0
try watching alvinblox he teaches scripting really well. he is great for beginners and is safe for all ages. xxaxxaz 42 — 3y

2 answers

Log in to vote
0
Answered by
xxaxxaz 42
3 years ago
Edited 3 years ago

script:

local Value = 1

print(Value)

do print() -- and put the value in between the brackets. open your output and in game it will print it!

another way you can do this script:

local Value = 1

print("Value is now  "..Value)

when you do ".." you can put different values together to make a word for example

local Value1 = 1

local Value2 = 2

print(Value2..Value1)--notice the ".." so it will say 12


0
do print() -- and put the value in between the brackets. open your output and in game it will print it! xxaxxaz 42 — 3y
0
ok thanks bro_pro99956 2 — 3y
0
tell me if it works! xxaxxaz 42 — 3y
0
I think you should fallow alvinblox begainer tutorials, he teaches you the basics of coding like this in ways that help you understand how it works! xxaxxaz 42 — 3y
Ad
Log in to vote
0
Answered by
Xyternal 247 Moderation Voter
3 years ago

All you have to do is to get a number value is

local x = game.your location
print(x)

Answer this question