Solved Lightning in Player's 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.

CormanYT

Active Member
Jan 6, 2018
122
5
18
Is there a way I can make lightning strike in the players direction?
code_language.skript:
on right click holding a ghast tear:
    if {ts.delay::%player%} is not 1:
        if name of player's tool is "&6&lThunder Smash":
            strike lightning in the player's direction
            set {ts.delay::%player%} to 1
            wait 5 seconds
            set {ts.delay::%player%} to 0
Thanks!
 
You can strike lightning at a location, but I dont think you can give it a direction. Unless I am totally mistaken and someone knows a secret way, I Believe minecraft lightning is completely random
 
You can strike lightning at a location, but I dont think you can give it a direction. Unless I am totally mistaken and someone knows a secret way, I Believe minecraft lightning is completely random
Am I able to make it find what block the player is facing, and make lightning strike there?
 
Status
Not open for further replies.