You can write your topic however you want, but you need to answer these questions:
-
What do you want to achieve? Keep it simple and clear!
I want the client and server position to be the same with the object and the player character. This is related to my old thread, in my old thread someone had stated that it was due to the latency but that isn’t right because it happens in most my creations when I create a skill. I need the position to be right because the ball shoots at the direction of where the server script got the mouse position from and as the position from client and server is different the ball does not go at the right direction and shoots at the wrong way. -
What is the issue? Include screenshots / videos if possible!
My object and character position is different in client and server. As shown below
THOSE 3 PICTURES ARE FROM THE CLIENT
THESE 3 below are from the server
-
What solutions have you tried so far? Did you look for solutions on the Developer Hub?
I have tried finding different forums related to this but I couldn’t find any. I tried over 2 hours now but I couldn’t find a solution. I have tried many solutions but I still can’t find a way, is it because I am using everything in one server script?
Below is not the full script but some part of the script, because the rest of the script is other stuff. This is all in a server script fired by a remote event when a tool fires a remote event from a local script. This script is part of the shooting ball.
local bv = Instance.new("BodyVelocity",Part)
bv.MaxForce = Vector3.new(math.huge,math.huge,math.huge)
bv.Velocity = Vector3.new(0,100,0)
game.Debris:AddItem(bv,1)
wait(0.95)
Part.Anchored = true