genpvpc Posted December 22, 2023 Share Posted December 22, 2023 So I have a spawn skript and it instantly teleports you to spawn. Can anyone make it so it takes 5 seconds to teleport you there? options: prefix: &a&lGenPvPc &7&l| &f setSpawnCommandPermission: commands.setspawn noPermissionMessage: &cYou do not have permission to use this command. command /spawn: description: Teleport to the spawn point. usage: /spawn trigger: if {spawn} is set: teleport player to {spawn} send "{@prefix} &aTeleported to &eSpawn&a!" to player else: send "{@prefix} &cSpawn is not set, please contact a server administrator to use &e/setspawn&c." to player command /setspawn: permission: {@setSpawnCommandPermission} permission message: {@noPermissionMessage} description: Set the spawn point. usage: /setspawn trigger: set {spawn} to location of player send "{@prefix} &aLocation for &eSpawn&a has been set to your current location." to player Link to comment Share on other sites More sharing options...
HugeAdventure Posted December 30, 2023 Share Posted December 30, 2023 store a cooldown in a variable and then set it and have a every 1 second: loop all players: remove 1 from variable etc Minecraft Developer 4+ years Discord: HugeAdventure Link to comment Share on other sites More sharing options...
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