ScriptBlox is undergoing maintenance, so downtime is possible. Sorry for the inconvenience!
Brookhaven 🏡RP
31.9k Views

Brookhaven ghost

Brookhaven 🏡RPUploaded by
9 months ago
Please login to perform these actions:

Description

-- Roblox - Script local de marcação de jogador -- O script se comunica com o servidor para marcar o jogador local replicatedStorage = game:GetService("ReplicatedStorage") local players = game:GetService("Players") local localPlayer = players.LocalPlayer local function createUI() -- Cria um botão na tela do jogador local playerGui = localPlayer:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "PlayerMarkerUI" screenGui.Parent = playerGui local markButton = Instance.new("TextButton") markButton.Name = "MarkPlayerButton" markButton.Size = UDim2.new(0.2, 0, 0.1, 0) markButton.Position = UDim2.new(0.8, 0, 0.9, 0) markButton.Text = "Marcar Jogador" markButton.Font = Enum.Font.SourceSansBold markButton.FontSize = Enum.FontSize.Size18 markButton.BackgroundColor3 = Color3.new(1, 0.4, 0.4) -- Cor de fundo do botão markButton.TextColor3 = Color3.new(1, 1, 1) -- Cor do texto do botão markButton.Parent = screenGui local function markPlayer() -- Cria uma marca visível e colorida acima do jogador local targetPlayer = localPlayer -- Define o jogador local como o alvo local character = targetPlayer.Character if character and character:FindFirstChild("HumanoidRootPart") then local humanoidRootPart = character.HumanoidRootPart local marker = Instance.new("BillboardGui") marker.Size = UDim2.new(2, 0, 2, 0) marker.StudsOffset = Vector3.new(0, 4, 0) marker.Adornee = humanoidRootPart marker.AlwaysOnTop = true marker.Parent = character local frame = Instance.new("Frame") frame.Size = UDim2.new(1, 0, 1, 0) frame.BackgroundColor3 = Color3.new(1, 0, 0) -- Cor vermelha para o marcador frame.BackgroundTransparency = 0.5 frame.Parent = marker -- Muda a cor do corpo do jogador para vermelho for _, part in ipairs(character:GetChildren()) do if part:IsA("BasePart") then part.Color = Color3.new(1, 0, 0) -- Vermelho end end end end -- Ativa a função quando o botão for clicado markButton.MouseButton1Click:Connect(markPlayer) end -- Espera que o jogo esteja pronto e cria a UI game:GetService("RunService").Heartbeat:Wait() createUI()

View Raw
Edited By: mesquitakaique10 Download


Comments
3
User profile picture
French 9 months ago
OH MY GOD, IT MAKES mE CLIENTSIDEDLY INVISIBLE BUT EVERYONE CAN SEE ME YAY
French's profile pictureFrenchOH MY GOD, IT MAKES mE CLIENTSIDEDLY INVISIBLE BUT...
User profile picture
Avez 9 months ago
@DaNoob i have fe invisible
User profile picture
salam 9 months ago
script why
Please Login to add a comment.