Why thingy is not owrking

Im new to all this fancy car.new and module:Set() but I had ago and I dont knopw why its not owrking

local Module = {
	SetName = function(Name)
		self.Name = Name
	end
}

workspace:SetName("Hello World!")
1 Like

You should read this:

I have many time also all about OOP and Metamethods etc

I would suggest searching for guides on how to do this:

I have read that check what I said Car.new is an example from that

Tables don’t have a self property. You will need to call itself with Module.Name