Skip to content

Commit

Permalink
added more scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ItziSpyder committed Aug 11, 2024
1 parent cacd757 commit 4a84c3d
Show file tree
Hide file tree
Showing 5 changed files with 255 additions and 1 deletion.
44 changes: 44 additions & 0 deletions scripts/content/anchor.category
Original file line number Diff line number Diff line change
@@ -1,4 +1,48 @@

```
def module anchor-place
def desc "Places a fully charged anchor when you right click your sword"

on place_block {
if holding #anchor if hotbar_has #glowstone {
switch #glowstone
}
}

on right_click if playing {
if holding #glowstone if_not target_block #anchor {
switch #anchor
}
if hotbar_has #glowstone if holding #anchor if target_block #anchor {
switch #glowstone
}
if holding #sword if_not target_block #anchor if_not target_block #air {
switch #anchor
input use
}
}

on interact_block {
if holding #glowstone if target_block #anchor {
switch #sword
}
}
```

```
def module safe-anchor-y
def desc Press "Y" for safe anchor

on key_press Y if targeting_block !if target_block #air switch #anchor then input right then wait 0.05 then switch :glowstone then input right then wait 0.05 then input sneak then wait 0.05 then input right then wait 0.05 switch #totem
on tick if holding #glowstone_dust wait 0.05 then switch #glowstone
```

```
def module 2-anchor-key
def desc Press N and double anchor with the speed of light

on key_press N if playing wait 0.05 then switch #anchor then input right then wait 0.05 then switch #glowstone then input right then wait 0.05 then switch #anchor then loop 2 input right then wait 0.05 then switch #glowstone then input right then wait 0.05 then switch #anchor then input right
```

```
module create anchor-place;
Expand Down
38 changes: 38 additions & 0 deletions scripts/content/crystal.category
Original file line number Diff line number Diff line change
@@ -1,5 +1,43 @@


```
def module obi-switcher
def desc "Custom Scripted Module"

on tick if playing if input_active use if holding #sword,#crystal if targeting_block !if target_block #air,:charged_respawn_anchor wait 0.001 switch #obsidian then input right
```

```
def module CW-CRYSTALS-LEGIT
def desc CW CRYSTALS LEGIT LOOKING

on tick if playing if holding #crystal if target_block :obsidian {
input right
wait 0.05 if target_entity :end_crystal {
input left
}
}
```

```
def module no-weak
def desc "Allows crystalling even if you have weakness"

on left_click if playing {
if target_entity #crystal if holding #crystal if hotbar_has #sword {
if effect_duration #weak >0 {
switch #sword

wait 0.05 if_not targeting_entity {
if holding #sword {
switch back
}
}
}
}
}
```

```
def module auto-crystal
def desc "Auto detonates end crystals"
Expand Down
28 changes: 27 additions & 1 deletion scripts/content/hacks.category
Original file line number Diff line number Diff line change
@@ -1,5 +1,32 @@


```
def module flight
def desc "Fake flight from walmart"

on tick {
if input_active jump {
velocity ~ 0.5 ~
}
if input_active sneak {
velocity ~ -0.5 ~
}

if input_active forward {
velocity ^ ^ ^0.2
}
if input_active backward {
velocity ^ ^ ^-0.2
}
if input_active strafe_left {
velocity ^-0.2 ^ ^
}
if input_active strafe_right {
velocity ^0.2 ^ ^
}
}
```

```
def module dual-boost
def desc "Left CTRL to boost forward, Right CTRL to backwards"
Expand All @@ -20,5 +47,4 @@ def desc "Allows you to jump while being in the air. You can edit the 0.5 to a h
on key_press space if playing {
velocity ~ 0.5 ~
}

```
135 changes: 135 additions & 0 deletions scripts/content/macros.category
Original file line number Diff line number Diff line change
@@ -1,5 +1,140 @@


```
def module fast-exp
def desc "Uses experience bottles quickly while holding right-click"

on tick if playing if holding #experience {
if input_active use if chance_of 75 {
input use
}
}
```

```
def module all-items-kb
def desc KB for CPvP

on left_click {
if holding #crystal,#obsidian,#pearl,#golden_apple,#pickaxe,#totem,#anchor,#glowstone {
if target_entity :player {
switch #sword
}
}
}
```

