--!strict

local LookEvent:RemoteEvent = game:GetService("ReplicatedStorage"):WaitForChild("Events").Look
local Players = game:GetService("Players")

LookEvent.OnServerEvent:Connect(function(player:Player, Neck:Motor6D, Waist:Motor6D, NeckCF:CFrame, WaistCF:CFrame)
	local Character = player.Character
	if not Character or not Neck or not Waist or not Character:IsAncestorOf(Neck) or not Character:IsAncestorOf(Waist) then return end
	for _, plr:Player in Players:GetPlayers() do
		if plr ~= player then
			LookEvent:FireClient(plr, Neck, Waist, NeckCF, WaistCF)
		end
	end
end)
