_G.HeadSize = 20
_G.Disabled = true
local Players = game:GetService('Players')
local RunService = game:GetService('RunService')
local LocalPlayer = Players.LocalPlayer
local MobsFolder = workspace:FindFirstChild("Mobs")
local StarterGui = game:GetService("StarterGui")
local function showCenterMessage(text, color, duration)
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Parent = LocalPlayer:WaitForChild("PlayerGui")
local TextLabel = Instance.new("TextLabel")
TextLabel.Parent = ScreenGui
TextLabel.Text = text
TextLabel.TextColor3 = color
TextLabel.TextScaled = true
TextLabel.BackgroundTransparency = 1
TextLabel.Size = UDim2.new(1, 0, 0.2, 0)
TextLabel.Position = UDim2.new(0, 0, 0.4, 0)
TextLabel.Font = Enum.Font.GothamBold
task.delay(duration, function()
ScreenGui:Destroy()
end)
end
local function applyPropertiesToPart(part)
if part then
part.Size = Vector3.new(_G.HeadSize, _G.HeadSize, _G.HeadSize)
part.Transparency = 1 -- invisible
part.CanCollide = false
end
end
if _G.Disabled then
showCenterMessage("power by nagisa-hacker-666-โ", Color3.fromRGB(255, 0, 0), 10)
end
RunService.RenderStepped:Connect(function()
if _G.Disabled then
for _, player in ipairs(Players:GetPlayers()) do
if player ~= LocalPlayer and player.Character and player.Character:FindFirstChild("HumanoidRootPart") then
pcall(function()
applyPropertiesToPart(player.Character.HumanoidRootPart)
end)
end
end
if MobsFolder then
for _, mob in ipairs(MobsFolder:GetChildren()) do
if mob:IsA("Model") and mob:FindFirstChild("HumanoidRootPart") then
pcall(function()
applyPropertiesToPart(mob.HumanoidRootPart)
end)
end
end
end
end
end)
Comments
how can i configure the transparency, or is it always like that?
Wow! Nothing happens!!!
ts so ahhh