Jump to content
  • 1

Skript teleport + permission


kubivo

Question

I dont know how to do permissions to commands with skript, and i dont know how to teleport someone with skript.

I tried to do something with skript plugin but im too dumb. Could someone help me? My skript was:

command /coal:
    permission: coal
    permission message: &cYou dont have permissions for this!
    trigger:
        send "&7&lTeleporting you in&c&l 5&7&l seconds"
        wait 1 seconds
        send "&7&lTeleporting you in&c&l 4&7&l seconds"
        wait 1 seconds
        send "&7&lTeleporting you in&c&l 3&7&l seconds"
        wait 1 seconds
        send "&7&lTeleporting you in&c&l 2&7&l seconds"
        wait 1 seconds
        send "&7&lTeleporting you in&c&l 1&7&l seconds"
        wait 1 seconds
        send "&7&lYou have been&c&l teleported"
        teleport player to location 216, 157, 224 in world “world”
        
        

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

##SKRIPT MADE BY EMPTYROOMS_##

 

command /coal:
    permission: op
    permission message: &cYou dont have permissions for this!
    trigger:
        send "&7&lTeleporting you in &l&65 &9 seconds"
        wait 1 seconds
        send "&7&lTeleporting you in  &l&64 &9 seconds"
        wait 1 seconds
        send "&7&lTeleporting you in &l&e3 &9 seconds"
        wait 1 seconds
        send "&7&lTeleporting you in &l&c2 &9 seconds"
        wait 1 seconds
        send "&7&lTeleporting you in &l&41 &9 seconds"
        wait 1 seconds
        send "&l&7You have been &ateleported"
        teleport player to location "[x, y , z]" in world “world”

 

##reminder put the coords in the x y z##

 

Try that

Link to comment
Share on other sites

  • 0
On 5/15/2022 at 6:43 PM, kubivo said:

but i want to do coal rank permissions

 

##SKRIPT MADE BY EMPTYROOMS_##

 

command /coal:
    permission: coal.perm
    permission message: &cYou dont have permissions for this!
    trigger:
        send "&7&lTeleporting you in &l&65 &9 seconds"
        wait 1 seconds
        send "&7&lTeleporting you in  &l&64 &9 seconds"
        wait 1 seconds
        send "&7&lTeleporting you in &l&e3 &9 seconds"
        wait 1 seconds
        send "&7&lTeleporting you in &l&c2 &9 seconds"
        wait 1 seconds
        send "&7&lTeleporting you in &l&41 &9 seconds"
        wait 1 seconds
        send "&l&7You have been &ateleported"
        teleport player to location "[x, y , z]" in world “world”

 

##reminder put the coords in the x y z##

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...