クリエ飛行を利用した二段ジャンプの不具合

on flight toggle:
if player's gamemode is not creative:
if player's flight mode is true:
set player's flight mode to false
set velocity of player to new Vector 0, 0, 0
push player forward at speed 0.9
push player up at speed 1.1



every a ticks:
loop all players:
if loop-player is on ground:
set {W.jump.%loop-player%} to true
set loop-player's flight mode to true
on flight toggle:
if player's gamemode is not creative:
if player's flight mode is true:
set player's flight mode to false
set velocity of player to new Vector 0, 0, 0
push player forward at speed 0.9
push player up at speed 1.1



every a ticks:
loop all players:
if loop-player is on ground:
set {W.jump.%loop-player%} to true
set loop-player's flight mode to true
このようなコードを書いたのですが 着地時にも発動してしまいます たすけて
3 Replies
mirageeeeeeeeeeeeeeeeeeeeeeeeeee
on flight toggleの中でwhileとis on ground使ってリセット機構実装すればいいと思うよ
syu
syuOP2y ago
できた ありがとうございます
mirageeeeeeeeeeeeeeeeeeeeeeeeeee
これは優秀なSkripterの卵の予感
Want results from more Discord servers?
Add your server