That sounds like an interesting game idea! Here is a script in detail :)
Script: (Make sure the script is a ServerScript inside ServerScriptService)
local plr = game:GetService("Players")
local function invis(char)
for a,b in pairs(char:GetChildren()) do
if b:IsA("MeshPart") and b.Name ~= 'Head' or b:IsA("BasePart") and b.Name ~= 'Head' then
b.Transparency = 1
b.CanCollide = false
end
end
end
plr.PlayerAdded:Connect(function(player)
player.CharacterAdded:Connect(invis)
end)
Please be sure to mark this as the answer if this worked for you :)
Have a great day!
2 comments
i will try it later, thank you!
This aint work, the upper and lower torso keep on being cancollide!