Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- NOTE options can be accessed anytime if your exploit supports getgenv().
- local player = game:GetService("Players").LocalPlayer
- local camera = workspace.Camera
- local items = workspace["Item_Spawns"].Items
- local runservice = game:GetService("RunService")
- assert(Drawing, "Sorry, but your exploit doesn't support Drawing.new library!")
- local options = { -- encoded in rgb
- enabled = {
- arrow = true,
- roka = true,
- proka = true,
- diamond = true,
- coin = true,
- stonemask = true
- };
- arrow = Color3.new(205, 133, 63);
- roka = Color3.new(255, 0, 85);
- proka = Color3.new(255, 89, 89);
- diamond = Color3.new(0, 190, 210);
- coin = Color3.new(255, 255, 0);
- smask = Color3.new(255, 0, 0);
- textsize = 16
- }
- getgenv().options = options
- local pairs = pairs
- local vecTrans = function(vec) -- Vector3 to Vector2
- local worldP = vec
- local result = camera.WorldToScreenPoint(camera, worldP)
- return Vector2.new(result.X, result.Y)
- end
- function contains(tbl, k)
- for i,v in pairs(tbl) do
- if v == k then
- return true
- end
- end
- return false
- end
- local meshes = {
- "rbxassetid://4496695972",
- "rbxassetid://3497428510",
- "rbxassetid://511706016",
- "rbxassetid://3583727108",
- "rbxassetid://4551120971"
- }
- local esps = {}
- local esp = function(item)
- local text = Drawing.new("Text")
- esps[#esps + 1] = {text, item}
- local base = item
- if base.MeshId == "rbxassetid://4496695972" and options.enabled.arrow then
- text.Text = "Arrow"
- text.Color = options.arrow
- elseif base.MeshId == "rbxassetid://3497428510" and options.enabled.roka then
- text.Text = "Rokakaka"
- text.Color = options.roka
- elseif base.MeshId == "rbxassetid://3497428510" and base.Material == Enum.Material.ForceField and options.enabled.proka then
- text.Text = "Pure Rokakaka"
- text.Color = options.proka
- elseif base.MeshId == "rbxassetid://511706016" and options.enabled.diamond then
- text.Text = "Diamond"
- text.Color = options.diamond
- elseif base.MeshId == "rbxassetid://3583727108" and options.enabled.coin then
- text.Text = "Gold Coin"
- text.Color = options.coin
- elseif base.MeshId == "rbxassetid://4551120971" and options.enabled.stonemask then
- text.Text = "Stone Mask"
- text.Color = options.smask
- elseif contains(meshes, base.MeshId) == false then -- big ugly
- if base.MeshId == "rbxassetid://3497428510" and base.Material == Enum.Material.ForceField then
- text.Text = "Pure Rokakaka"
- text.Color = options.proka
- else
- text.Text = "FATAL ERROR CONTACT Ceg#0550"
- text.Color = Color3.fromRGB(255, 0, 0)
- end
- end
- text.Position = vecTrans(item.Position)
- text.Size = options.textsize
- text.Outline = true
- text.Visible = true
- end
- for i,v in pairs(items:GetDescendants()) do
- if v.Name == "Base" then
- esp(v)
- warn(v.Parent.Name)
- end
- end
- items.DescendantAdded:Connect(function(descendant)
- if descendant.Name == "Base" then
- esp(descendant)
- warn(descendant.Name)
- end
- end)
- local update_esp = function()
- for i,v in pairs(esps) do
- local tbl = v
- local drawing = tbl[1]
- local inst = tbl[2]
- if drawing and drawing.Text ~= "" then
- drawing.Position = vecTrans(inst.Position)
- if not inst:IsDescendantOf(workspace) or inst.Parent.Parent ~= items then
- drawing:Remove()
- table.remove(esps, i)
- end
- end
- end
- end
- runservice.Heartbeat:Connect(update_esp)
Add Comment
Please, Sign In to add comment