RobloxScripterAI
Discord ↗
Link Copied to Clipboard
×
"make a script that gives you 10 "BabaCoins" Every 30 seconds you play the game"
-- server script local Players = game:GetService("Players") game.Players.PlayerAdded:Connect(function(player) local coins = 0 local timer = 30 local function giveCoins() coins = coins + 10 player.leaderstats.BabaCoins.Value = coins wait(timer) giveCoins() end giveCoins() end)