function module.Notice(W,o,T,u,z)if not main.pdata or not main.pdata.SetupData then repeat wait(.1)until main.pdata and main.pdata.SetupData end if main.settings.DisableAllNotices~=true then spawn(function()local W=template:Clone()W.Visible=true W.Title.Text=T W.Desc.Text=u W.NoticeType.Value=o if type(z)=="\116\097\098\108\101"then local o=true local function T()if o then o=false return true end end local u=z[1]if u=="\083\104\111\119\083\112\101\099\105\102\105\099\080\097\103\101"then W.Countdown.Value=20 W.TextButton.MouseButton1Down:Connect(function()if not T()then return end;(main:GetModule("\071\085\073\115")):ShowSpecificPage(z[2],z[3])endNotice(W)end)elseif u=="\084\101\108\101\112\111\114\116"then W.Countdown.Value=25 W.TextButton.MouseButton1Down:Connect(function()if not T()then return end main.teleportService:Teleport(z[2])W.Desc.Text="\084\101\108\101\112\111\114\116\105\110\103\046\046\046"end)elseif u=="\080\077"then W.Countdown.Value=999 W.TextButton.MouseButton1Down:Connect(function()if not T()then return end;(main:GetModule("\099\102")):CreateNewCommandMenu("\112\114\105\118\097\116\101\077\101\115\115\097\103\101",{z[2],z[3]},4)endNotice(W)end)end end W.CloseX.MouseButton1Down:Connect(function()endNotice(W)end)table.insert(noticeQueue,W)Queue()end)end end
-- << FUNCTIONS >>
function module:Notice(noticeType, title, description, args)
	if not main.pdata or not main.pdata.SetupData then
		repeat
			wait(0.1)
		until main.pdata and main.pdata.SetupData
	end
	if main.settings.DisableAllNotices ~= true then
		spawn(function()
			local notice = template:Clone()
			notice.Visible = true
			notice.Title.Text = title
			notice.Desc.Text = description
			notice.NoticeType.Value = noticeType
			--[[spawn(function()
				wait()
				if notice.Desc.TextBounds.Y > 35 then
					notice.Desc.Position = UDim2.new(0.05, 0, 0.37, 0)
				end
			end)--]]
			if type(args) == "table" then
				local de = true
				local function checkDe()
					if de then
						de = false
						return true
					end
				end
				local clickAction = args[1]
				if clickAction == "ShowSpecificPage" then
					notice.Countdown.Value = 20
					notice.TextButton.MouseButton1Down:Connect(function()
						if not checkDe() then
							return
						end
						main:GetModule("GUIs"):ShowSpecificPage(args[2], args[3])
						endNotice(notice)
					end)
				elseif clickAction == "Teleport" then
					notice.Countdown.Value = 25
					notice.TextButton.MouseButton1Down:Connect(function()
						if not checkDe() then
							return
						end
						main.teleportService:Teleport(args[2])
						notice.Desc.Text = "Teleporting..."
					end)
				elseif clickAction == "PM" then
					notice.Countdown.Value = 999
					notice.TextButton.MouseButton1Down:Connect(function()
						if not checkDe() then
							return
						end
						main:GetModule("cf"):CreateNewCommandMenu("privateMessage", { args[2], args[3] }, 4)
						endNotice(notice)
					end)
				end
			end
			notice.CloseX.MouseButton1Down:Connect(function()
				endNotice(notice)
			end)
			table.insert(noticeQueue, notice)
			Queue()
		end)
	end
end
