local g=script.Parent:WaitForChild("\084\121\099\111\111\110\115")local T=game:GetService("\083\101\114\118\101\114\083\116\111\114\097\103\101")local X=game:GetService("\082\117\110\083\101\114\118\105\099\101")local E=game:GetService("\068\097\116\097\083\116\111\114\101\083\101\114\118\105\099\101")local a=(require(script.Parent.SaveTrigger.Settings)).Save local s=E:GetDataStore(a.databaseName)
--Old never do it like this because child of Tycoons get deleted the the child children is empty causes bug
--local tycoons = script.Parent:WaitForChild("Tycoons"):GetChildren()

local Tycoons = script.Parent:WaitForChild("Tycoons")
local serverStorage = game:GetService("ServerStorage")
local runService = game:GetService("RunService")

local DataStoreService = game:GetService("DataStoreService")
local SaveSettings = require(script.Parent.SaveTrigger.Settings).Save

local playerData = DataStoreService:GetDataStore(SaveSettings.databaseName)
