Argument 1 missing or nil

This might be a useless topic but i know what it means but im just questiong why is it happening

– Here is a simple CFrame script

local Event = (MyRemoteEventLocation)
local Cframe = CFrame.new(0,0,0) -- example CFrame

Event:FireServer(Cframe)

------ and on the server script

local Event = (myRemoteEventLocation)
local NPC = (myNPCLocation)
Event.OnServerEvent:Connect(function(cframe)
    print(cframe)
    NPC:SetPrimaryPartCFrame(cframe) -- Primary Part Is Set
end)

In here it supposed to prent the CFrame

but in my script it justs prints nil, WHYYYY

the first Argument that the ServerScript Holds while firing a RemoteEvent to the server is the player

Event.OnServerEvent:Connect(function(player,cframe)

i forgot to put the player then the cframe

in my script i put the player arg but it still prints nil

cframe is printing nil WHYYYYYYYYYYYYYYYYY

Screenshot 2022-08-08 155609

SEEEEEEEEEEEEEEEEEEEEEEEEEEEEE?!!!

can you show me your original Cframe variable?

Have you tried deconstructing and reconstructing the CFrame?

--client
RemoteEvent:FireServer({cframe:GetComponents()})
--server
RemoteEvent.OnServerEvent:Connect(function(player, data)
    local cframe = CFrame.new(table.unpack(data))
end)

sorry network error

UIS.InputBegan:Connect(function(input, processed)
	if processed then
		return
	end
	
	if TowerToAdd then
		if input.UserInputType == Enum.UserInputType.MouseButton1 then
			print(TowerToAdd.PrimaryPart.CFrame)
			game.ReplicatedStorage.AddTower:FireServer(TowerToAdd.Name, TowerToAdd.PrimaryPart.CFrame)
			RemovePlaceHolderTower()
		end
	end
	
	
end)

saldly it dosent work Any ideas?

its maybe the remoteevent is broken

the

-712, 158.997025, 122, 1, 0, 0, 0, 1, 0, 0, 0, 1

is the Cframe

someone pls help me PLSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSSS

guys i make the model anchored and its doing what i needed but its still printing the nil error maybe its just a bug i will ignore it for now