```
def module sword-hit
def desc "Guarantees you hit your opponents with a sword"

on left_click if playing {
if target_entity :player {
switch #sword
}
}
```

```
def module middle-click-pearl
def desc "Middle click your mouse to throw a pearl"

on middle_click if hotbar_has #pearl if playing {
switch #pearl
input use

wait 0.05 {
switch back
}
}

on right_click if playing {
if holding :stick if hotbar_has #wool {
switch #wool

wait 0.05 {
switch back
}
}
}
```

```
def module fireball
def desc "Shoots entities when you right click. Change the summon command to change the entities that you shoot."

on right_click if playing wait 0.05 while 0.05 input_active use {
if holding :air {
say "/scoreboard objectives add x dummy"
say "/scoreboard objectives add y dummy"
say "/scoreboard objectives add z dummy"


say "/summon fireball ~ ~1.6 ~ {Tags:[fireball],ExplosionPower:5,Fuse:60,life:9999,damage:100}"
playsound #blast_far 10


say "/execute positioned ~ ~1.6 ~ run summon area_effect_cloud ^ ^ ^10 {Duration:10,Tags:[fireball_target]}"
say "/execute positioned ~ ~1.6 ~ run data modify entity @e[tag=fireball,limit=1,sort=nearest] Owner set from entity @s UUID"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result score @s x run data get entity @s Pos[0] 100"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result score @s y run data get entity @s Pos[1] 100"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result score @s z run data get entity @s Pos[2] 100"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball_target,limit=1,sort=nearest] at @s run execute store result score @s x run data get entity @s Pos[0] 100"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball_target,limit=1,sort=nearest] at @s run execute store result score @s y run data get entity @s Pos[1] 100"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball_target,limit=1,sort=nearest] at @s run execute store result score @s z run data get entity @s Pos[2] 100"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result score @s x run scoreboard players operation @e[type=area_effect_cloud,tag=fireball_target,limit=1,sort=nearest] x -= @s x"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result score @s y run scoreboard players operation @e[tag=fireball_target,limit=1,sort=nearest] y -= @s y"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result score @s z run scoreboard players operation @e[tag=fireball_target,limit=1,sort=nearest] z -= @s z"
say "/kill @e[type=area_effect_cloud,tag=fireball_target,limit=1,sort=nearest]"

say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result entity @s power[0] double 0.0001 run scoreboard players get @s x"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result entity @s power[1] double 0.0001 run scoreboard players get @s y"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result entity @s power[2] double 0.0001 run scoreboard players get @s z"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result entity @s Motion[0] double 0.002 run scoreboard players get @s x"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result entity @s Motion[1] double 0.002 run scoreboard players get @s y"
say "/execute positioned ~ ~1.6 ~ as @e[tag=fireball,limit=1,sort=nearest] at @s run execute store result entity @s Motion[2] double 0.002 run scoreboard players get @s z"

say "/scoreboard objectives remove x"
say "/scoreboard objectives remove y"
say "/scoreboard objectives remove z"
}
}
```

```
def module double-clicker
def desc "Clicks a second time when you release your mouse"

on left_release if playing {
input attack
}

on right_release if playing {
input use
}
```

```
def module new-world
def desc "Use this script to help set up new creative worlds."

on key_press - if playing execute_period 0.05 {
say "/gamemode creative"
say "/gamerule keepInventory true"
say "/difficulty peaceful"
say "/gamerule doDaylightCycle false"
say "/gamerule doWeatherCycle false"
say "/gamerule doMobSpawning false"
say "/weather clear"
say "/time set day"
say "/clear"

loop_period 3 1 {
say "/kill @e[type=!player]"
}
}
```

```
def module coherent-trigger-bot
def desc "Coherent Client's Trigger Bot"
Expand Down
11 changes: 11 additions & 0 deletions scripts/content/totem.category
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@


```
def module auto-totem
def desc "Most blatant one ever"

on totem_pop if playing {
if inventory_has #totem {
gui_swap #totem
}
}
```

```
def module legit-auto-totem
def desc "Automatically replenishes your totems in your inventory"
Expand Down

0 comments on commit 4a84c3d

Please sign in to comment.