Advertisement
BoboTheScripter

Untitled

Nov 24th, 2023
52
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.76 KB | Gaming | 0 0
  1. local player = game.Players.LocalPlayer
  2. local PlayerGui = player.PlayerGui
  3. local TweenService = game:GetService("TweenService")
  4. local Info = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
  5. local ScreenGui = Instance.new("ScreenGui", PlayerGui)
  6. local Frame = Instance.new("Frame", ScreenGui)
  7. local Info1 = Instance.new("TextLabel", Frame)
  8. ScreenGui.IgnoreGuiInset = true
  9. Frame.Size = UDim2.new(1,0,1,0)
  10. Frame.BackgroundColor3 = Color3.fromRGB(0,0,0)
  11. Info1.Text = "Bosjo2012's hack"
  12. Info1.TextScaled = true
  13. Info1.Font = Enum.Font.FredokaOne
  14. Info1.Size = UDim2.new(1,0,1,0)
  15. Info1.TextColor3 = Color3.fromRGB(255,255,255)
  16. Info1.BackgroundTransparency = 1
  17. Info1.Visible = false
  18. Info1.TextTransparency = 1
  19. wait(0.3)
  20. Info1.Visible = true
  21. TweenService:Create(Info1, Info, {TextTransparency = 0}):Play()
  22. wait(1)
  23. TweenService:Create(Info1, Info, {TextTransparency = 1}):Play()
  24. wait(0.51)
  25. ScreenGui:Destroy()
  26. local HackGui = Instance.new("ScreenGui", PlayerGui)
  27. local HackFrame = Instance.new("Frame", HackGui)
  28. local Title = Instance.new("TextLabel", HackFrame)
  29. local HackButton = Instance.new("TextButton", HackFrame)
  30. local HackButton2 = Instance.new("TextButton", HackFrame)
  31. local CloseButton = Instance.new("TextButton", HackFrame)
  32. local OpenButton = Instance.new("TextButton", HackGui)
  33. local Activated = false
  34. CloseButton.Position = UDim2.new(0.963, 0,-0.095, 0)
  35. CloseButton.Size = UDim2.new(0.084, 0,0.172, 0)
  36. CloseButton.Visible = true
  37. CloseButton.BackgroundColor3 = Color3.fromRGB(255,0,0)
  38. CloseButton.TextColor3 = Color3.fromRGB(255,255,255)
  39. CloseButton.Text = "X"
  40. CloseButton.TextScaled = true
  41. Instance.new("UIStroke", CloseButton).Thickness = 5
  42. local UIStrokeForBackground = Instance.new("UIStroke", CloseButton)
  43. UIStrokeForBackground.Thickness = 5
  44. UIStrokeForBackground.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  45. Instance.new("UIAspectRatioConstraint").AspectRatio = 1
  46. Instance.new("UICorner", CloseButton)
  47. OpenButton.Position = UDim2.new(0.429, 0,0.142, 0)
  48. OpenButton.Size = UDim2.new(0.14, 0,0.14, 0)
  49. OpenButton.Visible = false
  50. OpenButton.BackgroundColor3 = Color3.fromRGB(0,255,0)
  51. OpenButton.TextColor3 = Color3.fromRGB(255,255,255)
  52. OpenButton.Text = "Open"
  53. OpenButton.TextScaled = true
  54. Instance.new("UIStroke", OpenButton).Thickness = 5
  55. local UIStrokeForBackground = Instance.new("UIStroke", OpenButton)
  56. UIStrokeForBackground.Thickness = 5
  57. UIStrokeForBackground.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  58. Instance.new("UIAspectRatioConstraint").AspectRatio = 1
  59. Instance.new("UICorner", OpenButton)
  60. HackGui.Name = "GuiHackYouCantDeleteHAHAHAHAHAHA"
  61. HackFrame.Position = UDim2.new(0.02, 0,0.104, 0)
  62. HackFrame.Size = UDim2.new(0.477, 0,0.492, 0)
  63. HackFrame.BackgroundColor3 = Color3.fromRGB(38, 79, 12)
  64. Instance.new("UIStroke", HackFrame).Thickness = 5
  65. Instance.new("UIAspectRatioConstraint").AspectRatio = 2.05
  66. Instance.new("UICorner", HackFrame)
  67. Title.Position = UDim2.new(0,0,0,0)
  68. Title.Size = UDim2.new(1,0,0.238,0)
  69. Title.TextColor3 = Color3.fromRGB(255,255,255)
  70. Title.BackgroundTransparency = 1
  71. Title.Text = "Bosjo2012's Hack!"
  72. Title.TextScaled = true
  73. Title.Font = Enum.Font.FredokaOne
  74. Instance.new("UIStroke", Title).Thickness = 5
  75. local UIStrokeForBackground = Instance.new("UIStroke", HackButton)
  76. UIStrokeForBackground.Thickness = 5
  77. UIStrokeForBackground.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  78. Instance.new("UICorner", Title)
  79. HackButton.Position = UDim2.new(0.063, 0,0.313, 0)
  80. HackButton.Size = UDim2.new(0.382, 0,0.372, 0)
  81. HackButton.TextColor3 = Color3.fromRGB(0,255,0)
  82. HackButton.BackgroundColor3 = Color3.fromRGB(255,0,0)
  83. HackButton.Text = "Highlight players!"
  84. HackButton.TextScaled = true
  85. HackButton.Font = Enum.Font.FredokaOne
  86. Instance.new("UIStroke", HackButton).Thickness = 5
  87. Instance.new("UICorner", HackButton)
  88. HackButton2.Position = UDim2.new(0.555, 0,0.313, 0)
  89. HackButton2.Size = UDim2.new(0.382, 0,0.372, 0)
  90. HackButton2.TextColor3 = Color3.fromRGB(0,255,0)
  91. HackButton2.BackgroundColor3 = Color3.fromRGB(255,0,0)
  92. HackButton2.Text = "Remove highlight from players!"
  93. HackButton2.TextScaled = true
  94. HackButton2.Font = Enum.Font.FredokaOne
  95. Instance.new("UIStroke", HackButton2).Thickness = 5
  96. local UIStrokeForBackground = Instance.new("UIStroke", HackButton2)
  97. UIStrokeForBackground.Thickness = 5
  98. UIStrokeForBackground.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
  99. Instance.new("UICorner", HackButton2)
  100. HackButton.MouseButton1Click:Connect(function()
  101.     Activated = true
  102. end)
  103. HackButton2.MouseButton1Click:Connect(function()
  104.     Activated = false
  105. end)
  106. CloseButton.MouseButton1Click:Connect(function()
  107.     HackFrame.Visible = false
  108.     OpenButton.Visible = true
  109. end)
  110. OpenButton.MouseButton1Click:Connect(function()
  111.     HackFrame.Visible = true
  112.     OpenButton.Visible = false
  113. end)
  114. while wait() do
  115.     if Activated == true then
  116.         for _, i in pairs(game.Players:GetPlayers()) do
  117.             if i.Name == player.Name or i.Character:FindFirstChild("Highlight") then
  118.                 print('wont add highlight')
  119.             else
  120.                 local highlight = Instance.new("Highlight")
  121.                 highlight.Parent = i.Character
  122.                 local billboardGui = Instance.new("BillboardGui")
  123.                 local Textlabel = Instance.new("TextLabel")
  124.                 billboardGui.Parent = i.Character:WaitForChild("Head")
  125.                 billboardGui.Size = UDim2.new(10, 0,1, 0)
  126.                 billboardGui.ExtentsOffset = Vector3.new(0, 3, 0)
  127.                 Textlabel.Parent = billboardGui
  128.                 Textlabel.Text = i.Name
  129.                 Textlabel.TextColor3 = Color3.fromRGB(255,255,255)
  130.                 Textlabel.Font = Enum.Font.FredokaOne
  131.                 Textlabel.Size = UDim2.new(1,0,1,0)
  132.                 Textlabel.TextScaled = true
  133.                 Textlabel.BackgroundTransparency = 1
  134.             end
  135.         end
  136.     elseif Activated == false then
  137.         for _, i in pairs(game.Players:GetPlayers()) do
  138.             if i.Character:FindFirstChild("Highlight") then
  139.                 i.Character:FindFirstChild("Highlight"):Destroy()
  140.             end
  141.         end
  142.     end
  143. end
Tags: Highligt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement