local Players = game:GetService("Players")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local ServerStorage = game:GetService("ServerStorage")
workspace.Bubble.Part.Touched:Connect(function(hit)
local originaltransparencies = {}
local character = hit:FindFirstAncestorOfClass("Model")
local humanoid = character and character:FindFirstChildOfClass("Humanoid")
local head = character:FindFirstChild("Head")
if not humanoid then return end
for _, part in pairs(character:GetDescendants()) do
if part:IsA("BasePart") then
originaltransparencies[part] = part.Transparency
part.Transparency = 1
end
end
if head then
local face = head:FindFirstChild("face")
if face then
originaltransparencies[face] = face.Transparency
face.Transparency = 1
end
end
task.wait(10)
for part, transparency in pairs(originaltransparencies) do
if part.Parent then
part.Transparency = transparency
end
end
end)
this is my code whats wrong with it im not sure how to fix it a grey block is visible on my torso up to my head when i turn visible again. Also when i turn visible again it shows me visible for like 1/4th of a second and then makes me invisible again even tho im not touching the bubble anymore


