-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMinerscaveHack.lua
More file actions
50 lines (41 loc) · 1.24 KB
/
MinerscaveHack.lua
File metadata and controls
50 lines (41 loc) · 1.24 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
-- A simple and minimalist Minerscave hack to get anyone started
-- By IvanTheSkid
-- Features included:
-- -- No Damage
-- -- Free X-Ray
-- -- FastBreak
-- Providing speed-focused optimization
-- The other movement stuff is to execute this in Infinite Yield: loopfb\loopws 30\flyjump\noclip\esp
-- ///// INITIALIZATION /////
-- all of this is essential for speed-focused optimization
local events = game:GetService("ReplicatedStorage").GameRemotes
local ABB = events.AcceptBreakBlock
local invoke = ABB.InvokeServer
local spawn = task.spawn
local wait = task.wait
local blocks = workspace.Blocks
local isa = blocks.IsA
local event = blocks.DescendantAdded
local connect = event.Connect
local GPCS = blocks.GetPropertyChangedSignal
local function antiDisableEsp(v)
connect(GPCS(v, "Visible"), function()
if not v.Visible then v.Visible = true end
end)
end
local function espCheck(v)
if isa(v, "BoxHandleAdornment") then
v.Visible = true
antiDisableEsp(v)
end
end
-- ///// EXECUTION /////
events.Demo:Destroy() -- No Damage
for i,v in blocks:GetDescendants() do -- Free X-Ray
spawn(espCheck, v)
end
connect(event, espCheck) -- Also Free X-Ray
while wait() do
spawn(invoke, ABB) -- FastBreak
end
-- ===== CLEANUP NOT NEEDED DUE TO INFINITE LOOP =====