Attemp to index nil with FindFirstChild

What didn’t work? The script I linked works & has been thoroughly tested.

let me try and test again.

i am going to tset again

oh it worked now, good
it worked
it worked
Nothing else to say

local players = game:GetService("Players")
local dataStoreService = game:GetService("DataStoreService")
local cFrameDataStore = dataStoreService :GetDataStore("CFrameDataStore")

players.PlayerAdded:Connect(function(player)
	player.CharacterAdded:Connect(function(character)
		local success, response = pcall(cFrameDataStore.GetAsync, cFrameDataStore, player.UserId)
		if success == false then print(response) return end
		local cFrame = CFrame.new(response[1], response[2], response[3], response[4], response[5], response[6], response[7], response[8], response[9], response[10], response[11], response[12])
		local rootPart = character:WaitForChild("HumanoidRootPart")
		rootPart.CFrame = cFrame
	end)
	player.CharacterRemoving:Connect(function(character)
		local rootPart = character:WaitForChild("HumanoidRootPart")
		local x, y, z, R00, R01, R02, R10, R11, R12, R20, R21, R22 = rootPart.CFrame:GetComponents()
		local data = {x, y, z, R00, R01, R02, R10, R11, R12, R20, R21, R22}
		local success, response = pcall(cFrameDataStore.SetAsync, cFrameDataStore, player.UserId, data)
		if success == false then print(response) return end
	end)
end)