익명 06:18

로블록스 루아스크립트 킬파트 오류 책에 나와있는대로 스크립트 적었는데 왜안죽나요

책에 나와있는대로 스크립트 적었는데 왜안죽나요

health -> Health

H 대문자로

part.Parent:FindFirstchild(humanoid)

->

part.Parent:FindFirstChild("Humanoid")

"" 추가하고 C 대문자 , H 대문자로 바꿔주세요

그리고

local humanoid = part.Parent:FindFirstChild("Humanoid")

if humanoid then

humanoid.Health = 0

end

humanoid -> Humanoid

h 전부 H로 바꿔주세요

->

local Humanoid = part.Parent:FindFirstChild("Humanoid")

if Humanoid then

Humanoid.Health = 0

end

상단 광고의 [X] 버튼을 누르면 내용이 보입니다