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

What are values?

Asked by 10 years ago

What are values, and what are the different types of values?

2 answers

Log in to vote
0
Answered by
HexC3D 830 Moderation Voter
10 years ago

Yes there are different values here are some Here Are some but not all

BoolValue

BrickColorValue

CFrameValue

Color3Value

IntValue

NumberValue

StringValue

                                                               `Number Values`

They all do something let me give you an example on how 2 of them work IntValue and Number Value are practically same thing there Values hold numbers only

                                               ` True and False values or which we call bool values`

They are value property's that only allows false and true which is self-explanatory.

Here is source to explain all Source

0
Why is this guy ahead of me all teh time .__. TochiWasHere 10 — 10y
0
know wut im not even taking mine down because i spent my 5 minutes trying to design mine .-. TochiWasHere 10 — 10y
Ad
Log in to vote
0
Answered by 10 years ago

Values do various things.

I hope your talking about stuff like NumberValue and IntValue..

Bool Value - Holds an instance of true or false. You can use it like...

if script.Parent.CanPrint.Value == true then
    print("Bool is true! :D")
else
    print("Bool is false D:")
end

IntValue - Holds an Integer. This is especially useful for leaderboards.

NumberValue - Holds any number. Like this..

if script.Parent.Vegeta.Value > 9000 then
    print("ITS OVER 9000!!!!!!!!")
elseif script.Parent.Vegeta.Value < 0 then
    print("Ded. :c")
else
    print("Under 9000 D:... Doesn't stand a chance against Goku")
end

You can find the rest HERE because I am LAZY :3

Answer this question