#Help me please to fix (Wrong Buy Head for dummy)
1 messages · Page 1 of 1 (latest)
have you tried doing
while true do
end
inside of the script?
-- Income distribution loop
while task.wait(1) do
for player in pairs(incomePlayers) do
-- Check if player is still valid and in game
if player and player:IsDescendantOf(game.Players) and player:FindFirstChild("Leaderstats") then
player.Leaderstats.Money.Value += player.Leaderstats.Income.Value
else
-- Remove invalid players
incomePlayers[player] = nil
end
end
end