Как стать невидимым в Роблоксе

Опубликовано: 28 Октябрь 2024
на канале: Savchenap
883
16

#роблоксгайд #роблокс #роблокскоды
Простой способ создать зелье невидимости в Roblox Studio

------------ скрипт для Tool ---
local tool = script.Parent

function SetTransp(pl, value)
for i, part in pairs(pl:GetChildren())do
if string.match(part.className, "Part") then
part.Transparency = value
end
if part.className == "Accessory" then
part.Handle.Transparency = value
end
if part.Name == "Head" and part.Face then
part.Face.Transparency = value
end
if part.className == "Tool" then
part.Handle.Transparency = value
end
end
end

tool.Equipped:Connect(function(mouse)
local pl = tool.Parent
SetTransp(pl, 1)
end)

tool.Unequipped:Connect(function (mouse)
local pl = tool.Parent.Parent.character
SetTransp(pl, 0)
end)