--!strict --[=[ Right grip @class IKRightGrip ]=] local require = require(script.Parent.loader).load(script) local Binder = require("Binder") local IKGripBase = require("IKGripBase") local ServiceBag = require("ServiceBag") local IKRightGrip = setmetatable({}, IKGripBase) IKRightGrip.ClassName = "IKRightGrip" IKRightGrip.__index = IKRightGrip export type IKRightGrip = typeof(setmetatable({} :: {}, {} :: typeof({ __index = IKRightGrip }))) & IKGripBase.IKGripBase function IKRightGrip.new(objectValue: ObjectValue, serviceBag: ServiceBag.ServiceBag): IKRightGrip local self: IKRightGrip = setmetatable(IKGripBase.new(objectValue, serviceBag) :: any, IKRightGrip) self:PromiseIKRig() :Then(function(ikRig) return self._maid:GivePromise(ikRig:PromiseRightArm()) end) :Then(function(rightArm) self._maid:GiveTask(rightArm:Grip(self:GetAttachment(), self:GetPriority())) end) return self end return Binder.new("IKRightGrip", IKRightGrip :: any) :: Binder.Binder