Forcing player to look any direction

  • 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 community!

    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.

PanHack

Active Member
Dec 18, 2019
143
8
18
So as said in title i want skript that forces player look down or up when you take damage

Skript version 2.4.1
 
this skript should make the player either look straight down or straight up when damaged, tell me if you want it changed

Code:
on damage:
    chance of 50:
        set victim's yaw to 90
    chance of 50:
        set victim's yaw to -90
 
this skript should make the player either look straight down or straight up when damaged, tell me if you want it changed

Code:
on damage:
    chance of 50:
        set victim's yaw to 90
    chance of 50:
        set victim's yaw to -90
it doesn't work do i need any addons like SKQuerry ?
[doublepost=1579934572,1579933901][/doublepost]ok so I changed code a little bit an it would say which direction should I look (up/down)
Code:
command /t:
    trigger:
        chance of 50%:
            set player's yaw to 90
            send "&6UP" to player
        chance of 50%:
            set player's yaw to -90
            send "&6DOWN" to player
But it still doesn't make me look up or down
 
it doesn't work do i need any addons like SKQuerry ?
[doublepost=1579934572,1579933901][/doublepost]ok so I changed code a little bit an it would say which direction should I look (up/down)
Code:
command /t:
    trigger:
        chance of 50%:
            set player's yaw to 90
            send "&6UP" to player
        chance of 50%:
            set player's yaw to -90
            send "&6DOWN" to player
But it still doesn't make me look up or down
You can try getting SkQuery, but I am pretty sure it requires Skript and skript only
 
Status
Not open for further replies.