I will use three buttons as an example This script is very rough but I want to know if It's possible to do math with path values of some sort.
I am trying to use paths instead of numbers.
PathA = PathA + PathB
PathA = PathA - PathB
PathA = PathA * PathB
PathA = PathA / PathB
PathA = PathA <=PathB
Note: I am not trying to fix a script I want to know if this method is possible and if it will work correctly.
I know the script does not work.
--Rough Example
local ButtonHolder = script.Parent
local pathA = ButtonHolder.ButtonAHolder.ButtonA
local pathB = ButtonHolder.ButtonBHolder.ButtonB
local PathNameA = ButtonHolder.ButtonAHolder
local PathNameB = ButtonHolder.ButtonBHolder
local Subtract = ButtonHolder.Subtract
Subtract.MouseButton1Down function())
pathA.Value = PathA.Value - PathB.Value --Subtracting a path value
end)

3 comments
What is a "path"?
I'm with BlueTaslem on this one. The question uses....custom...terminology? I guess. Best term I can think of.
Nevermind I figured out how to do it. A.Value = (A.Value-B.Value)