BINCOOD

Arsenal Esp script Roblox

May 6th, 2023
297
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.46 KB | None | 0 0
  1. local bindableFunction= Instance.new("BindableFunction")
  2.  
  3. game.StarterGui:SetCore("SendNotification", {
  4. Title = "Credit BINCOOD";
  5. Text = "https://www.youtube.com/@BINCOOD";
  6. Icon = "RBXID OR BLANK";
  7. Duration = "DURATION IN SECONDS";
  8. callbakc = bindableFunction;
  9. })
  10. --https://www.youtube.com/@BINCOOD
  11. local threshold = 1000
  12. wait(1)
  13. local function createEsp(player)
  14. -- Создаем объекты для esp
  15. local Esp = Instance.new("BillboardGui")
  16. Esp.Name = ""
  17. Esp.Size = UDim2.new(1.75, 0, 1.75, 0)
  18. Esp.AlwaysOnTop = true
  19. Esp.LightInfluence = 0
  20. Esp.Adornee = player.Character.Head
  21. Esp.Parent = player.Character.Head
  22.  
  23. local Frame = Instance.new("Frame", Esp)
  24. Frame.Size = UDim2.new(1, 0, 1, 0)
  25. Frame.BackgroundColor3 = Color3.fromRGB(255, 255, 255)
  26. Frame.BorderSizePixel = 4
  27. Frame.BorderColor3 = Color3.fromRGB(0, 0, 0)
  28. --credit BINCOOD
  29. local DistanceLabel = Instance.new("TextLabel", Esp)
  30. DistanceLabel.Name = "DistanceLabel"
  31. DistanceLabel.Size = UDim2.new(1, 0, 1, 0)
  32. DistanceLabel.BackgroundTransparency = 1
  33. DistanceLabel.Font = Enum.Font.SourceSansBold
  34. DistanceLabel.FontSize = Enum.FontSize.Size10
  35. DistanceLabel.TextColor3 = Color3.fromRGB(255, 255, 255)
  36. DistanceLabel.TextStrokeColor3 = Color3.fromRGB(0, 0, 0)
  37. DistanceLabel.TextStrokeTransparency = 0
  38. DistanceLabel.TextYAlignment = Enum.TextYAlignment.Bottom
  39.  
  40. local function updateEsp()
  41. local distance = (player.Character.Head.Position - game.Players.LocalPlayer.Character.Head.Position).Magnitude
  42. if player.Team ~= game.Players.LocalPlayer.Team and distance < threshold then
  43. Esp.Enabled = true
  44. DistanceLabel.Text = string.format("%.0f m", distance)
  45. else
  46. Esp.Enabled = false
  47. end
  48. end
  49. game:GetService("RunService").
  50. RenderStepped:Connect(function()
  51. pcall(updateEsp)
  52. end)
  53. end
  54.  
  55. for _, player in pairs(game:GetService("Players"):GetPlayers()) do
  56. if player.Character and player.Character.Head then
  57. if player.Team ~= game.Players.LocalPlayer.Team then
  58. createEsp(player)
  59. end
  60. end
  61. end
  62.  
  63. game:GetService("Players").PlayerAdded:Connect(function(player)
  64. if player.Character and player.Character.Head then
  65. if player.Team ~= game.Players.LocalPlayer.Team then
  66. createEsp(player)
  67. end
  68. end
  69. end)
  70. --https://www.youtube.com/@BINCOOD
Add Comment
Please, Sign In to add comment