This repository has been archived by the owner on Apr 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Universal.lua
283 lines (240 loc) · 8.14 KB
/
Universal.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
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
justloaded = true
-- ui varibles
local Fluent = loadstring(game:HttpGet("https://github.com/dawid-scripts/Fluent/releases/latest/download/main.lua"))()
local InterfaceManager = loadstring(game:HttpGet("https://raw.githubusercontent.com/dawid-scripts/Fluent/master/Addons/InterfaceManager.lua"))()
local ESPModule = loadstring(game:HttpGet("https://raw.githubusercontent.com/Tropxzz/Terror/main/Modules/ESPModule.lua", true))()
local AimbotModule = loadstring(game:HttpGet("https://raw.githubusercontent.com/Tropxzz/Terror/main/Modules/Aimbot.lua", true))()
local Dialog = loadstring(game:HttpGet("https://raw.githubusercontent.com/Tropxzz/Terror/main/Modules/TerrorDialog.lua", true))()
local HTTPRequest = (fluxus and fluxus.request) or (syn and syn.request) or (http and http.request) or http_request or request
local hook = loadstring(game:HttpGet("https://raw.githubusercontent.com/Tropxzz/Terror/main/Modules/Hook.lua", true))()
-- varibles
local PlaceId = game.PlaceId
local JobId = game.JobId
local vars = {}
local player = game.Players.LocalPlayer
-- main script
local Window = Fluent:CreateWindow({
Title = "Terror 1.0",
SubTitle = "by Jimmy/Tropxz",
TabWidth = 160,
Size = UDim2.fromOffset(580, 460),
Acrylic = true, -- The blur may be detectable, setting this to false disables blur entirely
Theme = "Dark",
MinimizeKey = Enum.KeyCode.LeftControl -- Used when theres no MinimizeKeybind
})
Main = Window:AddTab({ Title = "Welcome", Icon = "home" })
Plr = Window:AddTab({ Title = "Player", Icon = "user" })
Combat = Window:AddTab ({ Title = "Combat", Icon = "swords" })
Settings = Window:AddTab({ Title = "Settings", Icon = "settings" })
if not isfolder("Terror") then
makefolder("Terror")
end
if not isfile("Terror/Theme.txt") then
writefile("Terror/Theme.txt", "")
end
if isfolder("Terror") and isfile("Terror/Theme.txt") then
if readfile("Terror/Theme.txt") == "" then
Fluent:SetTheme("Dark")
else
Fluent:SetTheme(tostring(readfile("Terror/Theme.txt")))
end
end
Window:SelectTab(1)
Main:AddParagraph({
Title = "Welcome",
Content = "Welcome "..game.Players.LocalPlayer.DisplayName.." This script was made By Tropxz/Jimmy Were the same person if u couldnt tell"
})
Main:AddButton({
Title = "Rejoin",
Description = "Rejoin the server.",
Callback = function()
game["Teleport Service"]:TeleportToPlaceInstance(PlaceId, JobId, player)
end
})
Main:AddButton({
Title = "Screenshot",
Description = "Takes a screenshot.",
Callback = function()
return game.CoreGui:TakeScreenshot()
end
})
Main:AddButton({
Title = "Serverhop",
Description = "Join another server easily.",
Callback = function()
game:GetService("TeleportService"):TeleportToPlaceInstance(PlaceId, player)
end
})
Main:AddButton({
Title = "AntiClientKick",
Description = "Cant get kicked by the client. MADE BY IY",
Callback = function()
if not hookmetamethod then
return Dialog.red("Your executor doesn't support hookmetamethod")
end
local TeleportService = game["Teleport Service"]
local oldhmmi
local oldhmmnc
oldhmmi = hookmetamethod(game, "__index", function(self, method)
if self == TeleportService then
if method:lower() == "teleport" then
return error("Expected ':' not '.' calling member function Kick", 2)
elseif method == "TeleportToPlaceInstance" then
return error("Expected ':' not '.' calling member function TeleportToPlaceInstance", 2)
end
end
return oldhmmi(self, method)
end)
oldhmmnc = hookmetamethod(game, "__namecall", function(self, ...)
if self == TeleportService and getnamecallmethod():lower() == "teleport" or getnamecallmethod() == "TeleportToPlaceInstance" then
return
end
return oldhmmnc(self, ...)
end)
end
})
-- Player
Plr:AddSlider("Ws", {
Title = "WalkSpeed",
Description = "Speeds up your Player",
Default = 16,
Min = 16,
Max = 1000,
Rounding = 1,
Callback = function(Value)
player.Character.Humanoid.WalkSpeed = Value
end
});
Plr:AddSlider("JP", {
Title = "JUMPPOWER",
Description = "Makes your character Jump Higher",
Default = 50,
Min = 50,
Max = 1000,
Rounding = 1,
Callback = function(Value)
player.Character.Humanoid.JumpPower = Value
end
});
Plr:AddSlider("HipHeight", {
Title = "HipHeight",
Description = "Makes your character Float",
Default = 1.9980254173278809,
Min = 1.9980254173278809,
Max = 250,
Rounding = 1,
Callback = function(Value)
player.Character.Humanoid.HipHeight = Value
end
});
local spinSpeed = 1
local s = Plr:AddToggle("Spin", {Title = "Spin", Default = false })
s:OnChanged(function()
if s.Value == true then
for i,v in pairs(game.Players.LocalPlayer.Character.HumanoidRootPart:GetChildren()) do
if v.Name == "Spinning" then
v:Destroy()
end
end
local Spin = Instance.new("BodyAngularVelocity")
Spin.Name = "Spinning"
Spin.Parent = game.Players.LocalPlayer.Character.HumanoidRootPart
Spin.MaxTorque = Vector3.new(0, math.huge, 0)
Spin.AngularVelocity = Vector3.new(0,spinSpeed,0)
else
for i,v in pairs(game.Players.LocalPlayer.Character.HumanoidRootPart:GetChildren()) do
if v.Name == "Spinning" then
v:Destroy()
end
end
end
end)
local Input = Plr:AddInput("SpinSpeed", {
Title = "SpinSpeed",
Default = "1",
Placeholder = "1",
Numeric = true, -- Only allows numbers
Finished = false, -- Only calls callback when you press enter
Callback = function(Value)
spinSpeed = Value
end
})
-- Combat
local ESP = Combat:AddToggle("ESP", {Title = "ESP", Default = false })
ESP:OnChanged(function()
if ESP.Value == false then
ESPModule.DisableESP()
elseif ESP.Value == true then
ESPModule.ShowESP()
end
end)
-- lesson learnt never add a debounce to a toggle in a ui library lmfao (fyi it broke)
-- Alr hmmmmmmmmmmmmmmmmmmmmmmmmmmmmmm lets do 👑 Aimbot 👑
-- yo bros my old module things got me covered :fire:
-- ima just upload it to my github and were done basically
Combat:AddButton({
Title = "Aimbot",
Description = "Automatically aims when u hold RB.",
Callback = function()
AimbotModule.StartAimbot()
end
})
_G.TracersVisible = false
local Toggle = Combat:AddToggle("Tracers by Exunys", {Title = "Tracers by Exunys", Default = false })
local tracescriptenabled = false
Toggle:OnChanged(function()
if tracescriptenabled == false then
loadstring(game:HttpGet("https://raw.githubusercontent.com/Tropxzz/Terror/main/ExternalScripts/EnuxysTracers", true))()
tracescriptenabled = true
end
if Toggle.Value == false then
_G.TracersVisible = false
else
_G.TracersVisible = true
end
end)
local Noclip = Combat:AddToggle("Noclip", {Title = "Noclip", Default = false })
Noclip:OnChanged(function()
for i,v in ipairs(player.Character:GetDescendants()) do
if v:IsA("MeshPart") or v:IsA("Part") then
if Noclip.Value == false then
v.CanCollide = true
elseif Noclip.Value == true then
v.CanCollide = false
end
end
end
end)
local Spectate = Combat:AddDropdown("Spectate", {
Title = "Spectate",
Values = {},
Multi = false,
Default = player.Name,
})
local names = {}
local players = game.Players:GetPlayers()
for i, player in ipairs(players) do
table.insert(names, player.Name)
end
Spectate:SetValues(names)
Spectate:OnChanged(function(Value)
if game.Players:FindFirstChild(Value) then
workspace.CurrentCamera.CameraSubject = game.Players[Value].Character
end
end)
local asdasdasdsadasdasdasdasdasd = Settings:AddDropdown("Dropdown", {
Title = "Choose your theme",
Values = {"Dark","Darker","Light","Aqua", "Amethyst", "Rose"},
Multi = false,
Default = "Choose one",
})
asdasdasdsadasdasdasdasdasd:OnChanged(function(Value)
if not justloaded then
Fluent:SetTheme(Value)
delfile("Terror/Theme.txt")
writefile("Terror/Theme.txt", tostring(Value))
end
end)
-- put code above this not under 👑😭🙏
Dialog.yellow("The Script Terror has loaded")
justloaded = false