Advertisement
Guest User

Untitled

a guest
Jun 20th, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.09 KB | None | 0 0
  1. -- Objects
  2.  
  3. local CustomESP = Instance.new("ScreenGui")
  4. local topbar = Instance.new("Frame")
  5. local Window = Instance.new("Frame")
  6. local player = Instance.new("TextBox")
  7. local create = Instance.new("TextButton")
  8. local TextLabel = Instance.new("TextLabel")
  9.  
  10. -- Properties
  11.  
  12. CustomESP.Name = "Custom ESP"
  13. CustomESP.Parent = game.CoreGui
  14.  
  15. topbar.Name = "topbar"
  16. topbar.Parent = CustomESP
  17. topbar.Active = true
  18. topbar.BackgroundColor3 = Color3.new(0.0901961, 0.0705882, 0.372549)
  19. topbar.BackgroundTransparency = 0.25
  20. topbar.BorderSizePixel = 0
  21. topbar.Draggable = true
  22. topbar.Position = UDim2.new(0.446646333, 0, 0.474074066, 0)
  23. topbar.Size = UDim2.new(0, 140, 0, 35)
  24.  
  25. Window.Name = "Window"
  26. Window.Parent = topbar
  27. Window.Active = true
  28. Window.BackgroundColor3 = Color3.new(0.0313726, 0.0235294, 0.141176)
  29. Window.BackgroundTransparency = 0.25
  30. Window.BorderSizePixel = 0
  31. Window.Position = UDim2.new(0, 0, 1, 0)
  32. Window.Size = UDim2.new(0, 140, 0, 67)
  33.  
  34. player.Name = "player"
  35. player.Parent = Window
  36. player.BackgroundColor3 = Color3.new(0.137255, 0.12549, 0.215686)
  37. player.BorderColor3 = Color3.new(0.34902, 0.34902, 0.34902)
  38. player.Position = UDim2.new(0.10357143, 0, 0.179104477, 0)
  39. player.Size = UDim2.new(0, 111, 0, 18)
  40. player.Font = Enum.Font.SciFi
  41. player.PlaceholderText = "Player Name"
  42. player.Text = ""
  43. player.TextColor3 = Color3.new(1, 1, 1)
  44. player.TextSize = 14
  45.  
  46. create.Name = "create"
  47. create.Parent = Window
  48. create.BackgroundColor3 = Color3.new(0.180392, 0.160784, 0.388235)
  49. create.BorderColor3 = Color3.new(0.137255, 0.12549, 0.219608)
  50. create.Position = UDim2.new(0.107142858, 0, 0.611940324, 0)
  51. create.Size = UDim2.new(0, 111, 0, 18)
  52. create.Font = Enum.Font.SciFi
  53. create.Text = "Create ESP"
  54. create.TextColor3 = Color3.new(1, 1, 1)
  55. create.TextSize = 14
  56.  
  57. TextLabel.Parent = topbar
  58. TextLabel.BackgroundColor3 = Color3.new(1, 1, 1)
  59. TextLabel.BackgroundTransparency = 1
  60. TextLabel.Position = UDim2.new(0, 0, 0.0714285672, 0)
  61. TextLabel.Size = UDim2.new(0, 140, 0, 32)
  62. TextLabel.Font = Enum.Font.SciFi
  63. TextLabel.Text = "Custom ESP by Phemzyx"
  64. TextLabel.TextColor3 = Color3.new(1, 1, 1)
  65. TextLabel.TextScaled = true
  66. TextLabel.TextSize = 12
  67. TextLabel.TextWrapped = true
  68.  
  69. -- Scripts
  70.  
  71. create.MouseButton1Click:connect(function()
  72. local me = game.Players.LocalPlayer.Name
  73. local line = Instance.new("Beam", workspace)
  74. local mee = Instance.new("Attachment")
  75. local victim = Instance.new("Attachment")
  76. mee.Parent = game.Workspace[me].Head
  77. victim.Parent = game.Workspace[player.Text].Head
  78. line.Attachment0 = mee
  79. line.Attachment1 = victim
  80.  
  81. local color1 = Color3.new(255, 0, 0)
  82. local color2 = Color3.new(255,0 ,0)
  83.  
  84. line.Color = ColorSequence.new(color1, color2)
  85. line.Width0 = 0.1
  86. line.Width1 = 0.1
  87.  
  88. local bill = Instance.new("BillboardGui", victim)
  89. local name = Instance.new("TextLabel", bill)
  90. bill.AlwaysOnTop = true
  91. bill.Size = UDim2.new(0,200,0,50)
  92. name.Size = UDim2.new(0,200,0,50)
  93. name.BackgroundTransparency = 1
  94. name.Text = player.Text
  95. name.TextColor3 = Color3.new(255,0,0)
  96. name.Font = Enum.Font.SciFi
  97. name.TextStrokeTransparency = 0
  98. name.TextScaled = true
  99.  
  100.  
  101. end)
  102. print('Loaded!')
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement