fix stuff, add percentage bar

This commit is contained in:
Reid 2023-08-13 03:16:17 -07:00
parent c4c0dc879e
commit f9403100de
4 changed files with 71 additions and 6 deletions

View file

@ -24,13 +24,13 @@ const slot: Hooks.FC<slotProps> = (props, hooks) => {
const { clientState } = useWorldContext(hooks)
const handleActivated = (): void => {
const handleActivated = (): void => {
tool.Parent !== clientState.character
? clientState.character.Humanoid.EquipTool(tool)
: clientState.character.Humanoid.UnequipTools()
}
// maybe opt this into our system for inputs?
// TODO: maybe opt this into our system for inputs?
useEffect(() => {
const guid = HttpService.GenerateGUID(false)
ContextActionService.BindAction(