you can create a variable and assign it to the instance you want to get data from and get data from that.
Say, you have an IntValue in workspace, and you want to print its value. Do this:
local val = workspace:FindFirstChildOfClass('IntValue')
print( val.Value ) -- This will print the IntValue's Value to the output. |