Oaklands Script | ORE ESP

Created by Qwelty

Features:

--By qwelty#2840
getgenv().Ores = {
    "Mythril",
    "Diamond"
}
getgenv().Keybind = "L"
local enable = true
local draw = function (part,name)
   
    local drawtext = Drawing.new("Text")
    drawtext.Text = name
    drawtext.Size = 19
    drawtext.Center = true
    drawtext.Visible = true
    drawtext.Transparency = 1
    drawtext.Outline = true
    drawtext.Font = 2
if part ~= nil and part.Parent ~= nil then
local r
r=game:GetService("RunService").RenderStepped:Connect(function()
    if (part.Parent == nil) or enable == false or table.find(Ores,name) == nil then
        r:Disconnect()
        drawtext:Remove()
    elseif enable == true then
        local pos,oncam = workspace.CurrentCamera:WorldToViewportPoint(part.Position)
        if oncam then
            drawtext.Color = part.Color
            drawtext.Position = Vector2.new(pos.X,pos.Y)
            drawtext.Visible = true
        else
            drawtext.Visible = false
        end
    end
end)
end
end
local c
local check = function ()
    c=game:GetService("Workspace").World.RockRegions.Island.ChildAdded:Connect(function(rock)
        wait(.3)
        if rock:IsA("Model") then
            repeat wait() until rock:GetChildren()[1] ~= nil
            for _,v in pairs(rock:GetDescendants()) do
                if table.find(Ores,string.split(v.Name," ")[1]) then
                    draw(v,string.split(v.Name," ")[1])
                   
                end
            end
        end
    end)
    for _,v in pairs(game:GetService("Workspace").World.RockRegions.Island:GetDescendants()) do
        if table.find(Ores,string.split(v.Name," ")[1]) then
            draw(v,string.split(v.Name," ")[1])
           
        elseif v:IsA("Model") and v.Name ~= "Section" then
            spawn(function()
            repeat wait() until v:GetChildren()[1] ~= nil
            for __,ore in pairs(v:GetDescendants()) do
                if table.find(Ores,string.split(ore.Name," ")[1]) then
                    draw(ore,string.split(ore.Name," ")[1])
                   
                end
            end
        end)
        end
   
    end
end
game:GetService("UserInputService").InputBegan:Connect(function(key,gui)
    if gui then return end
        if key.KeyCode == Enum.KeyCode[Keybind] then
           if enable == true then
            enable = not enable
            c:Disconnect()
           elseif enable == false then
            enable = not enable
            check()
           end
        end
    end)
check()