Speedroute Posted February 18, 2022 Share Posted February 18, 2022 So... I have spent the past 3 days trying to do this, and that isn't an exaggeration. I didn't want to resort to having other people do it for me, but I promised my friends I would have my server up in less than a week. I need a skript in which there is a combat tag and /spawn command. Something where you have a 5 second timer to get to spawn, and if you take any damage or move, it gets cancelled. I also need you to not be able to run that command while combat tagged. I also have a safezone there, and I need to have a forcefield so that people can't just run in while half their armor is broken and they are combat tagged. Also, how tf do I make it so that when someone joins or dies they go to the spawn? I use /setworldspawn but they don't spawn/respawn there Link to comment Share on other sites More sharing options...
NoutLost_ Posted March 22, 2022 Share Posted March 22, 2022 so you basicly ask for much... here it is: (i wont be implementing the forcefield one)  on join: if {spawn} is set: teleport player to {spawn} command /setspawn: permission: spawn.set trigger: set {spawn} to location of player send "&7You have set the spawn to &6%{spawn}%" to player command /delspawn: permission: spawn.set trigger: if {spawn} is set: delete {spawn} send "&7You have deleted spawn" to player command /spawn: trigger: if {spawn} is set: if {combat::%player%} is false: send "&7Please wait 5 seconds..." set {spawntp::%player%} to true wait 5 seconds if {spawntp::%player%} is true: teleport player to {spawn} send "&7You have been teleported to spawn" to player else: send "&7You are in combat!" to player else: send "&7spawn doesn't exist!" to player on damage: if victim is player: set {spawntp::%victim%} to false set {combat::%victim%} to true wait 5 seconds set {combat::%victim%} to false on any movement: if {spawntp::%player%} is true: set {spawntp::%player%} to false send "&7You have moved. teleport canceled" to player  Link to comment Share on other sites More sharing options...
Yessirsussy Posted June 12, 2022 Share Posted June 12, 2022 Thanks 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