#I need a help

1 messages · Page 1 of 1 (latest)

mighty plume
#

ever since i put the code above it error started happening

vagrant lilyBOT
#

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

eager crown
#

hm

mighty plume
#

pls help piple

#

😭

#

i cannot fix

#

i asked on gpt

#

but then my animation wouldn't play

eager crown
#

What did it tell you to change?

mighty plume
#

i mean

#

i did what he said

#

but then my m1s animation wouldn't play

#

@eager crown

eager crown
#

uh well

#

im not sure how to help you with a script but I can explain the issues if thats fine. the server script doesn't check for the Humanoid and that is needed for the animation so so use the localscript for Remoteevent and a normal script for the animation that will be played for the player

#

if you can start anything with that info

mighty plume
#

ill try ig

thorn solstice
mighty plume
#

i did

#

but when i fix it

#

animation dont happen

#

@thorn solstice

thorn solstice
#

so debug it and find out why

mighty plume
#

wdymm

thorn solstice
#

i not your grandma, you're very capable on your own if you just believe in yourself

mighty plume
#

ok

mighty plume
#

@thorn solstice

#

the error says did u forget to implement Attack remote

#

but i put it

mighty plume
#

@proper fog

#

e

proper fog
#

there

#

So the error you need help with?

#

Is it the only one

mighty plume
#

yess

proper fog
#

Are you catching the signal anywhere

#

The error's pretty explanatory already

mighty plume
#

i tried

#

I TRIED MAKING ONSERVEREVENT

#

then

#

the

#

animation dont play

mighty plume
#

it says i dont have

#

a remote event

#

@proper fog

#

Combat Tutorial -- Episode 2

LINK TO THE ANIMATION DUMMY:
https://create.roblox.com/store/asset/109481546579687

Episode 2 of the series on creating a roblox combat system.

Focus of this video is on how to export and play animations. In addition, how to use AnimationMarkers, etc. Caching, and destroying connections that might be leftover, etc....

▶ Play video
#

i am refering this video

#

for my combat system

#

but in the video it doesn't happen

proper fog
#

So you've imported the package into your game I suppose?

vagrant lilyBOT
#

studio** You are now Level 10! **studio

mighty plume
#

no

#

i made the code myself watching tthe video

proper fog
#

built it from scratch? no way DEDiCATION

#

Great work

mighty plume
#

i rechecked the code

#

2 times

proper fog
#

igh np i got u

#

gimme a min

mighty plume
#

still i made 0 mistake

#

ok

proper fog
#

Can you share me the code snippets where you fire the event and catch it (from the two separate scripts)

mighty plume
#

ok

#

come dm or i share here

proper fog
#

share here

#

its np

#

its alr here

mighty plume
#

ill share all my code 💀

proper fog
#

Hey

mighty plume
proper fog
#

I said 'Code snippets"

mighty plume
#

ok

proper fog
#

just copy the segment

mighty plume
#

the error started

#

happening

proper fog
mighty plume
#

module

proper fog
#

So where are you running it from?

mighty plume
#

i removed that particular code but this still happening

proper fog
#

like where do u do require()

#

You're not requiring the module script anywhere?

mighty plume
proper fog
#

Oh mb am I confusing u

mighty plume
#

yes..

#

the code is it is from is "Animations"

proper fog
#

Well see the thing is

#

module script dont run alone

#

it needs to be called from some other scripts

#

either local or server script

mighty plume
#

but

#

it has local script

#

above it

proper fog
#

Correct. But all the local Script does is fire the event

#

You specifically need to do require(path.to.modulescript) somewhere

mighty plume
#

ohh

proper fog
#

bcuz module scripts are just like functions

#

they dont run until invoked

mighty plume
#

icic

#

so where could i add

#

the code?

proper fog
#

in the LocalScript

#

just add require(path to the module script)

mighty plume
#

ok

proper fog
#

require(script.Parent.Animations)

mighty plume
#

still

#

i put the code here

proper fog
#

You just need to require the script once

#

dont put it inside the loop

mighty plume
#

ohh

#

i am rlly new to coding

vagrant lilyBOT
#

studio** You are now Level 3! **studio

proper fog
#

Also new problem is bcuz

mighty plume
#

i only know python

proper fog
#

Well, its all really the same

mighty plume
#

ohh

proper fog
#

Just different languages

#

and a new framework

mighty plume
#

icic

mighty plume
proper fog
#

Oh right.

#

The error persists cuz u required the module script

#

from inside a LocalScript

mighty plume
#

yes

proper fog
#

uh wait a sec

mighty plume
#

??

proper fog
#

Yea right

#

So since you call it from the LocalScript

mighty plume
#

yes

proper fog
#

You cannot catch a Serverevent from there

mighty plume
#

ohhh

#

so where i put?

proper fog
#

Actually remove the require() from the script at all

mighty plume
proper fog
#

we dont need that

mighty plume
#

in the require?

proper fog
#

instead create a new Server script inside ServerScriptService

#

and copy and paste the code from Animations into it

#

it doesnt have to be a module script really

mighty plume
#

ohhhh

mighty plume
proper fog
#

The local Script

#

where u just adde it

mighty plume
#

i renamed local script to input

#

cuz why not

proper fog
#

yea just remove the line u added

mighty plume
#

done

proper fog
#

Give me a sec

mighty plume
#

oki

#

brb lemme go get water

proper fog
#

Answer me this. Was the code u shown is all Animations module script had

mighty plume
#

yes

#

he removes it later the print(fullName)

#

@proper fog

proper fog
#

Yea im here

#

You must've missed the part where he had required this module script

#

Try skimming the video gain

#

again*

mighty plume
#

i resaw the video

#

2 times

#

😭

proper fog
#

Maybe he missed it...

mighty plume
#

yes

proper fog
#

Basically u needa call that module script from the server side

mighty plume
#

ohhh

proper fog
#

from some server-scripts. though since i havent seen the video, i cant tell which one should it be.

#

though for now, u can test it by requiring it where u think it should be. Like a stateManager or AnimationManager?

mighty plume
#

checkout the video in 2x like it is in 11 min mark

proper fog
#

require it from a server script.

mighty plume
#

it was in 8 min mark to 11 min mark

proper fog
#

uhm. ok ill do it for u

mighty plume
#

tysm

#

❤️

#

if this bug didn't appear

#

i would be on the 4th or 5th part

#

but then i remember

#

life hates me

proper fog
#

Check at timestamp 8:04

#

he does require it.

#

In the ToolLoader

#

I suppose you haven't created that yet?

mighty plume
#

i did

proper fog
#

Ah. So you are requiring it already

#

Where the toolLoader is situated at?

mighty plume
#

lemme check

vagrant lilyBOT
#

studio** You are now Level 4! **studio

proper fog
#

Found it?

mighty plume
#

NOP

#

WHERE CAN I FIND IT

#

I FORGOT WHERE IT IS

proper fog
#

Oh calm down first

#

right click on the title of the script

mighty plume
#

found it

#

mb

#

i had caps on

#

i am watching that video in 1x

proper fog
#

hmm. Is the ToolLoader script correctly running?

mighty plume
#

how to check that

proper fog
#

maybe add a print

#

right after u require

#

the animation

mighty plume
#

it is working

proper fog
#

Can you show me the complete error log

#

copy it here

mighty plume
mighty plume
#

oh ok

#

il copy it

#

wat

#

it worked

#

randomly

proper fog
#

...

mighty plume
#

wat

proper fog
#

What did you change last

mighty plume
#

nothing

proper fog
#

u must've done smth

mighty plume
#

i rn was copying and put a w in a text

proper fog
#

well

mighty plume
#

so i deleted it

#

and it worked

#

somehow

proper fog
#

then for the first time in my career

#

as a scripter for 3 months

#

has occured the most unlikely

mighty plume
#

scripting is so random

proper fog
#

It aint, I believe u did something wrong

#

or fixed smth without realizing

mighty plume
#

idk i put a w rn bymistake

#

and deleted that w

#

and now it fixed

#

😭

proper fog
#

Well. anyways

#

its fixed in the end

mighty plume
#

yea

#

mythus

#

TYSM FOR HELPING

#

😭

#

❤️

proper fog
#

It just happened on its own

mighty plume
#

nooo i must thank you tho

#

u used ur time

#

to help me

proper fog
#

igh enough of that sugar talking

#

im not some girls who'll melt

mighty plume
#

noo

#

i am genuinlly

#

telling

#

i have never talked to girls till now except my teachers and sis and mother

mighty plume
#

@proper fog

#

😭

#

i need another help

proper fog
#

What

mighty plume
#

my

#

code dont work

#

you know that yt video?

#

i said

#

i watched it

#

and made blocking

#

but blocking dont work

#

it gives 0 errror

#

and just dont work

#

@proper fog

proper fog
#

Man just watch some other videos.

#

Can't u even copy properly

mighty plume
#

i did tho

#

i rewatched that video

#

2 times

proper fog
#

Then why can't u still debug

#

Haven't u done that before

#

Debug code?

mighty plume
#

tried

#

but nothing works

#

i dont trust myself

proper fog
#

So what u need me to do

#

Id advice u debug urself. It's hard but it's important

mighty plume
#

ok

mighty plume
#

i debugged it bymyself

#

@proper fog

proper fog
#

Good work