When I try to destroy a Frame using the code below I get: Destory is not a valid member of Frame “Profile.DivisionRank”
local Container = Head:FindFirstChild('Profile') or self.Templates:FindFirstChild('Profile'):Clone();
local DivisionContainer = Container:FindFirstChild('DivisionRank');
DivisionContainer:Destory()
Did you check if frame exists?
if not then you should add:
local Container = Head:FindFirstChild('Profile') or self.Templates:FindFirstChild('Profile'):Clone();
local DivisionContainer = Container:FindFirstChild('DivisionRank');
if DivisionContainer then
DivisionContainer:Destroy()
end