options:
SpeedUpTime: speed_up_time
SlowDownTime: slow_down_time
on join:
give player a clock named "&6Time Control Pad"
on right click with clock:
if player's held item is named "&6Time Control Pad":
open chest with 1 rows named "&7Time Control Settings" to player
format slot 0 of player with paper named "&aSpeed Up Time" to close then run:
set {player_time_control.%player%} to {@SpeedUpTime}
send "&aYou chose to speed up time when you kill someone." to player
format slot 1 of player with paper named "&cSlow Down Time" to close then run:
set {player_time_control.%player%} to {@SlowDownTime}
send "&cYou chose to slow down time when you kill someone." to player
on death of player:
attacker is a player
victim is a player
if {player_time_control.%attacker%} is {@SpeedUpTime}:
increase server's ticks per second by 1
send "&aYou have increased the tick speed by 1." to attacker
if {player_time_control.%attacker%} is {@SlowDownTime}:
decrease server's ticks per second by 1
send "&cYou have decreased the tick speed by 1." to attacker
On joining, you get a time control pad
You can set if you want to speed up time or slow down time
If you choose speed up time, it makes it so when you kill someone it'll increase the tick speed.
If you choose slow down time, it makes it so when you kill someone it'll decrease the tick speed.
thats the skript idea