Old Skript
new Skript
Notes:
prefix = &f[&2CubedPVPED&f] & is fully Customizealbe!
trail = barrier block
time for full trail to complete = 30 minutes
Code:
command /Trailon:
permission: skript.trail
trigger:
if player doesn't have permission "skript.trailon":
make console execute command "/pex user %player% add skript.trailon"
wait 1 tick
else:
send "[&2cubedpvped&f] &6trail is on" to player
if player has permission "skript.trailon":
loop 9999:
if player has permission "skript.trailon":
make player execute command "/execute at %player% run particle minecraft:campfire_cozy_smoke ~ ~ ~ 0 0 0 0.0001 5 force"
if player has permission "skript.trailon":
send "[&2cubedpvped&f] &6trail ended" to player
Code:
every 10 seconds:
set {prefix.chat} to "&f[&2CubedPVPED&f]"
# chat prefix!
# code Made by EmperorOfWater
command /Trailon:
permission: skript.trail
trigger:
if {%player%.Trail} is false:
set {%player%.Trail} to true
wait 1 tick
else:
send "%{prefix.chat}% &6trail is on" to player
stop
if {%player%.Trail} is true:
send "%{prefix.chat}% &6trail will End in 30 minutes unless you do /trailoff" to player
loop 25000 times:
if {%player%.Trail} is true:
make console execute command "/execute at %player% run particle minecraft:barrier ~ ~ ~ 0 0 0 0.0001 5 force"
wait 2 tick
if player has permission "skript.trailon":
set {%player%.Trail} to false
send "%{prefix.chat}% &6trail ended" to player
stop
command /Trailoff:
permission: skript.trail
trigger:
if {%player%.Trail} is true:
set {%player%.Trail} to false
send "%{prefix.chat}% &6trail ended" to player
else:
send "%{prefix.chat}% &6trail not on" to player
set {%player%.Trail} to false
prefix = &f[&2CubedPVPED&f] & is fully Customizealbe!
trail = barrier block
time for full trail to complete = 30 minutes
Last edited: