local Q=game.Players.LocalPlayer local R=require((game:GetService("\082\101\112\108\105\099\097\116\101\100\083\116\111\114\097\103\101")):WaitForChild("\065\099\104\105\101\118\101\109\101\110\116\115"))local Y=script:FindFirstAncestor("\077\097\105\110\085\073")local n=game:GetService("\084\119\101\101\110\083\101\114\118\105\099\101")return function(Q,x)local D=R[x]if D then local Q=Y.AchievementsHolder.Achievement:Clone()Q.Size=UDim2.new(0,0,0,0)Q.Frame.Position=UDim2.new(1.1,0,0,0)Q.Name="\076\105\118\101\065\099\104\105\101\118\101\109\101\110\116"Q.Visible=true for R,Y in pairs(D)do local n=Q.Frame.Details:FindFirstChild(R)if n then n.Text=Y end end if D.Image then Q.Frame.ImageLabel.Image=D.Image elseif D.BadgeId then Q.Frame.ImageLabel.Image="\114\098\120\097\115\115\101\116\105\100\058\047\047"..(game.BadgeService:GetBadgeInfoAsync(D.BadgeId)).IconImageId end Q.Parent=Y.AchievementsHolder Q.Sound:Play()Q:TweenSize(UDim2.new(1,0,.2,0),"\073\110","\081\117\097\100",.8,true)wait(.8)Q.Frame:TweenPosition(UDim2.new(0,0,0,0),"\079\117\116","\081\117\097\100",.5,true);(n:Create(Q.Frame.Glow,TweenInfo.new(1,Enum.EasingStyle.Quad,Enum.EasingDirection.In),{ImageTransparency=1})):Play()wait(8)Q.Frame:TweenPosition(UDim2.new(1.1,0,0,0),"\073\110","\081\117\097\100",.5,true)wait(.5)Q:TweenSize(UDim2.new(1,0,-0.1,0),"\073\110\079\117\116","\081\117\097\100",.5,true)wait(.5)Q:Destroy()end end


local l__LocalPlayer__1 = game.Players.LocalPlayer;
local u1 = require(game:GetService("ReplicatedStorage"):WaitForChild("Achievements"));
local u2 = script:FindFirstAncestor("MainUI");
local l__TweenService__3 = game:GetService("TweenService");
return function(p1, p2)
	local v2 = u1[p2];
	if v2 then
		local v3 = u2.AchievementsHolder.Achievement:Clone();
		v3.Size = UDim2.new(0, 0, 0, 0);
		v3.Frame.Position = UDim2.new(1.1, 0, 0, 0);
		v3.Name = "LiveAchievement";
		v3.Visible = true;
		for v4, v5 in pairs(v2) do
			local v6 = v3.Frame.Details:FindFirstChild(v4);
			if v6 then
				v6.Text = v5;
			end;
		end;
		if v2.Image then
			v3.Frame.ImageLabel.Image = v2.Image;
		elseif v2.BadgeId then
			v3.Frame.ImageLabel.Image = "rbxassetid://" .. game.BadgeService:GetBadgeInfoAsync(v2.BadgeId).IconImageId;
		end;
		v3.Parent = u2.AchievementsHolder;
		v3.Sound:Play();
		v3:TweenSize(UDim2.new(1, 0, 0.2, 0), "In", "Quad", 0.8, true);
		wait(0.8);
		v3.Frame:TweenPosition(UDim2.new(0, 0, 0, 0), "Out", "Quad", 0.5, true);
		l__TweenService__3:Create(v3.Frame.Glow, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.In), {
			ImageTransparency = 1
		}):Play();
		wait(8);
		v3.Frame:TweenPosition(UDim2.new(1.1, 0, 0, 0), "In", "Quad", 0.5, true);
		wait(0.5);
		v3:TweenSize(UDim2.new(1, 0, -0.1, 0), "InOut", "Quad", 0.5, true);
		wait(0.5);
		v3:Destroy();
	end;
end;
