SHARE
TWEET

[Draconic] ESP & Tracers [RLUA]

Vzurxy Oct 6th, 2018 229 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. spawn (function()
  2.     while true do
  3.         wait(1)
  4.         local me = game:GetService("Players").LocalPlayer.Name
  5.         local target = game.Players:GetChildren()
  6.         if workspace:FindFirstChild("ESP") then
  7.             workspace.ESP:remove()
  8.         end
  9.         game.Lighting.FogEnd = 10000000
  10.         function GetSizeOfObject(Obj)
  11.             if Obj:IsA("BasePart") then
  12.                 return Obj.Size
  13.             elseif Obj:IsA("Model") then
  14.                 return Obj:GetExtentsSize()
  15.             end
  16.         end
  17.         local ESP = Instance.new("Folder",workspace)
  18.         ESP.Name = "ESP"
  19.         function CreateESPPart(BodyPart)
  20.             local ESPPartparent = BodyPart
  21.             local Box = Instance.new("BoxHandleAdornment")
  22.             Box.Size = GetSizeOfObject(ESPPartparent) + Vector3.new(0.1, 0.1, 0.1)
  23.             Box.Name = "ESPPart"
  24.             Box.Adornee = ESPPartparent
  25.             Box.Color3 = Color3.fromRGB(255,0,0)
  26.             Box.AlwaysOnTop = true
  27.             Box.ZIndex = 5
  28.             Box.Transparency = 0.4
  29.             Box.Parent = ESP
  30.             if BodyPart.Parent.Name == game.Players.LocalPlayer.Name then
  31.                 Box:remove()
  32.                 spawn (function()
  33.                     while true do
  34.                         wait(0.1)
  35.                         if BodyPart ~= nil then
  36.                             Box:remove()
  37.                         end
  38.                     end
  39.                 end)
  40.             end
  41.             if BodyPart.Parent.Name == me then
  42.                 Box.Color3 = Color3.fromRGB(255,0,0)
  43.             end
  44.             if BodyPart.Parent.Name == target.Name then
  45.                 Box.Color3 = Color3.fromRGB(255,0,0)
  46.             end
  47.         end
  48.         local player = game.Players:GetChildren()
  49.         for i =1, #player do
  50.             local bodyparts = player[i].Character:GetChildren()
  51.             for i =1, #bodyparts do
  52.                 if bodyparts[i].ClassName == "Part" then
  53.                     CreateESPPart(bodyparts[i])
  54.                 end
  55.             end
  56.         end
  57. for _,v in pairs(game.Players:GetChildren()) do
  58.         local at0 = Instance.new("Attachment")
  59.         at0.Parent = game.Players.LocalPlayer.Character.Head
  60.         local at1 = Instance.new("Attachment")
  61.         at1.Parent = v.Character.Head
  62.         local beam0 = Instance.new("Beam")
  63.         beam0.Attachment0 = at0
  64.         beam0.Attachment1 = at1
  65.         beam0.Color = ColorSequence.new(Color3.new(1,0,0),Color3.new(1,0,0))
  66.         beam0.Parent = workspace.ESP
  67.         beam0.Size = Vector3.new(0.001, 0.001, 0.001)
  68.        end
  69.     end
  70. end)
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top