R

dmk kraxked

public
rrixh Aug 01, 2024 Never 36
Clone
Plaintext deltamobkeyboard-kraxked_rrixh.xlsx 77 lines (62 loc) | 2.92 KB
1
local function Lulas(txt,dur)
2
local TweenService = game:GetService("TweenService")
3
4
local GUI = Instance.new("ScreenGui")
5
GUI.Parent = game.Players.LocalPlayer:WaitForChild("PlayerGui")
6
7
8
local MainFrame = Instance.new("Frame")
9
MainFrame.Size = UDim2.new(0, 200, 0, 60)
10
MainFrame.Position = UDim2.new(0, -200, 0.95, -60) -- Start off-screen
11
MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
12
MainFrame.Parent = GUI
13
14
15
local MainFrameCorner = Instance.new("UICorner")
16
MainFrameCorner.CornerRadius = UDim.new(0, 10)
17
MainFrameCorner.Parent = MainFrame
18
19
local NotificationFrame = Instance.new("Frame")
20
NotificationFrame.Size = UDim2.new(0.9, 0, 0.8, 0)
21
NotificationFrame.Position = UDim2.new(0.05, 0, 0.1, 0)
22
NotificationFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) -- Darker gray
23
NotificationFrame.Parent = MainFrame
24
25
local NotificationFrameCorner = Instance.new("UICorner")
26
NotificationFrameCorner.CornerRadius = UDim.new(0, 10)
27
NotificationFrameCorner.Parent = NotificationFrame
28
29
local TextLabel = Instance.new("TextLabel")
30
TextLabel.Size = UDim2.new(0.9, 0, 0.7, 0)
31
TextLabel.Position = UDim2.new(0.05, 0, 0.15, 0)
32
TextLabel.BackgroundTransparency = 1
33
TextLabel.TextColor3 = Color3.fromRGB(128, 170, 32) -- greenish
34
TextLabel.TextScaled = true
35
TextLabel.TextXAlignment = Enum.TextXAlignment.Left
36
TextLabel.TextYAlignment = Enum.TextYAlignment.Top
37
TextLabel.Text = txt
38
TextLabel.Parent = NotificationFrame
39
40
local ProgressBar = Instance.new("Frame")
41
ProgressBar.Size = UDim2.new(0.9, 0, 0.1, 0)
42
ProgressBar.Position = UDim2.new(0.05, 0, 0.85, 0)
43
ProgressBar.BackgroundColor3 = Color3.fromRGB(100, 100, 100)
44
ProgressBar.Parent = NotificationFrame
45
46
local ProgressBarFill = Instance.new("Frame")
47
ProgressBarFill.Size = UDim2.new(1, 0, 1, 0)
48
ProgressBarFill.BackgroundColor3 = Color3.fromRGB(128, 170, 32) -- green
49
ProgressBarFill.Parent = ProgressBar
50
51
local function showNotif()
52
local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.Out)
53
local endPosition = UDim2.new(0.01, 0, 0.95, -60)
54
local tween = TweenService:Create(MainFrame, tweenInfo, { Position = endPosition })
55
tween:Play()
56
57
58
local kountdown = dur
59
local startTime = tick()
60
61
while tick() - startTime < kountdown do
62
local elapsedTime = tick() - startTime
63
local progress = 1 - (elapsedTime / kountdown)
64
ProgressBarFill:TweenSize(UDim2.new(progress, 0, 1, 0), Enum.EasingDirection.Out, Enum.EasingStyle.Linear, 0.1, true)
65
task.wait()
66
end
67
68
local tweenInfo = TweenInfo.new(0.5, Enum.EasingStyle.Quad, Enum.EasingDirection.In)
69
local startPosition = UDim2.new(0.01, 0, 0.95, -60)
70
local endPosition = UDim2.new(-1, 0, 0.95, -60)
71
local tween = TweenService:Create(MainFrame, tweenInfo, { Position = endPosition })
72
tween:Play()
73
end;
74
showNotif()
75
end;
76
z,zz,zzz,zaza=Lulas,Lulas,Lulas,Lulas;
77
Lulas("Delta Mobile Keyboard Kraxked by 🍭...👺",3.5)