Nythic

Ball Battles script (inf spins)

Jul 23rd, 2025 (edited)
412
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.77 KB | None | 0 0
  1. -- DISCORD: https://discord.gg/u3V8d45P9Q
  2.  
  3.  
  4.  
  5.  
  6. -- Pobranie lokalnego gracza (czyli Ciebie w grze)
  7. local player = game.Players.LocalPlayer
  8.  
  9. -- Czekanie na załadowanie się folderu "otherValues" i wartości "Spins"
  10. -- Używamy WaitForChild, aby uniknąć błędów, jeśli skrypt uruchomi się zbyt wcześnie
  11. local spinsValue = player:WaitForChild("otherValues"):WaitForChild("Spins")
  12.  
  13. -- Sprawdzenie, czy na pewno znaleziono obiekt i jest to NumberValue
  14. if spinsValue and spinsValue:IsA("NumberValue") then
  15.     -- Ustawienie wartości na nieskończoność. W Lua jest to reprezentowane przez "math.huge"
  16.     spinsValue.Value = math.huge
  17.     print("Ustawiono spiny na nieskończoność!")
  18. else
  19.     warn("Nie znaleziono obiektu 'Spins' dla gracza: " .. player.Name)
  20. end
Tags: Roblox Script
Advertisement
Add Comment
Please, Sign In to add comment