Skip to content

Instantly share code, notes, and snippets.

@ImNotABotIPromise
Last active September 11, 2021 13:37
Show Gist options
  • Save ImNotABotIPromise/64f8d169b0c48670e72608e71c0abf32 to your computer and use it in GitHub Desktop.
Save ImNotABotIPromise/64f8d169b0c48670e72608e71c0abf32 to your computer and use it in GitHub Desktop.
App = loadstring(game:HttpGet("https://pastebin.com/raw/KU8iBSH3"))()
local LocalPlayer = game.Players.LocalPlayer
App, Gui = App.Load({
Name = "Monke Hub";
Title = "Monke Hub";
})
Home = App.New({
Title = "Items";
Active = true;
})
Home.Label("Armour & Weapons")
Home.Button({
Title = "Pistol";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace.PistolSpawn:GetDescendants()) do
if v:IsA("Part") and v.Transparency == 0 then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Armour";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace.ArmourSpawn:GetDescendants()) do
if v:IsA("MeshPart") and v.Transparency == 0 then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Crowbar";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace.CrowbarSpawn:GetDescendants()) do
if v:IsA("Part") and v.Transparency == 0 then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Pan";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace.PanSpawn:GetDescendants()) do
if v:IsA("Part") and v.Transparency == 0 then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Fireaxe";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "FireAxe" and v:isA("Part") and v.Transparency == 0 and not v:FindFirstChild("BillboardGui") then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Sledgehammer";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "SledgeHammer" and v.Transparency == 0 and not v:FindFirstChild("BillboardGui") then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Guitar";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "Guitar" and v.Transparency == 0 and not v:FindFirstChild("BillboardGui") then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Machete";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "Machete" and v.Transparency == 0 and not v:FindFirstChild("BillboardGui") then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Wrench";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "Wrench" and v.Transparency == 0 and not v:FindFirstChild("BillboardGui") then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Cricketbat";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "CricketBat" and v.Transparency == 0 and not v:FindFirstChild("BillboardGui") then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Label("Apple, Bananas & Coffee")
Home.Button({
Title = "Apple";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace.AppleSpawn:GetDescendants()) do
if v:IsA("Part") and v.Transparency == 0 then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Banana";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace.BananaSpawn:GetDescendants()) do
if v:IsA("Part") and v.Transparency == 0 then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Coffee";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace.CoffeeSpawn:GetDescendants()) do
if v:IsA("Part") and v.Transparency == 0 then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Label("Miscellaneous")
Home.Button({
Title = "Toolbox";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "Toolbox" and v.Transparency == 0 and not v:FindFirstChild("BillboardGui") then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Position).magnitude,
obj = v
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Bandage";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "Bandage" and v.Part.Transparency == 0 and not v:FindFirstChild("BillboardGui") then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Part.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.Part.Position).magnitude,
obj = v.Part
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Home.Button({
Title = "Poison Flask";
}, function()
local Closest = {
pos = 1000
}
for i,v in pairs(workspace:GetDescendants()) do
if v.Name == "Model" and v:FindFirstChild("FlaskMesh") and v.FlaskMesh.Transparency == 0 then
if (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.FlaskMesh.Position).magnitude < Closest.pos then
Closest = {
pos = (game.Players.LocalPlayer.Character.HumanoidRootPart.Position - v.FlaskMesh.Position).magnitude,
obj = v.FlaskMesh
}
end
end
end
if Closest.obj then
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Closest.obj.CFrame
end
end)
Teleports = App.New({
Title = "Teleports";
})
Teleports.Label("Spawns")
Teleports.Button({
Title = "Spawn 1"
}, function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.SpawnLocation.CFrame
end)
Teleports.Button({
Title = "Spawn 2"
}, function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = workspace.SpawnLocation2.CFrame
end)
Teleports.Label("Powerboxes")
Num = 1
for i, Part in pairs(workspace:GetChildren()) do
if Part.Name == "PowerBox" then
Teleports.Button({
Title = "Powerbox " .. Num
}, function()
game.Players.LocalPlayer.Character.HumanoidRootPart.CFrame = Part.Counter.CFrame
end)
Num += 1
end
end
Settings = App.New({
Title = "Settings";
})
Settings.Label("Character")
Settings.Button({
Title = "Reset";
}, function()
game.Players.LocalPlayer.Character.Humanoid.Health = 0
end)
Settings.Label("Local")
Settings.Button({
Title = "Destroy";
}, function()
Gui:Destroy()
end)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment