
Keyless

local Library = loadstring(game:HttpGet("https://pastebin.com/raw/0Cw8mKyC"))()
local UI = Library:Create("CraftsWar ReExploited", "V1")
local M = UI:AddTab("Main")
local Connection
local EnemyConnection
M:AddToggle("Auto Farm Ores", function(a)
if a then
Connection = workspace.Mine.ChildAdded:Connect(function()
for i, v in ipairs(workspace.Mine2:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Ore") then
local args = {
[1] = "hit",
[2] = {
[1] = v.Ore,
[2] = math.huge
}
}
game:GetService("Players").LocalPlayer.Character
:FindFirstChild("Scrap Pickaxe")
.RemoteFunction
:InvokeServer(unpack(args))
end
end
for i, v in ipairs(workspace.SpaceMine:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Ore") then
local args = {
[1] = "hit",
[2] = {
[1] = v.Ore,
[2] = math.huge
}
}
game:GetService("Players").LocalPlayer.Character
:FindFirstChild("Scrap Pickaxe")
.RemoteFunction
:InvokeServer(unpack(args))
end
end
for i, v in ipairs(workspace.Mine:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Ore") then
local args = {
[1] = "hit",
[2] = {
[1] = v.Ore,
[2] = math.huge
}
}
game:GetService("Players").LocalPlayer.Character
:FindFirstChild("Scrap Pickaxe")
.RemoteFunction
:InvokeServer(unpack(args))
end
end
for i, v in ipairs(workspace.Mine3:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Ore") then
local args = {
[1] = "hit",
[2] = {
[1] = v.Ore,
[2] = math.huge
}
}
game:GetService("Players").LocalPlayer.Character
:FindFirstChild("Scrap Pickaxe")
.RemoteFunction
:InvokeServer(unpack(args))
end
end
end)
else
if Connection then
Connection:Disconnect()
Connection = nil
end
end
end)
M:AddButton("Default Biome", function()
local args = {
[1] = math.huge
}
game:GetService("ReplicatedStorage").SummonBiome:FireServer(unpack(args))
end)
M:AddToggle("Auto Farm Enemies", function(a)
if a then
EnemyConnection = workspace.ChildAdded:Connect(function()
for i, v in ipairs(workspace:GetChildren()) do
if v:IsA("Model") and v:FindFirstChild("Humanoid") then
local args = {
[1] = "hit",
[2] = {
[1] = v.Humanoid,
[2] = math.huge
}
}
game:GetService("Players").LocalPlayer.Character
.Gun
.RemoteFunction
:InvokeServer(unpack(args))
end
end
end)
else
if EnemyConnection then
EnemyConnection:Disconnect()
EnemyConnection = nil
end
end
end)
local Gui = game:GetService("Players").LocalPlayer.PlayerGui:FindFirstChild("CraftsWar ReExploited")
local MainFrame = Gui:FindFirstChildWhichIsA("Frame")
local Minimized = false
local SavedSize = MainFrame.Size
local MinimizeButton = Instance.new("TextButton")
MinimizeButton.Size = UDim2.new(0,30,0,30)
MinimizeButton.Position = UDim2.new(1,-65,0,5)
MinimizeButton.BackgroundTransparency = 1
MinimizeButton.Text = "-"
MinimizeButton.TextColor3 = Color3.new(1,1,1)
MinimizeButton.Font = Enum.Font.GothamBold
MinimizeButton.TextSize = 18
MinimizeButton.Parent = MainFrame
local CloseButton = Instance.new("TextButton")
CloseButton.Size = UDim2.new(0,30,0,30)
CloseButton.Position = UDim2.new(1,-35,0,5)
CloseButton.BackgroundTransparency = 1
CloseButton.Text = "X"
CloseButton.TextColor3 = Color3.new(1,1,1)
CloseButton.Font = Enum.Font.GothamBold
CloseButton.TextSize = 16
CloseButton.Parent = MainFrame
MinimizeButton.MouseButton1Click:Connect(function()
Minimized = not Minimized
for _,v in ipairs(MainFrame:GetChildren()) do
if v ~= MinimizeButton
and v ~= CloseButton
and not v:IsA("UICorner") then
v.Visible = not Minimized
end
end
if Minimized then
MainFrame.Size = UDim2.new(
SavedSize.X.Scale,
SavedSize.X.Offset,
0,
40
)
else
MainFrame.Size = SavedSize
end
end)
CloseButton.MouseButton1Click:Connect(function()
Gui:Destroy()
end)No comments yet for this script.



