I wanted to find a method to get every property value of an instance but I couldn’t even start doing anything because “GetProperties()” isn’t working at all
GetProperties is not a valid member of Part "Workspace.testpart00" - Server - Script:1
I thought there could be something wrong with the script I made so I just copied this from documentation.
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local coreSheet = ReplicatedStorage:FindFirstChild("CoreSheet")
-- Get reference to style rule
local frameRule = coreSheet.Frame
local props = frameRule:GetProperties()
print(props)
--[[
{
["AnchorPoint"] = 0.5, 0,
["BackgroundColor3"] = 1, 0, 0.25
}
]]
the error↓↓↓
GetProperties is not a valid member of Part "ReplicatedStorage.CoreSheet.Frame" - Server - Script:8
Am I getting errors because I used parts as instead of something else?? please explain it to me