강의

멘토링

커뮤니티

Inflearn Community Q&A

dnswlq4569502's profile image
dnswlq4569502

asked

First Steps in Roblox Development for Teens

Learn about Roblox functions

제 다리는 에러가..

Written on

·

232

0

local bridge = game.Workspace.BridgePart

local touchPart = script.Parent

 

function showBridge()

bridge.CanCollide = true

bridge.Transparency = 0

 

wait(5)

 

bridge.CanCollide = false

bridge.Transparency = 1

end

 

 

touchPart.Touched:Connect(showBridge)

 

로 계속 보고 따라 하고 있는데 
플레이를 할 때 다리가 터치를 하기 전에 이미 생성이 되어 있네요 ㅜㅜ 뭐가 문제일까요? 

LuaRoblox

Answer

This question is waiting for answers
Be the first to answer!
dnswlq4569502's profile image
dnswlq4569502

asked

Ask a question