Jump to content

DanRub

Member
  • Posts

    47
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by DanRub

  1. I would recommend to store the amount of the item to list with ceratin values and do the rest accordingly to it e.g. add item amount of item of event-entity to {%event-item::%event-location%::*}
  2. Hey, try this: on block place: if event-block is water: set {_tool} to player's tool set player's tool to {_tool}
  3. well, then make this: every 1 second: loop all players: if "%region at loop-player%" contains "afk": add 1 to {afktime::%loop-player%} if {afktime::%loop-player%} is 300: execute console command "give %loop-player% 1 diamond" clear {afktime::%loop-player%} And make sure you have the region "afk" or create some other and place your region instead of "afk"
  4. Make sure you have the world "afk" created.
  5. Hey, if you have world guard, simply create region "afk" or something like that in different world where will be only afk players (for less lags) and then the world and region use in that skript: (also change the reward in the execute command) every 1 second in "afk": loop all players: if "%region at loop-player%" contains "afk": add 1 to {afktime::%loop-player%} if {afktime::%loop-player%} is 300: execute console command "give %loop-player% 1 diamond" clear {afktime::%loop-player%}
  6. Maybe a little more description would be good, because I don't know what you need..
  7. every 1 hour: loop all players: if loop-player is online: give loop-player "youritem" Im not sure what do you mean by display a countdown on your TAB scoreboard, but you can try this.
  8. I dont have that much time to wait only for you to message me, so if you wont answer today, I'll take it you probably don't want that.
  9. But u have to answer on discord XD
  10. Do you have discord, so we can communicate better? If yes, add me: danrub
  11. Hello, first of all, tell your friend that he should read the basic script documents, because this is a real shocker, there were at least 15 errors I had to fix and they weren't visible past the first 6, I don't know how it will/won't work because I didn't test it, I just fixed what jumped out at me, the only thing I really don't know what your friend meant is on game start so I could not fix that. Here is your almost fixed code.. Your friend really need some practice XD command /queue: trigger: if player is not in {queued players}: add player to {queued players} send "You have joined the queue!" to player if size of {queued players} is more than 4: loop 2 times: set {_randomPlayer} to a random element of {queued players} remove {_randomPlayer} from {queued players} add {_randomPlayer} to {blue team::*} loop 2 times: set {_randomPlayer} to a random element of {queued players} remove {_randomPlayer} from {queued players} add {_randomPlayer} to {red team::*} send "The game has started! Teams have been assigned." to all players teleport all players in {blue team::*} to location 1, 1, 1 teleport all players in {red team::*} to location 2, 2, 2 on damage: if attacker is a player: if victim is a player: if attacker is in {blue team::*}: if victim is in {blue team::*}: cancel event else if attacker is in {red team::*}: if victim is in {red team::*}: cancel event on death of player: if victim is in {blue team::*}: remove 1 from {blue team kills} if {blue team kills} is more than 19: send "Blue team wins!" to all players teleport all players in {blue team::*} to location 5, 5, 5 set {blue team kills} to 0 else if victim is in {red team::*}: remove 1 from {red team kills} if {red team kills} is more than 19: send "Red team wins!" to all players teleport all players in {red team::*} to location 5, 5, 5 set {red team kills} to 0 on quit: if player is in {queued players}: remove player from {queued players} if player is in {blue team::*}: remove player from {blue team::*} if player is in {red team::*}: remove player from {red team::*} on load: set {blue team kills} to 0 set {red team kills} to 0 on game start: set {queued players} to a list of players send "A new game is starting!" to all players
  12. Hi, you can try this, i didnt test it, so lmk if that works on damage: if victim is a player: if victim's health is below 2: apply potion of swiftness of tier 1 to victim for 10 seconds
  13. I did it quickly, but it should work, just put your wolrd in "your world", coordinates in (0, 0, 0) where do you want it to teleport the player and block which one do you want the player to step instead of diamond block. If so, let me know. on step on diamond block: if block under player is diamond block: if {wait} is false: set {_loc} to location at (0, 0, 0) in world "your world" send "Teleport in 10 seconds" to player wait 1 second if block under player is diamond block: send "Teleport in 9 seconds" to player wait 1 second if block under player is diamond block: send "Teleport in 8 seconds" to player wait 1 second if block under player is diamond block: send "Teleport in 7 seconds" to player wait 1 second if block under player is diamond block: send "Teleport in 6 seconds" to player wait 1 second if block under player is diamond block: send "Teleport in 5 seconds" to player wait 1 second if block under player is diamond block: send "Teleport in 4 seconds" to player wait 1 second if block under player is diamond block: send "Teleport in 3 seconds" to player wait 1 second if block under player is diamond block: send "Teleport in 2 seconds" to player wait 1 second if block under player is diamond block: send "Teleport in 1 seconds" to player wait 1 seconds teleport player to {_loc} else: send "&cYou cant teleport right now!" on world change: if player's world is "your world": set {wait} to true if player's world is not "your world": set {wait} to false
  14. Hey, i little bit changed your spacing in skript, but when i tested on my server everything seemed to work as it should, it gave me the invisibility without particles, so maybe update your skript? Try this with the correct spacing and tell me. If you want, add me on discord: danrub on tool change: if player's tool is spyglass named "&4&lSpying Blade": apply invisibility without any particles to the player for 100000 seconds on tool change: if old tool is spyglass named "&4&lSpying Blade": remove invisibility from player's active potion effects on sneak toggle: if player's tool is spyglass named "&4&lSpying Blade": if player is not sneaking: apply speed of tier 20 without particles to player for 999999999999999999 minutes if player is sneaking: remove speed from player's active potion effects
  15. Just remove the "essentials" part, bc skript doesnt know what essentials is, so try it like this: on right click on stone pressure plate: add 10 to player's balance
  16. What exactly do you need from that shield? Because I really don't know much about THESE enchants and nonsense what you just sent.
  17. Why dont you just do it like this od death of player: if attacker is a player: if victim is a player: clear drops add 1 to {kills::%attacker's uuid%} add 1 to {deaths::%victim's uuid%}
  18. It depends, if you want the tips also do with skript or you have the plugin for that.
  19. Hello, i might have solution for you, hope its what you need. on damage: if victim has permission "eclpsis.notarget": cancel event on entity target: if entity's target is a player: if entity's target has permission "eclpsis.notarget": cancel event Just LMK have a nice day.
  20. Hi, i dont know if you have "tutorial" as a world or "place" to coordinates, but there is some basic skript for you, i hope it will help. on first join: teleport player to "your location"
×
×
  • Create New...