script.Parent.Touched:Connect(function(hit)
print("Кто-то коснулся объекта")
end)part.Touched:Connect(function(hit)
print("Касание!")
end)game.Players.PlayerAdded:Connect(function(player)
print("Игрок вошёл")
end)script.Parent.ClickDetector.MouseClick:Connect(function(player)
print("Нажатие")
end)event:Connect(function()
-- код
end)while true do
-- проверка
wait()
endscript.Parent.Touched:Connect(function(hit)
if hit.Parent:FindFirstChild("Humanoid") then
print("Игрок коснулся платформы")
end
end)