Advertisement
Upscalefanatic3

Rogue Lineage | Certain Item Esp | Script-Full (Patched)

May 15th, 2019
12,319
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.38 KB | None | 0 0
  1. pcall(function() game.ReplicatedStorage.Requests.Clear:Destroy() end)
  2. local safe = true
  3. if game.ReplicatedStorage.Requests:FindFirstChild("Clear") then
  4. safe = false
  5. print'stopped execution, anti esp check failed and you will be banned if you bypass this check'
  6. end
  7. if safe then
  8. local plr = game.Players.LocalPlayer
  9.  
  10. local char= workspace.Live[plr.Name]
  11.  
  12.  
  13.  
  14.  
  15. char.Humanoid.Died:Connect(function() end)
  16. local Meshes = {
  17.  
  18. [13116112] = {Name = "Goblet", Color = BrickColor.new("White")};
  19. [60791940] = {Name = "Scroll", Color = BrickColor.new("New Yeller")};
  20. [2877143560] = {Name = "Jewel", Color = BrickColor.new("White")};
  21. [2638545558] = {Name = "Ring", Color = BrickColor.new("White")};
  22. [439102658] = {Name = "Pheonix Feather", Color = BrickColor.new("Really red")};
  23.  
  24. }
  25.  
  26. -- we gotta find the folder since speical needs devs think not naming it means i cant find it
  27. local function distance(trinket)
  28. return (char.PrimaryPart.Position - trinket.Position).magnitude
  29. end
  30.  
  31. local function ParseID(stringe)
  32. local index = 0
  33. local currentletter
  34. local currentletterindex
  35. repeat
  36. index = index + 1
  37. currentletter = string.sub(stringe,index, index)
  38. currentletterindex = index
  39. until tonumber(currentletter) or index > #stringe
  40. if index > #stringe then return end
  41. stringe = string.sub(stringe, currentletterindex, #stringe)
  42. if not tonumber(stringe) and string.sub(stringe, #stringe -1, #stringe - 1) == "2"then
  43. stringe = string.sub(stringe, 1, #stringe - 3)
  44. end
  45. return stringe
  46. end
  47.  
  48.  
  49. local function ESPTrinket(Trinket)
  50. if Trinket:FindFirstChild("ESP") then Trinket:FindFirstChild("ESP") :Destroy() end
  51. local Mesh = Trinket:FindFirstChildOfClass("SpecialMesh")
  52. local ID = ParseID(Mesh.MeshId)
  53. ID = tonumber(ID)
  54. local data = Meshes[ID]
  55. if not data then return end
  56. local part = Instance.new("Part", workspace.CurrentCamera)
  57. part.Anchored = true
  58. part.Position = Trinket.Position
  59. part.Transparency = 1
  60. part.CanCollide = false
  61. local gui = Instance.new("BillboardGui");
  62. gui.Name = "ESP";
  63. gui.AlwaysOnTop = true;
  64. gui.LightInfluence = 0;
  65. gui.Size = UDim2.new(0, 500, 0, 100);
  66. local name
  67. local color
  68. if data then name = data.Name color = data.Color end
  69.  
  70. if not name then name = "Unknown Trinket" end
  71. if not color then color = BrickColor.new("White") end
  72. local text = Instance.new("TextLabel", gui);
  73. text.BackgroundTransparency = 1
  74. text.TextScaled = true
  75. text.Font = "SourceSansSemibold"
  76. text.Size = UDim2.new(1, 0, .5, 0);
  77. text.TextColor = color
  78. text.Text = name
  79. local Dis = Instance.new("TextLabel", gui);
  80. Dis.BackgroundTransparency = 1
  81. Dis.TextScaled = true
  82. Dis.Font = "SourceSansLight"
  83. Dis.Size = UDim2.new(1, 0, .25, 0);
  84. Dis.Position = UDim2.new(0,0,.5,0)
  85. Dis.TextColor3 = Color3.new(1,1,1)
  86. gui.Parent = part
  87. local par = Trinket.Parent
  88. local Distance = distance(Trinket)
  89. Dis.Text = Distance
  90. spawn(function()
  91. while Trinket.Parent == par do
  92. wait()
  93. Distance = distance(Trinket)
  94. Dis.Text = math.floor(Distance)
  95. end
  96. part:Destroy()
  97. end)
  98. end
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106. game.workspace.ChildAdded:Connect(function(Trinket)
  107. if Trinket:IsA("Part") and Trinket:FindFirstChildOfClass("SpecialMesh") then
  108. ESPTrinket(Trinket)
  109. end
  110. end)
  111.  
  112.  
  113.  
  114. for _,v in pairs(workspace:GetChildren()) do
  115. --pcall(function()
  116. if v:IsA("Part") and v:FindFirstChildOfClass("SpecialMesh") then
  117. ESPTrinket(v)
  118. end
  119. --end)
  120. end
  121. pcall(function() char.CharacterHandler.Remotes.FallDamage:Destroy() end)
  122.  
  123. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement