Im not actually using parts.
Im using cframe values
Im not actually using parts.
Im using cframe values
Please post a description of how you fixed it so that anyone with the same issue might get an answer when they search the forums.
Did you even read the thread? Youâd have to use a loop for that.
Under normal circumstances that wouldnât change anything, I assume there was a client-server replication issue in your code somewhere.
theres was not a replication error.
I just changed the code so that I had more control on the circumstances the touch event needed.
and as Iâve previously mentioned, a partâs Touched
event/signal behaves the same on the client as it does on the server (unless there is some replication issue at hand).
the problem was that when I had the part touched by my character it detected me several times due to a delay on property changing.
However when I had the character touched by the part it allowed me to immediatly change my characterâs primarypart cantouch
NVM, the thing I used to solve it previously was an obsolete garbage.
I fixed this with for loops but a different way that works pretty smooth:
1.I stored the characterâs position once it recieved the CFrames.
2.I calculated the distance between the characterâs primary part and the previous position.
3.I compared the distance and if it is greater than 250 then it recalculates everything and just gets the cframes that are within a 500 stud radius around the character.
Thatâs it, Iâve actually thought of it yesterday but I couldnât figure out how to get the characterâs position until today.