【发布时间】:2022-11-30 08:56:26
【问题描述】:
**local Jumpscare = 0
function onUpdate()
setProperty('cpuControlled', false)
setProperty Jumpscare = 1
return
end
function onUpdate()
if Jumpscare = 1 then
playSound('PIRACY_IS_ILLEGAL!')
end
end**
code does not work
please help anyone
我尝试在 cpuControlled 事件上一遍又一遍地播放声音,但它只是起作用
【问题讨论】:
标签: lua