I wanna make a animation controller, for easy animations
i write this:
local AnimationController = {
['Animations'] = {
['Hold'] = {
['HoldType'] = {
['None'] = nil,
['Pistol'] = nil,
['ShotGun'] = nil,
['Rifle'] = nil,
['HoldItem'] = nil,
},
['HoldType_Attack'] = {
[1] = nil,
[2] = nil,
},
['HoldType_Handedness'] = {
['RH'] = nil,
['2H'] = nil,
['LH'] = nil,
},
['HoldType_Pose'] = 0.00,
},
['States'] = {
['Idle'] = {
['Idle1'] = nil,
['Idle2'] = nil,
},
['Walking'] = nil,
['Run'] = nil,
}
},
}
local Player = game.Players.LocalPlayer
local Character = Player.Character
local Humanoid = Character.Humanoid
function AnimationController.HoldAnimation(HoldType, HoldType_Attack, HoldType_Handedness, HoldType_Pose, isAttacking)
if isAttacking == false then
Humanoid:LoadAnimation(HoldType .. '_' .. HoldType_Handedness)
elseif isAttacking == true then
end
end
return AnimationController
And i think at this step: It possible, should it work or no? And im go here for answer
Help pls.