22:03:30.531 - Players.Player1.PlayerGui.ScreenGui.Core:11: attempt to index a nil value 22:03:30.532 - Stack Begin 22:03:30.536 - Script 'Players.Player1.PlayerGui.ScreenGui.Core', Line 11 22:03:30.538 - Stack End
works in studio not play
local gui = script.Parent
local frame = gui:findFirstChild("Frame",true)
local setting = gui.Settings
local openclose = setting.OpenClose
local slide = setting.Slide
local money = setting.MoneyType
local keyd = setting.KeyDown
local button = gui:findFirstChild("Button",true)
local Player = script.Parent.Parent.Parent
local mouse = Player:GetMouse()
local list1 = gui:findFirstChild("Frame",true):findFirstChild("Frame1",true):GetChildren()

2 comments
Note that he is using FIndFirstChild to search recursively :)
Perhaps, though I would argue that recursive FindFirstChild is almost never a good solution.