Script -
local part = script.Parent
local debounce = false
local function onTouch(other)
local character = other.Parent
if character and character:FindFirstChild("Humanoid") and not debounce then
debounce = true
for transparency = 0, 1, 0.1 do
part.Transparency = transparency
wait(0.1)
end
part.CanCollide = false
end
end
part.Touched:Connect(onTouch)
#roblox #robloxstudio
16 окт 2024