I want to make a script that checks whether the instance is a value or not. It would return true if it was an ObjectValue, BoolValue, IntValue, NumberValue, or all the other values, but would return false if it was anything else such as a part or model. The term “BasePart” is used to group all types of parts together, so I would assume there exists a way to group all types of values together. Something like this maybe:
if instance:IsA("Value") then
-- code here
end
This code doesn’t work though, so I wanna know if there exists something like it.