I've been trying to make a character invisible with their shadow remaining. I've looked into several methods of alternatively making a character invisible, which none keep the shadow and some not working. I need a way to make the character (R6) invisible to everyone, but keep the shadow on the ground. Any solutions?
game.Players.PlayerAdded:Connect(function(player)
local Tool = script.Parent
Tool.Equipped:Connect(function(Mouse)
Mouse.Button1Down:Connect(function()
player.Character.Head.Transparancy = 1
end)
end)
end)
This is what I've been trying, as I said this doesn't work because the shadow vanishes.

6 comments
It also states in the developer wiki link that CastShadow doesn't matter regardless of the part's transparency.
The reason why the shadow also vanishes is because Transparency has an effect on Shadows, CastShadow should solve the problem
This does not work, as CastShadow and Transparancy are not related, one does not turn the other off. Basically this doesn't work. Try it yourself.
I'll try to think up of another solution, one I have in mind is having a separate part doing the shadows.
That wouldn't work either as there isn't a object that casts shadows and is invisible.
I'm not sure what else we could try, how about shadow raycasting?