-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathshadovis_rpg.lua
More file actions
217 lines (177 loc) · 7.69 KB
/
Copy pathshadovis_rpg.lua
File metadata and controls
217 lines (177 loc) · 7.69 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
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
if game:GetService("CoreGui"):FindFirstChild("ui") then
game:GetService("CoreGui"):FindFirstChild("ui"):Destroy()
end
local vu = game:GetService("VirtualUser")
game:GetService("Players").LocalPlayer.Idled:connect(
function()
vu:Button2Down(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
wait(1)
vu:Button2Up(Vector2.new(0, 0), workspace.CurrentCamera.CFrame)
end) -- anti afk
local lib = loadstring(game:HttpGet"https://raw.githubusercontent.com/dawid-scripts/UI-Libs/main/Vape.txt")()
local win = lib:Window("SHADOVIS RPG | Lazy Hub", Color3.fromRGB(44, 120, 224), Enum.KeyCode.RightControl)
local mainTab = win:Tab("Main Tab")
getgenv().AutoFarm = nil
getgenv().selectedNPC = nil
getgenv().selectedEvent = nil
getgenv().killAura = nil
getgenv().infCube = nil
getgenv().autoReb = nil
getgenv().infHeal = nil
getgenv().FarmDistance = 7
getgenv().FarmMeth = "Below"
local lp = game.Players.LocalPlayer
local char = lp.Character
setfflag("HumanoidParallelRemoveNoPhysics", "False")
setfflag("HumanoidParallelRemoveNoPhysicsNoSimulate2", "False")
local function getNPCbyLVL()
local t = {}
for i,v in pairs(game:GetService("Workspace").NPCs:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("HumanoidRootPart") and not table.find(t, v.Name) then
table.insert(t, v.Name)
end
end
table.sort(t, function(a, s)
local a1 = tonumber(string.match(a, "%d+"))
local b1 = tonumber(string.match(s, "%d+"))
return a1 < b1
end)
return t
end
mainTab:Dropdown("Select NPC", getNPCbyLVL(), function(t)
getgenv().selectedNPC = t
end)
mainTab:Toggle("Auto Farm", false, function(t)
getgenv().AutoFarm = t
game:GetService('RunService').Stepped:connect(function()
if getgenv().AutoFarm then
lp.Character:WaitForChild("Humanoid"):ChangeState(11)
end
end)
while getgenv().AutoFarm do task.wait()
if not char:IsDescendantOf(lp.Character.Parent) or not char:FindFirstChild("HumanoidRootPart") or not char then char = lp.Character wait(0.5) end
for i, v in pairs(game.Workspace.NPCs:GetChildren()) do
if v:IsA("Model") and v.Name:match(getgenv().selectedNPC) and v:FindFirstChild("HumanoidRootPart") then
if v:WaitForChild("Humanoid").Health > 0 then
if getgenv().FarmMeth == "Above" then
lp.Character:WaitForChild("HumanoidRootPart").CFrame = CFrame.new(v:FindFirstChild("HumanoidRootPart").Position + Vector3.new(0,tonumber(getgenv().FarmDistance),0), v:FindFirstChild("HumanoidRootPart").Position)
else
lp.Character:WaitForChild("HumanoidRootPart").CFrame = CFrame.new(v:FindFirstChild("HumanoidRootPart").Position + Vector3.new(0,-tonumber(getgenv().FarmDistance),0), v:FindFirstChild("HumanoidRootPart").Position)
end
end
end
end
end
end)
mainTab:Slider("Distance From NPC", 1, 50, 7, function(t)
getgenv().FarmDistance = t
end)
mainTab:Dropdown("Farm Method", {"Above", "Below"}, function(t)
getgenv().FarmMeth = t
end)
function getAttackTool()
local tool
for i,v in pairs(lp.Character:WaitForChild("Equipment"):GetChildren()) do
if v:FindFirstChild("DmgPoint") then
tool = v
end
end
return tool
end
local events = {
["Slash Event - Swords"] = "SlashEvent",
["Slam Event - Mallets"] = "SlamEvent",
["Joust Hurt - Lance"] = "JoustHurt"
}
mainTab:Dropdown("Attack Event", {"Slash Event - Swords","Slam Event - Mallets","Joust Hurt - Lance"}, function(t)
getgenv().selectedEvent = t
end)
mainTab:Toggle("Kill Aura", false, function(t)
getgenv().killAura = t
while getgenv().killAura do task.wait(.1)
if not char:IsDescendantOf(lp.Character.Parent) or not char:FindFirstChild("HumanoidRootPart") or not char then char = lp.Character wait(0.5) end
for i, v in pairs(game.Workspace.NPCs:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("HumanoidRootPart") then
if (lp.Character:WaitForChild("HumanoidRootPart").Position - v:WaitForChild("HumanoidRootPart").Position).magnitude <= 100 and v:WaitForChild("Humanoid").Health > 0 then
local args = {
["Attack"] = {
[1] = "Input",
[2] = tostring(getAttackTool()),
[3] = math.random(),
[4] = tostring(events[getgenv().selectedEvent]),
[5] = v:WaitForChild("HumanoidRootPart")
},
["InstantSkills"] = {
["First"] = {
[1] = "Input",
[2] = "Elemental BurstBlade of Winds",
[3] = 7,
[4] = "Spellcraft"
},
["Second"] = {
[1] = "Input",
[2] = "Blade of Winds",
[3] = 10,
[4] = "Stride"
}
}
}
lp.Character:WaitForChild("Combat").RemoteEvent:FireServer(unpack(args.Attack))
if tostring(getAttackTool()) == "Blade of Winds" then
for i, v in next, (args.InstantSkills) do
lp.Character:WaitForChild("Combat").RemoteEvent:FireServer(unpack(v))
end
end
task.wait(.1)
end
end
end
end
end)
mainTab:Button("Collect all Cubits", function(t)
for i,v in pairs(game:GetService("Workspace")["Client Cubits"]:GetChildren()) do
if v:IsA("MeshPart") then
if v:FindFirstChildWhichIsA("ProximityPrompt") then
fireproximityprompt(v:FindFirstChildWhichIsA("ProximityPrompt"), 1)
end
end
end
end)
mainTab:Toggle("Auto Rebirth", false, function(t)
getgenv().autoReb = t
while getgenv().autoReb do task.wait(.4)
local args = {
[1] = "Rebirth"
}
game:GetService("ReplicatedStorage").RemoteEvent:FireServer(unpack(args))
end
end)
mainTab:Toggle("Inf Heal [Semi God Mode]", false, function(t)
getgenv().infHeal = t
game:GetService("RunService").Stepped:connect(function()
if getgenv().infHeal then
if not char:IsDescendantOf(lp.Character.Parent) or not char:FindFirstChild("HumanoidRootPart") or not char then char = lp.Character wait(0.5) end
for i, v in pairs(game.Workspace.Fountains.Fountain:GetDescendants()) do
if v:IsA("TouchTransmitter") and v.Parent then
firetouchinterest(game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart"), v.Parent, 0)
firetouchinterest(game.Players.LocalPlayer.Character:WaitForChild("HumanoidRootPart"), v.Parent, 1)
end
end
end
end)
end)
mainTab:Button("Remove Effects", function()
while task.wait() do
for i,v in pairs(game:GetService("ReplicatedStorage"):GetChildren()) do
if v.Name == "Darkfire Ring" then
v:Destroy()
end
end
if game:GetService("Workspace"):FindFirstChild("Projectiles") then
game:GetService("Workspace"):FindFirstChild("Projectiles"):Destroy()
end
end
end)
mainTab:Button("Rejoin", function()
game:GetService('TeleportService'):TeleportToPlaceInstance(game.PlaceId, game.JobId)
end)