script.Parent.Touched:Connect(function(obiekt) local przedmiot = obiekt:FindFirstAncestorOfClass("Model") or obiekt local kasa = przedmiot:FindFirstChild("Kasa", true) local ulepszony = przedmiot:FindFirstChild("Ulepszony", true) if kasa and not ulepszony then kasa.Value *= 5 -- Mnożymy wartość razy 5 local znacznik = Instance.new("BoolValue") znacznik.Name = "Ulepszony" znacznik.Parent = przedmiot end end)