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

What is the difference Between Bool values and Int Values?

Okay, So I've been a programmer for quite some time now, going on 6 years. I started LUA about 1 year ago, and to be honest, it's not looking that clear to me. Even with the knowledge from other scripting languages. I was making a custom leaderboard when I was using and Int Value to start a new section under my leaderboard, and I saw a bunch of different Values. But I think I have a pretty good grip on some, But the Bool Value and Int Value seem the same. Can anybody explain?

1 answer

✓ Accepted answer

I'm amazed that in 6 years of programming you don't know the different between a 'bool' and an 'int'.

A BoolValue can either be true (checked) or false (unchecked)

An IntValue holds an integer value

P.S - its 'Lua' not LUA

3 comments

0

Thank you.

0

In 6 years of programming, I've never used Bool values or Int Values. I forgot to mension that in my question. But thank you for the answer.

1

Well granted you'd never come across the values as such but surely you've used booleans and had to convert possibly a string to a number using int? (Possibly in python)

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