0% found this document useful (0 votes)
29 views3 pages

Alert System for Game GUI

Uploaded by

yusuf15561aa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
29 views3 pages

Alert System for Game GUI

Uploaded by

yusuf15561aa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd

local lib = {}

local table1 = {}
local cloneref = cloneref or function(o) return o end
local coregui = game:GetService('CoreGui')
local _SGUI = [Link]('ScreenGui',coregui)
_SGUI.Name = 'FE2Notifs'
local TopFrame = [Link]("Frame")
local TopText = [Link]("TextLabel")
local UIAspectRatioConstraint = [Link]("UIAspectRatioConstraint")

[Link] = ";3"
[Link] = coregui.FE2Notifs
TopFrame.BackgroundColor3 = [Link](1, 1, 1)
[Link] = 1
[Link] = [Link](0.371764719, 0, 0, 0)
[Link] = [Link](0.255882353, 0, 0.0865671635, 0)
_SGUI.IgnoreGuiInset = true
_SGUI.ResetOnSpawn = false

[Link] = TopFrame
[Link] = 8.039999961853027

function [Link](p56, p57, p58, p59)


if [Link] == coregui.FE2Notifs[';3'] then
local v48 = (p56 > 4 or p58) and p56 or p56 - 1;
local v49 = (p56 > 4 or p58) and "In" or "Out";
if p56 > 4 or p58 then
[Link] = 0;
[Link](table1, p56);
local TweenInfo_new_ret13 = [Link](0.3,
[Link], [Link]);

cloneref(game:GetService("TweenService")):Create(p57.Alert_Shadow,
TweenInfo_new_ret13, {
ImageTransparency = 1
}):Play();
cloneref(game:GetService("TweenService")):Create([Link],
TweenInfo_new_ret13, {
TextTransparency = 1.1,
TextStrokeTransparency = 1
}):Play();
[Link](0.3, function()
p57:Destroy();
end);
return;
end
p57:TweenPosition([Link](0.5, 0, v48, 0), v49, "Sine", 0.325, true);
end
end

function [Link](text, clr, tim, special)


[Link](function()
local _TIME = tim or 4.5;
local Frame = [Link]("Frame");
local ImageLabel = [Link]("ImageLabel");
local TextLabel = [Link]("TextLabel");
[Link] = "Alert_Frame";
[Link] = [Link](1, 0, 1, 0);
[Link] = [Link](0.5, 0, -1, 0);
[Link] = [Link](0.5, 0);
[Link] = 1;
local UIScale = [Link]("UIScale");
[Link] = 0;
[Link] = Frame;
[Link] = "Alert_Shadow";
[Link] = 1;
[Link] = "rbxassetid://1057492965";
[Link] = 0.5;
[Link] = [Link](1, 0, 1, 0);
[Link] = Frame;
[Link] = "Alert";
[Link] = 3;
[Link] = text;
TextLabel.TextColor3 = clr or [Link](1, 1, 1);
[Link] = true;
[Link] = "Ubuntu";
[Link] = 0;
[Link] = 1;
TextLabel.BackgroundColor3 = [Link]();
[Link] = 0;
[Link] = [Link](1, 0, 1, 0);
local UIGradient = [Link]("UIGradient");
[Link] = [Link]([Link](255, 255, 255),
[Link](159, 159, 159));
[Link] = 90;
[Link] = TextLabel;
[Link] = Frame;
[Link] = coregui.FE2Notifs[';3'];
if _TIME > 8 then
local Frame2 = [Link]("Frame", TextLabel);
[Link] = 0;
Frame2.BackgroundColor3 = clr or [Link](1, 1, 1);
[Link] = [Link](0.5, 0.5);
[Link] = [Link](0.5);
[Link] = [Link](1, 0, 0.1, 0);
Frame2:TweenSize([Link](0, 0, 0.1, 0), "Out", "Linear",
_TIME);
local ImageLabel2 = [Link]("ImageLabel", Frame2);
[Link] = "rbxassetid://156579757";
[Link] = [Link](1, 0, 1, 0);
[Link] = 1;
[Link] = 0.5;
end
if special == "rainbow" then
[Link](function()
local v85 = 0;
while TextLabel and [Link]() do
if v85 > 1 then
v85 = 0;
end
TextLabel.TextColor3 = [Link](v85, 1, 1);
v85 = v85 + 1 / 120;
end
end);
end
local v55 = 1;
[Link](table1, v55, Frame);
for index6 = 1, #table1 do
[Link](index6, table1[index6]);
end
local TweenInfo_new_ret14 = [Link](0.325,
[Link], [Link]);
cloneref(game:GetService("TweenService")):Create([Link],
TweenInfo_new_ret14, {
Scale = 1
}):Play();
cloneref(game:GetService("TweenService")):Create(TextLabel,
TweenInfo_new_ret14, {
TextTransparency = 0,
TextStrokeTransparency = 0.1
}):Play();
[Link](_TIME)
if Frame and TextLabel and [Link] <= 0 then
local v78 = 1;
for index10 = 1, #table1 do
if table1[index10] == Frame then
v78 = index10;
break;
end
end
[Link](v78, Frame, true, _TIME);
end
for index7 = 1, #table1 do
[Link](index7, table1[index7]);
end
return TextLabel;
end)
end

return lib

You might also like