#Need help with learning LUAU

1 messages · Page 1 of 1 (latest)

rigid fossil
#

I don't know where to learn more I feel stuck

low arrow
rigid fossil
#

im reading it

#

i want to make a system

#

but i want to be able to fix it to

urban kayak
#

i would suggest looking at your current experience

#

if your a beginner

#

i would suggest going through the easy and essential parts like variables and enums first

#

before going on to more advanced stuff like coroutines

#

if you feel like your stuck in the middle

#

try something new

#

like for example

#

making a simple minigame

maiden marsh
#

and before anyone says anything about how Lua is not Luau, go fuck yourself

#

same concepts, different implementation, different features

rigid fossil
#

im trying to make a movement system

#

i already have the walk

#

how do i make it speed up then play another animation

#

People always saying to learn the basics

#

but i don't know what the basics are

rigid fossil
#

@low arrow

maiden marsh
#

that is going to be an important skill

maiden marsh
#

for example, "speed up then play another animation" sounds like you're trying to transition from walking to running and have your humanoid.WalkSpeed reflect the transformation

#

you should know that humanoid.WalkSpeed is a "property" of the "humanoid" which is an "instance" inside the character "model"

#

these are terms and concepts that make up part of the overall structure of Roblox's engine

#

you may want to look into tweenservice for the walkspeed transition and perhaps use getpropertychangedsignal on walkspeed to detect when the walkspeed has reached past a certain value and meets the criteria of your running animation, then just play your running animation and stop the walking animation

know that this will likely involve discarding or at least modifying the default Roblox animation handler and you may need to understand how animations are replicated or how to make your own replicator in the case that you prefer something more precise

#

cache your animations, don't just LoadAnimation every single time as that is a memory leak

rigid fossil
rigid fossil
#

i want to make a bleach game

#

but idk how they make like a progression for a certain category of race

#

Nvm

#

i haven't done the speed up thing yet

rigid fossil
#

does this sound right

#

Humanoid.walkspeed increase then play animation

#

or is that wrong

maiden marsh
#

you would interpolate your walkspeed over time, and at half of that time, for example, you might play the animation

#

some hints:

tweenservice, humanoid:GetPropertyChangedSignal("WalkSpeed"), animationtrack:Play(0)

rigid fossil
#

what is

#

tweenservice

#

yk imma read about it