Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Options:
- #Permissões do Skript
- #Abrir/Usar o GUI das Dorgas
- Usar o GUI: gdorgas.usar
- Perm Usar o GUI: &c&l» &7Você não pode usar esse comando!
- #Comando de verificar Update
- Ver Updates: gdorgas.update
- Perm Ver Updates: &c&l» &7Você não pode verificar updates!
- #Usar a Droga "Cigarro"
- Usar Cigarro: gdorgas.cigarro
- Perm Usar Cigarro: &c&l» &7Você não pode usar a droga Cigarro
- #Usar a Droga "Maconha"
- Usar Maconha: gdorgas.maconha
- Perm Usar Maconha: &c&l» &7Você não pode usar a droga Maconha
- #Usar a Droga "Crack"
- Usar Crack: gdorgas.crack
- Perm Usar Crack: &c&l» &7Você não pode usar a droga Crack
- #Mundos em que pode ser usado (Use "or" para adicionar mais mundos)
- # #! Obrigatório definir !##
- Mundos Disponiveis: "world" or "world2"
- #Ainda a usar a Dorga
- Usando Dorga: &c&l» &7A tua Dorga ainda não acabou
- #Nome do Menu
- Nome do Menu: &4Menu das Dorgas
- # #! Cigarro !##
- #Item que aparece no GUI (EM INGLES)
- ItemC: stick
- #Nome que aparece no GUI
- NomeC: &f&nCigarro
- #Tempo que a droga irá durar (Em Segundos)
- TempoC: 30
- #Mensagem de quando aplicado
- MensagemC: &c&l» &7Efeito &aFumar &7Ativado por &c30&7 segundos
- # #! Maconha !##
- #Item que aparece no GUI (EM INGLES)
- ItemM: green dye
- #Nome que aparece no GUI
- NomeM: &2&nMaconha&7 (VIP)
- #Tempo que a droga irá durar (Em Segundos)
- TempoM: 30
- #Mensagem de quando aplicado
- MensagemM: &c&l» &7Efeito &aMaconha &7Ativado por &c30&7 segundos
- # #! Crack !##
- #Item que aparece no GUI (EM INGLES)
- ItemCr: sugar
- #Nome que aparece no GUI
- NomeCr: &f&nCrack&7 (VIP)
- #Mensagem de quando aplicado
- MensagemCr: &c&l» &7Efeito &aCrack &7Ativado por &c30&7 segundos
- variables:
- {droga.%player%} = false
- command /dorgas [<text>]:
- aliases: drogas, droga, dorga
- trigger:
- if world is {@Mundos Disponiveis}:
- if arg 1 is not set:
- if player has permission "{@Usar o GUI}":
- if {droga.%player%} is true:
- send "{@Usando Dorga}"
- else:
- open chest with 3 rows named "{@Nome do Menu}" to player
- format slot 11 of player with a {@ItemC} named "{@NomeC}" to close then run [make player execute command "dorgas cigarro"]
- format slot 13 of player with a {@ItemM} named "{@NomeM}" to close then run [make player execute command "dorgas maconha"]
- format slot 15 of player with a {@ItemCr} named "{@NomeCr}" to close then run [make player execute command "dorgas crack"]
- else:
- send "{@Perm Usar o GUI}"
- #Tipo de Droga: Maconha
- if arg 1 is "maconha":
- if player has permission "{@Usar Maconha}":
- wait 2 ticks
- set {droga.%player%} to true
- remove slowness from the player
- remove mining fatigue from the player
- remove nausea from the player
- remove weakness from the player
- remove speed from the player
- apply potion of slowness to the player for {@TempoM} seconds
- apply potion of mining fatigue to the player for {@TempoM} seconds
- apply potion of nausea to the player for {@TempoM} seconds
- apply potion of weakness to the player for {@TempoM} seconds
- send "{@MensagemM}"
- wait {@TempoM} seconds
- set {droga.%player%} to false
- else:
- send "{@Perm Usar Maconha}"
- #Tipo de Droga: Crack
- if arg 1 is "crack":
- if player has permission "{@Usar Crack}":
- wait 2 ticks
- set {droga.%player%} to true
- remove slowness from the player
- remove mining fatigue from the player
- remove nausea from the player
- remove weakness from the player
- remove speed from the player
- send "{@MensagemCr}"
- apply potion of nausea to the player for 20 seconds
- loop 10 times:
- apply speed 10 to the player
- wait 1 second
- remove speed from the player
- wait 1 second
- wait 24 seconds
- set {droga.%player%} to false
- else:
- send "{@Perm Usar Crack}"
- #Tipo de Droga: Cigarro
- if arg 1 is "cigarro":
- if player has permission "{@Usar Cigarro}":
- wait 2 ticks
- set {droga.%player%} to true
- remove slowness from the player
- remove mining fatigue from the player
- remove nausea from the player
- remove weakness from the player
- remove speed from the player
- apply potion of slowness 5 to the player for {@TempoC} seconds
- play raw sound "fire.ignite" at player with pitch 1 volume 50
- send "{@MensagemC}"
- wait {@TempoC} seconds
- set {droga.%player%} to false
- else:
- send "{@Perm Usar Cigarro}"
- if arg 1 is not "crack" or "maconha" or "cigarro":
- send "&cUse /dorgas"
- command /gupdate:
- trigger:
- if text from url "http://pastebin.com/raw.php?i=56HmcCm2" is not "1.0":
- send "&aExiste um Update disponivel!"
- wait 1 second
- send "&6Instale o update em:"
- send "&7&nhttp://bit.ly/GDorgas"
- else:
- send "&cSem updates disponiveis!"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement