#setting position problem

69 messages · Page 1 of 1 (latest)

dusty lily
#

when i try to count a position for a part and i try to set it from the server script it doesnt work at says that position is not a valid member

#

i tried to calculate it from the local script then send it to the server script but still showing this error :

#

||by the way idk if this is an useful information but it worked so fine when i did everything from the local script but i wanted the server script to apply the effect on the effect part but it couldent because effect wwas created by the local script so i had to make events so i create it from the server script||

languid comet
#

Cause it's player caharcters position not the player one

#

And even, it's not the player character position, it's the characters humanoid root part

languid comet
dusty lily
#

how can i fix that

dusty lily
dusty lily
languid comet
#

Can you show the whole function ?

dusty lily
#

the local script or the server script ?

dusty lily
languid comet
#

Server

languid comet
dusty lily
#

k

languid comet
#

When you print the direction, what is it ?

#

And what do you want to achieve by doing effect.Position = direction?

dusty lily
languid comet
#

So it's 3.stuff

dusty lily
#

ya

languid comet
#

But what do you want to make by doing position = 3.stuff ?

dusty lily
languid comet
#

No like where do you want the direction to be

#

What what is it supposed to be

dusty lily
#

ok so basicaly it should be between the dragball and the player hand

#

there is will create that effect part

languid comet
#

So you want to create an effect between the dragon ball and the player hand

dusty lily
#

yea

#

here is the script

#

that

#

count it

#

local direction = (rightArm.Position - DragBall.Position).unit
languid comet
#

Can you print the dragonball.Position and the right arm position please

dusty lily
#

ok

#

thats the positions and it should count it the space between them but it show me a num instead

languid comet
#

I saw that @cinder oracle

dusty lily
#

same

cinder oracle
#

how could i not

languid comet
#

Lol

#

Key try to do just line dragonBall.Position - arm.Posituon

dusty lily
#

k

#

so i delete unit ?

languid comet
#

Yessir

dusty lily
languid comet
#

Resend script

dusty lily
#

the local script ?

#

bc nothing changed

languid comet
#

No the normal one with the modification

dusty lily
#

on the server script

languid comet
#

Yes

dusty lily
languid comet
languid comet
dusty lily
#

ohh my bad

#

i did it but on the local script wait imma change it

languid comet
#

Change this

dusty lily
#

Position is not a valid member of Player "Players.kay_714l"

#

no for some reason its showing this error

languid comet
#

Ok click on the error

#

And show me the line ( and what's upper but like put your cursor on the line )

dusty lily
#

ok

languid comet
#

Or just tell me which line but when you screenshot, make sure to screenshot the number as well

dusty lily
dusty lily
#

@languid comet

#

hello ?

glacial lagoonBOT
#

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