juju scripting documentation
  • Scripting Documentation
  • Creating a script
    • Necessities
      • Example Script
      • Example Script 2
      • Example Script 3
  • Documentation
    • Elements
      • Element Properties
      • Element API
    • Utility Functions
  • Da Hood
    • Signals
    • Functions
Powered by GitBook
On this page
  • on_local_character_loaded
  • on_local_bullet_confirmed
  • on_local_health_changed
  • on_local_armor_changed
  • on_player_bullet_fired
  • on_local_bullet_failed
  • on_local_bullet_fired
  • on_local_reload
  • on_local_knocked
  • on_legitbot_target_changed
  • on_ragebot_target_changed
  • on_bounty_placed
  • on_shot_at
  • on_rpg_fired
  • on_stomp
  • on_vehicle_sat_in
  1. Da Hood

Signals

These signals can be grabbed from juju.get_signal, and may or may not be exclusive to the Da Hood script.

on_local_character_loaded

Return Arguments
Type
Description

true

Boolean (True)

N/A

on_local_bullet_confirmed

Return Arguments
Type
Description

player

Instance (Player)

The player the local player's shot hit

part

Instance (BasePart)

The part the local player's shot hit

damage

String

The damage the local player's shot dealt

shot count

Number

The amount of times the local player has fired

message

String or nil

Used for providing more ragebot data

on_local_health_changed

Return Arguments
Type
Description

health

Number

The local player's new health

on_local_armor_changed

Return Arguments
Type
Description

armor

Number

The local player's new armor value

on_player_bullet_fired

Return Arguments
Type
Description

object

Instance (Part)

The original bullet part

beam

Instance (Beam)

The original bullet beam

hit position

CFrame

The CFrame at which the bullet landed

is local

Boolean (False)

The bullet is from a player

on_local_bullet_failed

Return Arguments
Type
Description

player

Instance (Player)

The player the local player's shot failed to hit

part

Instance (BasePart)

The part the local player's shot failed to hit

message

String

Used for providing more ragebot data

shot count

Number

The amount of times the local player has fired

on_local_bullet_fired

Return Arguments
Type
Description

object

Instance (Part)

The original bullet part

beam

Instance (Beam)

The original bullet beam

hit position

CFrame

The CFrame at which the bullet landed

is local

Boolean (True)

The bullet is from the local player

on_local_reload

Return Arguments
Type
Description

reloading

Boolean

The local player's reloading status

on_local_knocked

Return Arguments
Type
Description

knocked

Boolean

The local player's knocked status

on_legitbot_target_changed

Return Arguments
Type
Description

player

Player or nil

The new legitbot target

on_ragebot_target_changed

Return Arguments
Type
Description

player

Player or nil

The new ragebot target

on_bounty_placed

Return Arguments
Type
Description

player

Player

The player who had the bounty set on them

amount

Number

The bounty amount

on_shot_at

Return Arguments
Type
Description

player

Player

The player who shot you

position

Vector3

The position where you were hit

on_rpg_fired

Return Arguments
Type
Description

rocket

Instance

The rocket's "Launcher" part

position

Vector3

1000 studs in the direction of the RPG (after 1000 studs, RPG's disappear)

You must raycast yourself if you'd like the ending position of the RPG.

on_stomp

Return Arguments

None

on_vehicle_sat_in

Return Arguments
Type
Description

vehicle

Part or nil

The vehicle (in workspace.Vehicles) that the local player sat in; returns nil if they get off one

position

Vector3

1000 studs in the direction of the RPG (after 1000 studs, RPG's disappear)

PreviousUtility FunctionsNextFunctions

Last updated 24 days ago