Date: 2020/07/29 17:42:01 UTC-07:00
Type: Denizen Script
OnPLayerEntersSurvivalSpawn:
type: world
events:
on server start:
- wait 1t
- run MakeSpawnCuboidForSurvival
MakeSpawnCuboidForSurvival:
type: task
script:
- note <cuboid[<location[-2609,0,798,world]>|<location[-2506,256,693,world]>]> as:SurvivalSpawn
NoBreakSpawn:
type: world
events:
on player breaks block in:SurvivalSpawn:
- playeffect effect:SMOKE_NORMAL quantity:2 at:<context.location> visibility:10
- define message <list["Nope."|"Hahahaha no."|"Stop that"|"<>>:("|"D:<>>"|"erd5ft7yg8unoiop"list["Nope."|"Hahahaha no."|"Stop that"|"<>>:("|"D:<>>"|"erd5ft7yg8unoiop"].random>
- actionbar <&4><[message]> targets:<player>
- determine cancelled