https://gist.github.com/Kim123LP/84453552bc5f2596699a5f840cc3928f at line 24 nothing happens, why?
Try using set primary part cframe instead.
Here is a very useful link: SetPrimaryPartCFrame
Here, if you want to set the character's CFrame, it should look something like this:
1 | --after you have defined the character and everything, done all the if statements, once you want to move the character: |
2 |
3 | character:SetPrimaryPartCFrame(CFrame.new( 85.5613 , 15 , - 496.286 ) |
If that doesn't work try adding a vector3.new infront of the new script above, like you did in your original script. You shouldn't need to though, i just haven't checked.
If this has helped you, please accept this answer :) thanks