-
Notifications
You must be signed in to change notification settings - Fork 19
Expand file tree
/
Copy pathAnimationLoggerOS
More file actions
116 lines (102 loc) · 4.26 KB
/
AnimationLoggerOS
File metadata and controls
116 lines (102 loc) · 4.26 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
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
local AnimationStealer = Instance.new("ScreenGui")
local MainFrame = Instance.new("Frame")
local Title = Instance.new("TextLabel")
local Color = Instance.new("Frame")
local ScrollingFrame = Instance.new("ScrollingFrame")
local Title_2 = Instance.new("TextLabel")
local CloseGui = Instance.new("TextButton")
local UICorner = Instance.new("UICorner")
local UIListLayout = Instance.new('UIListLayout')
AnimationStealer.Name = "AnimationStealer"
AnimationStealer.Parent = game.CoreGui
AnimationStealer.ZIndexBehavior = Enum.ZIndexBehavior.Sibling
MainFrame.Name = "MainFrame"
MainFrame.Parent = AnimationStealer
MainFrame.BackgroundColor3 = Color3.fromRGB(10, 10, 10)
MainFrame.BorderSizePixel = 0
MainFrame.Position = UDim2.new(0.772213221, 0, 0.255977452, 0)
MainFrame.Size = UDim2.new(0, 228, 0, 328)
MainFrame.Active = true
MainFrame.Draggable = true
Title.Name = "Title"
Title.Parent = MainFrame
Title.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Title.BackgroundTransparency = 1.000
Title.Position = UDim2.new(0.0438596494, 0, 0.0548780486, 0)
Title.Size = UDim2.new(0, 207, 0, 29)
Title.Font = Enum.Font.GothamBlack
Title.Text = "( Click the animation to setclipboard )"
Title.TextColor3 = Color3.fromRGB(255, 255, 255)
Title.TextSize = 10.000
Title.TextWrapped = true
Color.Name = "Color"
Color.Parent = MainFrame
Color.BackgroundColor3 = Color3.fromRGB(30, 30, 30)
Color.BorderSizePixel = 0
Color.Position = UDim2.new(0.0438596457, 0, 0.14329268, 0)
Color.Size = UDim2.new(0, 207, 0, 270)
ScrollingFrame.Parent = Color
ScrollingFrame.Active = true
ScrollingFrame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
ScrollingFrame.BackgroundTransparency = 1.000
ScrollingFrame.BorderSizePixel = 0
ScrollingFrame.Size = UDim2.new(0, 207, 0, 270)
ScrollingFrame.ScrollBarThickness = 2
ScrollingFrame.ScrollBarImageColor3 = Color3.fromRGB(10,10,10)
Title_2.Name = "Title"
Title_2.Parent = MainFrame
Title_2.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
Title_2.BackgroundTransparency = 1.000
Title_2.Position = UDim2.new(0.0438596494, 0, 0, 0)
Title_2.Size = UDim2.new(0, 207, 0, 34)
Title_2.Font = Enum.Font.GothamBlack
Title_2.Text = "Animation Grabber"
Title_2.TextColor3 = Color3.fromRGB(255, 255, 255)
Title_2.TextSize = 15.000
Title_2.TextWrapped = true
CloseGui.Name = "CloseGui"
CloseGui.Parent = MainFrame
CloseGui.BackgroundColor3 = Color3.fromRGB(255, 0, 0)
CloseGui.BorderSizePixel = 0
CloseGui.Position = UDim2.new(0.934210479, 0, 0, 0)
CloseGui.Size = UDim2.new(0, 15, 0, 15)
CloseGui.AutoButtonColor = false
CloseGui.Selected = true
CloseGui.Font = Enum.Font.Nunito
CloseGui.Text = ""
CloseGui.TextColor3 = Color3.fromRGB(0, 0, 0)
CloseGui.TextSize = 12.000
CloseGui.MouseButton1Click:Connect(function()
AnimationStealer:Destroy()
end)
UICorner.CornerRadius = UDim.new(0, 12)
UICorner.Parent = CloseGui
UIListLayout.Parent = ScrollingFrame
local Target = game.Players.LocalPlayer.Name
if getgenv().Target then
Target = getgenv().Target
end
local Logged = {}
while AnimationStealer do
pcall(function()
for _,v in pairs(game.Players[Target].Character:FindFirstChildOfClass('Humanoid'):GetPlayingAnimationTracks()) do
if not table.find(Logged, v.Animation.AnimationId) and not string.find(v.Animation.AnimationId, 'roblox.com/asset') then
table.insert(Logged, v.Animation.AnimationId)
local TextButton = Instance.new("TextButton")
TextButton.Parent = ScrollingFrame
TextButton.BackgroundColor3 = Color3.fromRGB(70, 70, 70)
TextButton.BorderSizePixel = 0
TextButton.Size = UDim2.new(0, 207, 0, 37)
TextButton.Font = Enum.Font.GothamBold
TextButton.Text = v.Name .. '\n' .. v.Animation.AnimationId
TextButton.TextColor3 = Color3.fromRGB(255, 255, 255)
TextButton.TextSize = 12.000
TextButton.MouseButton1Click:Connect(function()
setclipboard(v.Animation.AnimationId)
end)
ScrollingFrame.CanvasSize = UDim2.new(0,ScrollingFrame:FindFirstChildOfClass('UIListLayout').AbsoluteContentSize.X,0,ScrollingFrame:FindFirstChildOfClass('UIListLayout').AbsoluteContentSize.Y)
end
end
game:GetService('RunService').Heartbeat:Wait()
end)
end