local playerData = game:GetService("Players").LocalPlayer.PlayerData local secretEffects = playerData:FindFirstChild("SecretEffects") if not secretEffects then warn("ERROR:\n Unable to find SecretEffects, currently creating a new one...") secretEffects = Instance.new("Configuration", playerData) secretEffects.Name = "SecretEffects" end if not secretEffects:GetAttribute("DeinxMode") then print("Deinx Mode enabled, the settings will take effect once you change the difficulty.") secretEffects:SetAttribute("DeinxMode", true) else warn("Deinx Mode disabled, the settings will take effect once you change the difficulty.") secretEffects:SetAttribute("DeinxMode", false) end