Jump to content

BanditEagle

Member
  • Posts

    852
  • Joined

  • Last visited

  • Days Won

    22

BanditEagle last won the day on July 6 2023

BanditEagle had the most liked content!

About BanditEagle

  • Birthday 10/26/2003

Recent Profile Visitors

3,076 profile views

BanditEagle's Achievements

Active

Active (5/6)

170

Reputation

18

Community Answers

  1. You can use this, i created a combat tag skript. Just please make sure to leave the credits in the file and not to distribute it to other players as if you created it.
  2. You can check the name of the player's inventory and allow the code to work only if it matches the gui's name
  3. Use this instead: give player sunflower named "&2coin"
  4. BanditEagle's Combat Tag & Spawn Skript! Useful Skript Tool For PVP-Related Events! Features: - Set Spawn - Teleport To Spawn With Countdown - Using Action Bar With Teleporting To Spawn - Cancel Teleporting If Movement Is Detected - Cancel Teleporting If In Combat - Combat Tag With Players Or All Entities - Using Bossbar With Combat Tag - Broadcasted Killstreaks Every 5 Kills Commands: - /setspawn (permission: spawn.set) - /spawn - /kills <player> Required Skript Addons: - Skript Optional Skript Addons: - SkRayFall If you found a bug or need support, please contact me here: - Discord: @BanditEagl3#4375 - Guilded.gg: @BanditEagle - skUnity: @BanditEagle - SpigotMC: @BanditEagle - Minehut Forums: @BanditEagle ️️️️️ Please leave a review about your thoughts of this skript! If there is anything I should add to this skript, be sure to let me know! combatNspawn.sk
  5. that wont work as it doesnt have the movement check. This will work though: options: spawnCountdown: 100 #The time needed until you can teleport to spawn (in ticks, 100 ticks = 5 seconds) spawnCountdownMsg: "&6You will be teleported to spawn in <number> second(s)." #Message players receive when using /spawn command /spawn: trigger: set {_timer} to 5 set {_countdown} to {@spawnCountdown} set {_loc} to location of player set {_seconds} to floor(({_countdown})/20) set {_int} to {_seconds} loop {_seconds} times: add {_int} to {_list::*} remove 1 from {_int} while {_countdown} is not 0: if distance between {_loc} and player is not 0: loop {_timer} times: send "&cCanceling teleport to spawn: Cannot teleport when moving." stop if {_list::*} contains {_seconds}: set {_msg} to {@spawnCountdownMsg} replace "<number>" in {_msg} with "%{_seconds}%" send action bar "%{_msg}%" remove 1 from {_countdown} wait a tick send "&6Teleporting you to spawn." teleport player to {spawn} command /setspawn: permission: spawn.set permission message: &cYou do not have access to this command" trigger: set {spawn} to player's location send "&aSpawn has been set to: &2%{spawn}%"
  6. Do you know how to skript or are you asking someone to make it for you?
  7. This isn't the correct format. It should be like so: open last gui to player Also, this is wrong too. It should be like so: create a gui with virtual chest inventory with 4 rows named "Shop":
  8. command /food: trigger: give player 64 steak Here you go, have fun! If this post helped you, please leave a reaction to show your appreciation!
  9. did you have a backup of the server?
  10. wouldn't this also work if one player stands on the diamond block for 200 ticks in total? I think you would need to clear the list every time so that there are no duplicates. I might be wrong, but its just what I am assuming.
  11. Instead of creating a new variable for each player, create a list. (so instead of using {level.%player%}, use {level::%player%}. This will work better and be beneficial in the long run).
  12. this isn't how you create lists (or as you know, arrays) in skript. Additionally, you can't create lists in the "options" section (at least to my knowledge). Here is what you can do: on load: set {blockList::*} to stone, coal ore and iron ore set {timeList::*} to 30 seconds, 60 seconds and 120 seconds on break: if {blockList::*} contains event-block: cancel event set {_block} to event-block set {_loc} to location at event-block give player {_block} set event-block to bedrock set {_size} to size of {blockList::*} loop {_size} times: set {_i} to loop-number if {blockList::%{_i}%} contains {_block}: wait {timeList::%{_i}%} set block at {_loc} to {_block} stop I'm not sure if this is the most efficient way of doing this, but this should work. I used the skUnity parser and it didn't return any errors, so I think this works. Let me know if there are any problems! Also, if this post helped you out, please leave a reaction! It means a lot to me!
×
×
  • Create New...