MARCELO887876653 / SCRIPT-OK

0 stars 0 forks source link

scrpit #2

Open MARCELO887876653 opened 7 months ago

MARCELO887876653 commented 7 months ago

--Abaixo estara Lib da nossa UI

local Lib = loadstring(game:HttpGet("https://raw.githubusercontent.com/7yhx/kwargs_Ui_Library/main/source.lua"))()

local UI = Lib:Create{ Theme = "Dark", -- or any other theme Size = UDim2.new(0, 555, 0, 400) -- default }

local Main = UI:Tab{ Name = "inicio" }

local Divider = Main:Divider{ Name = "inicio shit" }

local QuitDivider = Main:Divider{ Name = "sair" }

local KillAll = Divider:Button{ Name = "ESP", Description = "ESP ATIVADO", Callback = function ESP(PLAYER) function CreateESP(player) local DistanceLabel = Instance.new("TextLabel") DistanceLabel.Name = "ESP_DIASTANCIA" DistanceLabel.Text = "" DistanceLabel.Size = UDim2.new(0, 100, 0, 20) DistanceLabel.Position = UDim2.new(0.5, 0, 0.5, 0) DistanceLabel.AnchorPoint = Vector2.new(0.5, 0.5) DistanceLabel.BackgroundTransparency = 1 DistanceLabel.Font = Enum.Font.SourceSans DistanceLabel.TextColor3 = player.Team == LocalPlayer.Team and Color3.new(0, 0, 1) or Color3.new(1, 0, 0) DistanceLabel.TextStrokeTransparency = 0.5 DistanceLabel.Parent = player.Character.Head end end }

local KillAll = Divider:Button{ Name = "DISTANCIA_DO_JOGADOR", Description = "VOCE_VER_A_DISTANCIA_DELE", Callback = function DISTANCIA(PLAYER) local function UpdateDistance(PLAYER) local targetPosition = player.Character.Head.Position local localPosition = LocalPlayer.Character.Head.Position local distance = (targetPosition - localPosition).Magnitude DistanceLabel.Text = string.format("(%d) %s\nVida: %d", math.floor(distance), player.Name, player.Health) end

end

}

local KillAll = Divider:Button{ Name = "atualizar_distancia", Description = "ATUALIZA_A_DISTANCIA", Callback = function ATUALIZAR(PLAYER) | local function UpdateDistance() local targetPosition = player.Character.Head.Position local localPosition = LocalPlayer.Character.Head.Position local distance = (targetPosition - localPosition).Magnitude DistanceLabel.Text = string.format("(%d) %s\nVida: %d", math.floor(distance), player.Name, player.Health) end end }

local KillAll = Divider:Button{ Name = "ESP_BUTAO", Description = "Botão para ativar/desativar o ESP", Callback = function(PLAYER)
local UserInputService = game:GetService("UserInputService") local ESPButton = Instance.new("TextButton") ESPButton.Name = "ESPButton" ESPButton.Text = "ESP" ESPButton.Size = UDim2.new(0, 80, 0, 30) ESPButton.Position = UDim2.new(0.9, 0, 0.9, 0) ESPButton.AnchorPoint = Vector2.new(1, 1) ESPButton.BackgroundColor3 = Color3.new(0, 0, 0) ESPButton.TextColor3 = Color3.new(1, 1, 1) ESPButton.Parent = game.CoreGui

local espEnabled = false ESPButton.MouseButton1Click:Connect(function(PLAYER) espEnabled = not espEnabled ESPButton.Text = espEnabled and "ESP (ON)" or "ESP (OFF)" for _, player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer then player.Character.Head.ESP_Distance.Visible = espEnabled end end end)

local KillAll = Divider:Button{ Name = "VERJOGADORES", Description = "VEE", Callback = function(PLAYER) for , player in pairs(Players:GetPlayers()) do if player ~= LocalPlayer then CreateESP(player) end end end }

MARCELO887876653 commented 7 months ago

ok