#I can't figure out the variables.

1 messages · Page 1 of 1 (latest)

ionic sundial
#

Please help me and explain to me what variables are. I'm not using them anymore.

timber karma
# ionic sundial Please help me and explain to me what variables are. I'm not using them anymore.

Variables are containers for Data. The way you create a Variable is using the keyword local and then setting them equal to some kind of data.

local Variable = 10

You can then use your variable after creating it.

local Variable = 10
print(Variable) --Prints 10

If you know how variables in math work then understanding them in programming should be easy.

Here is a tutorial that is quite old but taught me how to use variables: https://youtu.be/0Dc2dCYoxxs?si=lSV0VVgY945oBuEU

Beginner's Roblox Scripting Tutorial #3 - Variables (Beginner to Pro 2019)

Hey guys, so in today's video I am going to be teaching you guys about variables on roblox studio. So I'll teach you how to set a variable, what they are used for, and why we need them. Anyways enjoy.

-- Follow me on twitter! (my name is tapwater because thats my main c...

▶ Play video
alpine magnet
#

For perspective, this is the number of variables within the project I'm working on:

#

Over twenty thousand across half a thousand files, lol

alpine magnet
#

You need only search for that to get an estimation

#

Functions count as variables too

alpine magnet
timber karma
alpine magnet
timber karma
timber karma
#

And does the amount of files mean that you have over 600 scripts in your Project 💀

alpine magnet
#

The number of files is not unheard for a professionally scaled and funded project. We're currently sitting at ~220k lines of code

timber karma
timber karma
reef parcel
#

Hey guys could you help me with server values like string values bool values the ones you add to srrver storage or replicated

alpine magnet
reef parcel
#

Like I am using some variables like for example currentstate and it's a string and it's all good I use .value but when I use bool then it breaks

void crowBOT
#

studio** You are now Level 2! **studio

alpine magnet
#

This is somebody else's discussion. Let's not bury it

reef parcel
ionic sundial
#

Я не пон

#

Щас погодь

ionic sundial
ionic sundial
timber karma
#

Could you give an example?

ionic sundial
#

I mean, how can you use this in a serious play?

ionic sundial
ionic sundial
ionic sundial