Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local player = game.Players.LocalPlayer
- local PlayerGui = player.PlayerGui
- local TweenService = game:GetService("TweenService")
- local Info = TweenInfo.new(0.5, Enum.EasingStyle.Sine, Enum.EasingDirection.InOut)
- local ScreenGui = Instance.new("ScreenGui", PlayerGui)
- local Frame = Instance.new("Frame", ScreenGui)
- local Info1 = Instance.new("TextLabel", Frame)
- ScreenGui.IgnoreGuiInset = true
- Frame.Size = UDim2.new(1,0,1,0)
- Frame.BackgroundColor3 = Color3.fromRGB(0,0,0)
- Info1.Text = "Bosjo2012's hack"
- Info1.TextScaled = true
- Info1.Font = Enum.Font.FredokaOne
- Info1.Size = UDim2.new(1,0,1,0)
- Info1.TextColor3 = Color3.fromRGB(255,255,255)
- Info1.BackgroundTransparency = 1
- Info1.Visible = false
- Info1.TextTransparency = 1
- wait(0.3)
- Info1.Visible = true
- TweenService:Create(Info1, Info, {TextTransparency = 0}):Play()
- wait(1)
- TweenService:Create(Info1, Info, {TextTransparency = 1}):Play()
- wait(0.51)
- ScreenGui:Destroy()
- local HackGui = Instance.new("ScreenGui", PlayerGui)
- local HackFrame = Instance.new("Frame", HackGui)
- local Title = Instance.new("TextLabel", HackFrame)
- local HackButton = Instance.new("TextButton", HackFrame)
- local HackButton2 = Instance.new("TextButton", HackFrame)
- local CloseButton = Instance.new("TextButton", HackFrame)
- local OpenButton = Instance.new("TextButton", HackGui)
- local Activated = false
- CloseButton.Position = UDim2.new(0.963, 0,-0.095, 0)
- CloseButton.Size = UDim2.new(0.084, 0,0.172, 0)
- CloseButton.Visible = true
- CloseButton.BackgroundColor3 = Color3.fromRGB(255,0,0)
- CloseButton.TextColor3 = Color3.fromRGB(255,255,255)
- CloseButton.Text = "X"
- CloseButton.TextScaled = true
- Instance.new("UIStroke", CloseButton).Thickness = 5
- local UIStrokeForBackground = Instance.new("UIStroke", CloseButton)
- UIStrokeForBackground.Thickness = 5
- UIStrokeForBackground.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Instance.new("UIAspectRatioConstraint").AspectRatio = 1
- Instance.new("UICorner", CloseButton)
- OpenButton.Position = UDim2.new(0.429, 0,0.142, 0)
- OpenButton.Size = UDim2.new(0.14, 0,0.14, 0)
- OpenButton.Visible = false
- OpenButton.BackgroundColor3 = Color3.fromRGB(0,255,0)
- OpenButton.TextColor3 = Color3.fromRGB(255,255,255)
- OpenButton.Text = "Open"
- OpenButton.TextScaled = true
- Instance.new("UIStroke", OpenButton).Thickness = 5
- local UIStrokeForBackground = Instance.new("UIStroke", OpenButton)
- UIStrokeForBackground.Thickness = 5
- UIStrokeForBackground.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Instance.new("UIAspectRatioConstraint").AspectRatio = 1
- Instance.new("UICorner", OpenButton)
- HackGui.Name = "GuiHackYouCantDeleteHAHAHAHAHAHA"
- HackFrame.Position = UDim2.new(0.02, 0,0.104, 0)
- HackFrame.Size = UDim2.new(0.477, 0,0.492, 0)
- HackFrame.BackgroundColor3 = Color3.fromRGB(38, 79, 12)
- Instance.new("UIStroke", HackFrame).Thickness = 5
- Instance.new("UIAspectRatioConstraint").AspectRatio = 2.05
- Instance.new("UICorner", HackFrame)
- Title.Position = UDim2.new(0,0,0,0)
- Title.Size = UDim2.new(1,0,0.238,0)
- Title.TextColor3 = Color3.fromRGB(255,255,255)
- Title.BackgroundTransparency = 1
- Title.Text = "Bosjo2012's Hack!"
- Title.TextScaled = true
- Title.Font = Enum.Font.FredokaOne
- Instance.new("UIStroke", Title).Thickness = 5
- local UIStrokeForBackground = Instance.new("UIStroke", HackButton)
- UIStrokeForBackground.Thickness = 5
- UIStrokeForBackground.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Instance.new("UICorner", Title)
- HackButton.Position = UDim2.new(0.063, 0,0.313, 0)
- HackButton.Size = UDim2.new(0.382, 0,0.372, 0)
- HackButton.TextColor3 = Color3.fromRGB(0,255,0)
- HackButton.BackgroundColor3 = Color3.fromRGB(255,0,0)
- HackButton.Text = "Highlight players!"
- HackButton.TextScaled = true
- HackButton.Font = Enum.Font.FredokaOne
- Instance.new("UIStroke", HackButton).Thickness = 5
- Instance.new("UICorner", HackButton)
- HackButton2.Position = UDim2.new(0.555, 0,0.313, 0)
- HackButton2.Size = UDim2.new(0.382, 0,0.372, 0)
- HackButton2.TextColor3 = Color3.fromRGB(0,255,0)
- HackButton2.BackgroundColor3 = Color3.fromRGB(255,0,0)
- HackButton2.Text = "Remove highlight from players!"
- HackButton2.TextScaled = true
- HackButton2.Font = Enum.Font.FredokaOne
- Instance.new("UIStroke", HackButton2).Thickness = 5
- local UIStrokeForBackground = Instance.new("UIStroke", HackButton2)
- UIStrokeForBackground.Thickness = 5
- UIStrokeForBackground.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
- Instance.new("UICorner", HackButton2)
- HackButton.MouseButton1Click:Connect(function()
- Activated = true
- end)
- HackButton2.MouseButton1Click:Connect(function()
- Activated = false
- end)
- CloseButton.MouseButton1Click:Connect(function()
- HackFrame.Visible = false
- OpenButton.Visible = true
- end)
- OpenButton.MouseButton1Click:Connect(function()
- HackFrame.Visible = true
- OpenButton.Visible = false
- end)
- while wait() do
- if Activated == true then
- for _, i in pairs(game.Players:GetPlayers()) do
- if i.Name == player.Name or i.Character:FindFirstChild("Highlight") then
- print('wont add highlight')
- else
- local highlight = Instance.new("Highlight")
- highlight.Parent = i.Character
- local billboardGui = Instance.new("BillboardGui")
- local Textlabel = Instance.new("TextLabel")
- billboardGui.Parent = i.Character:WaitForChild("Head")
- billboardGui.Size = UDim2.new(10, 0,1, 0)
- billboardGui.ExtentsOffset = Vector3.new(0, 3, 0)
- Textlabel.Parent = billboardGui
- Textlabel.Text = i.Name
- Textlabel.TextColor3 = Color3.fromRGB(255,255,255)
- Textlabel.Font = Enum.Font.FredokaOne
- Textlabel.Size = UDim2.new(1,0,1,0)
- Textlabel.TextScaled = true
- Textlabel.BackgroundTransparency = 1
- end
- end
- elseif Activated == false then
- for _, i in pairs(game.Players:GetPlayers()) do
- if i.Character:FindFirstChild("Highlight") then
- i.Character:FindFirstChild("Highlight"):Destroy()
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement