Jak_paczka Posted May 19, 2022 Posted May 19, 2022 MAKE SHURE THAT PLAYER NEED TO STAND STILL TO GET TPED
BanditEagle Posted May 19, 2022 Posted May 19, 2022 Do you know how to skript or are you asking someone to make it for you? If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle
andper Posted May 20, 2022 Posted May 20, 2022 Here man i hope this helps command /spawn: trigger: send "teleporting to spawn in 5 seconds" wait 1 second send "teleporting to spawn in 4 seconds" wait 1 second send "teleporting to spawn in 3 seconds" wait 1 second send "teleporting to spawn in 2 seconds" wait 1 second send "teleporting to spawn in 1 second" wait 1 second teleport %player% to {spawn}
andper Posted May 20, 2022 Posted May 20, 2022 You can make it pretty by using color codes here: https://www.digminecraft.com/lists/color_list_pc.php
BanditEagle Posted May 20, 2022 Posted May 20, 2022 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}%" If I have helped you out in your post or you liked what I posted, please upvote and react to my post! It helps me a lot! Some Minehut Links: Server Rules • Staff Applications • News & Updates • Reports • Appeals Minehut: VIP (07/04/2021 --> Current)Elestra/Versa Realms: Manager (12/04/2021 --> Current) If you have any questions contact me!My Discord: BanditEagle#2481My Spigot Profile: https://www.spigotmc.org/members/banditeagle.935281/My IGN: BanditEagle
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now