#Getting the player's position returns a random one instead

1 messages · Page 1 of 1 (latest)

trim urchin
errant fiber
#

are you moving your character when you test the game?

trim urchin
#

no

#

im getting teleported around by trying to teleport the character to its current pos

errant fiber
#

you mispelled humanoidrootpart

#

maybe that is the problem?

trim urchin
#

i fixed that

errant fiber
#

oh ok

trim urchin
#

i had it set as other things before the screenshot to see if they would fix it

#

is it like getting the position during the process of deleting and cloning the parts?

#

cause it seems to actually teleport me somewhere inbetween where the player currently is and where the model's part's positions are

errant fiber
#

maybe that is the problem

trim urchin
errant fiber
#

try to set the model position to the player position before the morph

odd rock
#

Put the code to find the player position at the top of the function, that may fix this. Not sure what's causing the teleportation

#

Also you can create the remote event without using code.

rare surge
trim urchin
rare surge
#

or maybe just put the position of the player to the object

#

boom

trim urchin
#

im still having issue with this

#

oh

#

wait

#

i know what its doing

#

it doesnt know which one is the character

#

its actingl ike this

#

i might just be like

#

stupid

#

how do i make currentpos not change

#

or like

#

how do i make it what it is when i create it

#

instead of it being what it is when its called

trim urchin
#

i tried making a last pos but that doesnt work

#

even in a defer, the new player model seems to happen before the charpos can be done?

errant fiber
#

do you have more than one script doing the morph?

#

i have an idea

#

instead of you destroying the player's children

#

you just destroy the entire character and make the player character the one you want it to morph

#

like player.Character = morphcharacter

#

it worked for me in a game i was making

trim urchin
#

Thank you

trim urchin