My goal, is on it reaching fully transparent, it becomes uncolidable, Ive never really coded LUAU, and my 1 goal is to ask real ppl my issues not AI, so if anyone can lend a hand that would be much appreciated :)
local part = script.Parent
local debouncetimer = false
local t = 0
-- On touch, set timer to 15, and then -1 per second
part.Touched:Connect(function(otherpart)
if debouncetimer == false then
debouncetimer = true
print("Part touched and triggered")
while t >= 0 do
part.Transparency = t
t = t+0.1
wait(1)
end
wait(5)
part.CanCollide = true
part.Transparency = 0
else
print("Debounce Timer On")
end
end)
while true do
if t == 1 then
part.CanCollide = false
end
end
** You are now Level 2! **