Basically, each property has a ‘input type’, those can be, a instance, a bool, a string etc.
But… Thing is, how would I know what is the type of the input which that property receives?
For example:
local Property = workspace['Part'].Transparency
print(Property.Type) --> Number
Vulkarin
(Vulkarin)
#2
You can use typeof
:
local Property = workspace.Baseplate.Transparency
print(typeof(Property)) --> number
1 Like
I can’t believe it could be that simple… Well, thank you for solving, I guess…
S1xty
(S1xty)
#4
This method doesn’t work if the value is nil, such as in the case of optional object values