-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathM.RUL
76 lines (64 loc) · 1.63 KB
/
M.RUL
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
--[[
Control22
kubapolish (helped fix ONE VERY BIG SPELLING ERROR)
Borsy (told me that the ending bracket doesn't need to have --) (and uploaded sound) (and fixed ass shit coding style with inconsistent indentation and everything inconsistent)
M.lua
RUN AS LOCALSCRIPT
]]
wait()
local pl = game.Players.LocalPlayer
if not pl then
error("Please run this as a localscript")
end
local c = pl.Character
local h = c.Humanoid
local rgb = Color3.fromRGB
function init(m)
m = m or "rbxassetid://2790243015"
local g_ve = Instance.new("ScreenGui")
g_ve.IgnoreGuiInset=true
local g_sn = Instance.new("Sound",g_ve)
g_sn.SoundId=m
local g_obj = {
Frame = Instance.new("Frame"),
Label = Instance.new("TextLabel"),
FrameParams = {
Name = "m",
BackgroundTransparency = 0,
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 1, 0),
BackgroundColor3 = rgb(0, 0, 0),
Parent = g_ve
},
LabelParams = {
Name = "m",
BackgroundTransparency = 1,
BorderSizePixel = 0,
Size = UDim2.new(1, 0, 1, 0),
BackgroundColor3 = rgb(0, 0, 0),
TextColor3 = rgb(255,255,255),
Parent = g_ve,
Text = "m",
TextScaled = true,
Font = Enum.Font.Fantasy,
}
}
for i,v in pairs(g_obj.FrameParams) do
g_obj.Frame[i] = v
end
for i,v in pairs(g_obj.LabelParams) do
g_obj.Label[i] = v
end
g_ve.Parent = pl.PlayerGui
g_obj.Label.Parent=g_obj.Frame
for i = 1,0,-0.01 do
g_obj.Label.TextTransparency=i
wait()
end
wait(1)
g_sn:Play()
wait(5)
g_obj.Frame:Destroy()
script:Destroy()
end
init()