#Blocking System

1 messages · Page 1 of 1 (latest)

trail lily
#

I tried to fuse the basic combat and blocking from vuuks studio videos, it works but very inconsistently and I cant figure out why. Sometimes it will block for a very brief moment, and others it will hold the block even if u release M2

#

ComabatClient is a local script in Starterpack while ServerCombat is in serverscriptservice

winged gladeBOT
#

studio** You are now Level 1! **studio

plain musk
soft sinew
#

then you detect it stopping using UIS.InputEnded

soft sinew
#

or blocking

#

and prevent any m1 from happening

#

while blocking is enable

trail lily
#

Thank you guys

#

new code for combatclient

trail lily
#

There a new bug now

#

it still lets me attack while blocking

soft sinew
#

you need to check if blockign is true

#

when you attempt to m1

#
if I.UserInputType == Enum.UserInputType.MouseButton1 and not blocking then
--Code here
end