Date: 2016/01/03 23:46:49 UTC-08:00
Type: Denizen Script
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
csgo:
type: world
debug: true
events:
spawnpoints:
l@25,49,-105,world
l@-1,49,-128,world
l@-29,49,-128,world
l@-49,49,-128,world
l@-1,49,-128,world
l@-54,49,-93,world
l@-61,49,-61,world
l@-56,49,-25,world
l@-57,49,-18,world
l@-60,49,19,world
l@-55,49,47,world
l@-54,49,67,world
l@-27,49,85,world
l@-2,49,85,world
l@26,49,58,world
on player death:
- if <player.has_flag[csgo_player]||false> {
- determine cancelled passively
- define victim '<context.entity>'
- define killer '<context.damager>'
- define spawnpoint '<script.yaml_key[spawnpoints].random>'
- define safezone 'l@26,49,48,world'
- teleport %safezone%
- adjust <player> 'spectate:%killer%'
- narrate 'You will respawn in 3 seconds, you are spectating your killer, <def[killer].name>.'
- wait 3s
- teleport %spawnpoint%
- adjust <player> 'spectate:%victim%'
}
on player right clicks wall_sign:
- if <context.location.sign_contents.get[1]> == 'putty' {
- execute as_op 'shot get putty 1'
}
- if <context.location.sign_contents.get[1]> == 'huntingrifle' {
- execute as_op 'shot get hunting 1'
}
- if <context.location.sign_contents.get[1]> == 'carbine' {
- execute as_op 'shot get carbine 1'
}
- if <context.location.sign_contents.get[1]> == 'grenade' {
- execute as_op 'shot get grenade 1'
}
- if <context.location.sign_contents.get[1]> == 'c4' {
- execute as_op 'shot get c4 1'
}
- if <context.location.sign_contents.get[1]> == 'desert eagle' {
- execute as_op 'shot get deagle 1'
}
- if <context.location.sign_contents.get[1]> == 'gauss' {
- execute as_op 'shot get gauss 1'
}
- if <context.location.sign_contents.get[1]> == 'ak-47' {
- execute as_op 'shot get ak-47 1'
}
- if <context.location.sign_contents.get[1]> == 'riotshield' {
- execute as_op 'shot get riotshield 1'
}
- if <context.location.sign_contents.get[1]> == 'toaster' {
- execute as_op 'shot get toaster 1'
}
- if <context.location.sign_contents.get[1]> == 'python' {
- execute as_op 'shot get python 1'
}
- if <context.location.sign_contents.get[1]> == 'flashbang' {
- execute as_op 'shot get flashbang 1'
}
- if <context.location.sign_contents.get[1]> == 'olympia' {
- execute as_op 'shot get olympia 1'
}
- if <context.location.sign_contents.get[1]> == 'airstrike' {
- execute as_op 'shot get airstrike 1'
}
- if <context.location.sign_contents.get[1]> == 'cocopops' {
- execute as_op 'shot get cocopops 1'
}
- if <context.location.sign_contents.get[1]> == 'bazooka' {
- execute as_op 'shot get bazooka 1'
}
- if <context.location.sign_contents.get[1]> == 'trinket' {
- execute as_op 'shot get trinket 1'
}
- if <context.location.sign_contents.get[1]> == 'type95' {
- execute as_op 'shot get type95 1'
}
- if <context.location.sign_contents.get[1]> == 'lobby' {
- teleport <player> 'l@55,49,-77,world'
}