Causmic

item esp

Feb 14th, 2020
49
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.19 KB | None | 0 0
  1. workspace.ChildAdded:connect(function()
  2. local a = workspace:getDescendants()
  3. for i=1,#a do
  4. if a[i].ClassName == "Tool" or a[i].Name == "Mask" then
  5. if not a[i]:findFirstChild("BillboardGui") then
  6. local BillboardGui = Instance.new("BillboardGui")
  7. local TextLabel = Instance.new("TextLabel")
  8. BillboardGui.Parent = a[i]
  9. BillboardGui.Active = true
  10. BillboardGui.AlwaysOnTop = true
  11. BillboardGui.Size = UDim2.new(0, 200, 0, 50)
  12. if a[i]:findFirstChild("Handle") then
  13. BillboardGui.Adornee = a[i].Handle
  14. end
  15. if a[i]:findFirstChild(a[i]) then
  16. BillboardGui.Adornee = a[i]:findFirstChild(a[i])
  17. end
  18. TextLabel.Parent = BillboardGui
  19. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  20. TextLabel.BackgroundTransparency = 1
  21. TextLabel.BorderSizePixel = 0
  22. TextLabel.Size = UDim2.new(0, 200, 0, 50)
  23. TextLabel.Font = Enum.Font.GothamBold
  24. TextLabel.FontSize = Enum.FontSize.Size14
  25. TextLabel.Text = a[i].Name
  26. if a[i]:findFirstChild("Handle") then
  27. TextLabel.TextColor3 = a[i].Handle.Color
  28. end
  29. if a[i]:findFirstChild(a[i]) then
  30. TextLabel.TextColor3 = a[i]:findFirstChild(a[i]).Color
  31. end
  32. TextLabel.TextSize = 14
  33. TextLabel.TextStrokeColor3 = Color3.new(1, 1, 1)
  34. TextLabel.TextStrokeTransparency = 0
  35. end
  36. end
  37. end
  38. end)
Add Comment
Please, Sign In to add comment