Example:
local functionVariable = "Destroy"
local Part = game.Workspace.Part
Part:functionVariable()
-- Destroys the part.
Example:
local functionVariable = "Destroy"
local Part = game.Workspace.Part
Part:functionVariable()
-- Destroys the part.
No, for a call such as that one, Luau will take functionVariable as the string literal used for the call and therefore will attempt to call with functionVariable instead of Destroy.
You can index the instance for the method and call it that way, though.
local methodName = "Destroy"
Part[methodName](Part)
Notice I passed the part itself as a parameter, but in your screenshot you seem to have not.