СкриптСкрипт: ежедневная награда за вход (Daily Reward)
Готовый серверный скрипт: раз в 24 часа игрок получает 100 монет при входе. Положи в ServerScriptService. ```lua local DataStoreService = game:GetService("DataStoreService") local Players = game:GetService("Players") local store = DataStoreService:GetDataStore("DailyReward_v1") local DAY = 24 * 60 * 60 local REWARD = 100 Players.PlayerAdded:Connect(function(player) local leaderstats = Instance.new("Folder") leaderstats.Name = "leaderstats" leaderstats.Parent = player local coins = Instance.new("IntValue") coins.Name = "Coins" coins.Parent = leaderstats local key = "daily_" .. playe