Rise 6 Scripting API
  • Introduction
  • Examples
    • Simple vanilla hop
    • Simple collide fly bypass
    • Events example
    • Example settings
    • Exempted value speed bypass
    • Packet nofall
    • Killaura
    • Arraylist
  • API Documentation
    • Scripting metadata
    • Objects
      • FontRenderer
      • Vector
        • Vector3
        • Vector2
      • ItemStack
      • BlockPos
      • Block
      • Inventory
      • Command
      • Module
      • EntityLiving
      • Entity
    • Global namespaces
      • render
      • input
      • world
      • rise
      • player
      • mc
      • network
      • packet
    • Events
      • Load event
      • Unload event
      • Module events
        • Attack event
        • World Change Event
        • Module Toggle Event
        • Server Kick event
        • Game event
        • Chat input event
        • Click event
        • Entity render event
        • Hit slow down event
        • Jump event
        • Keyboard Input event
        • Kill event
        • Move input event
        • Post motion event
        • Pre motion event
        • Strafe event
        • Pre update event
        • Render 2D event
        • Render 3D event
        • Water event
        • Tick event
        • Slow down event
      • onExecute event
Powered by GitBook
On this page
  • This event is cancellable.
  • setForwardMultiplier(multiplier): Undefined
  • setStrafeMultiplier(multiplier): Undefined
  • getStrafeMultiplier(): Undefined
  • getForwardMultiplier(): Undefined
  1. API Documentation
  2. Events
  3. Module events

Slow down event

This page goes over the onSlowDown event.

PreviousTick eventNextonExecute event

Last updated 2 years ago

This event is .

This event will be called upon player being slowed down by blocking or using a consumable item. Handler name is onSlowDown.

setForwardMultiplier(multiplier): Undefined

Argument
Type
Description

multiplier

Number

Amount of forward slowdown to apply.

Sets the amount of forward slowdown. Default value is 0.2.

setStrafeMultiplier(multiplier): Undefined

Argument
Type
Description

multiplier

Number

Amount of strafe slowdown to apply.

Sets the amount of strafe slowdown. Default value is 0.2.

getStrafeMultiplier(): Undefined

Returns the strafe multiplier.

getForwardMultiplier(): Undefined

Returns the forward multiplier.

cancellable