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

@ -3,12 +3,16 @@ import Hooks from "@rbxts/roact-hooks"
import Slot from "./slot"
import { useWorldContext } from "../contexts/worldContext"
import Padding from "ReplicatedStorage/ui/padding"
import { StarterGui } from "@rbxts/services"
interface hotbarProps extends Roact.JsxInstanceProperties<Frame> {
Event?: Roact.JsxInstanceEvents<Frame>
Change?: Roact.JsxInstanceChangeEvents<Frame>
}
// no fuck off
StarterGui.SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false)
const hotbar: Hooks.FC<hotbarProps> = (props, hooks) => {
const spreadableProps = { ...props } as Partial<hotbarProps>