Date: 2020/06/24 16:34:23 UTC-07: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
#+ ---------------------------------------------------------------------------------------------
#| _ _ _
#| | | | (_)
#| | |_ _ __ __ _ _ __ ___ _ __ ___ | |_ _ __ ___
#| | __| '__/ _` | '_ ` _ \| '_ \ / _ \| | | '_ \ / _ \
#| | |_| | | (_| | | | | | | |_) | (_) | | | | | | __/
#| \__|_| \__,_|_|_|_| |_| .__/ \___/|_|_|_| |_|\___| _ _
#| | | (_) | | | | | | | | | |
#| | |__ _ _ _ _ _|_|_| |_ | |__ _ __ ___ __ _ __| | ___ _ __ _ _ _ __ ___ | |__
#| | '_ \| | | | | | | | / __| __| | '_ \| '__/ _ \/ _` |/ _` |/ __| '__| | | | '_ ` _ \| '_ \
#| | |_) | |_| | | | |_| \__ \ |_ | |_) | | | __/ (_| | (_| | (__| | | |_| | | | | | | |_) |
#| |_.__/ \__, | | |\__,_|___/\__| |_.__/|_| \___|\__,_|\__,_|\___|_| \__,_|_| |_| |_|_.__/
#| __/ | _/ |
#| |___/ |__/
#| and some help from MoonstoneStudios
#+ ---------------------------------------------------------------------------------------------- i do this with all my scriptss
# you can replace the sponge with the cosmetic thing. it is just for testing
trampoline_cosmetic:
type: world
events:
on player right clicks with:slime_block:
- run create_trampoline
- determine canceled
create_trampoline:
type: task
script:
#makes the cuboid
- note <cuboid[<player.location.add[1,0,2]>|<player.location.add[-1,1,4]>]> as:trampoline
#bottom middle
- modifyblock <player.location.add[0,0,2]> slime_block
- playeffect effect:TOTEM at:<player.location.add[0,1,2]> quantity:35
#middle
- modifyblock <player.location.add[0,0,3]> slime_block
- playeffect effect:TOTEM at:<player.location.add[0,1,3]> quantity:35
#top middle
- modifyblock <player.location.add[0,0,4]> slime_block
- playeffect effect:TOTEM at:<player.location.add[0,1,4]> quantity:35
#bottom left
- modifyblock <player.location.add[1,0,2]> slime_block
- playeffect effect:TOTEM at:<player.location.add[1,1,2]> quantity:35
#middle left
- modifyblock <player.location.add[1,0,3]> slime_block
- playeffect effect:TOTEM at:<player.location.add[1,1,3]> quantity:35
#top left
- modifyblock <player.location.add[1,0,4]> slime_block
- playeffect effect:TOTEM at:<player.location.add[1,1,4]> quantity:35
#bottom right
- modifyblock <player.location.add[-1,0,2]> slime_block
- playeffect effect:TOTEM at:<player.location.add[-1,1,2]> quantity:35
#middle right
- modifyblock <player.location.add[-1,0,3]> slime_block
- playeffect effect:TOTEM at:<player.location.add[-1,1,3]> quantity:35
#top right
- modifyblock <player.location.add[-1,0,4]> slime_block
- playeffect effect:TOTEM at:<player.location.add[-1,1,4]> quantity:35
- wait 30s
#will remove the slimeblocks in the cuboid
- wait 3s
- modifyblock <cuboid[trampoline]> air
- note remove <cuboid[trampoline]>
goes_on_trampoline:
type: world
events:
after player enters trampoline:
- shoot <player> speed:10