local y={"\078\111\116\105\099\101\083\111\117\110\100\073\100";"\078\111\116\105\099\101\086\111\108\117\109\101";"\078\111\116\105\099\101\080\105\116\099\104","\069\114\114\111\114\083\111\117\110\100\073\100","\069\114\114\111\114\086\111\108\117\109\101";"\069\114\114\111\114\080\105\116\099\104","\065\108\101\114\116\083\111\117\110\100\073\100";"\065\108\101\114\116\086\111\108\117\109\101","\065\108\101\114\116\080\105\116\099\104","\080\114\101\102\105\120","\083\112\108\105\116\075\101\121"}local C={};(coroutine.wrap(function()if not main.initialized then main.client.Signals.Initialized.Event:Wait()end for y,e in pairs(y)do C[e]=settings[e]end end))()local function e()if not main.initialized then main.client.Signals.Initialized.Event:Wait()end return{DataKey=0;DataToUpdate=true,Theme=settings.Theme;NoticeSoundId=settings.NoticeSoundId;NoticeVolume=settings.NoticeVolume,NoticePitch=settings.NoticePitch,ErrorSoundId=settings.ErrorSoundId;ErrorVolume=settings.ErrorVolume;ErrorPitch=settings.ErrorPitch;AlertSoundId=settings.AlertSoundId,AlertVolume=settings.AlertVolume,AlertPitch=settings.AlertPitch,Prefix=settings.Prefix,SplitKey=settings.SplitKey,MusicList=settings.MusicList,MuteLocalSound=false;PreviousServer=game.JobId;Rank=0,SaveRank=true;PermRankedBy=3682,Donor=false;Gamepasses={};Assets={};DefaultSettings=C,Groups={};Friends={};CommandsActive={};LaserColor=Color3.fromRGB(255,0,0);PromptedDonor=false,AutomaticRank=false,Items={};SetupData=false}end local function E()return{"\071\114\111\117\112\115","\070\114\105\101\110\100";"\067\111\109\109\097\110\100\115\065\099\116\105\118\101","\076\097\115\101\114\067\111\108\111\114","\080\114\111\109\112\116\101\100\068\111\110\111\114";"\065\117\116\111\109\097\116\105\099\082\097\110\107","\073\116\101\109\115","\083\101\116\117\112\068\097\116\097"}end
-- << LOCAL FUNCTIONS >>
local defaultSettingsToAdd = {
	"NoticeSoundId",
	"NoticeVolume",
	"NoticePitch",
	"ErrorSoundId",
	"ErrorVolume",
	"ErrorPitch",
	"AlertSoundId",
	"AlertVolume",
	"AlertPitch",
	"Prefix",
	"SplitKey",
}
local defaultSettings = {}
coroutine.wrap(function()
	if not main.initialized then
		main.client.Signals.Initialized.Event:Wait()
	end
	for i, v in pairs(defaultSettingsToAdd) do
		defaultSettings[v] = settings[v]
	end
end)()
local function getDataTemplate()
	if not main.initialized then
		main.client.Signals.Initialized.Event:Wait()
	end
	return {

		DataKey = 0,
		DataToUpdate = true,
		Theme = settings.Theme,
		NoticeSoundId = settings.NoticeSoundId,
		NoticeVolume = settings.NoticeVolume,
		NoticePitch = settings.NoticePitch,
		ErrorSoundId = settings.ErrorSoundId,
		ErrorVolume = settings.ErrorVolume,
		ErrorPitch = settings.ErrorPitch,
		AlertSoundId = settings.AlertSoundId,
		AlertVolume = settings.AlertVolume,
		AlertPitch = settings.AlertPitch,
		Prefix = settings.Prefix,
		SplitKey = settings.SplitKey,
		MusicList = settings.MusicList,
		MuteLocalSound = false,
		PreviousServer = game.JobId,
		Rank = 0,
		SaveRank = true,
		PermRankedBy = 3682,
		Donor = false,
		Gamepasses = {},
		Assets = {},

		DefaultSettings = defaultSettings, --If the owner changes these Settings, then update everyones data to the new setting.

		Groups = {},
		Friends = {},
		CommandsActive = {},
		LaserColor = Color3.fromRGB(255, 0, 0),
		PromptedDonor = false,
		AutomaticRank = false,
		Items = {},
		SetupData = false,
	}
end

local function dataNotToSave()
	return {
		"Groups",
		"Friend",
		"CommandsActive",
		"LaserColor",
		"PromptedDonor",
		"AutomaticRank",
		"Items",
		"SetupData",
	}
end
