Cadastrar
Login
Novo texto
Português
English
Português
Cadastrar
Login
Novo Texto
Importar Arquivo
//MegaTom : Welcome, welcome, Script to move a tempblock from it's position away from the player by 1 block //Click a message block to create blocks starting position #StartBlock cmd tempblock 0 {blockx} 129 {blockz} set blockx 206 set blockz 279 cmd tempblock 1 {blockx} 129 {blockz} quit //-------------------------------------------------------------First Conditions #MoveBlock set MBXtemp {MBX} setsub MBXtemp 1 if blockx|=|MBXtemp goto #BlockXm set MBXtemp {MBX} setadd MBXtemp 1 if blockx|=|MBXtemp goto #BlockXp set MBZtemp {MBZ} setsub MBZtemp 1 if blockz|=|MBZtemp goto #BlockZm set MBZtemp {MBZ} setadd MBZtemp 1 if blockz|=|MBZtemp goto #BlockZp quit #MoveBlock2 set MBXtemp {MBX} setsub MBXtemp 1 if blockx|=|MBXtemp goto #BlockXm set MBXtemp {MBX} setadd MBXtemp 1 if blockx|=|MBXtemp goto #BlockXp set MBZtemp {MBZ} setsub MBZtemp 1 if blockz|=|MBZtemp goto #BlockZm set MBZtemp {MBZ} setadd MBZtemp 1 if blockz|=|MBZtemp goto #BlockZp quit //-------------------------------------------------------------Second Conditions //Front #BlockXm set MBZtemp {MBZ} if blockz|=|MBZtemp goto #PlaceBlockxmz quit //Back #BlockXp set MBZtemp {MBZ} if blockz|=|MBZtemp goto #PlaceBlockxpz quit //Left #BlockZm set MBXtemp {MBX} if blockx|=|MBXtemp goto #PlaceBlockxzm quit //Right #BlockZp set MBXtemp {MBX} if blockx|=|MBXtemp goto #PlaceBlockxzp quit //-------------------------------------------------------------Position to place #PlaceBlockxmz cmd tempblock 0 {blockx} 129 {blockz} set MBXtemp {MBX} setsub MBXtemp 2 set blockx {MBXtemp} set blockz {MBZ} cmd tempblock 1 {blockx} 129 {blockz} if blockx|=|211 goto #winCheck quit #PlaceBlockxpz cmd tempblock 0 {blockx} 129 {blockz} set MBXtemp {MBX} setadd MBXtemp 2 set blockx {MBXtemp} set blockz {MBZ} cmd tempblock 1 {blockx} 129 {blockz} if blockx|=|211 goto #winCheck quit #PlaceBlockxzm cmd tempblock 0 {blockx} 129 {blockz} set MBZtemp {MBZ} setsub MBZtemp 2 set blockx {MBX} set blockz {MBZtemp} cmd tempblock 1 {blockx} 129 {blockz} if blockx|=|211 goto #winCheck quit #PlaceBlockxzp cmd tempblock 0 {blockx} 129 {blockz} set MBZtemp {MBZ} setadd MBZtemp 2 set blockx {MBX} set blockz {MBZtemp} cmd tempblock 1 {blockx} 129 {blockz} if blockx|=|211 goto #winCheck quit #winCheck if blockz|=|273 goto #win quit #win msg %eCONGRATZ!! You are a big winner! cmd tempblock 0 {blockx} 129 {blockz} set blockx 206 set blockz 279 cmd tempblock 1 {blockx} 129 {blockz} quit //Monster //--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- #StartMonster cmd tempblock 0 {monsterx} 129 {monsterz} set monsterx 236 set monsterz 270 cmd tempblock 1 {monsterx} 129 {monsterz} quit //-------------------------------------------------------------First Conditions #MoveMonster set MONSTERXtemp {MBX} setsub MONSTERXtemp 1 if monsterx|=|MONSTERXtemp goto #monsterxm set MONSTERXtemp {MBX} setadd MONSTERXtemp 1 if monsterx|=|MONSTERXtemp goto #monsterxp set MONSTERZtemp {MBZ} setsub MONSTERZtemp 1 if monsterz|=|MONSTERZtemp goto #monsterzm set MONSTERZtemp {MBZ} setadd MONSTERZtemp 1 if monsterz|=|MONSTERZtemp goto #monsterzp //The monster will move towards you set PlayerXtemp {PlayerX} set PlayerZtemp {PlayerZ} if monsterx|>|PlayerXtemp goto #monsterToPlayerXm if monsterx|<|PlayerXtemp goto #monsterToPlayerXp if monsterz|>|PlayerZtemp goto #monsterToPlayerZm if monsterz|<|PlayerZtemp goto #monsterToPlayerZp quit #MoveMonster2 set MONSTERXtemp {MBX} setsub MONSTERXtemp 1 if monsterx|=|MONSTERXtemp goto #monsterxm set MONSTERXtemp {MBX} setadd MONSTERXtemp 1 if monsterx|=|MONSTERXtemp goto #monsterxp set MONSTERZtemp {MBZ} setsub MONSTERZtemp 1 if monsterz|=|MONSTERZtemp goto #monsterzm set MONSTERZtemp {MBZ} setadd MONSTERZtemp 1 if monsterz|=|MONSTERZtemp goto #monsterzp //The monster will move towards you set PlayerXtemp {PlayerX} set PlayerZtemp {PlayerZ} if monsterx|>|PlayerXtemp goto #monsterToPlayerXm if monsterx|<|PlayerXtemp goto #monsterToPlayerXp if monsterz|>|PlayerZtemp goto #monsterToPlayerZm if monsterz|<|PlayerZtemp goto #monsterToPlayerZp quit //-------------------------------------------------------------Towards player #monsterToPlayerXm cmd tempblock 0 {monsterx} 129 {monsterz} setsub monsterx 1 cmd tempblock 1 {monsterx} 129 {monsterz} quit #monsterToPlayerXp cmd tempblock 0 {monsterx} 129 {monsterz} setadd monsterx 1 cmd tempblock 1 {monsterx} 129 {monsterz} quit #monsterToPlayerZm cmd tempblock 0 {monsterx} 129 {monsterz} setsub monsterz 1 cmd tempblock 1 {monsterx} 129 {monsterz} quit #monsterToPlayerZp cmd tempblock 0 {monsterx} 129 {monsterz} setadd monsterz 1 cmd tempblock 1 {monsterx} 129 {monsterz} quit //-------------------------------------------------------------Second Conditions #monsterxm set MONSTERZtemp {MBZ} if monsterz|=|MONSTERZtemp goto #Deathmonsterxmz quit #monsterxp set MONSTERZtemp {MBZ} if monsterz|=|MONSTERZtemp goto #Deathmonsterxpz quit #monsterzm set MONSTERXtemp {MBX} if monsterx|=|MONSTERXtemp goto #Deathmonsterxzm quit #monsterzp set MONSTERXtemp {MBX} if monsterx|=|MONSTERXtemp goto #Deathmonsterxzp quit //-------------------------------------------------------------Death #Deathmonsterxmz kill quit #Deathmonsterxpz kill quit #Deathmonsterxzm kill quit #Deathmonsterxzp kill quit
Configurações do Texto
Título do Texto :
[Opcional]
Guardar na Pasta :
[Opcional]
Selecionar
Syntax Highlighting :
[Opcional]
Selecionar
Markup
CSS
JavaScript
Bash
C
C#
C++
Java
JSON
Lua
Plaintext
C-like
ABAP
ActionScript
Ada
Apache Configuration
APL
AppleScript
Arduino
ARFF
AsciiDoc
6502 Assembly
ASP.NET (C#)
AutoHotKey
AutoIt
Basic
Batch
Bison
Brainfuck
Bro
CoffeeScript
Clojure
Crystal
Content-Security-Policy
CSS Extras
D
Dart
Diff
Django/Jinja2
Docker
Eiffel
Elixir
Elm
ERB
Erlang
F#
Flow
Fortran
GEDCOM
Gherkin
Git
GLSL
GameMaker Language
Go
GraphQL
Groovy
Haml
Handlebars
Haskell
Haxe
HTTP
HTTP Public-Key-Pins
HTTP Strict-Transport-Security
IchigoJam
Icon
Inform 7
INI
IO
J
Jolie
Julia
Keyman
Kotlin
LaTeX
Less
Liquid
Lisp
LiveScript
LOLCODE
Makefile
Markdown
Markup templating
MATLAB
MEL
Mizar
Monkey
N4JS
NASM
nginx
Nim
Nix
NSIS
Objective-C
OCaml
OpenCL
Oz
PARI/GP
Parser
Pascal
Perl
PHP
PHP Extras
PL/SQL
PowerShell
Processing
Prolog
.properties
Protocol Buffers
Pug
Puppet
Pure
Python
Q (kdb+ database)
Qore
R
React JSX
React TSX
Ren'py
Reason
reST (reStructuredText)
Rip
Roboconf
Ruby
Rust
SAS
Sass (Sass)
Sass (Scss)
Scala
Scheme
Smalltalk
Smarty
SQL
Soy (Closure Template)
Stylus
Swift
TAP
Tcl
Textile
Template Toolkit 2
Twig
TypeScript
VB.Net
Velocity
Verilog
VHDL
vim
Visual Basic
WebAssembly
Wiki markup
Xeora
Xojo (REALbasic)
XQuery
YAML
HTML
Expiração do Texto :
[Opcional]
Nunca
Auto Destruir
10 Minutos
1 Hora
1 Dia
1 Semana
2 Semanas
1 Mês
6 Meses
1 Ano
Status do Texto :
[Opcional]
Público
Não Listado
Privado (somente membros)
Senha :
[Opcional]
Descrição:
[Opcional]
Tags:
[Opcional]
Criptografar Texto
(
?
)
Criar Novo Texto
No momento você não está logado, isso significa que você não pode editar ou excluir nada que você poste.
Cadastre-se
ou faça o
Login
Idiomas do site
×
English
Português
Você gosta de cookies?
🍪 Usamos cookies para garantir que você obtenha a melhor experiência em nosso site.
Saber mais
Concordo