So I am here again the “Noob”. I am working on my addon and I want it so when my “cooking_pot” touches my cooker it will go onto of the cooker it will remove its self.
Part from my
function ENT.StartTouch(ent) if ent:GetClass() == "cooking_pot" then ent:Remove() self.isPotted = true self:SetColor(Color(0,0,255)) end end function ENT:StartTouch(ent) if ent:GetClass() == "dough" and self.isBaking == false and self.isPotted then ent:Remove() self.isBaking = true self.finishBakeTime = CurTime() + 5 end end
I dont know how to get around this as I know that they are conflicting with each other as If I take one away the other works.
Any help would be amazing**