moonscript
Search…
moonscript
Main page
Setup moonscript
How to use moonscript
Documentation
Examples
BHop
Spinbot
API
Events
Functions
Objects
Powered By
GitBook
BHop
Simple Bunny Hop script made with moonscript
This simple script will make you go faster:
1
var
module
=
moduleManager
.
addModule
(
"BHop"
,
"Simple BHop Script"
,
"Bunny Hop"
);
2
3
module
.
hook
(
"eventMotion"
,
function
(
event
)
{
4
if
(
player
.
moving
())
{
5
if
(
player
.
onGround
())
{
6
event
.
y
=
0.42
7
player
.
setMotionY
(
0.42
)
8
}
9
10
player
.
setMovementSpeed
(
event
,
0.6
)
11
}
12
return
event
13
})
Copied!
Documentation - Previous
Examples
Next
Spinbot
Last modified
1yr ago
Copy link