local number = 10
local name = "Player"local health = 50
if health <= 0 then
print("Игрок проиграл")
endif health > 0 then
print("Игрок жив")
else
print("Игрок проиграл")
endfor i = 1, 5 do
print(i)
endwhile true do
print("Работает")
wait(1)
endlocal function sayHello()
print("Привет!")
end
sayHello()local part = game.Workspace.Part
part.Color = Color3.fromRGB(255, 0, 0)script.Parent.Touched:Connect(function(hit)
print("Касание!")
end)