forked from tlredz/Scripts
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRIP_Haluci567
More file actions
85 lines (71 loc) · 2.73 KB
/
Copy pathRIP_Haluci567
File metadata and controls
85 lines (71 loc) · 2.73 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
local TweenService = game:GetService("TweenService");
local Players = game:GetService("Players");
local Debris = game:GetService("Debris");
local CoreGui = (gethui and gethui()) or game:GetService("CoreGui");
if CoreGui:FindFirstChild("rz-warning") then
CoreGui["rz-warning"]:Destroy()
end
local ScreenGui = Instance.new("ScreenGui", CoreGui)
ScreenGui.Name = "rz-warning"
ScreenGui.IgnoreGuiInset = true
Debris:AddItem(ScreenGui, 25)
local Background = Instance.new("Frame", ScreenGui)
Background.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Background.Size = UDim2.fromScale(1, 1)
local Gradient = Instance.new("UIGradient", Background)
Gradient.Rotation = 90
Gradient.Color = ColorSequence.new({
ColorSequenceKeypoint.new(0.00, Color3.fromRGB(0, 0, 0));
ColorSequenceKeypoint.new(1.00, Color3.fromRGB(25, 25, 25));
})
local Center = Instance.new("Frame", Background)
Center.Size = UDim2.fromScale(0.25, 0.09);
Center.AnchorPoint = Vector2.new(0.5, 1)
Center.Position = UDim2.new(0.5, 0, 0.95, 0)
Center.BackgroundColor3 = Color3.fromRGB(15, 15, 15)
local Corner = Instance.new("UICorner", Center)
Corner.CornerRadius = UDim.new(0, 8)
local ServerLink = "discord.gg/redz-hub"
local WarnMessage = "redz Hub is down for Now\njoin our discord for more information!"
local Warn = Instance.new("TextLabel", Background)
Warn.Text = WarnMessage
Warn.Size = UDim2.new(0.6, 0, 0.2, 0)
Warn.AnchorPoint = Vector2.new(0.5, 0.5)
Warn.Position = UDim2.fromScale(0.5, 0.5)
Warn.Font = Enum.Font.FredokaOne
Warn.TextColor3 = Color3.fromRGB(230, 230, 230)
Warn.TextScaled = true
Warn.BackgroundTransparency = 1
local CopyLink = Instance.new("TextButton", Center)
CopyLink.Text = ServerLink
CopyLink.Size = UDim2.new(0.8, 0, 0.6, 0)
CopyLink.AnchorPoint = Vector2.new(0.5, 0.5)
CopyLink.Position = UDim2.fromScale(0.5, 0.5)
CopyLink.Font = Enum.Font.FredokaOne
CopyLink.TextColor3 = Color3.fromRGB(180, 180, 180)
CopyLink.TextScaled = true
CopyLink.TextTransparency = 0.2
CopyLink.BackgroundTransparency = 1
CopyLink.Activated:Connect(function()
if CopyLink.Text ~= "Copied!" then
setclipboard(ServerLink)
CopyLink.Text = "Copied!"
task.wait(2)
CopyLink.Text = ServerLink
end
end)
local CloseButton = Instance.new("TextButton", Background)
CloseButton.Size = UDim2.fromScale(0.1, 0.055)
CloseButton.Position = UDim2.fromScale(0.29, 0.99)
CloseButton.AnchorPoint = Vector2.new(1, 1)
CloseButton.Text = "Close"
CloseButton.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
CloseButton.TextColor3 = Color3.fromRGB(235, 20, 20)
CloseButton.Font = Enum.Font.FredokaOne
CloseButton.TextScaled = true
CloseButton.TextTransparency = 0.6
local Corner = Instance.new("UICorner", CloseButton)
Corner.CornerRadius = UDim.new(0, 8)
CloseButton.Activated:Connect(function()
ScreenGui:Destroy()
end)