Answered by
6 years ago Edited 6 years ago
Try this:
01 | script.Parent.Touched:connect( function () |
02 | local player = game.Players:GetPlayers() |
03 | for i, v in pairs (player) do |
04 | if v.Character.Humanoid.Rig = = "R15" then |
05 | v.Character.UpperTorso.Transparency = 0.5 |
06 | v.Character.LowerTorso.Transparency = 0.5 |
08 | v.Character.Torso.Transparency = 0.5 |
Compatible with both r15 and r6.
If you mean your entire character:
01 | script.Parent.Touched:connect( function () |
02 | local player = game.Players:GetPlayers() |
03 | for i, v in pairs (player) do |
04 | char = v.Character:GetDescendants() |
06 | if char [ o ] :IsA( 'MeshPart' ) or char [ o ] :IsA( 'UnionOperation' ) or char [ o ] :IsA( 'Part' ) then |
07 | char [ o ] .Transparency = 0.5 |
tbh helping with a mobile device is a hassle. i just woke up minutes ago... i feel lazy to open my laptop...