-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDaHoodEssentials.lua
76 lines (60 loc) · 2.08 KB
/
DaHoodEssentials.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
--[[
getgenv().Settings = {
Macro = {
Enabled = true,
},
LowerGFX = {
Enabled = true
}
}
loadstring(game:HttpGet("https://raw.githubusercontent.com/chiiicken5538/lua-scripts/main/DaHoodEssentials.lua"))()
]]
if not game:IsLoaded() then
game.Loaded:Wait()
end
repeat task.wait()
until game:GetService("Players").LocalPlayer:FindFirstChild("DataFolder") ~= nil
if getgenv().Settings.Macro.Enabled then
local macro = false
game:GetService("UserInputService").InputBegan:Connect(function(input)
if input.KeyCode == Enum.KeyCode.Q then
macro = true
repeat
keypress(0x49)
game:GetService("RunService").Heartbeat:wait()
keypress(0x4F)
game:GetService("RunService").Heartbeat:wait()
keyrelease(0x49)
game:GetService("RunService").Heartbeat:wait()
keyrelease(0x4F)
game:GetService("RunService").Heartbeat:wait()
keypress(0x49)
game:GetService("RunService").Heartbeat:wait()
keypress(0x4F)
game:GetService("RunService").Heartbeat:wait()
keyrelease(0x49)
game:GetService("RunService").Heartbeat:wait()
keyrelease(0x4F)
game:GetService("RunService").Heartbeat:wait()
until not macro
end
end)
game:GetService("UserInputService").InputEnded:Connect(function(input)
if input.KeyCode == Enum.KeyCode.Q then
macro = false
end
end)
end
-----------------------------------
-----------------------------------
if getgenv().Settings.LowerGFX.Enabled then
game:GetService("Lighting").FogEnd = 9e9
game:GetService("Lighting").Brightness = 0
game:GetService("Lighting").GlobalShadows = false
for i, v in pairs(game:GetDescendants()) do
if v:IsA("Part") or v:IsA("Union") or v:IsA("CornerWedgePart") or v:IsA("TrussPart") then
v.Material = "Plastic"
v.Reflectance = 0
end
end
end