#I need help

1 messages · Page 1 of 1 (latest)

shadow apex
#

so i followed this https://youtu.be/u5uMd9KjQO8?si=dwYz_74985wa_UuU
dash step tutorial and did everything but for some reason it doesnt work for me the "local script" is inside StarterCharacterScripts and the "Script" is inside server script service Please Help

loud path
shadow apex
#

it shows me Flashsteps: 3 but when i press Q

#

nothing happens

loud path
loud path
#

The error is telling you exactly whats wrong

#

You typed Player instead of Players on line 3 in the server script

shadow apex
loud path
#

Thats at least one of the issues

shadow apex
#

ill fix them 1 by 1

loud path
#

I don't know if there are more

#

depends on if the code works when you test it

shadow apex
loud path
#

That is way too much effort I am just trying to help rq

shadow apex
loud path
shadow apex
#

im testing it rq

shadow apex
#

or line 4?

loud path
#

line 4 sorry

shadow apex
#

doesnt work

shadow apex
#

shit i gtg rq

#

ill be back in 15 mins

#

can you help me then

loud path
#

maybe

#

i'm pretty tired, its 1am

shadow apex
shadow apex
#

k

shadow apex
loud path
shadow apex
shadow apex
#

the flash step count is 2 before i press play

#

but it changes to 3 when i play

daring hatchBOT
#

studio** You are now Level 5! **studio

shadow apex
#

when i press Q it changes to 3

loud path
#

Any errors?

shadow apex
#

@loud path

shadow apex
shadow apex
#

Lol sorry

#

no errors show here

#

in both server script and local script

loud path
#

😭

shadow apex
loud path
#

console, this thing

shadow apex
#

oh output

loud path
#

oh sorry i'm tired

#

also win+shift+s to take a screenshot on windows

shadow apex
shadow apex
loud path
#

case matters

shadow apex
#

The walk speed?

loud path
#

yes

#

Walkspeed isn't a property of humanoids, it doesn't exist

#

WalkSpeed is a property of humanoids

shadow apex
#

Caps or no caps

loud path
#

with a capital S

shadow apex
#

something wierd is happening

#

my character is running at 100 speed even without pressing q

#

OH WAIT

#

I get ut

#

It walks normally

#

but when i press Q once

#

it just starts walking at 100

#

the base speed changes to 100

#

heres how it looks

#

@loud path

loud path
#

Same question as allways, are there any errors in the output?

loud path
#

well thats the lower half of the error, you didn't take a picture of the bit that has the error message in it

shadow apex
#

there

loud path
#

have patience, I am reading the code

shadow apex
loud path
#

So there are a lot of typos in your code

shadow apex
#

.

#

@loud path are you there im sorry for being impatient

#

@loud path can you say anything so i know your there

loud path
#

mm okay so
couple of things

All the typos (that I could find) are on lines 78, 92, 94, and 101
Please read the rest of this though, these problems are just going to happen again

Your not going to learn much copying code one to one from a tutorial. Your just going to keep having this same problem of your code not working and being full of typos. For example, these orange/red lines mean things. If you hover over, it tells you what the problem is. Its telling you the thing you typed doesn't exist. A quick check of your code shows the actual name of the function your trying to call is flashstep not flashStep

The code that tutorial has given you is also kinda bad, I wouldn't really recommend learning much from there

Anyway, take some time and actually learn how to code. With practice you will be able to fix these issues in minutes on your own. And you won't even need tutorials to make awesome things!
Roblox has great learning resources you can use:
https://create.roblox.com/docs/tutorials/fundamentals/coding-1/coding-fundamentals
https://create.roblox.com/docs/tutorials
https://create.roblox.com/docs/scripting

shadow apex
#

The thing is ive watched a bunch of tutorials and im not learning anything

#

but when i mess with premade scripts i learn alot

shadow apex
loud path
#

Generally I recomend against roblox video tutorials, they are often really low quality and don't end up teaching you anything

shadow apex
#

This is whats up now

loud path
#

they just have you copy down a bunch of code without explaining things

shadow apex
#

Heres the truth

#

i really wanted to add this

#

i was inspired by type soul

#

The dash system

#

"Flash step"

#

I wanted to add it to my game

#

i already have a dash script

#

but it wasnt cutting it

#

cus its a normal dash

#

and this is advanced level stuff

#

which i love

loud path
# shadow apex

Same errors as before. I am trying to avoid just flat out telling you the exact things to change to fix the code because I don't think you will learn any debugging skill from that

#

Lets focus on the 2nd error, its easier

shadow apex
loud path
#

Go to the line that that error is referring to and copy paste that line here

shadow apex
#

its refering to line 73

loud path
#

mk good

#

read the error, can you try and figure out what it means?

#

send your best guess here

shadow apex
#

Script index

#

with function enabled

#

= false (which means not true)

#

@loud path

#

Wait

daring hatchBOT
#

studio** You are now Level 6! **studio

shadow apex
#

should i change it to true

loud path
#

no, thats not the issue

shadow apex
loud path
#

I don't think your right (though I don't really understand what you were trying to say). Here is an explanation

The error attempt to index function with 'Enabled'

  • "attempt to" Because its an error, this can be read as "failed to"
  • "index" means "to get a property of". For example, you could "index Humanoid with WalkSpeed" and that would be correct. You "index" things with the . character
  • "function" Because this comes first, right after index, its the first thing. In your flashstep.Enabled = true code its referring to flashstep
  • "with 'Enabled'" The property that was being indexed, you can see its the thing after the .

The error, in more plain english, is saying "Failed to get the "Enabled" property of the flashstep function" or "the flashstep function doesn't have an Enabled property"

What you can draw from this is that the flashstep variable is actually a function, not the vfx Instance you cloned on line 42.
Can you figure out what you should check for next?

shadow apex
loud path
#

no

#

What was your thought process for that?

shadow apex
loud path
#

Cloning it is the correct thing to do, you do want the vfx

#

The problem is variable names again

shadow apex
#

OH

loud path
#

Check the name of the flash step function, the name you gave the flash step vfx, and the name your using when trying to change the Enabled property

shadow apex
#

Capital S

loud path
#

yep 🎉

shadow apex
#

i make it small right?

loud path
#

The name of the function has a small s, you don't want to have conflicting names for things

shadow apex
#

ok

loud path
#

in the code you wrote, it seems the flashStep variable should have a capital S and its jsut typed wrong on line 73

shadow apex
#

Ah so i dont change anything here

#

ill fix it

loud path
#

I would like to continue helping but its now almost 3am and I really want to sleep. I will just tell you the rest of the problems

  • Line 78 Another case issue, you typed flashstep (the function name) instead of flashStep (the vfx name)
  • Line 92 You typed . instead of ,, thats why the error is saying "Failed to index Vector3 (which is root.Position) with root"
  • Line 94 You fixed WalkSpeed in the first spot but didn't fix it here
  • Line 101 Unsure if you fixed this, you had flashStep (the vfx name) instead of flashstep (the funtion name)
loud path
# shadow apex

This is different then the code I have, that needs to be flashStep not flashstep

loud path
# shadow apex

See how there are orange lines here and previous? Its telling you flashStep doesn't exist

#

because you seem to have defined it now as flashstep

loud path
shadow apex
#

so i make that S small in line 73?

shadow apex
loud path
shadow apex
#

in line 73 the S in flashStep small or capital

loud path
shadow apex
#

Thanks so much for taking your precious time and helping me

#

Now you should sleep 😊

#

OH MY GOD

#

IT WORKS

#

THANKS ALOT