-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtest bouncing
More file actions
78 lines (74 loc) · 1.73 KB
/
test bouncing
File metadata and controls
78 lines (74 loc) · 1.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
SALUNALOADING = Instance.new("ScreenGui")
SALUNALOADING.Name = "SALUNALOADING"
SALUNALOADING.Parent = game.CoreGui
LOADINGFRAME = Instance.new("ImageLabel")
LOADINGFRAME.Name = "LOADINGFRAME"
LOADINGFRAME.Parent = SALUNALOADING
LOADINGFRAME.BackgroundTransparency = 1
LOADINGFRAME.ClipsDescendants = true
LOADINGFRAME.AnchorPoint = Vector2.new(0.5, 0.5)
LOADINGFRAME.Position = UDim2.new(-2, 0, 0.5, 0)
LOADINGFRAME.Size = UDim2.new(0.2, 0, 0.2, 0)
LOADINGFRAME.Image = "http://www.roblox.com/asset/?id=18866462306"
LOADINGFRAMEcorner = Instance.new("UICorner")
LOADINGFRAMEcorner.Name = "LOADINGFRAMEcorner"
LOADINGFRAMEcorner.Parent = LOADINGFRAME
LOADINGFRAMEcorner.CornerRadius = UDim.new(0.05,0)
local v = game.TweenService:Create(LOADINGFRAME, TweenInfo.new(1, Enum.EasingStyle.Back, Enum.EasingDirection.Out), {
Position = UDim2.new(0.5, 0, 0.5, 0)
})
v:Play()
v.Completed:Connect(function()
game.TweenService:Create(LOADINGFRAME, TweenInfo.new(1, Enum.EasingStyle.Quad, Enum.EasingDirection.Out), {
Size = UDim2.new(0.631, 0, 0.756, 0),
Position = UDim2.new(0.5, 0, 0.5, 0)
}):Play()
Loading = Instance.new("TextLabel")
Loading.Parent = LOADINGFRAME
Loading.Name = "Loading"
Loading.BackgroundColor3 = Color3.fromRGB(0, 0, 0)
Loading.BackgroundTransparency = 1
Loading.Position = UDim2.new(0.7, 0, 0.05, 0)
Loading.Size = UDim2.new(0.2, 0, 0.756, 0)
Loading.TextColor3 = Color3.fromRGB(255,0,0)
Loading.Text = [[L
O
A
D
I
N
G
]]
Loading.TextSize = 20
Loading.FontFace.Bold = true
Loading.FontFace = Font.fromName("Merriweather")
while game.CoreGui:FindFirstChild("SALUNALOADING") do
Loading.Text = [[L
O
A
D
I
N
G
.]]
wait(0.4)
Loading.Text = [[L
O
A
D
I
N
G
..]]
wait(0.4)
Loading.Text = [[L
O
A
D
I
N
G
...]]
wait(1)
end
end)