fix stuff, add percentage bar
This commit is contained in:
parent
c4c0dc879e
commit
f9403100de
4 changed files with 71 additions and 6 deletions
|
@ -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>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue