Categories > Exploiting > Scripts >
[REQUEST] KRNL script for visibility based on collision
Posted
Would like a KRNL script that sets every cancollide true parts transparency to 0 and every cancollide false parts transparency to 1. Too inept to code this myself. TIA.
Replied
for _, part in pairs(workspace:GetDescendants()) do
if not part:FindFirstChild("HumanoidRootPart") then
if part.CanCollide == false then
part.Transparency = 1
elseif part.CanCollide == true then
part.Transparency = 0
end
end
end
Cancel
Post
Users viewing this thread:
( Members: 0, Guests: 1, Total: 1 )
Cancel
Post