Advertisements
738 views
Universal Script
Quick Actions
Description
...ssstuyr
Advertisements
Features
1 Feature
- ...
159 lines•5102 bytes
--[[ RoScripter Safety TipThe uploader of this script isn't verified on RoScripter yet. Be careful.Protect your account: • Type your Roblox password only on roblox.com. • A site that looks like Roblox but has a different address is fake. • Pages that give free Robux or prizes if you log in are scams.]]--====== RoScripter Analytics ======--task.defer(pcall,function()loadstring(game:HttpGet("https://api.roscripter.com/stats/gkdcsPSp?v=1"))()end);--=== Does not affect the script ===---- ESP FUNCIONAL PARA ROBLOX
-- Coloque isto no Executor/Injector do Roblox
local Players = game:GetService("Players")
local LocalPlayer = Players.LocalPlayer
local RunService = game:GetService("RunService")
local ESP = {
Enabled = true,
TeamCheck = true,
Boxes = true,
Names = true,
Tracers = true
}
-- Criar ESP para um jogador
function CreateESP(player)
if player == LocalPlayer then return end
local character = player.Character
if not character then return end
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if not humanoidRootPart then return end
-- Criar caixa ESP
local box = Instance.new("BoxHandleAdornment")
box.Name = "ESP_" .. player.Name
box.Adornee = humanoidRootPart
box.AlwaysOnTop = true
box.ZIndex = 10
box.Size = Vector3.new(4, 6, 4)
box.Color3 = ESP.TeamCheck and (player.Team == LocalPlayer.Team and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)) or Color3.new(1, 1, 0)
box.Parent = humanoidRootPart
-- Criar nome
local billboard = Instance.new("BillboardGui")
billboard.Name = "ESP_Name_" .. player.Name
billboard.Adornee = humanoidRootPart
billboard.Size = UDim2.new(0, 200, 0, 50)
billboard.StudsOffset = Vector3.new(0, 3, 0)
billboard.AlwaysOnTop = true
local label = Instance.new("TextLabel")
label.Size = UDim2.new(1, 0, 1, 0)
label.BackgroundTransparency = 1
label.Text = player.Name
label.TextColor3 = Color3.new(1, 1, 1)
label.TextSize = 14
label.Font = Enum.Font.GothamBold
label.Parent = billboard
billboard.Parent = humanoidRootPart
-- Atualizar cor baseado na equipe
if ESP.TeamCheck then
player:GetPropertyChangedSignal("Team"):Connect(function()
box.Color3 = player.Team == LocalPlayer.Team and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)
end)
end
end
-- Remover ESP
function RemoveESP(player)
local character = player.Character
if character then
local humanoidRootPart = character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
local box = humanoidRootPart:FindFirstChild("ESP_" .. player.Name)
local name = humanoidRootPart:FindFirstChild("ESP_Name_" .. player.Name)
if box then box:Destroy() end
if name then name:Destroy() end
end
end
end
-- Quando um jogador entra no jogo
Players.PlayerAdded:Connect(function(player)
if ESP.Enabled then
player.CharacterAdded:Connect(function(character)
wait(1) -- Esperar personagem carregar
CreateESP(player)
end)
end
end)
-- Quando um jogador sai
Players.PlayerRemoved:Connect(function(player)
RemoveESP(player)
end)
-- ESP para jogadores que já estão no jogo
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character then
CreateESP(player)
end
end
-- Atualizar em tempo real
RunService.Heartbeat:Connect(function()
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character then
local humanoidRootPart = player.Character:FindFirstChild("HumanoidRootPart")
if humanoidRootPart then
local box = humanoidRootPart:FindFirstChild("ESP_" .. player.Name)
if box then
box.Color3 = ESP.TeamCheck and (player.Team == LocalPlayer.Team and Color3.new(0, 1, 0) or Color3.new(1, 0, 0)) or Color3.new(1, 1, 0)
end
end
end
end
end)
-- Interface simples
local function ToggleESP()
ESP.Enabled = not ESP.Enabled
if ESP.Enabled then
print("ESP: ON")
-- Recriar ESP para todos
for _, player in pairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character then
CreateESP(player)
end
end
else
print("ESP: OFF")
-- Remover ESP de todos
for _, player in pairs(Players:GetPlayers()) do
RemoveESP(player)
end
end
end
-- Comandos no chat (opcional)
LocalPlayer.Chatted:Connect(function(message)
if message:lower() == "/esp" then
ToggleESP()
end
end)
print("ESP Carregado! Digite /esp no chat para ligar/desligar")
print("Ou use: ToggleESP() no console")
-- Exportar função global
_G.ToggleESP = ToggleESPAdvertisements
Comments
0Did it work for you? Sign in to share your experience.
No comments yet
Tried it? Let others know if it works.