-
What do you want to achieve?
I want the client arresting the player to see the person handcuffed to always appear in front of them instead of lagging behind them (This lagging effect only occurs on the client with the handcuffs) -
What is the issue?
Well, everyone but the client with the handcuffs sees the movement fine but the person with the handcuffs moves the handcuffed player is somewhat laggy looking. -
What solutions have you tried so far?
- I have tried doing it on both server and the client
- I have tried welds (Just locks the players and disables moving)
- I tried Vector3 instead of CFrame
while Handcuffs.Settings.Configuration.InUse.Value == true do
wait()
if Target.Parent.Humanoid.Health > 0 then
Target.Parent.HumanoidRootPart.CFrame = ClientCharacter.HumanoidRootPart.CFrame * CFrame.new(0, 0, -2)
else
Handcuffs.Settings.Configuration.InUse.Value = false
Handcuffs.Settings.Configuration.Cuffed.Value = ""
end
end