-- Make button clickable even if 3D viewport is hidden

newScriptButton.ClickableWhenViewportHidden = true

local function onNewScriptButtonClicked()
	local newScript = Instance.new("Script")
	newScript.Source = ""
	newScript.Parent = game:GetService("ServerScriptService")
end
newScriptButton.Click:Connect(onNewScriptButtonClicked)
