I’m trying to make a teleport skill and when I’m trying to send a Cframe to use as Character:SetPrimaryPartCFrame() the output said, attempt to call a table value.
-- Inside of local script
event:FireServer(mouse.hit * CFrame.new(Vector3(0,humanoid.HipHeight,0)))
-- Inside of server script
event.OnServerEvent:Connect(function(player, Pos)
local Character = player.Character or player.CharacterAdded:wait()
Character:SetPrimaryPartCFrame(Pos)
end)