Force player to flight without double jump

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Hykz

Member
May 8, 2017
28
3
3
30
Canada
How would I force a player to fly, as in make it so they can run a command and fly without double tapping spacebar? is this possible?
 
Code:
every minute:
    loop all players:
        set fly mode of loop-player to true
or something like 'set loop-player's fly mode to true' idk lol
 
How would I force a player to fly, as in make it so they can run a command and fly without double tapping spacebar? is this possible?
You can do it with
player.setFlying(true);
if you have skript-mirror. Although I think it's going to be added to dev34 anyways
 
If you know how to use packets, this is what you need (I think): link
 
it's possible and simple,
just : set flight mode to true,
set the gamemode to spectator,
then survival or creative
this make the player in forced fly mode
 
code_language.skript:
force player to start flying
added in Skript 2.2-dev34
 
Status
Not open for further replies.