local leftPlate = script.Parent.LeftPlate local rightPlate = script.Parent.RightPlate local isLeftSafe = math.random(1, 2) == 1 local function setupPlate(plate, isSafe) plate.Touched:Connect(function(hit) local character = hit.Parent local humanoid = character:FindFirstChild("Humanoid") if humanoid and not isSafe then plate.Transparency = 1 plate.CanCollide = false humanoid.Health = 0 -- Žaidėjas miršta end end) end setupPlate(leftPlate, isLeftSafe) setupPlate(rightPlate, not isLeftSafe) Use code with caution. Copied to clipboard 🎨 Žaidimo patirties elementai
Kiekviename lygyje viena iš dviejų plytelių yra „netikra“. Roblox scenarijus – neДЇmanomas stiklo tiltas Ob...
Pridėkite dūžtančio stiklo efektą ( Sound ), kai žaidėjas krenta. local leftPlate = script
Naudokite "Glass" medžiagą ir šviesos atspindžius. 2) == 1 local function setupPlate(plate
Kiekvieną eilę sudaro dvi dalys (Part), pvz., "LeftPlate" ir "RightPlate".
Sėkmingai perėjus, plytelė tampa saugia zona kitiems. 🛠️ Techninis įgyvendinimas (Luau)
Все права защищены ©2011-2021 Mikhail Chernyshev. При перепечатке ссылка.