Advertisement
Tzuro

Untitled

Mar 12th, 2024
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. for i, element in pairs(przycisk:GetChildren()) do
  2. if element.Name == "Kolejny" then
  3. local
  4.  
  5. przyciskDoOdkrycia=przyciski:FindFirstChild(element.Value)
  6. if przyciskDoOdkrycia then
  7. odkryjPrzycisk(przyciskDoOdkrycia)
  8. else
  9. warn("Brakuje przycisku: " .. element.Value)
  10. end
  11. end
  12. end
  13. przycisk:Destroy()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement