Advertisement
Steamhesaproblox

Roblox The Walking Dead Loot Esp Script

May 17th, 2025 (edited)
214
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
RBScript 2.64 KB | Gaming | 0 0
  1. -- Loot klasörünü al
  2. local lootFolder = game.Workspace:WaitForChild("Loot")
  3.  
  4. -- Highlight ve isim etiketi ekleme fonksiyonu
  5. local function addVisuals(item)
  6.     -- Model ise (Silah gibi)
  7.     if item:IsA("Model") then
  8.         local highlight = Instance.new("Highlight")
  9.         highlight.Parent = item
  10.         highlight.Adornee = item
  11.         highlight.FillColor = Color3.fromRGB(170, 0, 255) -- Mor
  12.         highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
  13.         highlight.FillTransparency = 0.5
  14.         highlight.OutlineTransparency = 0
  15.  
  16.         -- İsim etiketi ekle
  17.         if item.PrimaryPart then
  18.             local billboard = Instance.new("BillboardGui")
  19.             billboard.Parent = item.PrimaryPart
  20.             billboard.Adornee = item.PrimaryPart
  21.             billboard.Size = UDim2.new(0, 50, 0, 12)
  22.             billboard.StudsOffset = Vector3.new(0, 2, 0)
  23.             billboard.AlwaysOnTop = true
  24.  
  25.             local label = Instance.new("TextLabel")
  26.             label.Parent = billboard
  27.             label.Size = UDim2.new(1, 0, 1, 0)
  28.             label.BackgroundTransparency = 1
  29.             label.TextColor3 = Color3.fromRGB(170, 0, 255) -- Mor yazı
  30.             label.Font = Enum.Font.SourceSans
  31.             label.TextSize = 12
  32.             label.Text = item.Name
  33.             label.TextScaled = false
  34.         end
  35.  
  36.     -- MeshPart ise (Eşya gibi)
  37.     elseif item:IsA("MeshPart") then
  38.         local highlight = Instance.new("Highlight")
  39.         highlight.Parent = item
  40.         highlight.Adornee = item
  41.         highlight.FillColor = Color3.fromRGB(0, 255, 0) -- Yeşil
  42.         highlight.OutlineColor = Color3.fromRGB(255, 255, 255)
  43.         highlight.FillTransparency = 0.5
  44.         highlight.OutlineTransparency = 0
  45.  
  46.         -- İsim etiketi ekle
  47.         local billboard = Instance.new("BillboardGui")
  48.         billboard.Parent = item
  49.         billboard.Adornee = item
  50.         billboard.Size = UDim2.new(0, 50, 0, 10)
  51.         billboard.StudsOffset = Vector3.new(0, 1.5, 0)
  52.         billboard.AlwaysOnTop = true
  53.  
  54.         local label = Instance.new("TextLabel")
  55.         label.Parent = billboard
  56.         label.Size = UDim2.new(1, 0, 1, 0)
  57.         label.BackgroundTransparency = 1
  58.         label.TextColor3 = Color3.fromRGB(0, 255, 0) -- Yeşil yazı
  59.         label.Font = Enum.Font.SourceSans
  60.         label.TextSize = 8
  61.         label.Text = item.Name
  62.         label.TextScaled = false
  63.     end
  64. end
  65.  
  66. -- Mevcut loot içeriklerine ekle
  67. for _, item in ipairs(lootFolder:GetDescendants()) do
  68.     addVisuals(item)
  69. end
  70.  
  71. -- Sonradan eklenenler için de
  72. lootFolder.DescendantAdded:Connect(function(item)
  73.     addVisuals(item)
  74. end)
  75.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement