+ 1
I don't understand if statements at all can someone pls put me through
5 ответов
+ 1
Think of if statements as normal conversations. When do you use 'if'? For example, "If I do this, you do this or you do that." So whenever we're calling an if statement, another thing should take place. Let's place a normal 4x4 block on a land of grass. If we want to make it disappear, we can use different types statements to do so. But here is an if statement for it:
If world.block then - Checking if the block in that land of grass does exist.
world.block:Destroy() - Then it should be destroyed, or disappear.
Basically if the world block is true, it can disappear.
0
bro call me. I'll help u out 9020870222
0
thank u guys
0
No problem, there's always help when you need it ;)
0
if statement is like putting something under a condition eg If you want to login to your computer your Computer, you input password, this is where if statement comes in,.if your password is correct it shows desktop if not it will still ask for the password