The title is confusing, but basically, in game, randomly, a player will be standing right in front of another player, but to that other player, there like 10 studs away, I have no idea why this could be happening? I have sprint script thats local but I doubt its that, what else could cause this?
Sprint Script
local Player = game.Players.LocalPlayer local Character = Player.Character local Humanoid = Character:WaitForChild('Humanoid') local RunAnimation = Instance.new('Animation') RunAnimation.AnimationId = 'rbxassetid://6657544347' RAnimation = Humanoid:LoadAnimation(RunAnimation) Running = false function Handler(BindName, InputState) if InputState == Enum.UserInputState.Begin and BindName == 'RunBind' and script.Able.Value == true then if Character.Boost.Value == false then Running = true Humanoid.WalkSpeed = 16 Humanoid.JumpPower = 1 script.Running.Value = true else Running = true Humanoid.WalkSpeed = 16 Humanoid.JumpPower = 1 script.Running.Value = true end elseif InputState == Enum.UserInputState.End and BindName == 'RunBind' and script.Able.Value == true then Running = false if RAnimation.IsPlaying then RAnimation:Stop() end Humanoid.WalkSpeed = 7 Humanoid.JumpPower = 1 script.Running.Value = false end end Humanoid.Running:connect(function(Speed) if Speed >= 8 and Running and not RAnimation.IsPlaying then if Character.Boost.Value == false then RAnimation:Play() Humanoid.WalkSpeed = 16 else RAnimation:Play() Humanoid.WalkSpeed = 16 end elseif Speed >= 8 and not Running and RAnimation.IsPlaying then RAnimation:Stop() Humanoid.WalkSpeed = 7 elseif Speed < 8 and RAnimation.IsPlaying then RAnimation:Stop() Humanoid.WalkSpeed = 7 end end) Humanoid.Changed:connect(function() if Humanoid.Jump and RAnimation.IsPlaying then RAnimation:Stop() end end) game:GetService('ContextActionService'):BindAction('RunBind', Handler, true, Enum.KeyCode.LeftShift)