#Run Script

35 messages · Page 1 of 1 (latest)

lofty nymph
#

studio** You are now Level 2! **studio

amber flare
#

i fixed it just now

#

well

#

I am trying to make like if you hold shift you get better speed

#

oh

#

lol

#

actually, I encountered a problem now

#

oof

#

So I have two buttons one for crouch one for sprint/run

#

but the problem is

#

I made it so if the crouch is active the sprint should be disabled

#

Well yeah

#

one sec

#

the longer one is the sprint

#

they are local scripts

#

and I want to make it so the sprinting animation stops before I crouch down

#

So the problem is

#

when I hold shift and press C at the same time I crouch down but when I get up I am still doing the running animation

#

yeah thats the thing I still don't get how I could do that

#

cause the scripts are local

#

Wait

#

I got an idea

#

if the speed is 0 the animation should stop

#

Dosen't it mean that two scripts can't "interact" with eachother?

#

bruh

#

my brain

#

my life

#

u are right

#

let me try that real quick

#

also thank you for the help

#

Well I just don't really know how tbh. Pretty new to scripting

#

@lofty nymph Thank you

#

It worked

#

wait