Ad
Log in to vote
0

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

Asked by 5 days ago

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

0
sorry guys im new bro_pro99956 2 — 5d
0
try watching alvinblox he teaches scripting really well. he is great for beginners and is safe for all ages. xxaxxaz 38 — 4d

2 answers

Log in to vote
0
Answered by
xxaxxaz 38
5 days ago
Edited 5 days 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 38 — 5d
0
ok thanks bro_pro99956 2 — 5d
0
tell me if it works! xxaxxaz 38 — 4d
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 38 — 4d
Ad
Log in to vote
0
Answered by
Xyternal 145
5 days ago

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

local x = game.your location
print(x)

Answer this question