-
Notifications
You must be signed in to change notification settings - Fork 5
/
NewSpawn.sk
43 lines (42 loc) · 1.49 KB
/
NewSpawn.sk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
on pressure plate:
if player is in world "spawn":
if tps > 15:
remove speed from player
apply speed 5 to player for 4 seconds
if player is in world "Hub":
if tps > 15:
remove speed from player
apply speed 8 to player for 4 seconds
command /rainbow:
permission: is.op
trigger:
if {lastrainbow} was less than 20 seconds ago:
message "please wait"
stop
set {lastrainbow} to now
loop 200 times:
spawn undroppable falling block of red wool block at {pos::rainbowredspawn}
push last spawned entity up
push last spawned entity up
push last spawned entity south
spawn undroppable falling block of orange wool block at {pos::rainboworangespawn}
push last spawned entity up
push last spawned entity up
push last spawned entity south
spawn undroppable falling block of yellow wool block at {pos::rainbowoyellowspawn}
push last spawned entity up
push last spawned entity up
push last spawned entity south
spawn undroppable falling block of light green wool block at {pos::rainbowolimespawn}
push last spawned entity up
push last spawned entity up
push last spawned entity south
spawn undroppable falling block of light blue wool block at {pos::rainbowobluespawn}
push last spawned entity up
push last spawned entity up
push last spawned entity south
spawn undroppable falling block of purple wool block at {pos::rainbowopurplespawn}
push last spawned entity up
push last spawned entity up
push last spawned entity south
wait 1 ticks